1 |
ssuominen 09/09/30 09:13:20 |
2 |
|
3 |
Modified: xfce44.eclass |
4 |
Log: |
5 |
Obsolete xfce44.eclass with comments and minimalizing it a bit. |
6 |
|
7 |
Revision Changes Path |
8 |
1.24 eclass/xfce44.eclass |
9 |
|
10 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/xfce44.eclass?rev=1.24&view=markup |
11 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/xfce44.eclass?rev=1.24&content-type=text/plain |
12 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/xfce44.eclass?r1=1.23&r2=1.24 |
13 |
|
14 |
Index: xfce44.eclass |
15 |
=================================================================== |
16 |
RCS file: /var/cvsroot/gentoo-x86/eclass/xfce44.eclass,v |
17 |
retrieving revision 1.23 |
18 |
retrieving revision 1.24 |
19 |
diff -u -r1.23 -r1.24 |
20 |
--- xfce44.eclass 23 Feb 2009 21:38:01 -0000 1.23 |
21 |
+++ xfce44.eclass 30 Sep 2009 09:13:19 -0000 1.24 |
22 |
@@ -1,39 +1,23 @@ |
23 |
-# Copyright 1999-2006 Gentoo Foundation |
24 |
+# Copyright 1999-2009 Gentoo Foundation |
25 |
# Distributed under the terms of the GNU General Public License v2 |
26 |
-# $Header: /var/cvsroot/gentoo-x86/eclass/xfce44.eclass,v 1.23 2009/02/23 21:38:01 angelos Exp $ |
27 |
+# $Header: /var/cvsroot/gentoo-x86/eclass/xfce44.eclass,v 1.24 2009/09/30 09:13:19 ssuominen Exp $ |
28 |
|
29 |
-# Xfce44 Eclass |
30 |
-# |
31 |
-# Eclass to simplify Xfce4 package installation |
32 |
+# OBSOLETE ECLASS. Unused and doesn't work. Delete soon as allowed. |
33 |
|
34 |
inherit fdo-mime gnome2-utils |
35 |
|
36 |
-## set some variable values: |
37 |
-## COMPRESS is the default compression extension |
38 |
-## INSTALL is default gmake install directive |
39 |
-## *_VERSION sets the minimum version required for the panel |
40 |
-## LICENSE is set to Xfce base packages default |
41 |
- |
42 |
-LICENSE="GPL-2" |
43 |
+LICENSE="" |
44 |
SLOT="0" |
45 |
- |
46 |
IUSE="${IUSE}" |
47 |
- |
48 |
-DEPEND="${RDEPEND} |
49 |
- dev-util/pkgconfig" |
50 |
- |
51 |
-#S="${WORKDIR}/${MY_P:-${P}}" |
52 |
- |
53 |
COMPRESS=".tar.bz2" |
54 |
CONFIGURE="econf" |
55 |
INSTALL="emake DESTDIR=${D} install" |
56 |
- |
57 |
XFCE_BETA_VERSION="4.3.99.2" |
58 |
XFCE_VERSION="4.4.0" |
59 |
THUNAR_BETA_VERSION="0.5.0_rc2" |
60 |
THUNAR_VERSION="0.8" |
61 |
+HOMEPAGE="" |
62 |
|
63 |
-## sets {XFCE,THUNAR}_MASTER_VESION to {XFCE,THUNR}_BETA_VERSION |
64 |
xfce44_beta() { |
65 |
XFCE_MASTER_VERSION=${XFCE_BETA_VERSION} |
66 |
THUNAR_MASTER_VERSION=${THUNAR_BETA_VERSION} |
67 |
@@ -44,17 +28,14 @@ |
68 |
THUNAR_MASTER_VERSION=${THUNAR_VERSION} |
69 |
} |
70 |
|
71 |
-## plugins and base packages default to tar.bz2 unless gzipped is called |
72 |
xfce44_gzipped() { |
73 |
COMPRESS=".tar.gz" |
74 |
} |
75 |
|
76 |
-## plugins and base packages default to tar.bz2 unless zipped is called |
77 |
xfce44_zipped() { |
78 |
COMPRESS=".zip" |
79 |
} |
80 |
|
81 |
-## adds the -plugin string to $P and adds the depend on panel version |
82 |
xfce44_plugin() { |
83 |
[[ -z ${MY_PN} ]] && MY_PN="${PN}-plugin" |
84 |
[[ -z ${MY_P} ]] && MY_P="${MY_PN}-${PV}" |
85 |
@@ -65,61 +46,45 @@ |
86 |
|
87 |
xfce44_panel_plugin() { |
88 |
xfce44_plugin |
89 |
- RDEPEND="${RDEPEND} >=xfce-base/xfce4-panel-${XFCE_MASTER_VERSION}" |
90 |
- DEPEND="${DEPEND} >=xfce-base/xfce4-panel-${XFCE_MASTER_VERSION}" |
91 |
} |
92 |
|
93 |
xfce44_thunar_plugin() { |
94 |
xfce44_plugin |
95 |
- HOMEPAGE="http://thunar.xfce.org/pwiki/projects/${MY_PN}" |
96 |
- RDEPEND="${RDEPEND} >=xfce-base/thunar-${THUNAR_MASTER_VERSION}" |
97 |
- DEPEND="${DEPEND} >=xfce-base/thunar-${THUNAR_MASTER_VERSION}" |
98 |
} |
99 |
|
100 |
-## sets SRC_URI and HOMEPAGE to berlios |
101 |
xfce44_goodies() { |
102 |
- [[ -z ${HOMEPAGE} ]] && HOMEPAGE="http://goodies.xfce.org" |
103 |
S="${WORKDIR}/${MY_P:-${P}}" |
104 |
SRC_URI="http://goodies.xfce.org/releases/${MY_PN:-${PN}}/${MY_P:-${P}}${COMPRESS}" |
105 |
} |
106 |
|
107 |
-## goodies_panel_plugin calls panel_plugin and goodies funtions in correct order |
108 |
xfce44_goodies_panel_plugin() { |
109 |
xfce44_panel_plugin |
110 |
xfce44_goodies |
111 |
} |
112 |
|
113 |
-## calls thunar_plugin and goodies funtions in correct order |
114 |
xfce44_goodies_thunar_plugin() { |
115 |
xfce44_thunar_plugin |
116 |
xfce44_goodies |
117 |
} |
118 |
|
119 |
-## sets SRC_URI and HOMPAGE for all Xfce core packages |
120 |
xfce44_core_package() { |
121 |
SRC_URI="http://www.xfce.org/archive/xfce-${XFCE_MASTER_VERSION}/src/${P}${COMPRESS}" |
122 |
- HOMEPAGE="http://www.xfce.org/" |
123 |
} |
124 |
|
125 |
-## sets SRC_URI for non-core packages, like xarchiver |
126 |
xfce44_extra_package() { |
127 |
[[ -z ${MY_P} ]] && MY_P=${P} |
128 |
SRC_URI="http://www.xfce.org/archive/xfce-${XFCE_MASTER_VERSION}/src/${MY_P}${COMPRESS}" |
129 |
- HOMEPAGE="http://www.xfce.org/" |
130 |
} |
131 |
|
132 |
-## single_make sets the -j value to 1 eliminationg parallel builds for broken autotools scripts |
133 |
xfce44_single_make() { |
134 |
- JOBS="-j1" |
135 |
+ JOBS="" |
136 |
} |
137 |
|
138 |
-## want_einstall |
139 |
xfce44_want_einstall() { |
140 |
- INSTALL="einstall" |
141 |
+ INSTALL="true" |
142 |
} |
143 |
|
144 |
xfce44_src_compile() { |
145 |
- ## XFCE_CONFIG sets extra config parameters |
146 |
if has doc ${IUSE}; then |
147 |
XFCE_CONFIG="${XFCE_CONFIG} $(use_enable doc gtk-doc)" |
148 |
fi |
149 |
@@ -132,33 +97,24 @@ |
150 |
XFCE_CONFIG="${XFCE_CONFIG} $(use_enable debug)" |
151 |
fi |
152 |
${CONFIGURE} ${XFCE_CONFIG} |
153 |
- ## JOBS is unset and defaults to make.conf settings |
154 |
- ## unless set by single_make |
155 |
- emake ${JOBS} || die |
156 |
+ emake ${JOBS} |
157 |
} |
158 |
|
159 |
xfce44_src_install() { |
160 |
- ## Install documentation from sources defined in DOCS |
161 |
[[ -n "${DOCS}" ]] && dodoc ${DOCS} |
162 |
- |
163 |
- ## INSTALL is default make install string |
164 |
- ${INSTALL} ${JOBS} || die |
165 |
+ ${INSTALL} ${JOBS} |
166 |
} |
167 |
|
168 |
xfce44_pkg_preinst() { |
169 |
- gnome2_icon_savelist |
170 |
+ true |
171 |
} |
172 |
|
173 |
xfce44_pkg_postinst() { |
174 |
- fdo-mime_desktop_database_update |
175 |
- fdo-mime_mime_database_update |
176 |
- gnome2_icon_cache_update |
177 |
+ true |
178 |
} |
179 |
|
180 |
xfce44_pkg_postrm() { |
181 |
- fdo-mime_desktop_database_update |
182 |
- fdo-mime_mime_database_update |
183 |
- gnome2_icon_cache_update |
184 |
+ true |
185 |
} |
186 |
|
187 |
EXPORT_FUNCTIONS src_compile src_install pkg_preinst pkg_postinst pkg_postrm |