Gentoo Archives: gentoo-commits

From: "Samuli Suominen (ssuominen)" <ssuominen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in eclass: xfce4.eclass xfce42.eclass
Date: Wed, 30 Sep 2009 09:22:39
Message-Id: E1MsvOO-0001Kj-Uv@stork.gentoo.org
1 ssuominen 09/09/30 09:22:36
2
3 Modified: xfce4.eclass xfce42.eclass
4 Log:
5 Mark these obsolete as well.
6
7 Revision Changes Path
8 1.32 eclass/xfce4.eclass
9
10 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/xfce4.eclass?rev=1.32&view=markup
11 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/xfce4.eclass?rev=1.32&content-type=text/plain
12 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/xfce4.eclass?r1=1.31&r2=1.32
13
14 Index: xfce4.eclass
15 ===================================================================
16 RCS file: /var/cvsroot/gentoo-x86/eclass/xfce4.eclass,v
17 retrieving revision 1.31
18 retrieving revision 1.32
19 diff -u -r1.31 -r1.32
20 --- xfce4.eclass 7 Sep 2009 18:20:47 -0000 1.31
21 +++ xfce4.eclass 30 Sep 2009 09:22:36 -0000 1.32
22 @@ -1,6 +1,8 @@
23 # Copyright 1999-2008 Gentoo Foundation
24 # Distributed under the terms of the GNU General Public License v2
25 -# $Header: /var/cvsroot/gentoo-x86/eclass/xfce4.eclass,v 1.31 2009/09/07 18:20:47 angelos Exp $
26 +# $Header: /var/cvsroot/gentoo-x86/eclass/xfce4.eclass,v 1.32 2009/09/30 09:22:36 ssuominen Exp $
27 +
28 +# OBSOLETE ECLASS. Unused and doesn't work. Delete soon as allowed.
29
30 # @ECLASS: xfce4.eclass
31 # @MAINTAINER:
32
33
34
35 1.9 eclass/xfce42.eclass
36
37 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/xfce42.eclass?rev=1.9&view=markup
38 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/xfce42.eclass?rev=1.9&content-type=text/plain
39 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/xfce42.eclass?r1=1.8&r2=1.9
40
41 Index: xfce42.eclass
42 ===================================================================
43 RCS file: /var/cvsroot/gentoo-x86/eclass/xfce42.eclass,v
44 retrieving revision 1.8
45 retrieving revision 1.9
46 diff -u -r1.8 -r1.9
47 --- xfce42.eclass 30 May 2007 13:25:32 -0000 1.8
48 +++ xfce42.eclass 30 Sep 2009 09:22:36 -0000 1.9
49 @@ -1,31 +1,20 @@
50 -# Copyright 1999-2007 Gentoo Foundation
51 +# Copyright 1999-2009 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 -# $Header: /var/cvsroot/gentoo-x86/eclass/xfce42.eclass,v 1.8 2007/05/30 13:25:32 drac Exp $
54 +# $Header: /var/cvsroot/gentoo-x86/eclass/xfce42.eclass,v 1.9 2009/09/30 09:22:36 ssuominen Exp $
55
56 -# DEPRECATED ECLASS.
57 -
58 -## set some variable values:
59 -## COMPRESS is the default compression extension
60 -## ZIP is added to src directory of Xfce packages for when upstream releases .tar.bz2 versions
61 -## INSTALL is default make install directive
62 -## XFCE_VERSION sets the minimum version required for the panel
63 +# OBSOLETE ECLASS. Unused and doesn't work. Delete soon as allowed.
64
65 COMPRESS=".tar.gz"
66 -
67 ZIP=""
68 -
69 INSTALL="make DESTDIR=${D} install"
70 -
71 XFCE_VERSION="4.2"
72 +HOMEPAGE=""
73
74 -## plugins and base packages default to tar.gz unless bzipped is called
75 -## ZIP is added to the src directory for when the Xfce team releases .tar.bz2 packages
76 bzipped() {
77 COMPRESS=".tar.bz2"
78 ZIP="-bz2"
79 }
80
81 -## plugin function adds the -plugin string to $P and adds the depend on panel version
82 plugin() {
83 [[ -z ${MY_P} ]] && MY_P="${PN}-plugin-${PV}"
84 S="${WORKDIR}/${MY_P}"
85 @@ -34,63 +23,40 @@
86 !>=xfce-base/xfce4-panel-4.3"
87 }
88
89 -## goodies function sets SRC_URI and HOMEPAGE to berlios
90 goodies() {
91 SRC_URI="http://download.berlios.de/xfce-goodies/${MY_P:-${P}}${COMPRESS}"
92 [[ -z ${HOMEPAGE} ]] && HOMEPAGE="http://xfce-goodies.berlios.de/"
93 S="${WORKDIR}/${MY_P:-${P}}"
94 }
95
96 -## goodies_plugin calls plugin and goodies funtions in correct order
97 goodies_plugin() {
98 plugin
99 goodies
100 S="${WORKDIR}/${MY_P}"
101 }
102
103 -## core_package sets SRC_URI and HOMPAGE for all Xfce core pacgages
104 core_package() {
105 SRC_URI="http://www.xfce.org/archive/xfce-${PV}/src${ZIP}/${P}${COMPRESS}"
106 - HOMEPAGE="http://www.xfce.org/"
107 }
108
109 -## single_make sets the -j value to 1 eliminationg parallel builds for broken autotools scripts
110 single_make() {
111 - JOBS="-j1"
112 + JOBS=""
113 }
114
115 -## want_einstall
116 want_einstall() {
117 - INSTALL="einstall"
118 + INSTALL="true"
119 }
120
121 -## LICENSE is set to Xfce base packages default
122 -LICENSE="GPL-2"
123 +LICENSE=""
124 SLOT="0"
125 -
126 IUSE="${IUSE}"
127
128 -RDEPEND=">=x11-libs/gtk+-2.2
129 - dev-libs/libxml2
130 - >=dev-libs/dbh-1.0.20
131 - >=x11-themes/gtk-engines-xfce-2.2.5
132 - ${RDEPEND}"
133 -DEPEND="${RDEPEND}
134 - dev-util/pkgconfig"
135 -
136 -#S="${WORKDIR}/${MY_P:-${P}}"
137 -
138 xfce42_src_compile() {
139 - ## XFCE_CONFIG sets extra config parameters
140 - ## JOBS is unset and defaults to make.conf settings
141 - ## unless set by single_make
142 - econf ${XFCE_CONFIG} || die
143 - emake ${JOBS} || die
144 + true
145 }
146
147 xfce42_src_install() {
148 - ## INSTALL is default make install string
149 - ${INSTALL} || die
150 + true
151 }
152
153 EXPORT_FUNCTIONS src_compile src_install