From 3ca702e8d3bc253a0362f150a35bb57bacdb3290 Mon Sep 17 00:00:00 2001 From: Dongsu Park Date: Wed, 18 Aug 2021 15:49:46 +0200 Subject: [PATCH] dev-util/cscope: delete cscope Delete deprecated ebuild that was pulled in by coreos-devel/sdk-extras. --- .../portage-stable/dev-util/cscope/Manifest | 1 - .../dev-util/cscope/cscope-15.7a-r1.ebuild | 65 ------------------- .../dev-util/cscope/files/50cscope-gentoo.el | 34 ---------- .../files/cscope-15.7a-ocs-sysdir.patch | 23 ------- 4 files changed, 123 deletions(-) delete mode 100644 sdk_container/src/third_party/portage-stable/dev-util/cscope/Manifest delete mode 100644 sdk_container/src/third_party/portage-stable/dev-util/cscope/cscope-15.7a-r1.ebuild delete mode 100644 sdk_container/src/third_party/portage-stable/dev-util/cscope/files/50cscope-gentoo.el delete mode 100644 sdk_container/src/third_party/portage-stable/dev-util/cscope/files/cscope-15.7a-ocs-sysdir.patch diff --git a/sdk_container/src/third_party/portage-stable/dev-util/cscope/Manifest b/sdk_container/src/third_party/portage-stable/dev-util/cscope/Manifest deleted file mode 100644 index bdf1de8d4d..0000000000 --- a/sdk_container/src/third_party/portage-stable/dev-util/cscope/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST cscope-15.7a.tar.bz2 361214 RMD160 8bc904f636e8e6ea4542738095183475911858f9 SHA1 f6348694e5443769add851f97fd39365e93dc474 SHA256 02638bcba790bc8b0562f28dbe789e61794415079d94a676efc287d18dc96037 diff --git a/sdk_container/src/third_party/portage-stable/dev-util/cscope/cscope-15.7a-r1.ebuild b/sdk_container/src/third_party/portage-stable/dev-util/cscope/cscope-15.7a-r1.ebuild deleted file mode 100644 index 840e5d40c3..0000000000 --- a/sdk_container/src/third_party/portage-stable/dev-util/cscope/cscope-15.7a-r1.ebuild +++ /dev/null @@ -1,65 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/cscope/cscope-15.7a-r1.ebuild,v 1.11 2012/04/26 16:47:01 aballier Exp $ - -EAPI=4 - -inherit elisp-common eutils - -DESCRIPTION="Interactively examine a C program" -HOMEPAGE="http://cscope.sourceforge.net/" -SRC_URI="mirror://sourceforge/cscope/${P}.tar.bz2" - -LICENSE="BSD GPL-2" -SLOT="0" -KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd" -IUSE="emacs" - -RDEPEND=">=sys-libs/ncurses-5.2 - emacs? ( virtual/emacs )" -DEPEND="${RDEPEND} - sys-devel/flex - sys-devel/bison - >=sys-devel/autoconf-2.60" - -SITEFILE="50${PN}-gentoo.el" - -src_prepare() { - epatch "${FILESDIR}/${P}-ocs-sysdir.patch" #269305 -} - -src_compile() { - make clean || die "make clean failed" - emake - - if use emacs; then - cd "${S}"/contrib/xcscope || die - elisp-compile *.el || die - fi -} - -src_install() { - einstall - dodoc AUTHORS ChangeLog NEWS README* TODO - - if use emacs; then - cd "${S}"/contrib/xcscope || die - elisp-install ${PN} *.el *.elc || die - elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die - dobin cscope-indexer - fi - - cd "${S}"/contrib/webcscope || die - docinto webcscope - dodoc INSTALL TODO cgi-lib.pl cscope hilite.c - docinto webcscope/icons - dodoc icons/*.gif -} - -pkg_postinst() { - use emacs && elisp-site-regen -} - -pkg_postrm() { - use emacs && elisp-site-regen -} diff --git a/sdk_container/src/third_party/portage-stable/dev-util/cscope/files/50cscope-gentoo.el b/sdk_container/src/third_party/portage-stable/dev-util/cscope/files/50cscope-gentoo.el deleted file mode 100644 index 08fd4b4493..0000000000 --- a/sdk_container/src/third_party/portage-stable/dev-util/cscope/files/50cscope-gentoo.el +++ /dev/null @@ -1,34 +0,0 @@ -(add-to-list 'load-path "@SITELISP@") - -(autoload 'cscope-minor-mode "xcscope") -(autoload 'cscope-display-buffer "xcscope" - "Display the *cscope* buffer." t) -(autoload 'cscope-display-buffer-toggle "xcscope" - "Toggle cscope-display-cscope-buffer, which corresponds to -\"Auto display *cscope* buffer\"." t) -(autoload 'cscope-next-symbol "xcscope" - "Move to the next symbol in the *cscope* buffer." t) -(autoload 'cscope-next-file "xcscope" - "Move to the next file in the *cscope* buffer." t) -(autoload 'cscope-prev-symbol "xcscope" - "Move to the previous symbol in the *cscope* buffer." t) -(autoload 'cscope-prev-file "xcscope" - "Move to the previous file in the *cscope* buffer." t) -(autoload 'cscope-pop-mark "xcscope" - "Pop back to where cscope was last invoked." t) -(autoload 'cscope-set-initial-directory "xcscope" - "Set the cscope-initial-directory variable." t) -(autoload 'cscope-unset-initial-directory "xcscope" - "Unset the cscope-initial-directory variable." t) -(autoload 'cscope-find-this-symbol "xcscope" - "Locate a symbol in source code." t) -(autoload 'cscope-find-global-definition "xcscope" - "Find a symbol's global definition." t) -(autoload 'cscope-find-global-definition-no-prompting "xcscope" - "Find a symbol's global definition without prompting." t) - -(defun cscope:hook () - (cscope-minor-mode)) -(add-hook 'c-mode-hook 'cscope:hook) -(add-hook 'c++-mode-hook 'cscope:hook) -(add-hook 'dired-mode-hook 'cscope:hook) diff --git a/sdk_container/src/third_party/portage-stable/dev-util/cscope/files/cscope-15.7a-ocs-sysdir.patch b/sdk_container/src/third_party/portage-stable/dev-util/cscope/files/cscope-15.7a-ocs-sysdir.patch deleted file mode 100644 index 6b4c17fe91..0000000000 --- a/sdk_container/src/third_party/portage-stable/dev-util/cscope/files/cscope-15.7a-ocs-sysdir.patch +++ /dev/null @@ -1,23 +0,0 @@ -http://bugs.gentoo.org/269305 - ---- cscope-15.7a-orig/contrib/ocs 2004-06-21 20:13:22.000000000 +0200 -+++ cscope-15.7a/contrib/ocs 2009-05-11 22:33:51.000000000 +0200 -@@ -75,17 +75,10 @@ - - #set the default value for SYSDIR - if [ -z "${SYSDIR}" ]; then -- SYSDIR=/usr/local/lib/cs -+ SYSDIR=/var/lib/cs - echo setting default sysdir - fi - --#check that SYSDIR exists --if [ ! -d ${SYSDIR} ]; then -- echo -n $SYSDIR does not exist. -- echo Please create the directory and set SYSDIR appropriately -- exit --fi -- - # Check that cscope is in PATH - type cscope 1>/dev/null 2>&1 -