1 |
commit: 623b145d4df33fb086859aec44fa7bef987a82dd |
2 |
Author: Mats Lidell <matsl <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Apr 1 23:12:56 2017 +0000 |
4 |
Commit: Mats Lidell <matsl <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Apr 3 20:53:19 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=623b145d |
7 |
|
8 |
app-editors/xemacs: Remove old xemacs-21.5 ebuilds |
9 |
|
10 |
Package-Manager: Portage-2.3.3, Repoman-2.3.1 |
11 |
|
12 |
app-editors/xemacs/Manifest | 2 - |
13 |
app-editors/xemacs/xemacs-21.5.31.ebuild | 238 -------------------------- |
14 |
app-editors/xemacs/xemacs-21.5.33.ebuild | 236 -------------------------- |
15 |
app-editors/xemacs/xemacs-21.5.34-r2.ebuild | 249 --------------------------- |
16 |
app-editors/xemacs/xemacs-21.5.34-r3.ebuild | 250 ---------------------------- |
17 |
5 files changed, 975 deletions(-) |
18 |
|
19 |
diff --git a/app-editors/xemacs/Manifest b/app-editors/xemacs/Manifest |
20 |
index ba31b4f2285..21a3c53553a 100644 |
21 |
--- a/app-editors/xemacs/Manifest |
22 |
+++ b/app-editors/xemacs/Manifest |
23 |
@@ -1,6 +1,4 @@ |
24 |
DIST NeXT_XEmacs.tar.gz 39571 SHA256 35a0d988fd4ee801572639a99798571aa9fad140ddbed1455565ae9d5e0086c7 SHA512 611ddbbf5be3d2274e7f76be7f8200c6c7f3cba917efcc24e73685aa5f61c94237e6e48ce66f2d59ee4b74862e686f3ea7a29cf006717d5d0674db24d243d566 WHIRLPOOL d47aafa6fe7a11de94196dffb752c683722b8ead23979a7f4344c61964ebcd052a4f0ad6b9ab42a5d41f5551c0a543f46af59656fc8a79340257626272c1faae |
25 |
DIST xemacs-21.4.22.tar.gz 8357931 SHA256 87fb7633106625935105e821eb8fe65e521a3de44d45fe864109779c3a8e4bd1 SHA512 7ddd91f8d1a1b9f6d984a5bfddd98705dd6f7e3d6b4f81c1e03d971c93e33bff09b641bc2ad0a0d9d2e44170063550ad0399f3e28237dd34b8ad6200d8b197e8 WHIRLPOOL f1d313aa2dee7f4238190b90c10dc951a31302563a8a098e69ed740e85f428ac360b363e44f1e618f2d97782b5532846df290e9f79f11abdc7648a1e380cb44e |
26 |
DIST xemacs-21.4.24.tar.gz 8543879 SHA256 9016a51496d4978cf3dba75000a8e38bfc8cb4ca3a3f3e71371aa19259f26cd5 SHA512 b7a88d5a4a9f74f74c2067ed60f7ea87ac8ccad5d9c2c1033ecf07f540250191f8fa5f9e6d23d9fedd0f2ab1eb5ea6c29a7665a310ec512d85e2e4f337447213 WHIRLPOOL 469d52341833037e22cebeb6b554435c81b3f5749f64d86ddf31c3990dfc08a57f49fab7e868ab8c2009d1cae665f4fd731813f25c942d5aafd287ad7736a049 |
27 |
-DIST xemacs-21.5.31.tar.gz 15802193 SHA256 d59f90b7e72621376a23daa484f1929945d0527350a10989fd086bde9d0a997d SHA512 17c385459edffc063d43537dae5b2883d2d7481e7f7596d02c9859ecb9dd4ee48921647b389ed979d65ede2745b647c9b196c9ef0873e6d526d21262f04b7f41 WHIRLPOOL b2a1741af341f260671e1c8479f47c30113b515b240d86b41b6449abde96be896371d3f6b038ab72a96c422f84704de0a41e403a16c9ca2a4861e590e65b1f59 |
28 |
-DIST xemacs-21.5.33.tar.gz 15781151 SHA256 448c76aa32cd5c84257027846f01b75a5e4f1e9db3278f95e68ff23d59fb8f94 SHA512 75358b5cf2a012d23b95eb918e0ba1abf254db51d979d370f407b67871c6d09e2d59f59fe1acd46149933913222935e2c12be72cdf0314109c568f9f14438151 WHIRLPOOL 29d6a19d8cacc243afd3c21ed96cfabfa956531692e8ce4a454b958d32b08bb3eac47f52ada872ccfdb41082514145c602cc7ed81443bece7529365ba089f454 |
29 |
DIST xemacs-21.5.34.tar.gz 15816932 SHA256 33cc54a6a9a45224a64b6c57c8138b5a5f0f1be368951a6d9ec8c0aec5993ee5 SHA512 b61d88fe530a77b88c2ed0cecd6597ed3c265450bc61f7c6823920f774b2d566ef6fc18a6c33928d846d08d465617d4ccd3c4656606ec8634127a683abbc929a WHIRLPOOL 733aabc45309ff4172ab77492dd85e71f156722f2e06d9a185c0a4260b9fbea607ff8a41dc43fc009cb8cdf3f05d4523778610a501f27a4917ab43cea03c6209 |
30 |
|
31 |
diff --git a/app-editors/xemacs/xemacs-21.5.31.ebuild b/app-editors/xemacs/xemacs-21.5.31.ebuild |
32 |
deleted file mode 100644 |
33 |
index 78de2d05cb4..00000000000 |
34 |
--- a/app-editors/xemacs/xemacs-21.5.31.ebuild |
35 |
+++ /dev/null |
36 |
@@ -1,238 +0,0 @@ |
37 |
-# Copyright 1999-2015 Gentoo Foundation |
38 |
-# Distributed under the terms of the GNU General Public License v2 |
39 |
- |
40 |
-# Note: xemacs currently does not work with a hardened profile. If you |
41 |
-# want to use xemacs on a hardened profile then compile with the |
42 |
-# -nopie flag in CFLAGS or help fix bug #75028. |
43 |
- |
44 |
-EAPI=4 |
45 |
- |
46 |
-WANT_AUTOCONF="2.5" |
47 |
-inherit eutils flag-o-matic multilib |
48 |
- |
49 |
-DESCRIPTION="highly customizable open source text editor and application development system" |
50 |
-HOMEPAGE="http://www.xemacs.org/" |
51 |
-SRC_URI="http://ftp.xemacs.org/xemacs-21.5/${P}.tar.gz |
52 |
- http://www.malfunction.de/afterstep/files/NeXT_XEmacs.tar.gz" |
53 |
- |
54 |
-LICENSE="GPL-3" |
55 |
-SLOT="0" |
56 |
-KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd" |
57 |
-IUSE="alsa debug eolconv gif gpm pop postgres ldap xface nas dnd X jpeg tiff png mule motif freewnn canna xft xim athena neXt Xaw3d gdbm berkdb" |
58 |
- |
59 |
-X_DEPEND="x11-libs/libXt x11-libs/libXmu x11-libs/libXext x11-misc/xbitmaps" |
60 |
- |
61 |
-RDEPEND=" |
62 |
- berkdb? ( >=sys-libs/db-4 !!<sys-libs/db-4 ) |
63 |
- gdbm? ( >=sys-libs/gdbm-1.8.3[berkdb(+)] ) |
64 |
- >=sys-libs/zlib-1.1.4 |
65 |
- >=dev-libs/openssl-0.9.6:0 |
66 |
- >=media-libs/audiofile-0.2.3 |
67 |
- gpm? ( >=sys-libs/gpm-1.19.6 ) |
68 |
- postgres? ( dev-db/postgresql ) |
69 |
- ldap? ( net-nds/openldap ) |
70 |
- alsa? ( media-libs/alsa-lib ) |
71 |
- nas? ( media-libs/nas ) |
72 |
- X? ( $X_DEPEND !Xaw3d? ( !neXt? ( x11-libs/libXaw ) ) ) |
73 |
- dnd? ( x11-libs/dnd ) |
74 |
- motif? ( >=x11-libs/motif-2.3:0[xft=] ) |
75 |
- athena? ( x11-libs/libXaw ) |
76 |
- Xaw3d? ( x11-libs/libXaw3d ) |
77 |
- xft? ( media-libs/freetype:2 x11-libs/libXft x11-libs/libXrender >=media-libs/fontconfig-2.5.0 ) |
78 |
- neXt? ( x11-libs/neXtaw ) |
79 |
- xface? ( media-libs/compface ) |
80 |
- tiff? ( media-libs/tiff:0 ) |
81 |
- png? ( >=media-libs/libpng-1.2:0 ) |
82 |
- jpeg? ( virtual/jpeg:0 ) |
83 |
- canna? ( app-i18n/canna ) |
84 |
- freewnn? ( app-i18n/freewnn ) |
85 |
- >=sys-libs/ncurses-5.2" |
86 |
- |
87 |
-DEPEND="${RDEPEND} |
88 |
- >=app-eselect/eselect-emacs-1.2" |
89 |
- |
90 |
-PDEPEND="app-xemacs/xemacs-base |
91 |
- mule? ( app-xemacs/mule-base )" |
92 |
- |
93 |
-src_unpack() { |
94 |
- default_src_unpack |
95 |
- |
96 |
- use neXt && unpack NeXT_XEmacs.tar.gz |
97 |
-} |
98 |
- |
99 |
-src_prepare() { |
100 |
- # Fix problem caused by improper optimization with GCC 4.1.2 on x86 |
101 |
- # (and possibly other arches, but only confirmed on x86). See |
102 |
- # http://tracker.xemacs.org/XEmacs/its/issue354 for the upstream |
103 |
- # bug. |
104 |
- epatch "${FILESDIR}"/${PN}-21.5.29-optimization-bug.patch |
105 |
- |
106 |
- use neXt && cp "${WORKDIR}"/NeXT.XEmacs/xemacs-icons/* "${S}"/etc/toolbar/ |
107 |
-} |
108 |
- |
109 |
-src_configure() { |
110 |
- local myconf="" |
111 |
- |
112 |
- if use X; then |
113 |
- |
114 |
- myconf="${myconf} --with-widgets=athena" |
115 |
- myconf="${myconf} --with-dialogs=athena" |
116 |
- myconf="${myconf} --with-menubars=lucid" |
117 |
- myconf="${myconf} --with-scrollbars=lucid" |
118 |
- if use motif ; then |
119 |
- myconf="--with-widgets=motif" |
120 |
- myconf="${myconf} --with-dialogs=motif" |
121 |
- myconf="${myconf} --with-scrollbars=motif" |
122 |
- myconf="${myconf} --with-menubars=lucid" |
123 |
- fi |
124 |
- if use athena or use Xaw3d ; then |
125 |
- myconf="--with-scrollbars=athena" |
126 |
- fi |
127 |
- |
128 |
- if use Xaw3d; then |
129 |
- myconf="${myconf} --with-athena=3d" |
130 |
- elif use neXt; then |
131 |
- myconf="${myconf} --with-athena=next" |
132 |
- else |
133 |
- myconf="${myconf} --with-athena=xaw" |
134 |
- fi |
135 |
- |
136 |
- use dnd && myconf="${myconf} --with-dragndrop --with-offix" |
137 |
- |
138 |
- myconf="${myconf} $(use_with tiff )" |
139 |
- myconf="${myconf} $(use_with png )" |
140 |
- myconf="${myconf} $(use_with jpeg )" |
141 |
- myconf="${myconf} $(use_with xface )" |
142 |
- |
143 |
- use xft && myconf="${myconf} --with-xft=emacs,tabs,menubars,gauges" || |
144 |
- myconf="${myconf} --with-xft=no" |
145 |
- |
146 |
- else |
147 |
- myconf="${myconf} |
148 |
- --without-x |
149 |
- --without-xpm |
150 |
- --without-dragndrop |
151 |
- --with-xft=no |
152 |
- --with-gif=no" |
153 |
- fi |
154 |
- |
155 |
- if use mule ; then |
156 |
- myconf="${myconf} --with-mule" |
157 |
- |
158 |
- if use xim ; then |
159 |
- if use motif ; then |
160 |
- myconf="${myconf} --with-xim=motif" |
161 |
- else |
162 |
- myconf="${myconf} --with-xim=xlib" |
163 |
- fi |
164 |
- else |
165 |
- myconf="${myconf} --with-xim=no" |
166 |
- fi |
167 |
- |
168 |
- myconf="${myconf} $(use_with canna )" |
169 |
- myconf="${myconf} $(use_with freewnn wnn )" |
170 |
- fi |
171 |
- |
172 |
- # This determines the type of sounds we are playing |
173 |
- local soundconf="native" |
174 |
- |
175 |
- # This determines how these sounds should be played |
176 |
- use nas && soundconf="${soundconf},nas" |
177 |
- use alsa && soundconf="${soundconf},alsa" |
178 |
- |
179 |
- myconf="${myconf} --with-sound=${soundconf}" |
180 |
- |
181 |
- if use gdbm || use berkdb ; then |
182 |
- use gdbm && mydb="gdbm" |
183 |
- use berkdb && mydb="${mydb},berkdb" |
184 |
- |
185 |
- myconf="${myconf} --with-database=${mydb}" |
186 |
- else |
187 |
- myconf="${myconf} --without-database" |
188 |
- fi |
189 |
- |
190 |
- use debug && myconf="${myconf} --with-debug" || |
191 |
- myconf="${myconf} --with-optimization" |
192 |
- |
193 |
- econf ${myconf} \ |
194 |
- $(use_with gif ) \ |
195 |
- $(use_with gpm ) \ |
196 |
- $(use_with postgres postgresql ) \ |
197 |
- $(use_with ldap ) \ |
198 |
- $(use_with eolconv file-coding ) \ |
199 |
- $(use_with pop ) \ |
200 |
- --prefix=/usr \ |
201 |
- --with-ncurses \ |
202 |
- --with-msw=no \ |
203 |
- --with-mail-locking=flock \ |
204 |
- --with-site-lisp=yes \ |
205 |
- --with-site-modules=yes \ |
206 |
- --with-newgc \ |
207 |
- --enable-option-checking=no \ |
208 |
- --with-last-packages=/usr/lib/xemacs \ |
209 |
- || die "configuration failed" |
210 |
-} |
211 |
- |
212 |
-src_install() { |
213 |
- emake prefix="${D}"/usr \ |
214 |
- mandir="${D}"/usr/share/man/man1 \ |
215 |
- infodir="${D}"/usr/share/info \ |
216 |
- libdir="${D}"/usr/$(get_libdir) \ |
217 |
- datadir="${D}"/usr/share \ |
218 |
- install gzip-el || die |
219 |
- |
220 |
- # Rename some applications installed in bin so that it is clear |
221 |
- # which application installed them and so that conflicting |
222 |
- # packages (emacs) can't clobber the actual applications. |
223 |
- # Addresses bug #62991. |
224 |
- for i in b2m ctags etags ; do |
225 |
- mv "${D}"/usr/bin/${i} "${D}"/usr/bin/${i}-xemacs || die "mv ${i} failed" |
226 |
- done |
227 |
- |
228 |
- # rename man pages |
229 |
- for i in ctags etags; do |
230 |
- mv "${D}"/usr/share/man/man1/${i}{,-xemacs}.1 || die "mv ${i}.1 failed" |
231 |
- done |
232 |
- |
233 |
- # install base packages directories |
234 |
- dodir /usr/lib/xemacs/xemacs-packages/ |
235 |
- dodir /usr/lib/xemacs/site-packages/ |
236 |
- dodir /usr/lib/xemacs/site-modules/ |
237 |
- dodir /usr/lib/xemacs/site-lisp/ |
238 |
- |
239 |
- if use mule; |
240 |
- then |
241 |
- dodir /usr/lib/xemacs/mule-packages |
242 |
- fi |
243 |
- |
244 |
- # remove extraneous info files |
245 |
- cd "${D}"/usr/share/info |
246 |
- rm -f dir info.info texinfo* termcap* standards* |
247 |
- |
248 |
- cd "${S}" |
249 |
- dodoc CHANGES-* ChangeLog INSTALL Installation PROBLEMS README* |
250 |
- |
251 |
- newicon "${S}"/etc/${PN}-icon.xpm ${PN}.xpm |
252 |
- |
253 |
- domenu "${FILESDIR}"/${PN}.desktop |
254 |
-} |
255 |
- |
256 |
-pkg_postinst() { |
257 |
- eselect emacs update ifunset |
258 |
- |
259 |
- einfo "If you are upgrading from XEmacs 21.4 you should note the following" |
260 |
- einfo "incompatibilities:" |
261 |
- einfo "- Mule-UCS is no longer supported due to proper UTF-8 support in XEmacs 21.5" |
262 |
- einfo "- The X resource class has changed from Emacs to XEmacs," |
263 |
- einfo " settings in your .Xdefaults file should be updated accordingly." |
264 |
- |
265 |
- if use xft; |
266 |
- then |
267 |
- einfo "You have enabled Xft font support. Xft requires font names to be provided" |
268 |
- einfo "in a different way, so you may need to adjust your .Xdefaults accordingly." |
269 |
- fi |
270 |
-} |
271 |
- |
272 |
-pkg_postrm() { |
273 |
- eselect emacs update ifunset |
274 |
-} |
275 |
|
276 |
diff --git a/app-editors/xemacs/xemacs-21.5.33.ebuild b/app-editors/xemacs/xemacs-21.5.33.ebuild |
277 |
deleted file mode 100644 |
278 |
index 8b01f8a02d3..00000000000 |
279 |
--- a/app-editors/xemacs/xemacs-21.5.33.ebuild |
280 |
+++ /dev/null |
281 |
@@ -1,236 +0,0 @@ |
282 |
-# Copyright 1999-2015 Gentoo Foundation |
283 |
-# Distributed under the terms of the GNU General Public License v2 |
284 |
- |
285 |
-# Note: xemacs currently does not work with a hardened profile. If you |
286 |
-# want to use xemacs on a hardened profile then compile with the |
287 |
-# -nopie flag in CFLAGS or help fix bug #75028. |
288 |
- |
289 |
-EAPI=4 |
290 |
- |
291 |
-WANT_AUTOCONF="2.5" |
292 |
-inherit eutils flag-o-matic multilib |
293 |
- |
294 |
-DESCRIPTION="highly customizable open source text editor and application development system" |
295 |
-HOMEPAGE="http://www.xemacs.org/" |
296 |
-SRC_URI="http://ftp.xemacs.org/xemacs-21.5/${P}.tar.gz |
297 |
- http://www.malfunction.de/afterstep/files/NeXT_XEmacs.tar.gz" |
298 |
- |
299 |
-LICENSE="GPL-3" |
300 |
-SLOT="0" |
301 |
-KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd" |
302 |
-IUSE="alsa debug eolconv gif gpm pop postgres ldap xface nas dnd X jpeg tiff png mule motif freewnn canna xft xim athena neXt Xaw3d gdbm berkdb" |
303 |
- |
304 |
-X_DEPEND="x11-libs/libXt x11-libs/libXmu x11-libs/libXext x11-misc/xbitmaps" |
305 |
- |
306 |
-RDEPEND=" |
307 |
- berkdb? ( >=sys-libs/db-4 !!<sys-libs/db-4 ) |
308 |
- gdbm? ( >=sys-libs/gdbm-1.8.3[berkdb(+)] ) |
309 |
- >=sys-libs/zlib-1.1.4 |
310 |
- >=dev-libs/openssl-0.9.6:0 |
311 |
- >=media-libs/audiofile-0.2.3 |
312 |
- gpm? ( >=sys-libs/gpm-1.19.6 ) |
313 |
- postgres? ( dev-db/postgresql ) |
314 |
- ldap? ( net-nds/openldap ) |
315 |
- alsa? ( media-libs/alsa-lib ) |
316 |
- nas? ( media-libs/nas ) |
317 |
- X? ( $X_DEPEND !Xaw3d? ( !neXt? ( x11-libs/libXaw ) ) ) |
318 |
- dnd? ( x11-libs/dnd ) |
319 |
- motif? ( >=x11-libs/motif-2.3:0[xft=] ) |
320 |
- athena? ( x11-libs/libXaw ) |
321 |
- Xaw3d? ( x11-libs/libXaw3d ) |
322 |
- xft? ( media-libs/freetype:2 x11-libs/libXft x11-libs/libXrender >=media-libs/fontconfig-2.5.0 ) |
323 |
- neXt? ( x11-libs/neXtaw ) |
324 |
- xface? ( media-libs/compface ) |
325 |
- tiff? ( media-libs/tiff:0 ) |
326 |
- png? ( >=media-libs/libpng-1.2:0 ) |
327 |
- jpeg? ( virtual/jpeg:0 ) |
328 |
- canna? ( app-i18n/canna ) |
329 |
- freewnn? ( app-i18n/freewnn ) |
330 |
- >=sys-libs/ncurses-5.2" |
331 |
- |
332 |
-DEPEND="${RDEPEND} |
333 |
- >=app-eselect/eselect-emacs-1.2" |
334 |
- |
335 |
-PDEPEND="app-xemacs/xemacs-base |
336 |
- mule? ( app-xemacs/mule-base )" |
337 |
- |
338 |
-src_unpack() { |
339 |
- default_src_unpack |
340 |
- |
341 |
- use neXt && unpack NeXT_XEmacs.tar.gz |
342 |
-} |
343 |
- |
344 |
-src_prepare() { |
345 |
- use neXt && cp "${WORKDIR}"/NeXT.XEmacs/xemacs-icons/* "${S}"/etc/toolbar/ |
346 |
- |
347 |
- # Fix for no-mule build. |
348 |
- find "${S}"/lisp -name '*.elc' -exec rm {} \; || die |
349 |
- epatch "${FILESDIR}"/${P}-no-mule-build.patch |
350 |
-} |
351 |
- |
352 |
-src_configure() { |
353 |
- local myconf="" |
354 |
- |
355 |
- if use X; then |
356 |
- |
357 |
- myconf="${myconf} --with-widgets=athena" |
358 |
- myconf="${myconf} --with-dialogs=athena" |
359 |
- myconf="${myconf} --with-menubars=lucid" |
360 |
- myconf="${myconf} --with-scrollbars=lucid" |
361 |
- if use motif ; then |
362 |
- myconf="--with-widgets=motif" |
363 |
- myconf="${myconf} --with-dialogs=motif" |
364 |
- myconf="${myconf} --with-scrollbars=motif" |
365 |
- myconf="${myconf} --with-menubars=lucid" |
366 |
- fi |
367 |
- if use athena or use Xaw3d ; then |
368 |
- myconf="--with-scrollbars=athena" |
369 |
- fi |
370 |
- |
371 |
- if use Xaw3d; then |
372 |
- myconf="${myconf} --with-athena=3d" |
373 |
- elif use neXt; then |
374 |
- myconf="${myconf} --with-athena=next" |
375 |
- else |
376 |
- myconf="${myconf} --with-athena=xaw" |
377 |
- fi |
378 |
- |
379 |
- use dnd && myconf="${myconf} --with-dragndrop --with-offix" |
380 |
- |
381 |
- myconf="${myconf} $(use_with tiff )" |
382 |
- myconf="${myconf} $(use_with png )" |
383 |
- myconf="${myconf} $(use_with jpeg )" |
384 |
- myconf="${myconf} $(use_with xface )" |
385 |
- |
386 |
- use xft && myconf="${myconf} --with-xft=emacs,tabs,menubars,gauges" || |
387 |
- myconf="${myconf} --with-xft=no" |
388 |
- |
389 |
- else |
390 |
- myconf="${myconf} |
391 |
- --without-x |
392 |
- --without-xpm |
393 |
- --without-dragndrop |
394 |
- --with-xft=no |
395 |
- --with-gif=no" |
396 |
- fi |
397 |
- |
398 |
- if use mule ; then |
399 |
- myconf="${myconf} --with-mule" |
400 |
- |
401 |
- if use xim ; then |
402 |
- if use motif ; then |
403 |
- myconf="${myconf} --with-xim=motif" |
404 |
- else |
405 |
- myconf="${myconf} --with-xim=xlib" |
406 |
- fi |
407 |
- else |
408 |
- myconf="${myconf} --with-xim=no" |
409 |
- fi |
410 |
- |
411 |
- myconf="${myconf} $(use_with canna )" |
412 |
- myconf="${myconf} $(use_with freewnn wnn )" |
413 |
- fi |
414 |
- |
415 |
- # This determines the type of sounds we are playing |
416 |
- local soundconf="native" |
417 |
- |
418 |
- # This determines how these sounds should be played |
419 |
- use nas && soundconf="${soundconf},nas" |
420 |
- use alsa && soundconf="${soundconf},alsa" |
421 |
- |
422 |
- myconf="${myconf} --with-sound=${soundconf}" |
423 |
- |
424 |
- if use gdbm || use berkdb ; then |
425 |
- use gdbm && mydb="gdbm" |
426 |
- use berkdb && mydb="${mydb},berkdb" |
427 |
- |
428 |
- myconf="${myconf} --with-database=${mydb}" |
429 |
- else |
430 |
- myconf="${myconf} --without-database" |
431 |
- fi |
432 |
- |
433 |
- use debug && myconf="${myconf} --with-debug" || |
434 |
- myconf="${myconf} --with-optimization" |
435 |
- |
436 |
- econf ${myconf} \ |
437 |
- $(use_with gif ) \ |
438 |
- $(use_with gpm ) \ |
439 |
- $(use_with postgres postgresql ) \ |
440 |
- $(use_with ldap ) \ |
441 |
- $(use_with eolconv file-coding ) \ |
442 |
- $(use_with pop ) \ |
443 |
- --prefix=/usr \ |
444 |
- --with-ncurses \ |
445 |
- --with-msw=no \ |
446 |
- --with-mail-locking=flock \ |
447 |
- --with-site-lisp=yes \ |
448 |
- --with-site-modules=yes \ |
449 |
- --with-newgc \ |
450 |
- --enable-option-checking=no \ |
451 |
- --with-last-packages=/usr/lib/xemacs \ |
452 |
- || die "configuration failed" |
453 |
-} |
454 |
- |
455 |
-src_install() { |
456 |
- emake prefix="${D}"/usr \ |
457 |
- mandir="${D}"/usr/share/man/man1 \ |
458 |
- infodir="${D}"/usr/share/info \ |
459 |
- libdir="${D}"/usr/$(get_libdir) \ |
460 |
- datadir="${D}"/usr/share \ |
461 |
- install gzip-el || die |
462 |
- |
463 |
- # Rename some applications installed in bin so that it is clear |
464 |
- # which application installed them and so that conflicting |
465 |
- # packages (emacs) can't clobber the actual applications. |
466 |
- # Addresses bug #62991. |
467 |
- for i in b2m ctags etags ; do |
468 |
- mv "${D}"/usr/bin/${i} "${D}"/usr/bin/${i}-xemacs || die "mv ${i} failed" |
469 |
- done |
470 |
- |
471 |
- # rename man pages |
472 |
- for i in ctags etags; do |
473 |
- mv "${D}"/usr/share/man/man1/${i}{,-xemacs}.1 || die "mv ${i}.1 failed" |
474 |
- done |
475 |
- |
476 |
- # install base packages directories |
477 |
- dodir /usr/lib/xemacs/xemacs-packages/ |
478 |
- dodir /usr/lib/xemacs/site-packages/ |
479 |
- dodir /usr/lib/xemacs/site-modules/ |
480 |
- dodir /usr/lib/xemacs/site-lisp/ |
481 |
- |
482 |
- if use mule; |
483 |
- then |
484 |
- dodir /usr/lib/xemacs/mule-packages |
485 |
- fi |
486 |
- |
487 |
- # remove extraneous info files |
488 |
- cd "${D}"/usr/share/info |
489 |
- rm -f dir info.info texinfo* termcap* standards* |
490 |
- |
491 |
- cd "${S}" |
492 |
- dodoc CHANGES-* ChangeLog INSTALL Installation PROBLEMS README* |
493 |
- |
494 |
- newicon "${S}"/etc/${PN}-icon.xpm ${PN}.xpm |
495 |
- |
496 |
- domenu "${FILESDIR}"/${PN}.desktop |
497 |
-} |
498 |
- |
499 |
-pkg_postinst() { |
500 |
- eselect emacs update ifunset |
501 |
- |
502 |
- einfo "If you are upgrading from XEmacs 21.4 you should note the following" |
503 |
- einfo "incompatibilities:" |
504 |
- einfo "- Mule-UCS is no longer supported due to proper UTF-8 support in XEmacs 21.5" |
505 |
- einfo "- The X resource class has changed from Emacs to XEmacs," |
506 |
- einfo " settings in your .Xdefaults file should be updated accordingly." |
507 |
- |
508 |
- if use xft; |
509 |
- then |
510 |
- einfo "You have enabled Xft font support. Xft requires font names to be provided" |
511 |
- einfo "in a different way, so you may need to adjust your .Xdefaults accordingly." |
512 |
- fi |
513 |
-} |
514 |
- |
515 |
-pkg_postrm() { |
516 |
- eselect emacs update ifunset |
517 |
-} |
518 |
|
519 |
diff --git a/app-editors/xemacs/xemacs-21.5.34-r2.ebuild b/app-editors/xemacs/xemacs-21.5.34-r2.ebuild |
520 |
deleted file mode 100644 |
521 |
index 466483af8be..00000000000 |
522 |
--- a/app-editors/xemacs/xemacs-21.5.34-r2.ebuild |
523 |
+++ /dev/null |
524 |
@@ -1,249 +0,0 @@ |
525 |
-# Copyright 1999-2015 Gentoo Foundation |
526 |
-# Distributed under the terms of the GNU General Public License v2 |
527 |
- |
528 |
-# Note: xemacs currently does not work with a hardened profile. If you |
529 |
-# want to use xemacs on a hardened profile then compile with the |
530 |
-# -nopie flag in CFLAGS or help fix bug #75028. |
531 |
- |
532 |
-EAPI=4 |
533 |
- |
534 |
-WANT_AUTOCONF="2.5" |
535 |
-inherit eutils flag-o-matic multilib |
536 |
- |
537 |
-DESCRIPTION="highly customizable open source text editor and application development system" |
538 |
-HOMEPAGE="http://www.xemacs.org/" |
539 |
-SRC_URI="http://ftp.xemacs.org/xemacs-21.5/${P}.tar.gz |
540 |
- http://www.malfunction.de/afterstep/files/NeXT_XEmacs.tar.gz" |
541 |
- |
542 |
-LICENSE="GPL-3+" |
543 |
-SLOT="0" |
544 |
-KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd" |
545 |
-IUSE="alsa debug eolconv gif gpm pop postgres ldap xface nas dnd X jpeg tiff png mule motif freewnn canna xft xim athena neXt Xaw3d gdbm berkdb" |
546 |
- |
547 |
-X_DEPEND="x11-libs/libXt x11-libs/libXmu x11-libs/libXext x11-misc/xbitmaps" |
548 |
- |
549 |
-RDEPEND=" |
550 |
- berkdb? ( >=sys-libs/db-4 !!<sys-libs/db-4 ) |
551 |
- gdbm? ( >=sys-libs/gdbm-1.8.3[berkdb(+)] ) |
552 |
- >=sys-libs/zlib-1.1.4 |
553 |
- >=dev-libs/openssl-0.9.6:0 |
554 |
- >=media-libs/audiofile-0.2.3 |
555 |
- gpm? ( >=sys-libs/gpm-1.19.6 ) |
556 |
- postgres? ( dev-db/postgresql ) |
557 |
- ldap? ( net-nds/openldap ) |
558 |
- alsa? ( media-libs/alsa-lib ) |
559 |
- nas? ( media-libs/nas ) |
560 |
- X? ( $X_DEPEND !Xaw3d? ( !neXt? ( x11-libs/libXaw ) ) ) |
561 |
- dnd? ( x11-libs/dnd ) |
562 |
- motif? ( >=x11-libs/motif-2.3:0[xft=] ) |
563 |
- athena? ( x11-libs/libXaw ) |
564 |
- Xaw3d? ( x11-libs/libXaw3d ) |
565 |
- xft? ( media-libs/freetype:2 x11-libs/libXft x11-libs/libXrender >=media-libs/fontconfig-2.5.0 ) |
566 |
- neXt? ( x11-libs/neXtaw ) |
567 |
- xface? ( media-libs/compface ) |
568 |
- tiff? ( media-libs/tiff:0 ) |
569 |
- png? ( >=media-libs/libpng-1.2:0 ) |
570 |
- jpeg? ( virtual/jpeg:0 ) |
571 |
- canna? ( app-i18n/canna ) |
572 |
- freewnn? ( app-i18n/freewnn ) |
573 |
- >=sys-libs/ncurses-5.2 |
574 |
- >=app-eselect/eselect-emacs-1.15" |
575 |
- |
576 |
-DEPEND="${RDEPEND} |
577 |
- virtual/pkgconfig" |
578 |
- |
579 |
-PDEPEND="app-xemacs/xemacs-base |
580 |
- mule? ( app-xemacs/mule-base )" |
581 |
- |
582 |
-src_unpack() { |
583 |
- default_src_unpack |
584 |
- |
585 |
- use neXt && unpack NeXT_XEmacs.tar.gz |
586 |
-} |
587 |
- |
588 |
-src_prepare() { |
589 |
- use neXt && cp "${WORKDIR}"/NeXT.XEmacs/xemacs-icons/* "${S}"/etc/toolbar/ |
590 |
- find "${S}"/lisp -name '*.elc' -exec rm {} \; || die |
591 |
- epatch "${FILESDIR}/${P}-ncurses-tinfo.patch" |
592 |
- |
593 |
- # Some binaries and man pages are installed under suffixed names |
594 |
- # to avoid collions with their GNU Emacs counterparts (see below). |
595 |
- # Fix internal filename references. |
596 |
- sed -i -e 's/exec gnuclient/&-xemacs/' lib-src/gnudoit || die |
597 |
- sed -i -e '/^\.so/s/etags/&-xemacs/' etc/ctags.1 || die |
598 |
- sed -i -e '/^\.so/s/gnuserv/&-xemacs/' etc/gnu{client,doit,attach}.1 || die |
599 |
-} |
600 |
- |
601 |
-src_configure() { |
602 |
- local myconf="" |
603 |
- |
604 |
- if use X; then |
605 |
- |
606 |
- myconf="${myconf} --with-widgets=athena" |
607 |
- myconf="${myconf} --with-dialogs=athena" |
608 |
- myconf="${myconf} --with-menubars=lucid" |
609 |
- myconf="${myconf} --with-scrollbars=lucid" |
610 |
- if use motif ; then |
611 |
- myconf="--with-widgets=motif" |
612 |
- myconf="${myconf} --with-dialogs=motif" |
613 |
- myconf="${myconf} --with-scrollbars=motif" |
614 |
- myconf="${myconf} --with-menubars=lucid" |
615 |
- fi |
616 |
- if use athena or use Xaw3d ; then |
617 |
- myconf="--with-scrollbars=athena" |
618 |
- fi |
619 |
- |
620 |
- if use Xaw3d; then |
621 |
- myconf="${myconf} --with-athena=3d" |
622 |
- elif use neXt; then |
623 |
- myconf="${myconf} --with-athena=next" |
624 |
- else |
625 |
- myconf="${myconf} --with-athena=xaw" |
626 |
- fi |
627 |
- |
628 |
- use dnd && myconf="${myconf} --with-dragndrop --with-offix" |
629 |
- |
630 |
- myconf="${myconf} $(use_with tiff )" |
631 |
- myconf="${myconf} $(use_with png )" |
632 |
- myconf="${myconf} $(use_with jpeg )" |
633 |
- myconf="${myconf} $(use_with xface )" |
634 |
- |
635 |
- use xft && myconf="${myconf} --with-xft=emacs,tabs,menubars,gauges" || |
636 |
- myconf="${myconf} --with-xft=no" |
637 |
- |
638 |
- else |
639 |
- myconf="${myconf} |
640 |
- --without-x |
641 |
- --without-xpm |
642 |
- --without-dragndrop |
643 |
- --with-xft=no |
644 |
- --with-gif=no" |
645 |
- fi |
646 |
- |
647 |
- if use mule ; then |
648 |
- myconf="${myconf} --with-mule" |
649 |
- |
650 |
- if use xim ; then |
651 |
- if use motif ; then |
652 |
- myconf="${myconf} --with-xim=motif" |
653 |
- else |
654 |
- myconf="${myconf} --with-xim=xlib" |
655 |
- fi |
656 |
- else |
657 |
- myconf="${myconf} --with-xim=no" |
658 |
- fi |
659 |
- |
660 |
- myconf="${myconf} $(use_with canna )" |
661 |
- myconf="${myconf} $(use_with freewnn wnn )" |
662 |
- fi |
663 |
- |
664 |
- # This determines the type of sounds we are playing |
665 |
- local soundconf="native" |
666 |
- |
667 |
- # This determines how these sounds should be played |
668 |
- use nas && soundconf="${soundconf},nas" |
669 |
- use alsa && soundconf="${soundconf},alsa" |
670 |
- |
671 |
- myconf="${myconf} --with-sound=${soundconf}" |
672 |
- |
673 |
- if use gdbm || use berkdb ; then |
674 |
- use gdbm && mydb="gdbm" |
675 |
- use berkdb && mydb="${mydb},berkdb" |
676 |
- |
677 |
- myconf="${myconf} --with-database=${mydb}" |
678 |
- else |
679 |
- myconf="${myconf} --without-database" |
680 |
- fi |
681 |
- |
682 |
- use debug && myconf="${myconf} --with-debug" || |
683 |
- myconf="${myconf} --with-optimization" |
684 |
- |
685 |
- econf ${myconf} \ |
686 |
- $(use_with gif ) \ |
687 |
- $(use_with gpm ) \ |
688 |
- $(use_with postgres postgresql ) \ |
689 |
- $(use_with ldap ) \ |
690 |
- $(use_with eolconv file-coding ) \ |
691 |
- $(use_with pop ) \ |
692 |
- --prefix=/usr \ |
693 |
- --with-ncurses \ |
694 |
- --with-msw=no \ |
695 |
- --with-mail-locking=flock \ |
696 |
- --with-site-lisp=yes \ |
697 |
- --with-site-modules=yes \ |
698 |
- --with-newgc \ |
699 |
- --enable-option-checking=no \ |
700 |
- --with-last-packages=/usr/lib/xemacs \ |
701 |
- || die "configuration failed" |
702 |
-} |
703 |
- |
704 |
-src_compile() { |
705 |
- emake EMACSLOADPATH="${S}"/lisp |
706 |
-} |
707 |
- |
708 |
-src_install() { |
709 |
- emake prefix="${D}"/usr \ |
710 |
- mandir="${D}"/usr/share/man/man1 \ |
711 |
- infodir="${D}"/usr/share/info \ |
712 |
- libdir="${D}"/usr/$(get_libdir) \ |
713 |
- datadir="${D}"/usr/share \ |
714 |
- install || die |
715 |
- |
716 |
- # Rename some applications installed in bin so that it is clear |
717 |
- # which application installed them and so that conflicting |
718 |
- # packages (emacs) can't clobber the actual applications. |
719 |
- # Addresses bug #62991. |
720 |
- for i in b2m ctags etags gnuclient gnudoit gnuattach; do |
721 |
- mv "${D}"/usr/bin/${i} "${D}"/usr/bin/${i}-xemacs || die "mv ${i} failed" |
722 |
- done |
723 |
- |
724 |
- # rename man pages |
725 |
- for i in ctags etags gnuserv gnuclient gnudoit gnuattach; do |
726 |
- mv "${D}"/usr/share/man/man1/${i}{,-xemacs}.1 || die "mv ${i}.1 failed" |
727 |
- done |
728 |
- |
729 |
- # install base packages directories |
730 |
- dodir /usr/lib/xemacs/xemacs-packages/ |
731 |
- dodir /usr/lib/xemacs/site-packages/ |
732 |
- dodir /usr/lib/xemacs/site-modules/ |
733 |
- dodir /usr/lib/xemacs/site-lisp/ |
734 |
- |
735 |
- if use mule; |
736 |
- then |
737 |
- dodir /usr/lib/xemacs/mule-packages |
738 |
- fi |
739 |
- |
740 |
- # remove extraneous info files |
741 |
- cd "${D}"/usr/share/info |
742 |
- rm -f dir info.info texinfo* termcap* standards* |
743 |
- |
744 |
- cd "${S}" |
745 |
- dodoc CHANGES-* ChangeLog INSTALL Installation PROBLEMS README* |
746 |
- |
747 |
- newicon "${S}"/etc/${PN}-icon.xpm ${PN}.xpm |
748 |
- |
749 |
- domenu "${FILESDIR}"/${PN}.desktop |
750 |
-} |
751 |
- |
752 |
-pkg_postinst() { |
753 |
- eselect emacs update ifunset |
754 |
- eselect gnuclient update ifunset |
755 |
- |
756 |
- einfo "*************************************************" |
757 |
- einfo "If you are upgrading from XEmacs 21.4 you should note the following" |
758 |
- einfo "incompatibilities:" |
759 |
- einfo "- Mule-UCS is no longer supported due to proper UTF-8 support in XEmacs 21.5" |
760 |
- einfo "- The X resource class has changed from Emacs to XEmacs," |
761 |
- einfo " settings in your .Xdefaults file should be updated accordingly." |
762 |
- |
763 |
- if use xft; |
764 |
- then |
765 |
- einfo "You have enabled Xft font support. Xft requires font names to be provided" |
766 |
- einfo "in a different way, so you may need to adjust your .Xdefaults accordingly." |
767 |
- fi |
768 |
-} |
769 |
- |
770 |
-pkg_postrm() { |
771 |
- eselect emacs update ifunset |
772 |
- eselect gnuclient update ifunset |
773 |
-} |
774 |
|
775 |
diff --git a/app-editors/xemacs/xemacs-21.5.34-r3.ebuild b/app-editors/xemacs/xemacs-21.5.34-r3.ebuild |
776 |
deleted file mode 100644 |
777 |
index 7ae873cc32f..00000000000 |
778 |
--- a/app-editors/xemacs/xemacs-21.5.34-r3.ebuild |
779 |
+++ /dev/null |
780 |
@@ -1,250 +0,0 @@ |
781 |
-# Copyright 1999-2015 Gentoo Foundation |
782 |
-# Distributed under the terms of the GNU General Public License v2 |
783 |
- |
784 |
-# Note: xemacs currently does not work with a hardened profile. If you |
785 |
-# want to use xemacs on a hardened profile then compile with the |
786 |
-# -nopie flag in CFLAGS or help fix bug #75028. |
787 |
- |
788 |
-EAPI=4 |
789 |
- |
790 |
-WANT_AUTOCONF="2.5" |
791 |
-inherit eutils flag-o-matic multilib |
792 |
- |
793 |
-DESCRIPTION="highly customizable open source text editor and application development system" |
794 |
-HOMEPAGE="http://www.xemacs.org/" |
795 |
-SRC_URI="http://ftp.xemacs.org/xemacs-21.5/${P}.tar.gz |
796 |
- http://www.malfunction.de/afterstep/files/NeXT_XEmacs.tar.gz" |
797 |
- |
798 |
-LICENSE="GPL-3+" |
799 |
-SLOT="0" |
800 |
-KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd" |
801 |
-IUSE="alsa debug eolconv gif gpm pop postgres ldap libressl xface nas dnd X jpeg tiff png mule motif freewnn canna xft xim athena neXt Xaw3d gdbm berkdb" |
802 |
- |
803 |
-X_DEPEND="x11-libs/libXt x11-libs/libXmu x11-libs/libXext x11-misc/xbitmaps" |
804 |
- |
805 |
-RDEPEND=" |
806 |
- berkdb? ( >=sys-libs/db-4 !!<sys-libs/db-4 ) |
807 |
- gdbm? ( >=sys-libs/gdbm-1.8.3[berkdb(+)] ) |
808 |
- >=sys-libs/zlib-1.1.4 |
809 |
- !libressl? ( >=dev-libs/openssl-0.9.6:0 ) |
810 |
- libressl? ( dev-libs/libressl ) |
811 |
- >=media-libs/audiofile-0.2.3 |
812 |
- gpm? ( >=sys-libs/gpm-1.19.6 ) |
813 |
- postgres? ( dev-db/postgresql ) |
814 |
- ldap? ( net-nds/openldap ) |
815 |
- alsa? ( media-libs/alsa-lib ) |
816 |
- nas? ( media-libs/nas ) |
817 |
- X? ( $X_DEPEND !Xaw3d? ( !neXt? ( x11-libs/libXaw ) ) ) |
818 |
- dnd? ( x11-libs/dnd ) |
819 |
- motif? ( >=x11-libs/motif-2.3:0[xft=] ) |
820 |
- athena? ( x11-libs/libXaw ) |
821 |
- Xaw3d? ( x11-libs/libXaw3d ) |
822 |
- xft? ( media-libs/freetype:2 x11-libs/libXft x11-libs/libXrender >=media-libs/fontconfig-2.5.0 ) |
823 |
- neXt? ( x11-libs/neXtaw ) |
824 |
- xface? ( media-libs/compface ) |
825 |
- tiff? ( media-libs/tiff:0 ) |
826 |
- png? ( >=media-libs/libpng-1.2:0 ) |
827 |
- jpeg? ( virtual/jpeg:0 ) |
828 |
- canna? ( app-i18n/canna ) |
829 |
- freewnn? ( app-i18n/freewnn ) |
830 |
- >=sys-libs/ncurses-5.2 |
831 |
- >=app-eselect/eselect-emacs-1.15" |
832 |
- |
833 |
-DEPEND="${RDEPEND} |
834 |
- virtual/pkgconfig" |
835 |
- |
836 |
-PDEPEND="app-xemacs/xemacs-base |
837 |
- mule? ( app-xemacs/mule-base )" |
838 |
- |
839 |
-src_unpack() { |
840 |
- default_src_unpack |
841 |
- |
842 |
- use neXt && unpack NeXT_XEmacs.tar.gz |
843 |
-} |
844 |
- |
845 |
-src_prepare() { |
846 |
- use neXt && cp "${WORKDIR}"/NeXT.XEmacs/xemacs-icons/* "${S}"/etc/toolbar/ |
847 |
- find "${S}"/lisp -name '*.elc' -exec rm {} \; || die |
848 |
- epatch "${FILESDIR}/${P}-ncurses-tinfo.patch" |
849 |
- |
850 |
- # Some binaries and man pages are installed under suffixed names |
851 |
- # to avoid collions with their GNU Emacs counterparts (see below). |
852 |
- # Fix internal filename references. |
853 |
- sed -i -e 's/exec gnuclient/&-xemacs/' lib-src/gnudoit || die |
854 |
- sed -i -e '/^\.so/s/etags/&-xemacs/' etc/ctags.1 || die |
855 |
- sed -i -e '/^\.so/s/gnuserv/&-xemacs/' etc/gnu{client,doit,attach}.1 || die |
856 |
-} |
857 |
- |
858 |
-src_configure() { |
859 |
- local myconf="" |
860 |
- |
861 |
- if use X; then |
862 |
- |
863 |
- myconf="${myconf} --with-widgets=athena" |
864 |
- myconf="${myconf} --with-dialogs=athena" |
865 |
- myconf="${myconf} --with-menubars=lucid" |
866 |
- myconf="${myconf} --with-scrollbars=lucid" |
867 |
- if use motif ; then |
868 |
- myconf="--with-widgets=motif" |
869 |
- myconf="${myconf} --with-dialogs=motif" |
870 |
- myconf="${myconf} --with-scrollbars=motif" |
871 |
- myconf="${myconf} --with-menubars=lucid" |
872 |
- fi |
873 |
- if use athena or use Xaw3d ; then |
874 |
- myconf="--with-scrollbars=athena" |
875 |
- fi |
876 |
- |
877 |
- if use Xaw3d; then |
878 |
- myconf="${myconf} --with-athena=3d" |
879 |
- elif use neXt; then |
880 |
- myconf="${myconf} --with-athena=next" |
881 |
- else |
882 |
- myconf="${myconf} --with-athena=xaw" |
883 |
- fi |
884 |
- |
885 |
- use dnd && myconf="${myconf} --with-dragndrop --with-offix" |
886 |
- |
887 |
- myconf="${myconf} $(use_with tiff )" |
888 |
- myconf="${myconf} $(use_with png )" |
889 |
- myconf="${myconf} $(use_with jpeg )" |
890 |
- myconf="${myconf} $(use_with xface )" |
891 |
- |
892 |
- use xft && myconf="${myconf} --with-xft=emacs,tabs,menubars,gauges" || |
893 |
- myconf="${myconf} --with-xft=no" |
894 |
- |
895 |
- else |
896 |
- myconf="${myconf} |
897 |
- --without-x |
898 |
- --without-xpm |
899 |
- --without-dragndrop |
900 |
- --with-xft=no |
901 |
- --with-gif=no" |
902 |
- fi |
903 |
- |
904 |
- if use mule ; then |
905 |
- myconf="${myconf} --with-mule" |
906 |
- |
907 |
- if use xim ; then |
908 |
- if use motif ; then |
909 |
- myconf="${myconf} --with-xim=motif" |
910 |
- else |
911 |
- myconf="${myconf} --with-xim=xlib" |
912 |
- fi |
913 |
- else |
914 |
- myconf="${myconf} --with-xim=no" |
915 |
- fi |
916 |
- |
917 |
- myconf="${myconf} $(use_with canna )" |
918 |
- myconf="${myconf} $(use_with freewnn wnn )" |
919 |
- fi |
920 |
- |
921 |
- # This determines the type of sounds we are playing |
922 |
- local soundconf="native" |
923 |
- |
924 |
- # This determines how these sounds should be played |
925 |
- use nas && soundconf="${soundconf},nas" |
926 |
- use alsa && soundconf="${soundconf},alsa" |
927 |
- |
928 |
- myconf="${myconf} --with-sound=${soundconf}" |
929 |
- |
930 |
- if use gdbm || use berkdb ; then |
931 |
- use gdbm && mydb="gdbm" |
932 |
- use berkdb && mydb="${mydb},berkdb" |
933 |
- |
934 |
- myconf="${myconf} --with-database=${mydb}" |
935 |
- else |
936 |
- myconf="${myconf} --without-database" |
937 |
- fi |
938 |
- |
939 |
- use debug && myconf="${myconf} --with-debug" || |
940 |
- myconf="${myconf} --with-optimization" |
941 |
- |
942 |
- econf ${myconf} \ |
943 |
- $(use_with gif ) \ |
944 |
- $(use_with gpm ) \ |
945 |
- $(use_with postgres postgresql ) \ |
946 |
- $(use_with ldap ) \ |
947 |
- $(use_with eolconv file-coding ) \ |
948 |
- $(use_with pop ) \ |
949 |
- --prefix=/usr \ |
950 |
- --with-ncurses \ |
951 |
- --with-msw=no \ |
952 |
- --with-mail-locking=flock \ |
953 |
- --with-site-lisp=yes \ |
954 |
- --with-site-modules=yes \ |
955 |
- --with-newgc \ |
956 |
- --enable-option-checking=no \ |
957 |
- --with-last-packages=/usr/lib/xemacs \ |
958 |
- || die "configuration failed" |
959 |
-} |
960 |
- |
961 |
-src_compile() { |
962 |
- emake EMACSLOADPATH="${S}"/lisp |
963 |
-} |
964 |
- |
965 |
-src_install() { |
966 |
- emake prefix="${D}"/usr \ |
967 |
- mandir="${D}"/usr/share/man/man1 \ |
968 |
- infodir="${D}"/usr/share/info \ |
969 |
- libdir="${D}"/usr/$(get_libdir) \ |
970 |
- datadir="${D}"/usr/share \ |
971 |
- install || die |
972 |
- |
973 |
- # Rename some applications installed in bin so that it is clear |
974 |
- # which application installed them and so that conflicting |
975 |
- # packages (emacs) can't clobber the actual applications. |
976 |
- # Addresses bug #62991. |
977 |
- for i in b2m ctags etags gnuclient gnudoit gnuattach; do |
978 |
- mv "${D}"/usr/bin/${i} "${D}"/usr/bin/${i}-xemacs || die "mv ${i} failed" |
979 |
- done |
980 |
- |
981 |
- # rename man pages |
982 |
- for i in ctags etags gnuserv gnuclient gnudoit gnuattach; do |
983 |
- mv "${D}"/usr/share/man/man1/${i}{,-xemacs}.1 || die "mv ${i}.1 failed" |
984 |
- done |
985 |
- |
986 |
- # install base packages directories |
987 |
- dodir /usr/lib/xemacs/xemacs-packages/ |
988 |
- dodir /usr/lib/xemacs/site-packages/ |
989 |
- dodir /usr/lib/xemacs/site-modules/ |
990 |
- dodir /usr/lib/xemacs/site-lisp/ |
991 |
- |
992 |
- if use mule; |
993 |
- then |
994 |
- dodir /usr/lib/xemacs/mule-packages |
995 |
- fi |
996 |
- |
997 |
- # remove extraneous info files |
998 |
- cd "${D}"/usr/share/info |
999 |
- rm -f dir info.info texinfo* termcap* standards* |
1000 |
- |
1001 |
- cd "${S}" |
1002 |
- dodoc CHANGES-* ChangeLog INSTALL Installation PROBLEMS README* |
1003 |
- |
1004 |
- newicon "${S}"/etc/${PN}-icon.xpm ${PN}.xpm |
1005 |
- |
1006 |
- domenu "${FILESDIR}"/${PN}.desktop |
1007 |
-} |
1008 |
- |
1009 |
-pkg_postinst() { |
1010 |
- eselect emacs update ifunset |
1011 |
- eselect gnuclient update ifunset |
1012 |
- |
1013 |
- einfo "*************************************************" |
1014 |
- einfo "If you are upgrading from XEmacs 21.4 you should note the following" |
1015 |
- einfo "incompatibilities:" |
1016 |
- einfo "- Mule-UCS is no longer supported due to proper UTF-8 support in XEmacs 21.5" |
1017 |
- einfo "- The X resource class has changed from Emacs to XEmacs," |
1018 |
- einfo " settings in your .Xdefaults file should be updated accordingly." |
1019 |
- |
1020 |
- if use xft; |
1021 |
- then |
1022 |
- einfo "You have enabled Xft font support. Xft requires font names to be provided" |
1023 |
- einfo "in a different way, so you may need to adjust your .Xdefaults accordingly." |
1024 |
- fi |
1025 |
-} |
1026 |
- |
1027 |
-pkg_postrm() { |
1028 |
- eselect emacs update ifunset |
1029 |
- eselect gnuclient update ifunset |
1030 |
-} |