1 |
commit: da5bd136ebef770e9713e8d17553a1579a45bda2 |
2 |
Author: Aaron Bauman <bman <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Sep 26 14:33:03 2020 +0000 |
4 |
Commit: Aaron Bauman <bman <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Sep 26 14:33:35 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=da5bd136 |
7 |
|
8 |
app-editors/xemacs: drop old EAPI=5 |
9 |
|
10 |
Signed-off-by: Aaron Bauman <bman <AT> gentoo.org> |
11 |
|
12 |
app-editors/xemacs/xemacs-21.4.24-r1.ebuild | 243 --------------------------- |
13 |
app-editors/xemacs/xemacs-21.4.24.ebuild | 245 ---------------------------- |
14 |
2 files changed, 488 deletions(-) |
15 |
|
16 |
diff --git a/app-editors/xemacs/xemacs-21.4.24-r1.ebuild b/app-editors/xemacs/xemacs-21.4.24-r1.ebuild |
17 |
deleted file mode 100644 |
18 |
index 032b668af1e..00000000000 |
19 |
--- a/app-editors/xemacs/xemacs-21.4.24-r1.ebuild |
20 |
+++ /dev/null |
21 |
@@ -1,243 +0,0 @@ |
22 |
-# Copyright 1999-2020 Gentoo Authors |
23 |
-# Distributed under the terms of the GNU General Public License v2 |
24 |
- |
25 |
-# Note: xemacs currently does not work with position independent code |
26 |
-# so the build forces the use of the -no-pie option |
27 |
- |
28 |
-EAPI="5" |
29 |
- |
30 |
-WANT_AUTOCONF="2.1" |
31 |
-inherit autotools eutils flag-o-matic toolchain-funcs xdg-utils |
32 |
- |
33 |
-DESCRIPTION="highly customizable open source text editor and application development system" |
34 |
-HOMEPAGE="http://www.xemacs.org/" |
35 |
-SRC_URI="http://ftp.xemacs.org/xemacs-21.4/${P}.tar.gz |
36 |
- http://www.malfunction.de/afterstep/files/NeXT_XEmacs.tar.gz" |
37 |
- |
38 |
-LICENSE="GPL-2+" |
39 |
-SLOT="0" |
40 |
-KEYWORDS="~alpha amd64 arm64 ~hppa ppc ppc64 sparc ~x86" |
41 |
-IUSE="eolconv gif gpm pop postgres ldap xface nas dnd X jpeg tiff png mule motif freewnn canna xim athena neXt Xaw3d gdbm berkdb" |
42 |
- |
43 |
-X_DEPEND="x11-libs/libXt x11-libs/libXmu x11-libs/libXext x11-misc/xbitmaps" |
44 |
- |
45 |
-RDEPEND=" |
46 |
- berkdb? ( sys-libs/db:= ) |
47 |
- gdbm? ( >=sys-libs/gdbm-1.8.3[berkdb] ) |
48 |
- >=sys-libs/zlib-1.1.4 |
49 |
- >=dev-libs/openssl-0.9.6:0 |
50 |
- >=media-libs/audiofile-0.2.3 |
51 |
- gpm? ( >=sys-libs/gpm-1.19.6 ) |
52 |
- postgres? ( dev-db/postgresql:= ) |
53 |
- ldap? ( net-nds/openldap ) |
54 |
- nas? ( media-libs/nas ) |
55 |
- X? ( $X_DEPEND !Xaw3d? ( !neXt? ( x11-libs/libXaw ) ) ) |
56 |
- dnd? ( x11-libs/dnd ) |
57 |
- motif? ( >=x11-libs/motif-2.3:0 ) |
58 |
- athena? ( x11-libs/libXaw ) |
59 |
- Xaw3d? ( x11-libs/libXaw3d ) |
60 |
- neXt? ( x11-libs/neXtaw ) |
61 |
- xface? ( media-libs/compface ) |
62 |
- tiff? ( media-libs/tiff:0 ) |
63 |
- png? ( >=media-libs/libpng-1.2:0 ) |
64 |
- jpeg? ( virtual/jpeg:0 ) |
65 |
- canna? ( app-i18n/canna ) |
66 |
- !amd64? ( freewnn? ( app-i18n/freewnn ) ) |
67 |
- >=sys-libs/ncurses-5.2:= |
68 |
- >=app-eselect/eselect-emacs-1.15" |
69 |
- |
70 |
-DEPEND="${RDEPEND} |
71 |
- >=sys-apps/texinfo-5" |
72 |
- |
73 |
-PDEPEND="app-xemacs/xemacs-base |
74 |
- mule? ( app-xemacs/mule-base )" |
75 |
- |
76 |
-src_unpack() { |
77 |
- unpack ${P}.tar.gz |
78 |
- use neXt && unpack NeXT_XEmacs.tar.gz |
79 |
-} |
80 |
- |
81 |
-src_prepare() { |
82 |
- # see bug 58350, 102540 and 143580 |
83 |
- epatch "${FILESDIR}"/xemacs-21.4.19-db.patch |
84 |
- # see bug 576512 |
85 |
- epatch "${FILESDIR}"/xemacs-21.4.24-gcc5.patch |
86 |
- epatch "${FILESDIR}"/xemacs-21.4.24-glibc-macro.patch |
87 |
- # see bug 615544 |
88 |
- epatch "${FILESDIR}"/xemacs-21.4.24-ncurses-tinfo.patch |
89 |
- |
90 |
- # Some binaries and man pages are installed under suffixed names |
91 |
- # to avoid collions with their GNU Emacs counterparts (see below). |
92 |
- # Fix internal filename references. |
93 |
- sed -i -e 's/exec gnuclient/&-xemacs/' lib-src/gnudoit || die |
94 |
- sed -i -e '/^\.so/s/etags/&-xemacs/' etc/ctags.1 || die |
95 |
- sed -i -e '/^\.so/s/gnuserv/&-xemacs/' etc/gnu{client,doit,attach}.1 || die |
96 |
- |
97 |
- # Run autoconf. XEmacs tries to be smart by providing a stub |
98 |
- # configure.ac file for autoconf 2.59 but this throws our |
99 |
- # autotools eclass so it must be removed first. |
100 |
- rm "${S}"/configure.ac || die |
101 |
- eautoconf |
102 |
- |
103 |
- use neXt && cp "${WORKDIR}"/NeXT.XEmacs/xemacs-icons/* "${S}"/etc/toolbar/ |
104 |
-} |
105 |
- |
106 |
-src_configure() { |
107 |
- local myconf="" |
108 |
- |
109 |
- # Can't build with pie. See bug #75028 |
110 |
- test-flags -no-pie >/dev/null && append-flags -no-pie |
111 |
- filter-flags -pie |
112 |
- |
113 |
- if use X; then |
114 |
- |
115 |
- myconf="${myconf} --with-widgets=athena" |
116 |
- myconf="${myconf} --with-dialogs=athena" |
117 |
- myconf="${myconf} --with-menubars=lucid" |
118 |
- myconf="${myconf} --with-scrollbars=lucid" |
119 |
- if use motif ; then |
120 |
- myconf="--with-widgets=motif" |
121 |
- myconf="${myconf} --with-dialogs=motif" |
122 |
- myconf="${myconf} --with-scrollbars=motif" |
123 |
- myconf="${myconf} --with-menubars=lucid" |
124 |
- fi |
125 |
- if use athena ; then |
126 |
- myconf="--with-scrollbars=athena" |
127 |
- fi |
128 |
- |
129 |
- if use Xaw3d; then |
130 |
- myconf="${myconf} --with-athena=3d" |
131 |
- elif use neXt; then |
132 |
- myconf="${myconf} --with-athena=next" |
133 |
- else |
134 |
- myconf="${myconf} --with-athena=xaw" |
135 |
- fi |
136 |
- |
137 |
- use dnd && myconf="${myconf} --with-dragndrop --with-offix" |
138 |
- |
139 |
- myconf="${myconf} $(use_with tiff ) $(use_with png )" |
140 |
- myconf="${myconf} $(use_with jpeg ) $(use_with xface )" |
141 |
- else |
142 |
- myconf="${myconf} |
143 |
- --without-x |
144 |
- --without-xpm |
145 |
- --without-dragndrop |
146 |
- --with-gif=no" |
147 |
- fi |
148 |
- |
149 |
- if use mule ; then |
150 |
- myconf="${myconf} --with-mule" |
151 |
- |
152 |
- if use xim ; then |
153 |
- if use motif ; then |
154 |
- myconf="${myconf} --with-xim=motif" |
155 |
- else |
156 |
- myconf="${myconf} --with-xim=xlib" |
157 |
- fi |
158 |
- else |
159 |
- myconf="${myconf} --with-xim=no" |
160 |
- fi |
161 |
- |
162 |
- myconf="${myconf} $(use_with canna ) $(use_with freewnn wnn )" |
163 |
- fi |
164 |
- |
165 |
- # This determines the type of sounds we are playing |
166 |
- local soundconf="native" |
167 |
- |
168 |
- # This determines how these sounds should be played |
169 |
- use nas && soundconf="${soundconf},nas" |
170 |
- |
171 |
- myconf="${myconf} --with-sound=${soundconf}" |
172 |
- |
173 |
- if use gdbm || use berkdb ; then |
174 |
- use gdbm && mydb="gdbm" |
175 |
- |
176 |
- use berkdb && mydb="${mydb},berkdb" |
177 |
- |
178 |
- myconf="${myconf} --with-database=${mydb}" |
179 |
- else |
180 |
- myconf="${myconf} --without-database" |
181 |
- fi |
182 |
- |
183 |
- # Enabling modules will cause segfaults outside the XEmacs build directory |
184 |
- use ia64 && myconf="${myconf} --without-modules" |
185 |
- |
186 |
- einfo "${myconf}" |
187 |
- |
188 |
- # see bug 576512 |
189 |
- append-cflags -fgnu89-inline |
190 |
- |
191 |
- # Don't use econf because it uses options which this configure |
192 |
- # script does not understand (like --host). |
193 |
- ./configure ${myconf} ${EXTRA_ECONF} \ |
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 |
- --compiler=$(tc-getCC) \ |
201 |
- --prefix=/usr \ |
202 |
- --with-ncurses \ |
203 |
- --with-system-malloc \ |
204 |
- --with-msw=no \ |
205 |
- --mail-locking=flock \ |
206 |
- --with-site-lisp=yes \ |
207 |
- --with-site-modules=yes \ |
208 |
- || die "The configure script failed to run properly" |
209 |
-} |
210 |
- |
211 |
-src_install() { |
212 |
- emake prefix="${D}"/usr \ |
213 |
- mandir="${D}"/usr/share/man/man1 \ |
214 |
- infodir="${D}"/usr/share/info \ |
215 |
- install gzip-el || die "emake install failed" |
216 |
- |
217 |
- # Rename some applications installed in bin so that it is clear |
218 |
- # which application installed them and so that conflicting |
219 |
- # packages (emacs) can't clobber the actual applications. |
220 |
- # Addresses bug #62991. |
221 |
- for i in b2m ctags etags rcs-checkin gnuclient gnudoit gnuattach; do |
222 |
- mv "${D}"/usr/bin/${i} "${D}"/usr/bin/${i}-xemacs || die "mv ${i} failed" |
223 |
- done |
224 |
- |
225 |
- # rename man pages |
226 |
- for i in ctags etags gnuserv gnuclient gnudoit gnuattach; do |
227 |
- mv "${D}"/usr/share/man/man1/${i}{,-xemacs}.1 || die "mv ${i}.1 failed" |
228 |
- done |
229 |
- |
230 |
- # install base packages directories |
231 |
- dodir /usr/lib/xemacs/xemacs-packages/ |
232 |
- dodir /usr/lib/xemacs/site-packages/ |
233 |
- dodir /usr/lib/xemacs/site-modules/ |
234 |
- dodir /usr/lib/xemacs/site-lisp/ |
235 |
- |
236 |
- if use mule; |
237 |
- then |
238 |
- dodir /usr/lib/xemacs/mule-packages |
239 |
- fi |
240 |
- |
241 |
- # remove extraneous info files |
242 |
- cd "${D}"/usr/share/info |
243 |
- rm -f dir info.info texinfo* termcap* standards* |
244 |
- |
245 |
- cd "${S}" |
246 |
- dodoc BUGS CHANGES-* ChangeLog GETTING* INSTALL PROBLEMS README* |
247 |
- dodoc "${FILESDIR}"/README.Gentoo |
248 |
- |
249 |
- newicon "${S}"/etc/${PN}-icon.xpm ${PN}.xpm |
250 |
- |
251 |
- domenu "${FILESDIR}"/${PN}.desktop |
252 |
-} |
253 |
- |
254 |
-pkg_postinst() { |
255 |
- eselect emacs update ifunset |
256 |
- eselect gnuclient update ifunset |
257 |
- xdg_desktop_database_update |
258 |
-} |
259 |
- |
260 |
-pkg_postrm() { |
261 |
- eselect emacs update ifunset |
262 |
- eselect gnuclient update ifunset |
263 |
- xdg_desktop_database_update |
264 |
-} |
265 |
|
266 |
diff --git a/app-editors/xemacs/xemacs-21.4.24.ebuild b/app-editors/xemacs/xemacs-21.4.24.ebuild |
267 |
deleted file mode 100644 |
268 |
index 7b39f0f4f26..00000000000 |
269 |
--- a/app-editors/xemacs/xemacs-21.4.24.ebuild |
270 |
+++ /dev/null |
271 |
@@ -1,245 +0,0 @@ |
272 |
-# Copyright 1999-2020 Gentoo Authors |
273 |
-# Distributed under the terms of the GNU General Public License v2 |
274 |
- |
275 |
-# Note: xemacs currently does not work with position independent code |
276 |
-# so the build forces the use of the -no-pie option |
277 |
- |
278 |
-EAPI="5" |
279 |
- |
280 |
-WANT_AUTOCONF="2.1" |
281 |
-inherit autotools eutils flag-o-matic toolchain-funcs xdg-utils |
282 |
- |
283 |
-DESCRIPTION="highly customizable open source text editor and application development system" |
284 |
-HOMEPAGE="http://www.xemacs.org/" |
285 |
-SRC_URI="http://ftp.xemacs.org/xemacs-21.4/${P}.tar.gz |
286 |
- http://www.malfunction.de/afterstep/files/NeXT_XEmacs.tar.gz" |
287 |
- |
288 |
-LICENSE="GPL-2+" |
289 |
-SLOT="0" |
290 |
-KEYWORDS="~alpha amd64 ~hppa ppc ppc64 sparc x86" |
291 |
-IUSE="eolconv gif gpm pop postgres ldap xface nas dnd X jpeg tiff png mule motif freewnn canna xim athena neXt Xaw3d gdbm berkdb" |
292 |
- |
293 |
-X_DEPEND="x11-libs/libXt x11-libs/libXmu x11-libs/libXext x11-misc/xbitmaps" |
294 |
- |
295 |
-RDEPEND=" |
296 |
- berkdb? ( sys-libs/db:= ) |
297 |
- gdbm? ( >=sys-libs/gdbm-1.8.3 ) |
298 |
- >=sys-libs/zlib-1.1.4 |
299 |
- >=dev-libs/openssl-0.9.6:0 |
300 |
- >=media-libs/audiofile-0.2.3 |
301 |
- gpm? ( >=sys-libs/gpm-1.19.6 ) |
302 |
- postgres? ( dev-db/postgresql:= ) |
303 |
- ldap? ( net-nds/openldap ) |
304 |
- nas? ( media-libs/nas ) |
305 |
- X? ( $X_DEPEND !Xaw3d? ( !neXt? ( x11-libs/libXaw ) ) ) |
306 |
- dnd? ( x11-libs/dnd ) |
307 |
- motif? ( >=x11-libs/motif-2.3:0 ) |
308 |
- athena? ( x11-libs/libXaw ) |
309 |
- Xaw3d? ( x11-libs/libXaw3d ) |
310 |
- neXt? ( x11-libs/neXtaw ) |
311 |
- xface? ( media-libs/compface ) |
312 |
- tiff? ( media-libs/tiff:0 ) |
313 |
- png? ( >=media-libs/libpng-1.2:0 ) |
314 |
- jpeg? ( virtual/jpeg:0 ) |
315 |
- canna? ( app-i18n/canna ) |
316 |
- !amd64? ( freewnn? ( app-i18n/freewnn ) ) |
317 |
- >=sys-libs/ncurses-5.2:= |
318 |
- >=app-eselect/eselect-emacs-1.15" |
319 |
- |
320 |
-DEPEND="${RDEPEND} |
321 |
- >=sys-apps/texinfo-5" |
322 |
- |
323 |
-PDEPEND="app-xemacs/xemacs-base |
324 |
- mule? ( app-xemacs/mule-base )" |
325 |
- |
326 |
-src_unpack() { |
327 |
- unpack ${P}.tar.gz |
328 |
- use neXt && unpack NeXT_XEmacs.tar.gz |
329 |
-} |
330 |
- |
331 |
-src_prepare() { |
332 |
- # see bug 58350, 102540 and 143580 |
333 |
- epatch "${FILESDIR}"/xemacs-21.4.19-db.patch |
334 |
- # see bug 576512 |
335 |
- epatch "${FILESDIR}"/xemacs-21.4.24-gcc5.patch |
336 |
- # see bug 615544 |
337 |
- epatch "${FILESDIR}"/xemacs-21.4.24-ncurses-tinfo.patch |
338 |
- |
339 |
- # Some binaries and man pages are installed under suffixed names |
340 |
- # to avoid collions with their GNU Emacs counterparts (see below). |
341 |
- # Fix internal filename references. |
342 |
- sed -i -e 's/exec gnuclient/&-xemacs/' lib-src/gnudoit || die |
343 |
- sed -i -e '/^\.so/s/etags/&-xemacs/' etc/ctags.1 || die |
344 |
- sed -i -e '/^\.so/s/gnuserv/&-xemacs/' etc/gnu{client,doit,attach}.1 || die |
345 |
- |
346 |
- # Run autoconf. XEmacs tries to be smart by providing a stub |
347 |
- # configure.ac file for autoconf 2.59 but this throws our |
348 |
- # autotools eclass so it must be removed first. |
349 |
- rm "${S}"/configure.ac || die |
350 |
- eautoconf |
351 |
- |
352 |
- use neXt && cp "${WORKDIR}"/NeXT.XEmacs/xemacs-icons/* "${S}"/etc/toolbar/ |
353 |
-} |
354 |
- |
355 |
-src_configure() { |
356 |
- local myconf="" |
357 |
- |
358 |
- # Can't build with pie. See bug #75028 |
359 |
- test-flags -no-pie >/dev/null && append-flags -no-pie |
360 |
- filter-flags -pie |
361 |
- |
362 |
- if use X; then |
363 |
- |
364 |
- myconf="${myconf} --with-widgets=athena" |
365 |
- myconf="${myconf} --with-dialogs=athena" |
366 |
- myconf="${myconf} --with-menubars=lucid" |
367 |
- myconf="${myconf} --with-scrollbars=lucid" |
368 |
- if use motif ; then |
369 |
- myconf="--with-widgets=motif" |
370 |
- myconf="${myconf} --with-dialogs=motif" |
371 |
- myconf="${myconf} --with-scrollbars=motif" |
372 |
- myconf="${myconf} --with-menubars=lucid" |
373 |
- fi |
374 |
- if use athena ; then |
375 |
- myconf="--with-scrollbars=athena" |
376 |
- fi |
377 |
- |
378 |
- if use Xaw3d; then |
379 |
- myconf="${myconf} --with-athena=3d" |
380 |
- elif use neXt; then |
381 |
- myconf="${myconf} --with-athena=next" |
382 |
- else |
383 |
- myconf="${myconf} --with-athena=xaw" |
384 |
- fi |
385 |
- |
386 |
- use dnd && myconf="${myconf} --with-dragndrop --with-offix" |
387 |
- |
388 |
- myconf="${myconf} $(use_with tiff ) $(use_with png )" |
389 |
- myconf="${myconf} $(use_with jpeg ) $(use_with xface )" |
390 |
- else |
391 |
- myconf="${myconf} |
392 |
- --without-x |
393 |
- --without-xpm |
394 |
- --without-dragndrop |
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 ) $(use_with freewnn wnn )" |
412 |
- fi |
413 |
- |
414 |
- # This determines the type of sounds we are playing |
415 |
- local soundconf="native" |
416 |
- |
417 |
- # This determines how these sounds should be played |
418 |
- use nas && soundconf="${soundconf},nas" |
419 |
- |
420 |
- myconf="${myconf} --with-sound=${soundconf}" |
421 |
- |
422 |
- if use gdbm || use berkdb ; then |
423 |
- use gdbm && mydb="gdbm" |
424 |
- |
425 |
- use berkdb && mydb="${mydb},berkdb" |
426 |
- |
427 |
- myconf="${myconf} --with-database=${mydb}" |
428 |
- else |
429 |
- myconf="${myconf} --without-database" |
430 |
- fi |
431 |
- |
432 |
- # Enabling modules will cause segfaults outside the XEmacs build directory |
433 |
- use ia64 && myconf="${myconf} --without-modules" |
434 |
- |
435 |
- # fixes #552044, deprecation warnings fools header detection in configure |
436 |
- myconf="${myconf} --cppflags=-Wno-cpp" |
437 |
- |
438 |
- einfo "${myconf}" |
439 |
- |
440 |
- # see bug 576512 |
441 |
- append-cflags -std=gnu89 |
442 |
- |
443 |
- # Don't use econf because it uses options which this configure |
444 |
- # script does not understand (like --host). |
445 |
- ./configure ${myconf} ${EXTRA_ECONF} \ |
446 |
- $(use_with gif ) \ |
447 |
- $(use_with gpm ) \ |
448 |
- $(use_with postgres postgresql ) \ |
449 |
- $(use_with ldap ) \ |
450 |
- $(use_with eolconv file-coding ) \ |
451 |
- $(use_with pop ) \ |
452 |
- --compiler=$(tc-getCC) \ |
453 |
- --prefix=/usr \ |
454 |
- --with-ncurses \ |
455 |
- --with-system-malloc \ |
456 |
- --with-msw=no \ |
457 |
- --mail-locking=flock \ |
458 |
- --with-site-lisp=yes \ |
459 |
- --with-site-modules=yes \ |
460 |
- || die "The configure script failed to run properly" |
461 |
-} |
462 |
- |
463 |
-src_install() { |
464 |
- emake prefix="${D}"/usr \ |
465 |
- mandir="${D}"/usr/share/man/man1 \ |
466 |
- infodir="${D}"/usr/share/info \ |
467 |
- install gzip-el || die "emake install failed" |
468 |
- |
469 |
- # Rename some applications installed in bin so that it is clear |
470 |
- # which application installed them and so that conflicting |
471 |
- # packages (emacs) can't clobber the actual applications. |
472 |
- # Addresses bug #62991. |
473 |
- for i in b2m ctags etags rcs-checkin gnuclient gnudoit gnuattach; do |
474 |
- mv "${D}"/usr/bin/${i} "${D}"/usr/bin/${i}-xemacs || die "mv ${i} failed" |
475 |
- done |
476 |
- |
477 |
- # rename man pages |
478 |
- for i in ctags etags gnuserv gnuclient gnudoit gnuattach; do |
479 |
- mv "${D}"/usr/share/man/man1/${i}{,-xemacs}.1 || die "mv ${i}.1 failed" |
480 |
- done |
481 |
- |
482 |
- # install base packages directories |
483 |
- dodir /usr/lib/xemacs/xemacs-packages/ |
484 |
- dodir /usr/lib/xemacs/site-packages/ |
485 |
- dodir /usr/lib/xemacs/site-modules/ |
486 |
- dodir /usr/lib/xemacs/site-lisp/ |
487 |
- |
488 |
- if use mule; |
489 |
- then |
490 |
- dodir /usr/lib/xemacs/mule-packages |
491 |
- fi |
492 |
- |
493 |
- # remove extraneous info files |
494 |
- cd "${D}"/usr/share/info |
495 |
- rm -f dir info.info texinfo* termcap* standards* |
496 |
- |
497 |
- cd "${S}" |
498 |
- dodoc BUGS CHANGES-* ChangeLog GETTING* INSTALL PROBLEMS README* |
499 |
- dodoc "${FILESDIR}"/README.Gentoo |
500 |
- |
501 |
- newicon "${S}"/etc/${PN}-icon.xpm ${PN}.xpm |
502 |
- |
503 |
- domenu "${FILESDIR}"/${PN}.desktop |
504 |
-} |
505 |
- |
506 |
-pkg_postinst() { |
507 |
- eselect emacs update ifunset |
508 |
- eselect gnuclient update ifunset |
509 |
- xdg_desktop_database_update |
510 |
-} |
511 |
- |
512 |
-pkg_postrm() { |
513 |
- eselect emacs update ifunset |
514 |
- eselect gnuclient update ifunset |
515 |
- xdg_desktop_database_update |
516 |
-} |