Gentoo Archives: gentoo-commits

From: "Ulrich Mueller (ulm)" <ulm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-editors/emacs-cvs: ChangeLog emacs-cvs-22.1.9999.ebuild emacs-cvs-22.1.90.ebuild emacs-cvs-22.1.50-r2.ebuild
Date: Thu, 31 Jan 2008 06:11:28
Message-Id: E1JKSdv-0005cb-K8@stork.gentoo.org
1 ulm 08/01/31 06:11:23
2
3 Modified: ChangeLog
4 Added: emacs-cvs-22.1.9999.ebuild emacs-cvs-22.1.90.ebuild
5 Removed: emacs-cvs-22.1.50-r2.ebuild
6 Log:
7 Upstream snapshot, Emacs 22.2 pretest.
8 (Portage version: 2.1.4)
9
10 Revision Changes Path
11 1.186 app-editors/emacs-cvs/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-editors/emacs-cvs/ChangeLog?rev=1.186&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-editors/emacs-cvs/ChangeLog?rev=1.186&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-editors/emacs-cvs/ChangeLog?r1=1.185&r2=1.186
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-editors/emacs-cvs/ChangeLog,v
20 retrieving revision 1.185
21 retrieving revision 1.186
22 diff -u -r1.185 -r1.186
23 --- ChangeLog 30 Jan 2008 20:59:48 -0000 1.185
24 +++ ChangeLog 31 Jan 2008 06:11:23 -0000 1.186
25 @@ -1,6 +1,13 @@
26 # ChangeLog for app-editors/emacs-cvs
27 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs-cvs/ChangeLog,v 1.185 2008/01/30 20:59:48 ulm Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs-cvs/ChangeLog,v 1.186 2008/01/31 06:11:23 ulm Exp $
30 +
31 +*emacs-cvs-22.1.9999 (31 Jan 2008)
32 +*emacs-cvs-22.1.90 (31 Jan 2008)
33 +
34 + 31 Jan 2008; Ulrich Mueller <ulm@g.o> -emacs-cvs-22.1.50-r2.ebuild,
35 + +emacs-cvs-22.1.90.ebuild, +emacs-cvs-22.1.9999.ebuild:
36 + Upstream snapshot, Emacs 22.2 pretest.
37
38 30 Jan 2008; Ulrich Mueller <ulm@g.o> emacs-cvs-22.1.50-r2.ebuild,
39 emacs-cvs-23.0.50-r1.ebuild, emacs-cvs-23.0.60-r1.ebuild:
40
41
42
43 1.1 app-editors/emacs-cvs/emacs-cvs-22.1.9999.ebuild
44
45 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-editors/emacs-cvs/emacs-cvs-22.1.9999.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-editors/emacs-cvs/emacs-cvs-22.1.9999.ebuild?rev=1.1&content-type=text/plain
47
48 Index: emacs-cvs-22.1.9999.ebuild
49 ===================================================================
50 # Copyright 1999-2008 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/app-editors/emacs-cvs/emacs-cvs-22.1.9999.ebuild,v 1.1 2008/01/31 06:11:23 ulm Exp $
53
54 ECVS_AUTH="pserver"
55 ECVS_SERVER="cvs.savannah.gnu.org:/sources/emacs"
56 ECVS_MODULE="emacs"
57 ECVS_BRANCH="EMACS_22_BASE"
58 ECVS_LOCALNAME="emacs-22"
59
60 WANT_AUTOCONF="latest"
61 WANT_AUTOMAKE="latest"
62
63 inherit autotools cvs elisp-common eutils flag-o-matic
64
65 DESCRIPTION="The extensible, customizable, self-documenting real-time display editor"
66 HOMEPAGE="http://www.gnu.org/software/emacs/"
67 SRC_URI=""
68
69 LICENSE="GPL-3 FDL-1.2 BSD"
70 SLOT="22"
71 KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~sparc-fbsd ~x86 ~x86-fbsd"
72 IUSE="alsa gif gtk gzip-el hesiod jpeg kerberos motif png spell sound source tiff toolkit-scroll-bars X Xaw3d xpm"
73 RESTRICT="strip"
74
75 RDEPEND="sys-libs/ncurses
76 >=app-admin/eselect-emacs-0.7-r1
77 net-libs/liblockfile
78 hesiod? ( net-dns/hesiod )
79 kerberos? ( virtual/krb5 )
80 spell? ( || ( app-text/ispell app-text/aspell ) )
81 alsa? ( media-libs/alsa-lib )
82 X? (
83 x11-libs/libXmu
84 x11-libs/libXt
85 x11-misc/xbitmaps
86 x11-misc/emacs-desktop
87 gif? ( media-libs/giflib )
88 jpeg? ( media-libs/jpeg )
89 tiff? ( media-libs/tiff )
90 png? ( media-libs/libpng )
91 xpm? ( x11-libs/libXpm )
92 gtk? ( =x11-libs/gtk+-2* )
93 !gtk? (
94 Xaw3d? ( x11-libs/Xaw3d )
95 !Xaw3d? (
96 motif? ( virtual/motif )
97 )
98 )
99 )"
100
101 DEPEND="${RDEPEND}
102 alsa? ( dev-util/pkgconfig )
103 X? ( gtk? ( dev-util/pkgconfig ) )
104 gzip-el? ( app-arch/gzip )"
105
106 S="${WORKDIR}/${ECVS_LOCALNAME}"
107
108 EMACS_SUFFIX="emacs-${SLOT}-cvs"
109
110 src_unpack() {
111 cvs_src_unpack
112
113 cd "${S}"
114 # FULL_VERSION keeps the full version number, which is needed in
115 # order to determine some path information correctly for copy/move
116 # operations later on
117 FULL_VERSION=$(grep 'defconst[ ]*emacs-version' lisp/version.el \
118 | sed -e 's/^[^"]*"\([^"]*\)".*$/\1/')
119 [ "${FULL_VERSION}" ] || die "Cannot determine current Emacs version"
120 echo
121 einfo "Emacs CVS branch: ${ECVS_BRANCH}"
122 einfo "Emacs version number: ${FULL_VERSION}"
123 #[ "${FULL_VERSION}" = ${PV} ] \
124 # || die "Upstream version number changed to ${FULL_VERSION}"
125 echo
126
127 epatch "${FILESDIR}/${PN}-Xaw3d-headers.patch"
128 epatch "${FILESDIR}/${PN}-freebsd-sparc.patch"
129
130 sed -i -e "s:/usr/lib/crtbegin.o:$(`tc-getCC` -print-file-name=crtbegin.o):g" \
131 -e "s:/usr/lib/crtend.o:$(`tc-getCC` -print-file-name=crtend.o):g" \
132 "${S}"/src/s/freebsd.h || die "unable to sed freebsd.h settings"
133
134 if ! use alsa; then
135 # ALSA is detected even if not requested by its USE flag.
136 # Suppress it by supplying pkg-config with a wrong library name.
137 sed -i -e "/ALSA_MODULES=/s/alsa/DiSaBlEaLsA/" configure.in \
138 || die "unable to sed configure.in"
139 fi
140 if ! use gzip-el; then
141 # Emacs' build system automatically detects the gzip binary and
142 # compresses el files. We don't want that so confuse it with a
143 # wrong binary name
144 sed -i -e "s/ gzip/ PrEvEnTcOmPrEsSiOn/" configure.in \
145 || die "unable to sed configure.in"
146 fi
147
148 eautoreconf
149 }
150
151 src_compile() {
152 export SANDBOX_ON=0 # for the unbelievers, see Bug #131505
153 ALLOWED_FLAGS=""
154 strip-flags
155 unset LDFLAGS
156 replace-flags -O[3-9] -O2
157 sed -i -e "s/-lungif/-lgif/g" configure* src/Makefile* || die
158
159 local myconf
160
161 if use alsa && ! use sound; then
162 echo
163 einfo "Although sound USE flag is disabled you chose to have alsa,"
164 einfo "so sound is switched on anyway."
165 echo
166 myconf="${myconf} --with-sound"
167 else
168 myconf="${myconf} $(use_with sound)"
169 fi
170
171 if use X; then
172 myconf="${myconf} --with-x"
173 myconf="${myconf} $(use_with toolkit-scroll-bars)"
174 myconf="${myconf} $(use_with jpeg) $(use_with tiff)"
175 myconf="${myconf} $(use_with gif) $(use_with png)"
176 myconf="${myconf} $(use_with xpm)"
177
178 # GTK+ is the default toolkit if USE=gtk is chosen with other
179 # possibilities. Emacs upstream thinks this should be standard
180 # policy on all distributions
181 if use gtk; then
182 echo
183 einfo "Configuring to build with GTK support, disabling all other toolkits"
184 echo
185 myconf="${myconf} --with-x-toolkit=gtk"
186 elif use Xaw3d; then
187 einfo "Configuring to build with Xaw3d (athena) support"
188 myconf="${myconf} --with-x-toolkit=athena"
189 myconf="${myconf} --without-gtk"
190 elif use motif; then
191 einfo "Configuring to build with motif toolkit support"
192 myconf="${myconf} --with-x-toolkit=motif"
193 myconf="${myconf} --without-gtk"
194 else
195 einfo "Configuring to build with no toolkit"
196 myconf="${myconf} --with-x-toolkit=no"
197 myconf="${myconf} --without-gtk"
198 fi
199 else
200 myconf="${myconf} --without-x"
201 fi
202
203 myconf="${myconf} $(use_with hesiod)"
204 myconf="${myconf} $(use_with kerberos) $(use_with kerberos kerberos5)"
205
206 econf \
207 --program-suffix=-${EMACS_SUFFIX} \
208 --infodir=/usr/share/info/${EMACS_SUFFIX} \
209 --without-carbon \
210 ${myconf} || die "econf emacs failed"
211
212 emake CC="$(tc-getCC)" bootstrap || die "make bootstrap failed"
213 }
214
215 src_install () {
216 local i m
217
218 emake install DESTDIR="${D}" || die "make install failed"
219
220 rm "${D}"/usr/bin/emacs-${FULL_VERSION}-${EMACS_SUFFIX} \
221 || die "removing duplicate emacs executable failed"
222 mv "${D}"/usr/bin/emacs-${EMACS_SUFFIX} "${D}"/usr/bin/${EMACS_SUFFIX} \
223 || die "moving Emacs executable failed"
224
225 # move info documentation to the correct place
226 einfo "Fixing info documentation ..."
227 for i in "${D}"/usr/share/info/${EMACS_SUFFIX}/*; do
228 mv "${i}" "${i}.info" || die "mv info failed"
229 done
230
231 # move man pages to the correct place
232 einfo "Fixing manpages ..."
233 for m in "${D}"/usr/share/man/man1/* ; do
234 mv "${m}" "${m%.1}-${EMACS_SUFFIX}.1" || die "mv man failed"
235 done
236
237 # avoid collision between slots, see bug #169033 e.g.
238 rm "${D}"/usr/share/emacs/site-lisp/subdirs.el
239 rm "${D}"/var/lib/games/emacs/{snake,tetris}-scores
240 keepdir /var/lib/games/emacs/
241
242 if use source; then
243 insinto /usr/share/emacs/${FULL_VERSION}/src
244 # This is not meant to install all the source -- just the
245 # C source you might find via find-function
246 doins src/*.[ch]
247 sed 's/^X//' >10${PN}-${SLOT}-gentoo.el <<-EOF
248
249 ;;; ${PN}-${SLOT} site-lisp configuration
250
251 (if (string-match "\\\\\`${FULL_VERSION//./\\\\.}\\\\>" emacs-version)
252 X (setq find-function-C-source-directory
253 X "/usr/share/emacs/${FULL_VERSION}/src"))
254 EOF
255 elisp-site-file-install 10${PN}-${SLOT}-gentoo.el
256 fi
257
258 dodoc AUTHORS BUGS CONTRIBUTE README || die "dodoc failed"
259 }
260
261 emacs-infodir-rebuild() {
262 # Depending on the Portage version, the Info dir file is compressed
263 # or removed. It is only rebuilt by Portage if our directory is in
264 # INFOPATH, which is not guaranteed. So we rebuild it ourselves.
265
266 local infodir=/usr/share/info/${EMACS_SUFFIX} f
267 einfo "Regenerating Info directory index in ${infodir} ..."
268 rm -f "${ROOT}"${infodir}/dir{,.*}
269 for f in "${ROOT}"${infodir}/*.info*; do
270 [[ ${f##*/} == *[0-9].info* ]] \
271 || install-info --info-dir="${ROOT}"${infodir} "${f}" &>/dev/null
272 done
273 echo
274 }
275
276 pkg_postinst() {
277 test -f "${ROOT}"/usr/share/emacs/site-lisp/subdirs.el ||
278 cp "${ROOT}"/usr/share/emacs{/${FULL_VERSION},}/site-lisp/subdirs.el
279
280 local f
281 for f in "${ROOT}"/var/lib/games/emacs/{snake,tetris}-scores; do
282 test -e "${f}" || touch "${f}"
283 done
284
285 elisp-site-regen
286 emacs-infodir-rebuild
287 eselect emacs update --if-unset
288
289 if use X; then
290 elog "You need to install some fonts for Emacs. Under monolithic"
291 elog "XFree86/Xorg you typically had such fonts installed by default."
292 elog "With modular Xorg, you will have to perform this step yourself."
293 elog "Installing media-fonts/font-adobe-{75,100}dpi on the X server's"
294 elog "machine would satisfy basic Emacs requirements under X11."
295 fi
296
297 echo
298 elog "You can set the version to be started by /usr/bin/emacs through"
299 elog "the Emacs eselect module, which also redirects man and info pages."
300 elog "You can therefore test emacs-cvs along with the stable release."
301 elog "\"man emacs.eselect\" for details."
302 }
303
304 pkg_postrm() {
305 elisp-site-regen
306 emacs-infodir-rebuild
307 eselect emacs update --if-unset
308 }
309
310
311
312 1.1 app-editors/emacs-cvs/emacs-cvs-22.1.90.ebuild
313
314 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-editors/emacs-cvs/emacs-cvs-22.1.90.ebuild?rev=1.1&view=markup
315 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-editors/emacs-cvs/emacs-cvs-22.1.90.ebuild?rev=1.1&content-type=text/plain
316
317 Index: emacs-cvs-22.1.90.ebuild
318 ===================================================================
319 # Copyright 1999-2008 Gentoo Foundation
320 # Distributed under the terms of the GNU General Public License v2
321 # $Header: /var/cvsroot/gentoo-x86/app-editors/emacs-cvs/emacs-cvs-22.1.90.ebuild,v 1.1 2008/01/31 06:11:23 ulm Exp $
322
323 inherit autotools elisp-common eutils flag-o-matic
324
325 DESCRIPTION="The extensible, customizable, self-documenting real-time display editor"
326 HOMEPAGE="http://www.gnu.org/software/emacs/"
327 SRC_URI="ftp://alpha.gnu.org/gnu/emacs/pretest/emacs-${PV}.tar.gz"
328
329 LICENSE="GPL-3 FDL-1.2 BSD"
330 SLOT="22"
331 KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~sparc-fbsd ~x86 ~x86-fbsd"
332 IUSE="alsa gif gtk gzip-el hesiod jpeg kerberos motif png spell sound source tiff toolkit-scroll-bars X Xaw3d xpm"
333 RESTRICT="strip"
334
335 RDEPEND="sys-libs/ncurses
336 >=app-admin/eselect-emacs-0.7-r1
337 net-libs/liblockfile
338 hesiod? ( net-dns/hesiod )
339 kerberos? ( virtual/krb5 )
340 spell? ( || ( app-text/ispell app-text/aspell ) )
341 alsa? ( media-libs/alsa-lib )
342 X? (
343 x11-libs/libXmu
344 x11-libs/libXt
345 x11-misc/xbitmaps
346 x11-misc/emacs-desktop
347 gif? ( media-libs/giflib )
348 jpeg? ( media-libs/jpeg )
349 tiff? ( media-libs/tiff )
350 png? ( media-libs/libpng )
351 xpm? ( x11-libs/libXpm )
352 gtk? ( =x11-libs/gtk+-2* )
353 !gtk? (
354 Xaw3d? ( x11-libs/Xaw3d )
355 !Xaw3d? (
356 motif? ( virtual/motif )
357 )
358 )
359 )"
360
361 DEPEND="${RDEPEND}
362 alsa? ( dev-util/pkgconfig )
363 X? ( gtk? ( dev-util/pkgconfig ) )
364 gzip-el? ( app-arch/gzip )"
365
366 S="${WORKDIR}/emacs-${PV}"
367
368 # FULL_VERSION keeps the full version number, which is needed in order to
369 # determine some path information correctly for copy/move operations later on
370 FULL_VERSION="${PV}"
371 EMACS_SUFFIX="emacs-${SLOT}-cvs"
372
373 src_unpack() {
374 unpack ${A}
375 cd "${S}"
376
377 epatch "${FILESDIR}/${PN}-Xaw3d-headers.patch"
378 epatch "${FILESDIR}/${PN}-freebsd-sparc.patch"
379
380 sed -i -e "s:/usr/lib/crtbegin.o:$(`tc-getCC` -print-file-name=crtbegin.o):g" \
381 -e "s:/usr/lib/crtend.o:$(`tc-getCC` -print-file-name=crtend.o):g" \
382 "${S}"/src/s/freebsd.h || die "unable to sed freebsd.h settings"
383
384 if ! use alsa; then
385 # ALSA is detected even if not requested by its USE flag.
386 # Suppress it by supplying pkg-config with a wrong library name.
387 sed -i -e "/ALSA_MODULES=/s/alsa/DiSaBlEaLsA/" configure.in \
388 || die "unable to sed configure.in"
389 fi
390 if ! use gzip-el; then
391 # Emacs' build system automatically detects the gzip binary and
392 # compresses el files. We don't want that so confuse it with a
393 # wrong binary name
394 sed -i -e "s/ gzip/ PrEvEnTcOmPrEsSiOn/" configure.in \
395 || die "unable to sed configure.in"
396 fi
397
398 eautoreconf
399 }
400
401 src_compile() {
402 export SANDBOX_ON=0 # for the unbelievers, see Bug #131505
403 ALLOWED_FLAGS=""
404 strip-flags
405 unset LDFLAGS
406 replace-flags -O[3-9] -O2
407 sed -i -e "s/-lungif/-lgif/g" configure* src/Makefile* || die
408
409 local myconf
410
411 if use alsa && ! use sound; then
412 echo
413 einfo "Although sound USE flag is disabled you chose to have alsa,"
414 einfo "so sound is switched on anyway."
415 echo
416 myconf="${myconf} --with-sound"
417 else
418 myconf="${myconf} $(use_with sound)"
419 fi
420
421 if use X; then
422 myconf="${myconf} --with-x"
423 myconf="${myconf} $(use_with toolkit-scroll-bars)"
424 myconf="${myconf} $(use_with jpeg) $(use_with tiff)"
425 myconf="${myconf} $(use_with gif) $(use_with png)"
426 myconf="${myconf} $(use_with xpm)"
427
428 # GTK+ is the default toolkit if USE=gtk is chosen with other
429 # possibilities. Emacs upstream thinks this should be standard
430 # policy on all distributions
431 if use gtk; then
432 echo
433 einfo "Configuring to build with GTK support, disabling all other toolkits"
434 echo
435 myconf="${myconf} --with-x-toolkit=gtk"
436 elif use Xaw3d; then
437 einfo "Configuring to build with Xaw3d (athena) support"
438 myconf="${myconf} --with-x-toolkit=athena"
439 myconf="${myconf} --without-gtk"
440 elif use motif; then
441 einfo "Configuring to build with motif toolkit support"
442 myconf="${myconf} --with-x-toolkit=motif"
443 myconf="${myconf} --without-gtk"
444 else
445 einfo "Configuring to build with no toolkit"
446 myconf="${myconf} --with-x-toolkit=no"
447 myconf="${myconf} --without-gtk"
448 fi
449 else
450 myconf="${myconf} --without-x"
451 fi
452
453 myconf="${myconf} $(use_with hesiod)"
454 myconf="${myconf} $(use_with kerberos) $(use_with kerberos kerberos5)"
455
456 econf \
457 --program-suffix=-${EMACS_SUFFIX} \
458 --infodir=/usr/share/info/${EMACS_SUFFIX} \
459 --without-carbon \
460 ${myconf} || die "econf emacs failed"
461
462 emake CC="$(tc-getCC)" || die "emake failed"
463 }
464
465 src_install () {
466 local i m
467
468 emake install DESTDIR="${D}" || die "make install failed"
469
470 rm "${D}"/usr/bin/emacs-${FULL_VERSION}-${EMACS_SUFFIX} \
471 || die "removing duplicate emacs executable failed"
472 mv "${D}"/usr/bin/emacs-${EMACS_SUFFIX} "${D}"/usr/bin/${EMACS_SUFFIX} \
473 || die "moving Emacs executable failed"
474
475 # move info documentation to the correct place
476 einfo "Fixing info documentation ..."
477 for i in "${D}"/usr/share/info/${EMACS_SUFFIX}/*; do
478 mv "${i}" "${i}.info" || die "mv info failed"
479 done
480
481 # move man pages to the correct place
482 einfo "Fixing manpages ..."
483 for m in "${D}"/usr/share/man/man1/* ; do
484 mv "${m}" "${m%.1}-${EMACS_SUFFIX}.1" || die "mv man failed"
485 done
486
487 # avoid collision between slots, see bug #169033 e.g.
488 rm "${D}"/usr/share/emacs/site-lisp/subdirs.el
489 rm "${D}"/var/lib/games/emacs/{snake,tetris}-scores
490 keepdir /var/lib/games/emacs/
491
492 if use source; then
493 insinto /usr/share/emacs/${FULL_VERSION}/src
494 # This is not meant to install all the source -- just the
495 # C source you might find via find-function
496 doins src/*.[ch]
497 sed 's/^X//' >10${PN}-${SLOT}-gentoo.el <<-EOF
498
499 ;;; ${PN}-${SLOT} site-lisp configuration
500
501 (if (string-match "\\\\\`${FULL_VERSION//./\\\\.}\\\\>" emacs-version)
502 X (setq find-function-C-source-directory
503 X "/usr/share/emacs/${FULL_VERSION}/src"))
504 EOF
505 elisp-site-file-install 10${PN}-${SLOT}-gentoo.el
506 fi
507
508 dodoc AUTHORS BUGS CONTRIBUTE README || die "dodoc failed"
509 }
510
511 emacs-infodir-rebuild() {
512 # Depending on the Portage version, the Info dir file is compressed
513 # or removed. It is only rebuilt by Portage if our directory is in
514 # INFOPATH, which is not guaranteed. So we rebuild it ourselves.
515
516 local infodir=/usr/share/info/${EMACS_SUFFIX} f
517 einfo "Regenerating Info directory index in ${infodir} ..."
518 rm -f "${ROOT}"${infodir}/dir{,.*}
519 for f in "${ROOT}"${infodir}/*.info*; do
520 [[ ${f##*/} == *[0-9].info* ]] \
521 || install-info --info-dir="${ROOT}"${infodir} "${f}" &>/dev/null
522 done
523 echo
524 }
525
526 pkg_postinst() {
527 test -f "${ROOT}"/usr/share/emacs/site-lisp/subdirs.el ||
528 cp "${ROOT}"/usr/share/emacs{/${FULL_VERSION},}/site-lisp/subdirs.el
529
530 local f
531 for f in "${ROOT}"/var/lib/games/emacs/{snake,tetris}-scores; do
532 test -e "${f}" || touch "${f}"
533 done
534
535 elisp-site-regen
536 emacs-infodir-rebuild
537 eselect emacs update --if-unset
538
539 if use X; then
540 elog "You need to install some fonts for Emacs. Under monolithic"
541 elog "XFree86/Xorg you typically had such fonts installed by default."
542 elog "With modular Xorg, you will have to perform this step yourself."
543 elog "Installing media-fonts/font-adobe-{75,100}dpi on the X server's"
544 elog "machine would satisfy basic Emacs requirements under X11."
545 fi
546
547 echo
548 elog "You can set the version to be started by /usr/bin/emacs through"
549 elog "the Emacs eselect module, which also redirects man and info pages."
550 elog "You can therefore test emacs-cvs along with the stable release."
551 elog "\"man emacs.eselect\" for details."
552 }
553
554 pkg_postrm() {
555 elisp-site-regen
556 emacs-infodir-rebuild
557 eselect emacs update --if-unset
558 }
559
560
561
562 --
563 gentoo-commits@l.g.o mailing list