Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 25013 | Differences between
and this patch

Collapse All | Expand All

(-)check-kernel.eclass (-1 / +1 lines)
Lines 14-20 Link Here
14
EXPORT_FUNCTIONS check_version_h get_KV_info \
14
EXPORT_FUNCTIONS check_version_h get_KV_info \
15
	is_2_4_kernel is_2_5_kernel is_2_6_kernel
15
	is_2_4_kernel is_2_5_kernel is_2_6_kernel
16
16
17
newdepend "sys-apps/gawk"
17
DEPEND="sys-apps/gawk"
18
18
19
check_version_h() {
19
check_version_h() {
20
	if [ ! -f "${ROOT}/usr/src/linux/include/linux/version.h" ]
20
	if [ ! -f "${ROOT}/usr/src/linux/include/linux/version.h" ]
(-)common-lisp.eclass (-1 / +1 lines)
Lines 12-18 Link Here
12
INHERITED="$INHERITED $ECLASS"
12
INHERITED="$INHERITED $ECLASS"
13
13
14
CLPACKAGE=
14
CLPACKAGE=
15
newdepend "dev-lisp/common-lisp-controller"
15
DEPEND="dev-lisp/common-lisp-controller"
16
16
17
common-lisp_pkg_postinst() {
17
common-lisp_pkg_postinst() {
18
	if [ -z "${CLPACKAGE}" ]; then
18
	if [ -z "${CLPACKAGE}" ]; then
(-)db4-fix.eclass (-1 / +1 lines)
Lines 12-18 Link Here
12
ECLASS=db4-fix
12
ECLASS=db4-fix
13
INHERITED="$INHERITED $ECLASS"
13
INHERITED="$INHERITED $ECLASS"
14
14
15
newdepend "sys-apps/sed"
15
DEPEND="sys-apps/sed"
16
16
17
DESCRIPTION="Based on the ${ECLASS} eclass"
17
DESCRIPTION="Based on the ${ECLASS} eclass"
18
18
(-)distutils.eclass (-2 / +2 lines)
Lines 27-36 Link Here
27
# This helps make it possible to add extensions to python slots.
27
# This helps make it possible to add extensions to python slots.
28
# Normally only a -py21- ebuild would set PYTHON_SLOT_VERSION.
28
# Normally only a -py21- ebuild would set PYTHON_SLOT_VERSION.
29
if [ "${PYTHON_SLOT_VERSION}" = 2.1 ] ; then 
29
if [ "${PYTHON_SLOT_VERSION}" = 2.1 ] ; then 
30
	newdepend "=dev-lang/python-2.1*"
30
	DEPEND="=dev-lang/python-2.1*"
31
	python="python2.1"
31
	python="python2.1"
32
else
32
else
33
	newdepend "virtual/python"
33
	DEPEND="virtual/python"
34
	python="python"
34
	python="python"
35
fi
35
fi
36
36
(-)ebook.eclass (-3 / +1 lines)
Lines 63-71 Link Here
63
	DEVHELPROOT="usr/share/devhelp"
63
	DEVHELPROOT="usr/share/devhelp"
64
fi
64
fi
65
if [ "${RDEPEND}" = "" ]; then
65
if [ "${RDEPEND}" = "" ]; then
66
	# FIXME: newdepend sets both DEPEND and RDEPEND
66
	RDEPEND=">=dev-util/devhelp-0.6"
67
	# this should be changed to newrdepend, but that doesn't exist right now.
68
	newdepend ">=dev-util/devhelp-0.6"
69
fi
67
fi
70
if [ "${DESCRIPTION}" = "" ]; then
68
if [ "${DESCRIPTION}" = "" ]; then
71
	DESCRIPTION="${P} ebook based in $ECLASS eclass"
69
	DESCRIPTION="${P} ebook based in $ECLASS eclass"
(-)elisp.eclass (-4 / +1 lines)
Lines 20-31 Link Here
20
SRC_URI="http://cvs.gentoo.org/~mkennedy/app-emacs/${P}.el.bz2"
20
SRC_URI="http://cvs.gentoo.org/~mkennedy/app-emacs/${P}.el.bz2"
21
if [ "${SIMPLE_ELISP}" = 't' ]; then
21
if [ "${SIMPLE_ELISP}" = 't' ]; then
22
	S="${WORKDIR}/"
22
	S="${WORKDIR}/"
23
#else
24
#   Use default value
25
#	S="${WORKDIR}/${P}"
26
fi
23
fi
27
24
28
newdepend "virtual/emacs"
25
DEPEND="virtual/emacs"
29
IUSE=""
26
IUSE=""
30
27
31
elisp_src_unpack() {
28
elisp_src_unpack() {
(-)freedict.eclass (-1 / +1 lines)
Lines 24-30 Link Here
24
LICENSE="GPL-2"
24
LICENSE="GPL-2"
25
KEYWORDS="x86 ~ppc ~sparc ~alpha ~mips ~hppa"
25
KEYWORDS="x86 ~ppc ~sparc ~alpha ~mips ~hppa"
26
26
27
newdepend "app-text/dictd"
27
DEPEND="app-text/dictd"
28
28
29
freedict_src_install() {
29
freedict_src_install() {
30
	insinto /usr/lib/dict
30
	insinto /usr/lib/dict
(-)gnat.eclass (-1 / +1 lines)
Lines 13-19 Link Here
13
13
14
INHERITED="$INHERITED $ECLASS"
14
INHERITED="$INHERITED $ECLASS"
15
15
16
newdepend dev-lang/gnat
16
DEPEND="dev-lang/gnat"
17
17
18
DESCRIPTION="Based on the ${ECLASS} eclass"
18
DESCRIPTION="Based on the ${ECLASS} eclass"
19
19
(-)gnuconfig.eclass (-1 / +1 lines)
Lines 19-25 Link Here
19
ECLASS=gnuconfig
19
ECLASS=gnuconfig
20
INHERITED="$INHERITED $ECLASS"
20
INHERITED="$INHERITED $ECLASS"
21
21
22
newdepend "sys-devel/gnuconfig
22
DEPEND="sys-devel/gnuconfig
23
	!bootstrap? ( sys-devel/libtool )"
23
	!bootstrap? ( sys-devel/libtool )"
24
24
25
DESCRIPTION="Based on the ${ECLASS} eclass"
25
DESCRIPTION="Based on the ${ECLASS} eclass"
(-)gnustep.eclass (-5 / +7 lines)
Lines 7-15 Link Here
7
7
8
DESCRIPTION="Based on the gnustep eclass."
8
DESCRIPTION="Based on the gnustep eclass."
9
9
10
newdepend /c
10
DEPEND="dev-util/gnustep-make
11
newdepend dev-util/gnustep-make
11
	dev-util/gnustep-base
12
newdepend dev-util/gnustep-base
12
	sys-devel/gcc
13
	virtual/glibc"
14
RDEPEND="virtual/glibc"
13
15
14
getsourcedir() {
16
getsourcedir() {
15
	if [ ! -d "${S}" ] ; then
17
	if [ ! -d "${S}" ] ; then
Lines 25-34 Link Here
25
27
26
need-gnustep-gui() {
28
need-gnustep-gui() {
27
	if [ "$1" ] ; then
29
	if [ "$1" ] ; then
28
		newdepend ">=dev-util/gnustep-gui-$1"
30
		DEPEND="${DEPEND} >=dev-util/gnustep-gui-$1"
29
		RDEPEND="${RDEPEND} >=dev-util/gnustep-back-$1"
31
		RDEPEND="${RDEPEND} >=dev-util/gnustep-back-$1"
30
	else
32
	else
31
		newdepend "dev-util/gnustep-gui"
33
		DEPEND="${DEPEND} dev-util/gnustep-gui"
32
		RDEPEND="${RDEPEND} dev-util/gnustep-back"
34
		RDEPEND="${RDEPEND} dev-util/gnustep-back"
33
	fi
35
	fi
34
}
36
}
(-)gst-plugins.eclass (-1 / +2 lines)
Lines 55-61 Link Here
55
55
56
S=${WORKDIR}/${MY_P}
56
S=${WORKDIR}/${MY_P}
57
57
58
newdepend "=media-libs/${MY_P}*" ">=sys-apps/sed-4"
58
DEPEND="=media-libs/${MY_P}*
59
	>=sys-apps/sed-4"
59
60
60
###
61
###
61
# internal functions
62
# internal functions
(-)iiimf.eclass (-1 / +1 lines)
Lines 27-33 Link Here
27
27
28
IUSE="debug"
28
IUSE="debug"
29
29
30
newdepend "virtual/glibc"
30
DEPEND="virtual/glibc"
31
31
32
S="${WORKDIR}/${IMSDK}/${PN}"
32
S="${WORKDIR}/${IMSDK}/${PN}"
33
33
(-)kde-functions.eclass (-10 / +10 lines)
Lines 97-121 Link Here
97
		# goes to show this code is awfully inflexible, i guess.
97
		# goes to show this code is awfully inflexible, i guess.
98
		# maybe i should look at relocating it...
98
		# maybe i should look at relocating it...
99
		if [ "$PV" == "3.0.3" ]; then
99
		if [ "$PV" == "3.0.3" ]; then
100
			newdepend "=kde-base/kdelibs-3.0.3*"
100
			DEPEND="${DEPEND} =kde-base/kdelibs-3.0.3*"
101
		elif [ "$PV" == "3.1.3" ]; then
101
		elif [ "$PV" == "3.1.3" ]; then
102
			newdepend "=kde-base/kdelibs-3.1.3*"
102
			DEPEND="${DEPEND} =kde-base/kdelibs-3.1.3*"
103
		elif [ "$PV" == "3.1.2" ]; then
103
		elif [ "$PV" == "3.1.2" ]; then
104
			newdepend "=kde-base/kdelibs-3.1.2*"
104
			DEPEND="${DEPEND} =kde-base/kdelibs-3.1.2*"
105
		elif [ "$PV" == "3.1.1" ]; then
105
		elif [ "$PV" == "3.1.1" ]; then
106
			newdepend "=kde-base/kdelibs-3.1.1*"
106
			DEPEND="${DEPEND} =kde-base/kdelibs-3.1.1*"
107
		elif [ "$PV" == "2.2.2" ]; then
107
		elif [ "$PV" == "2.2.2" ]; then
108
			newdepend "=kde-base/kdelibs-2.2.2*"
108
			DEPEND="${DEPEND} =kde-base/kdelibs-2.2.2*"
109
		else
109
		else
110
			newdepend "~kde-base/kdelibs-${KDEVER}"
110
			DEPEND="${DEPEND} ~kde-base/kdelibs-${KDEVER}"
111
		fi
111
		fi
112
	else
112
	else
113
		# everything else only needs a minimum version
113
		# everything else only needs a minimum version
114
		if [ "$KDEMAJORVER" == "2" ]; then
114
		if [ "$KDEMAJORVER" == "2" ]; then
115
			newdepend "=kde-base/kdelibs-2.2*"
115
			DEPEND="${DEPEND} =kde-base/kdelibs-2.2*"
116
		else
116
		else
117
			min-kde-ver $KDEVER
117
			min-kde-ver $KDEVER
118
			newdepend ">=kde-base/kdelibs-${selected_version}"
118
			DEPEND="${DEPEND} >=kde-base/kdelibs-${selected_version}"
119
		fi
119
		fi
120
	fi
120
	fi
121
121
Lines 229-236 Link Here
229
	QT=qt
228
	QT=qt
230
229
231
	case $QTVER in
230
	case $QTVER in
232
	    2*)	newdepend "=x11-libs/${QT}-2.3*" ;;
231
	    2*)	DEPEND="${DEPEND} =x11-libs/${QT}-2.3*" ;;
233
	    3*)	newdepend ">=x11-libs/${QT}-${QTVER}" ;;
232
	    3*)	DEPEND="${DEPEND} >=x11-libs/${QT}-${QTVER}" ;;
234
	    *)	echo "!!! error: $FUNCNAME() called with invalid parameter: \"$QTVER\", please report bug" && exit 1;;
233
	    *)	echo "!!! error: $FUNCNAME() called with invalid parameter: \"$QTVER\", please report bug" && exit 1;;
235
	esac
234
	esac
236
235
(-)kde.eclass (-1 / +1 lines)
Lines 21-27 Link Here
21
	dev-lang/perl" # perl is used for makefile generation
21
	dev-lang/perl" # perl is used for makefile generation
22
22
23
# all kde apps need this one
23
# all kde apps need this one
24
newdepend "~kde-base/kde-env-3"
24
DEPEND="${DEPEND} ~kde-base/kde-env-3"
25
25
26
# overridden in other places like kde-dist, kde-source and some individual ebuilds
26
# overridden in other places like kde-dist, kde-source and some individual ebuilds
27
SLOT="0"
27
SLOT="0"
(-)latex-package.eclass (-1 / +1 lines)
Lines 48-54 Link Here
48
inherit base
48
inherit base
49
INHERITED="$INHERITED $ECLASS"
49
INHERITED="$INHERITED $ECLASS"
50
50
51
newdepend "virtual/tetex
51
DEPEND="virtual/tetex
52
       >=sys-apps/texinfo-4.2-r5"
52
       >=sys-apps/texinfo-4.2-r5"
53
ECLASS=latex-package
53
ECLASS=latex-package
54
HOMEPAGE="http://www.tug.org/"
54
HOMEPAGE="http://www.tug.org/"
(-)libtool.eclass (-1 / +1 lines)
Lines 10-16 Link Here
10
ECLASS="libtool"
10
ECLASS="libtool"
11
INHERITED="${INHERITED} ${ECLASS}"
11
INHERITED="${INHERITED} ${ECLASS}"
12
12
13
newdepend "!bootstrap? ( sys-devel/libtool )"
13
DEPEND="!bootstrap? ( sys-devel/libtool )"
14
14
15
DESCRIPTION="Based on the ${ECLASS} eclass"
15
DESCRIPTION="Based on the ${ECLASS} eclass"
16
16
(-)matrox.eclass (-1 / +1 lines)
Lines 18-24 Link Here
18
SLOT="${KV}"
18
SLOT="${KV}"
19
RESTRICT="fetch nostrip"
19
RESTRICT="fetch nostrip"
20
20
21
newrdepend ">=x11-base/xfree-4.2.0
21
RDEPEND=">=x11-base/xfree-4.2.0
22
	virtual/linux-sources"
22
	virtual/linux-sources"
23
23
24
matrox_pkg_setup() {
24
matrox_pkg_setup() {
(-)pcmcia.eclass (-1 / +1 lines)
Lines 46-52 Link Here
46
# kernel's, but it's here to remind me in case it does become an issue
46
# kernel's, but it's here to remind me in case it does become an issue
47
#ppc? ( http://dev.gentoo.org/~latexer/files/patches/${PCMCIA_BASE_VERSION}-ppc-fix.diff.gz ) )
47
#ppc? ( http://dev.gentoo.org/~latexer/files/patches/${PCMCIA_BASE_VERSION}-ppc-fix.diff.gz ) )
48
48
49
newdepend "pcmcia?	( >=sys-apps/${PCMCIA_BASE_VERSION} )"
49
DEPEND="pcmcia? ( >=sys-apps/${PCMCIA_BASE_VERSION} )"
50
50
51
PCMCIA_SOURCE_DIR="${WORKDIR}/${PCMCIA_BASE_VERSION}"
51
PCMCIA_SOURCE_DIR="${WORKDIR}/${PCMCIA_BASE_VERSION}"
52
52
(-)rpm.eclass (-1 / +1 lines)
Lines 33-39 Link Here
33
33
34
USE_RPMOFFSET_ONLY=${USE_RPMOFFSET_ONLY-""}
34
USE_RPMOFFSET_ONLY=${USE_RPMOFFSET_ONLY-""}
35
35
36
newdepend ">=app-arch/rpm2targz-9.0-r1"
36
DEPEND=">=app-arch/rpm2targz-9.0-r1"
37
37
38
# extracts the contents of the RPM in ${WORKDIR}
38
# extracts the contents of the RPM in ${WORKDIR}
39
rpm_unpack() {
39
rpm_unpack() {
(-)ruby-gnome2.eclass (-4 / +4 lines)
Lines 27-39 Link Here
27
SLOT="0"
27
SLOT="0"
28
28
29
if [[ ${PV} == 0.5.0 ]]; then
29
if [[ ${PV} == 0.5.0 ]]; then
30
	newdepend ">=dev-lang/ruby-1.6"
30
	DEPEND=">=dev-lang/ruby-1.6"
31
	newrdepend ">=dev-lang/ruby-1.6"
31
	RDEPEND=">=dev-lang/ruby-1.6"
32
else
32
else
33
	# Not necessarily true, but nobody's testing the newer ruby-gnome2
33
	# Not necessarily true, but nobody's testing the newer ruby-gnome2
34
	# with the older ruby...
34
	# with the older ruby...
35
	newdepend ">=dev-lang/ruby-1.8"
35
	DEPEND=">=dev-lang/ruby-1.8"
36
	newrdepend ">=dev-lang/ruby-1.8"
36
	RDEPEND=">=dev-lang/ruby-1.8"
37
fi
37
fi
38
38
39
ruby-gnome2_src_compile() {
39
ruby-gnome2_src_compile() {
(-)ruby.eclass (-1 / +1 lines)
Lines 47-53 Link Here
47
SLOT="0"
47
SLOT="0"
48
LICENSE="Ruby"
48
LICENSE="Ruby"
49
49
50
newdepend ">=dev-lang/ruby-1.6.8"
50
DEPEND=">=dev-lang/ruby-1.6.8"
51
51
52
[[ -z "${RUBY}" ]] && export RUBY=/usr/bin/ruby
52
[[ -z "${RUBY}" ]] && export RUBY=/usr/bin/ruby
53
53
(-)selinux-policy.eclass (-1 / +1 lines)
Lines 17-23 Link Here
17
17
18
IUSE=""
18
IUSE=""
19
19
20
newrdepend ">=sec-policy/selinux-base-policy-20030729"
20
RDEPEND=">=sec-policy/selinux-base-policy-20030729"
21
21
22
[ -z "${POLICYDIR}" ] && POLICYDIR="/etc/security/selinux/src/policy"
22
[ -z "${POLICYDIR}" ] && POLICYDIR="/etc/security/selinux/src/policy"
23
23
(-)sgml-catalog.eclass (-1 / +1 lines)
Lines 7-13 Link Here
7
inherit base
7
inherit base
8
INHERITED="$INHERITED $ECLASS"
8
INHERITED="$INHERITED $ECLASS"
9
9
10
newdepend ">=app-text/sgml-common-0.6.3-r2"
10
DEPEND=">=app-text/sgml-common-0.6.3-r2"
11
ECLASS=sgml-catalog
11
ECLASS=sgml-catalog
12
12
13
declare -a toinstall
13
declare -a toinstall
(-)ssl-cert.eclass (-1 / +1 lines)
Lines 12-18 Link Here
12
12
13
# Conditionally depend on OpenSSL: allows inheretence
13
# Conditionally depend on OpenSSL: allows inheretence
14
# without pulling extra packages if not needed
14
# without pulling extra packages if not needed
15
newdepend "ssl? ( dev-libs/openssl )"
15
DEPEND="ssl? ( dev-libs/openssl )"
16
16
17
# Initializes variables and generates the needed 
17
# Initializes variables and generates the needed 
18
# OpenSSL configuration file and a CA serial file
18
# OpenSSL configuration file and a CA serial file
(-)stardict.eclass (-1 / +1 lines)
Lines 34-40 Link Here
34
LICENSE="GPL-2"
34
LICENSE="GPL-2"
35
KEYWORDS="~x86"
35
KEYWORDS="~x86"
36
36
37
newdepend ">=app-dicts/stardict-2.1"
37
DEPEND=">=app-dicts/stardict-2.1"
38
38
39
S=${WORKDIR}/${DICT_P}
39
S=${WORKDIR}/${DICT_P}
40
40
(-)subversion.eclass (-1 / +1 lines)
Lines 29-35 Link Here
29
29
30
## -- add subversion in DEPEND
30
## -- add subversion in DEPEND
31
#
31
#
32
newdepend "dev-util/subversion"
32
DEPEND="dev-util/subversion"
33
33
34
34
35
## -- ESVN_STORE_DIR:  subversion sources store directory
35
## -- ESVN_STORE_DIR:  subversion sources store directory
(-)tetex.eclass (-2 / +2 lines)
Lines 34-40 Link Here
34
LICENSE="GPL-2"
34
LICENSE="GPL-2"
35
KEYWORDS="~ia64 ~x86 ~ppc ~sparc ~alpha ~amd64"
35
KEYWORDS="~ia64 ~x86 ~ppc ~sparc ~alpha ~amd64"
36
36
37
newdepend "!app-text/tetex
37
DEPEND="!app-text/tetex
38
	!app-text/ptex
38
	!app-text/ptex
39
	!app-text/cstetex
39
	!app-text/cstetex
40
	sys-apps/ed
40
	sys-apps/ed
Lines 43-49 Link Here
43
	>=media-libs/libpng-1.2.1
43
	>=media-libs/libpng-1.2.1
44
	sys-libs/ncurses
44
	sys-libs/ncurses
45
	>=net-libs/libwww-5.3.2-r1"
45
	>=net-libs/libwww-5.3.2-r1"
46
newrdepend "!app-text/tetex
46
RDEPEND="!app-text/tetex
47
	!app-text/ptex
47
	!app-text/ptex
48
	!app-text/cstetex
48
	!app-text/cstetex
49
	sys-apps/ed
49
	sys-apps/ed
(-)tla.eclass (-1 / +1 lines)
Lines 58-64 Link Here
58
# --- end ebuild-configurable settings ---
58
# --- end ebuild-configurable settings ---
59
59
60
# add tla to deps
60
# add tla to deps
61
newdepend "dev-util/tla"
61
DEPEND="dev-util/tla"
62
62
63
# registers archives mentioned in $ETLA_ARCHIVES
63
# registers archives mentioned in $ETLA_ARCHIVES
64
tla_register_archives() {
64
tla_register_archives() {
(-)virtualx.eclass (-1 / +1 lines)
Lines 8-14 Link Here
8
8
9
ECLASS=virtualx
9
ECLASS=virtualx
10
INHERITED="$INHERITED $ECLASS"
10
INHERITED="$INHERITED $ECLASS"
11
newdepend virtual/x11
11
DEPEND="virtual/x11"
12
12
13
DESCRIPTION="Based on the $ECLASS eclass"
13
DESCRIPTION="Based on the $ECLASS eclass"
14
14
(-)xemacs-packages.eclass (-1 / +1 lines)
Lines 9-15 Link Here
9
INHERITED="${INHERITED} ${ECLASS}"
9
INHERITED="${INHERITED} ${ECLASS}"
10
EXPORT_FUNCTIONS src_unpack src_install
10
EXPORT_FUNCTIONS src_unpack src_install
11
11
12
newdepend "virtual/xemacs"
12
DEPEND="virtual/xemacs"
13
13
14
[ -z "$HOMEPAGE" ]    && HOMEPAGE="http://xemacs.org/"
14
[ -z "$HOMEPAGE" ]    && HOMEPAGE="http://xemacs.org/"
15
[ -z "$LICENSE" ]     && LICENSE="GPL-2"
15
[ -z "$LICENSE" ]     && LICENSE="GPL-2"

Return to bug 25013