RMD160 47bddcb74a8bc45fba3f5f5c5656f1e40469d3c8 files/emacs.desktop.in 236
SHA256 8bbfa1b6bb241fd3653b5b1c25ef1ecd298c63d7e0fdc87baab8b274eb627342 files/emacs.desktop.in 236
DIST emacs-22.0.93.tar.gz 37118034 RMD160 c70a745662495c68470f2b483f61d68d09e8ed73 SHA1 1c226f1c03e33fef66b759e6afd6eb580adc948b SHA256 44dd612b521a47d923c759525b1134bbc571350cae80bdc543c31f30acc7739e
-EBUILD emacs-cvs-22.0.92-r1.ebuild 5605 RMD160 a3286092a450dd9adb3ca4bde91f525db14b54d9 SHA1 a4094d2220304933903f578ebbcd3def58ba88ca SHA256 3f4bfe42626b2268a5116aa46267853e10ce1e485b37c4643705b1f880222f89
-MD5 949994306cffdef1a318c2d64c53e744 emacs-cvs-22.0.92-r1.ebuild 5605
-RMD160 a3286092a450dd9adb3ca4bde91f525db14b54d9 emacs-cvs-22.0.92-r1.ebuild 5605
-SHA256 3f4bfe42626b2268a5116aa46267853e10ce1e485b37c4643705b1f880222f89 emacs-cvs-22.0.92-r1.ebuild 5605
EBUILD emacs-cvs-22.0.93-r1.ebuild 6252 RMD160 6381fd7b6e9f8f293b67f59c897e6e1c0e1d5ab1 SHA1 2a3909b7d943bf88a7d4c7fe3955c96a0983e5c0 SHA256 46b3688deb8175855e2815b46c23cee12bc0c3dbe78a822a26df798f2d15ec4f
MD5 e1df79c1b54b7a3779874d0c24542c0b emacs-cvs-22.0.93-r1.ebuild 6252
RMD160 6381fd7b6e9f8f293b67f59c897e6e1c0e1d5ab1 emacs-cvs-22.0.93-r1.ebuild 6252
SHA256 46b3688deb8175855e2815b46c23cee12bc0c3dbe78a822a26df798f2d15ec4f emacs-cvs-22.0.93-r1.ebuild 6252
-EBUILD emacs-cvs-22.0.93.ebuild 5593 RMD160 0edd860587977d72228aa39762fc9a32a8d86097 SHA1 139b369d5f95bb4862819f3528413c28f28962b3 SHA256 ed97a34250589fdc14a17cc5ed9399ecbe1b94cbcd9adae6e037130e759db8f4
-MD5 4c68e3c4622262c13e1cc6c36b45aaba emacs-cvs-22.0.93.ebuild 5593
-RMD160 0edd860587977d72228aa39762fc9a32a8d86097 emacs-cvs-22.0.93.ebuild 5593
-SHA256 ed97a34250589fdc14a17cc5ed9399ecbe1b94cbcd9adae6e037130e759db8f4 emacs-cvs-22.0.93.ebuild 5593
EBUILD emacs-cvs-22.0.9999-r1.ebuild 6308 RMD160 b2bad8fbd8b8b04b88069f731481b98c6695301f SHA1 998b4a0a944ebfbfd21169a84a80263e053d2c64 SHA256 b000e6ef0b8ebd4d35504c08a149d9087174d0b28230187d043aa859ffb63f95
MD5 226388fa31908c381dafa9afb1ec83dd emacs-cvs-22.0.9999-r1.ebuild 6308
RMD160 b2bad8fbd8b8b04b88069f731481b98c6695301f emacs-cvs-22.0.9999-r1.ebuild 6308
SHA256 b000e6ef0b8ebd4d35504c08a149d9087174d0b28230187d043aa859ffb63f95 emacs-cvs-22.0.9999-r1.ebuild 6308
-EBUILD emacs-cvs-22.0.9999.ebuild 5578 RMD160 81009f7095f655f12c1654f98f8957ea4dffd57c SHA1 fbae0173d427ad2eb2ab0bae4c1f1d543817db75 SHA256 506cbcd64e0b4dc9b20fa2041fef7a4b29a861c37e89d641722f2ed47ea7f4ec
-MD5 3882bdaa56e46e0a890aad6c5a22ec8a emacs-cvs-22.0.9999.ebuild 5578
-RMD160 81009f7095f655f12c1654f98f8957ea4dffd57c emacs-cvs-22.0.9999.ebuild 5578
-SHA256 506cbcd64e0b4dc9b20fa2041fef7a4b29a861c37e89d641722f2ed47ea7f4ec emacs-cvs-22.0.9999.ebuild 5578
EBUILD emacs-cvs-23.0.0-r1.ebuild 5904 RMD160 2bb97d0bb0fbb4e426297d58b3a97402e21f4764 SHA1 b816af746a3646a3ff5767db41f85cfc4a4b0117 SHA256 9a20533595e3949519d4e75e3857c1c729dfaf124e891253e63631ff962a8b9b
MD5 61bac54173aa6dc34e29d7f75935ff36 emacs-cvs-23.0.0-r1.ebuild 5904
RMD160 2bb97d0bb0fbb4e426297d58b3a97402e21f4764 emacs-cvs-23.0.0-r1.ebuild 5904
SHA256 9a20533595e3949519d4e75e3857c1c729dfaf124e891253e63631ff962a8b9b emacs-cvs-23.0.0-r1.ebuild 5904
-MISC ChangeLog 13174 RMD160 d110aa390dfa78d783a38ee20f1145f37e4e9fcf SHA1 6dcbef740f1181e5f1391ae79ddb38de93b0dd6e SHA256 51002d4ffba2d6779fabc1c0d25a5d51488fd4bc73ed9395db375e8a37e6fa86
-MD5 721ef07338803bb43147e866a8d674e9 ChangeLog 13174
-RMD160 d110aa390dfa78d783a38ee20f1145f37e4e9fcf ChangeLog 13174
-SHA256 51002d4ffba2d6779fabc1c0d25a5d51488fd4bc73ed9395db375e8a37e6fa86 ChangeLog 13174
+MISC ChangeLog 13331 RMD160 866a735d545c93844c82eba7ade90b8b92813132 SHA1 ed2a4fc85e4bfcb02b684931a8dc85bac6a60302 SHA256 6850d320e331c6557847dd47bc3a0dc8ceb19ad018ea87f2c7a1557ce23e5a3f
+MD5 1fd168a5e76d434e58f09856dbd57f85 ChangeLog 13331
+RMD160 866a735d545c93844c82eba7ade90b8b92813132 ChangeLog 13331
+SHA256 6850d320e331c6557847dd47bc3a0dc8ceb19ad018ea87f2c7a1557ce23e5a3f ChangeLog 13331
MISC metadata.xml 158 RMD160 415d172437ca754d24fc5ab186ba8e77934d96e4 SHA1 61f6eff9729cd87a725c2a70c81aca4270a17fc4 SHA256 1393bdef3a74343fdb40a112c7096a1af16f67e7a43413250de28dfe73810eab
MD5 fcd33d07e4ee719b01157946734f4fe8 metadata.xml 158
RMD160 415d172437ca754d24fc5ab186ba8e77934d96e4 metadata.xml 158
SHA256 1393bdef3a74343fdb40a112c7096a1af16f67e7a43413250de28dfe73810eab metadata.xml 158
-MD5 68b329da9893e34099c7d8ad5cb9c940 files/digest-emacs-cvs-22.0.92-r1 1
-RMD160 c0da025038ed83c687ddc430da9846ecb97f3998 files/digest-emacs-cvs-22.0.92-r1 1
-SHA256 01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b files/digest-emacs-cvs-22.0.92-r1 1
-MD5 68b329da9893e34099c7d8ad5cb9c940 files/digest-emacs-cvs-22.0.93 1
-RMD160 c0da025038ed83c687ddc430da9846ecb97f3998 files/digest-emacs-cvs-22.0.93 1
-SHA256 01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b files/digest-emacs-cvs-22.0.93 1
MD5 6be53866d89e1729a1b8e95197a92e12 files/digest-emacs-cvs-22.0.93-r1 247
RMD160 950a3ffa592585b775efb646394050c72c7020a7 files/digest-emacs-cvs-22.0.93-r1 247
SHA256 96f31c2909fddc7c78c9ab53a2d31af907624424c22698aee57a8c160c9c93fa files/digest-emacs-cvs-22.0.93-r1 247
-MD5 68b329da9893e34099c7d8ad5cb9c940 files/digest-emacs-cvs-22.0.9999 1
-RMD160 c0da025038ed83c687ddc430da9846ecb97f3998 files/digest-emacs-cvs-22.0.9999 1
-SHA256 01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b files/digest-emacs-cvs-22.0.9999 1
MD5 68b329da9893e34099c7d8ad5cb9c940 files/digest-emacs-cvs-22.0.9999-r1 1
RMD160 c0da025038ed83c687ddc430da9846ecb97f3998 files/digest-emacs-cvs-22.0.9999-r1 1
SHA256 01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b files/digest-emacs-cvs-22.0.9999-r1 1
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
-iD8DBQFFwY8GNQqtfCuFneMRAhTEAJ9lnVzgZeR97YK+05KF6d2wZJ3VlACcC7AM
-iyzZiJsRjNO1QhoQ8d8xcH8=
-=KLer
+iD8DBQFFwcYqNQqtfCuFneMRAr42AJ0eU7f4dy1e/r57GgkDy0qMZnx3/wCffeaY
+0MfYI4PHQTtuprRbAPdhj9k=
+=3GB4
-----END PGP SIGNATURE-----
+++ /dev/null
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs-cvs/emacs-cvs-22.0.92-r1.ebuild,v 1.1 2007/01/26 08:42:59 opfer Exp $
-
-ECVS_AUTH="pserver"
-ECVS_SERVER="cvs.savannah.gnu.org:/sources/emacs"
-ECVS_MODULE="emacs"
-ECVS_BRANCH="EMACS_PRETEST_22_0_92"
-
-inherit elisp-common cvs alternatives flag-o-matic eutils
-
-IUSE="X Xaw3d aqua gif gtk jpeg png spell tiff source gzip-el toolkit-scroll-bars"
-
-S="${WORKDIR}/emacs"
-
-DESCRIPTION="Emacs is the extensible, customizable, self-documenting real-time display editor."
-SRC_URI=""
-HOMEPAGE="http://www.gnu.org/software/emacs"
-
-RESTRICT="$RESTRICT nostrip"
-
-X_DEPEND="x11-libs/libXmu x11-libs/libXpm x11-libs/libXt x11-misc/xbitmaps || ( media-fonts/font-adobe-100dpi media-fonts/font-adobe-75dpi )"
-
-DEPEND=">=sys-libs/ncurses-5.3
- spell? ( || ( app-text/ispell app-text/aspell ) )
- X? ( || ( ( $X_DEPEND ) virtual/x11 ) )
- X? ( gif? ( >=media-libs/giflib-4.1.0.1b )
- jpeg? ( >=media-libs/jpeg-6b )
- tiff? ( >=media-libs/tiff-3.5.7 )
- png? ( >=media-libs/libpng-1.2.5 )
- gtk? ( =x11-libs/gtk+-2* )
- !gtk? ( Xaw3d? ( x11-libs/Xaw3d ) ) )
- sys-libs/zlib"
-
-PROVIDE="virtual/emacs virtual/editor"
-
-SLOT="22.0.92"
-LICENSE="GPL-2"
-KEYWORDS="~amd64 ~ppc ~ppc-macos ~sparc ~sparc-fbsd ~x86 ~x86-fbsd"
-
-DFILE=emacs-${SLOT}.desktop
-
-src_unpack() {
- cvs_src_unpack
- cd ${S};
- epatch ${FILESDIR}/emacs-subdirs-el-gentoo.diff
- use ppc-macos && epatch ${FILESDIR}/emacs-cvs-21.3.50-nofink.diff
- sed -i -e "s:/usr/lib/crtbegin.o:$(`tc-getCC` -print-file-name=crtbegin.o):g" \
- -e "s:/usr/lib/crtend.o:$(`tc-getCC` -print-file-name=crtend.o):g" \
- "${S}"/src/s/freebsd.h || die "unable to sed freebsd.h settings"
- epatch "${FILESDIR}/${PN}-freebsd-sparc.patch"
-}
-
-src_compile() {
- export SANDBOX_ON=0 # for the unbelievers, see Bug #131505
- ALLOWED_FLAGS=" "
- strip-flags
- unset LDFLAGS
- replace-flags -O[3-9] -O2
- sed -i -e "s/-lungif/-lgif/g" configure* src/Makefile* || die
-
- local myconf
-
- if use X; then
- myconf="${myconf} --with-x"
- myconf="${myconf} --with-xpm"
- myconf="${myconf} $(use_with toolkit-scroll-bars)"
- myconf="${myconf} $(use_with jpeg) $(use_with tiff)"
- myconf="${myconf} $(use_with gif) $(use_with png)"
- if use gtk; then
- einfo "Configuring to build with GTK support"
- myconf="${myconf} --with-x-toolkit=gtk"
- else
- einfo "Configuring to build with lucid toolkit support"
- myconf="${myconf} $(use_with Xaw3d toolkit-scroll-bars)"
- myconf="${myconf} --without-gtk"
- myconf="${myconf} --with-x-toolkit=lucid"
- fi
- else
- myconf="${myconf} --without-x"
- fi
- if use aqua; then
- einfo "Configuring to build with Carbon Emacs"
- econf \
- --enable-carbon-app=/Applications/Gentoo \
- --without-x \
- $(use_with jpeg) $(use_with tiff) \
- $(use_with gif) $(use_with png) \
- || die "econf carbon emacs failed"
- make bootstrap || die "make carbon emacs bootstrap failed"
- else
- econf \
- --program-suffix=.emacs-${SLOT} \
- --without-carbon \
- ${myconf} || die "econf emacs failed"
- make bootstrap || die "make emacs bootstrap failed"
- fi
-}
-
-src_install () {
- make DESTDIR=${D} install || die
- rm ${D}/usr/bin/emacs-${SLOT}.emacs-${SLOT} || die "removing duplicate emacs executable failed"
- dohard /usr/bin/emacs.emacs-${SLOT} /usr/bin/emacs-${SLOT} || die
-
- if use aqua ; then
- einfo "Installing Carbon Emacs..."
- dodir /Applications/Gentoo/Emacs.app
- pushd mac/Emacs.app
- tar -chf - . | ( cd ${D}/Applications/Gentoo/Emacs.app; tar -xf -)
- popd
- fi
-
- # fix info documentation
- einfo "Fixing info documentation..."
- dodir /usr/share/info/emacs-${SLOT}
- mv ${D}/usr/share/info/{,emacs-${SLOT}/}dir || die "mv dir failed"
- for i in ${D}/usr/share/info/*
- do
- if [ "${i##*/}" != emacs-${SLOT} ] ; then
- mv ${i} ${i/info/info/emacs-${SLOT}}.info
- fi
- done
-
- if has_version 'app-text/aspell' ; then
- # defaults to aspell if installed
- elisp-site-file-install ${FILESDIR}/40aspell-gentoo.el
- fi
- insinto /etc/env.d
- cat >${D}/etc/env.d/50emacs-cvs-${SLOT} <<EOF
-INFOPATH=/usr/share/info/emacs-${SLOT}
-EOF
- einfo "Fixing manpages..."
- for m in ${D}/usr/share/man/man1/* ; do
- mv ${m} ${m/.1/.emacs-${SLOT}.1} || die "mv man failed"
- done
-
- if use source; then
- insinto /usr/share/emacs/${SLOT}/src
- # This is not meant to install all the source -- just the
- # C source you might find via find-function
- doins src/*.[ch]
- cat >00emacs-cvs-${SLOT}-gentoo.el <<EOF
-(when (substring emacs-version 0 (length "${SLOT}"))
- (setq find-function-C-source-directory "/usr/share/emacs/${SLOT}/src"))
-EOF
- elisp-site-file-install 00emacs-cvs-${SLOT}-gentoo.el
- fi
-
- if ! use gzip-el; then
- find ${D} -type f -name \*.el.gz -print0 |xargs -0 gunzip
- fi
- dodoc BUGS ChangeLog README
- insinto /usr/share/applications
- cp ${FILESDIR}/emacs.desktop.in ${DFILE}
- sed -i -e "s,@PV@,${SLOT},g" ${DFILE}
- doins ${DFILE}
-}
-
-update-alternatives() {
- for i in emacs emacsclient etags ctags b2m ebrowse \
- rcs-checkin grep-changelog ; do
- alternatives_auto_makesym "/usr/bin/$i" "/usr/bin/$i.emacs-*"
- done
-}
-
-pkg_postinst() {
- use ppc-macos || update-alternatives
- elisp-site-regen
- if use X; then
- while read line; do einfo "${line}"; done<<'EOF'
-
-You need to install some fonts for Emacs. Under monolithic
-XFree86/Xorg you typically had such fonts installed by default. With
-modular Xorg, you will have to perform this step yourself.
-
-Installing media-fonts/font-adobe-{75,100}dpi would satisfy basic
-Emacs requirements under X11.
-
-EOF
- fi
-}
-
-pkg_postrm() {
- use ppc-macos || update-alternatives
- elisp-site-regen
-}
+++ /dev/null
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs-cvs/emacs-cvs-22.0.93.ebuild,v 1.1 2007/01/26 15:34:01 opfer Exp $
-
-ECVS_AUTH="pserver"
-ECVS_SERVER="cvs.savannah.gnu.org:/sources/emacs"
-ECVS_MODULE="emacs"
-ECVS_BRANCH="EMACS_PRETEST_22_0_93"
-
-inherit elisp-common cvs alternatives flag-o-matic eutils
-
-IUSE="X Xaw3d aqua gif gtk jpeg png spell tiff source gzip-el toolkit-scroll-bars"
-
-S="${WORKDIR}/emacs"
-
-DESCRIPTION="The extensible, customizable, self-documenting real-time display editor."
-SRC_URI=""
-HOMEPAGE="http://www.gnu.org/software/emacs"
-
-RESTRICT="$RESTRICT nostrip"
-
-X_DEPEND="x11-libs/libXmu x11-libs/libXpm x11-libs/libXt x11-misc/xbitmaps || ( media-fonts/font-adobe-100dpi media-fonts/font-adobe-75dpi )"
-
-DEPEND=">=sys-libs/ncurses-5.3
- spell? ( || ( app-text/ispell app-text/aspell ) )
- X? ( || ( ( $X_DEPEND ) virtual/x11 ) )
- X? ( gif? ( >=media-libs/giflib-4.1.0.1b )
- jpeg? ( >=media-libs/jpeg-6b )
- tiff? ( >=media-libs/tiff-3.5.7 )
- png? ( >=media-libs/libpng-1.2.5 )
- gtk? ( =x11-libs/gtk+-2* )
- !gtk? ( Xaw3d? ( x11-libs/Xaw3d ) ) )
- sys-libs/zlib"
-
-PROVIDE="virtual/emacs virtual/editor"
-
-SLOT="22.0.93"
-LICENSE="GPL-2"
-KEYWORDS="~amd64 ~ppc ~ppc-macos ~sparc ~sparc-fbsd ~x86 ~x86-fbsd"
-
-DFILE=emacs-${SLOT}.desktop
-
-src_unpack() {
- cvs_src_unpack
- cd ${S};
- epatch ${FILESDIR}/emacs-subdirs-el-gentoo.diff
- use ppc-macos && epatch ${FILESDIR}/emacs-cvs-21.3.50-nofink.diff
- sed -i -e "s:/usr/lib/crtbegin.o:$(`tc-getCC` -print-file-name=crtbegin.o):g" \
- -e "s:/usr/lib/crtend.o:$(`tc-getCC` -print-file-name=crtend.o):g" \
- "${S}"/src/s/freebsd.h || die "unable to sed freebsd.h settings"
- epatch "${FILESDIR}/${PN}-freebsd-sparc.patch"
-}
-
-src_compile() {
- export SANDBOX_ON=0 # for the unbelievers, see Bug #131505
- ALLOWED_FLAGS=" "
- strip-flags
- unset LDFLAGS
- replace-flags -O[3-9] -O2
- sed -i -e "s/-lungif/-lgif/g" configure* src/Makefile* || die
-
- local myconf
-
- if use X; then
- myconf="${myconf} --with-x"
- myconf="${myconf} --with-xpm"
- myconf="${myconf} $(use_with toolkit-scroll-bars)"
- myconf="${myconf} $(use_with jpeg) $(use_with tiff)"
- myconf="${myconf} $(use_with gif) $(use_with png)"
- if use gtk; then
- einfo "Configuring to build with GTK support"
- myconf="${myconf} --with-x-toolkit=gtk"
- else
- einfo "Configuring to build with lucid toolkit support"
- myconf="${myconf} $(use_with Xaw3d toolkit-scroll-bars)"
- myconf="${myconf} --without-gtk"
- myconf="${myconf} --with-x-toolkit=lucid"
- fi
- else
- myconf="${myconf} --without-x"
- fi
- if use aqua; then
- einfo "Configuring to build with Carbon Emacs"
- econf \
- --enable-carbon-app=/Applications/Gentoo \
- --without-x \
- $(use_with jpeg) $(use_with tiff) \
- $(use_with gif) $(use_with png) \
- || die "econf carbon emacs failed"
- make bootstrap || die "make carbon emacs bootstrap failed"
- else
- econf \
- --program-suffix=.emacs-${SLOT} \
- --without-carbon \
- ${myconf} || die "econf emacs failed"
- make bootstrap || die "make emacs bootstrap failed"
- fi
-}
-
-src_install () {
- make DESTDIR=${D} install || die
- rm ${D}/usr/bin/emacs-${SLOT}.emacs-${SLOT} || die "removing duplicate emacs executable failed"
- dohard /usr/bin/emacs.emacs-${SLOT} /usr/bin/emacs-${SLOT} || die
-
- if use aqua ; then
- einfo "Installing Carbon Emacs..."
- dodir /Applications/Gentoo/Emacs.app
- pushd mac/Emacs.app
- tar -chf - . | ( cd ${D}/Applications/Gentoo/Emacs.app; tar -xf -)
- popd
- fi
-
- # fix info documentation
- einfo "Fixing info documentation..."
- dodir /usr/share/info/emacs-${SLOT}
- mv ${D}/usr/share/info/{,emacs-${SLOT}/}dir || die "mv dir failed"
- for i in ${D}/usr/share/info/*
- do
- if [ "${i##*/}" != emacs-${SLOT} ] ; then
- mv ${i} ${i/info/info/emacs-${SLOT}}.info
- fi
- done
-
- if has_version 'app-text/aspell' ; then
- # defaults to aspell if installed
- elisp-site-file-install ${FILESDIR}/40aspell-gentoo.el
- fi
- insinto /etc/env.d
- cat >${D}/etc/env.d/50emacs-cvs-${SLOT} <<EOF
-INFOPATH=/usr/share/info/emacs-${SLOT}
-EOF
- einfo "Fixing manpages..."
- for m in ${D}/usr/share/man/man1/* ; do
- mv ${m} ${m/.1/.emacs-${SLOT}.1} || die "mv man failed"
- done
-
- if use source; then
- insinto /usr/share/emacs/${SLOT}/src
- # This is not meant to install all the source -- just the
- # C source you might find via find-function
- doins src/*.[ch]
- cat >00emacs-cvs-${SLOT}-gentoo.el <<EOF
-(when (substring emacs-version 0 (length "${SLOT}"))
- (setq find-function-C-source-directory "/usr/share/emacs/${SLOT}/src"))
-EOF
- elisp-site-file-install 00emacs-cvs-${SLOT}-gentoo.el
- fi
-
- if ! use gzip-el; then
- find ${D} -type f -name \*.el.gz -print0 |xargs -0 gunzip
- fi
- dodoc BUGS ChangeLog README
- insinto /usr/share/applications
- cp ${FILESDIR}/emacs.desktop.in ${DFILE}
- sed -i -e "s,@PV@,${SLOT},g" ${DFILE}
- doins ${DFILE}
-}
-
-update-alternatives() {
- for i in emacs emacsclient etags ctags b2m ebrowse \
- rcs-checkin grep-changelog ; do
- alternatives_auto_makesym "/usr/bin/$i" "/usr/bin/$i.emacs-*"
- done
-}
-
-pkg_postinst() {
- use ppc-macos || update-alternatives
- elisp-site-regen
- if use X; then
- while read line; do einfo "${line}"; done<<'EOF'
-
-You need to install some fonts for Emacs. Under monolithic
-XFree86/Xorg you typically had such fonts installed by default. With
-modular Xorg, you will have to perform this step yourself.
-
-Installing media-fonts/font-adobe-{75,100}dpi would satisfy basic
-Emacs requirements under X11.
-
-EOF
- fi
-}
-
-pkg_postrm() {
- use ppc-macos || update-alternatives
- elisp-site-regen
-}
+++ /dev/null
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs-cvs/emacs-cvs-22.0.9999.ebuild,v 1.2 2007/01/26 15:34:01 opfer Exp $
-
-ECVS_AUTH="pserver"
-ECVS_SERVER="cvs.savannah.gnu.org:/sources/emacs"
-ECVS_MODULE="emacs"
-ECVS_BRANCH="HEAD"
-
-inherit elisp-common cvs alternatives flag-o-matic eutils
-
-IUSE="X Xaw3d aqua gif gtk jpeg png spell tiff source gzip-el toolkit-scroll-bars"
-
-S="${WORKDIR}/emacs"
-
-DESCRIPTION="The extensible, customizable, self-documenting real-time display editor."
-SRC_URI=""
-HOMEPAGE="http://www.gnu.org/software/emacs"
-
-RESTRICT="$RESTRICT nostrip"
-
-X_DEPEND="x11-libs/libXmu x11-libs/libXpm x11-libs/libXt x11-misc/xbitmaps || ( media-fonts/font-adobe-100dpi media-fonts/font-adobe-75dpi )"
-
-DEPEND=">=sys-libs/ncurses-5.3
- spell? ( || ( app-text/ispell app-text/aspell ) )
- X? ( || ( ( $X_DEPEND ) virtual/x11 ) )
- X? ( gif? ( >=media-libs/giflib-4.1.0.1b )
- jpeg? ( >=media-libs/jpeg-6b )
- tiff? ( >=media-libs/tiff-3.5.7 )
- png? ( >=media-libs/libpng-1.2.5 )
- gtk? ( =x11-libs/gtk+-2* )
- !gtk? ( Xaw3d? ( x11-libs/Xaw3d ) ) )
- sys-libs/zlib"
-
-PROVIDE="virtual/emacs virtual/editor"
-
-SLOT="22.0.93"
-LICENSE="GPL-2"
-KEYWORDS="~amd64 ~ppc ~ppc-macos ~sparc ~sparc-fbsd ~x86 ~x86-fbsd"
-
-DFILE=emacs-${SLOT}.desktop
-
-src_unpack() {
- cvs_src_unpack
- cd ${S};
- epatch ${FILESDIR}/emacs-subdirs-el-gentoo.diff
- use ppc-macos && epatch ${FILESDIR}/emacs-cvs-21.3.50-nofink.diff
- sed -i -e "s:/usr/lib/crtbegin.o:$(`tc-getCC` -print-file-name=crtbegin.o):g" \
- -e "s:/usr/lib/crtend.o:$(`tc-getCC` -print-file-name=crtend.o):g" \
- "${S}"/src/s/freebsd.h || die "unable to sed freebsd.h settings"
- epatch "${FILESDIR}/${PN}-freebsd-sparc.patch"
-}
-
-src_compile() {
- export SANDBOX_ON=0 # for the unbelievers, see Bug #131505
- ALLOWED_FLAGS=" "
- strip-flags
- unset LDFLAGS
- replace-flags -O[3-9] -O2
- sed -i -e "s/-lungif/-lgif/g" configure* src/Makefile* || die
-
- local myconf
-
- if use X; then
- myconf="${myconf} --with-x"
- myconf="${myconf} --with-xpm"
- myconf="${myconf} $(use_with toolkit-scroll-bars)"
- myconf="${myconf} $(use_with jpeg) $(use_with tiff)"
- myconf="${myconf} $(use_with gif) $(use_with png)"
- if use gtk; then
- einfo "Configuring to build with GTK support"
- myconf="${myconf} --with-x-toolkit=gtk"
- else
- einfo "Configuring to build with lucid toolkit support"
- myconf="${myconf} $(use_with Xaw3d toolkit-scroll-bars)"
- myconf="${myconf} --without-gtk"
- myconf="${myconf} --with-x-toolkit=lucid"
- fi
- else
- myconf="${myconf} --without-x"
- fi
- if use aqua; then
- einfo "Configuring to build with Carbon Emacs"
- econf \
- --enable-carbon-app=/Applications/Gentoo \
- --without-x \
- $(use_with jpeg) $(use_with tiff) \
- $(use_with gif) $(use_with png) \
- || die "econf carbon emacs failed"
- make bootstrap || die "make carbon emacs bootstrap failed"
- else
- econf \
- --program-suffix=.emacs-${SLOT} \
- --without-carbon \
- ${myconf} || die "econf emacs failed"
- make bootstrap || die "make emacs bootstrap failed"
- fi
-}
-
-src_install () {
- make DESTDIR=${D} install || die
- rm ${D}/usr/bin/emacs-${SLOT}.emacs-${SLOT} || die "removing duplicate emacs executable failed"
- dohard /usr/bin/emacs.emacs-${SLOT} /usr/bin/emacs-${SLOT} || die
-
- if use aqua ; then
- einfo "Installing Carbon Emacs..."
- dodir /Applications/Gentoo/Emacs.app
- pushd mac/Emacs.app
- tar -chf - . | ( cd ${D}/Applications/Gentoo/Emacs.app; tar -xf -)
- popd
- fi
-
- # fix info documentation
- einfo "Fixing info documentation..."
- dodir /usr/share/info/emacs-${SLOT}
- mv ${D}/usr/share/info/{,emacs-${SLOT}/}dir || die "mv dir failed"
- for i in ${D}/usr/share/info/*
- do
- if [ "${i##*/}" != emacs-${SLOT} ] ; then
- mv ${i} ${i/info/info/emacs-${SLOT}}.info
- fi
- done
-
- if has_version 'app-text/aspell' ; then
- # defaults to aspell if installed
- elisp-site-file-install ${FILESDIR}/40aspell-gentoo.el
- fi
- insinto /etc/env.d
- cat >${D}/etc/env.d/50emacs-cvs-${SLOT} <<EOF
-INFOPATH=/usr/share/info/emacs-${SLOT}
-EOF
- einfo "Fixing manpages..."
- for m in ${D}/usr/share/man/man1/* ; do
- mv ${m} ${m/.1/.emacs-${SLOT}.1} || die "mv man failed"
- done
-
- if use source; then
- insinto /usr/share/emacs/${SLOT}/src
- # This is not meant to install all the source -- just the
- # C source you might find via find-function
- doins src/*.[ch]
- cat >00emacs-cvs-${SLOT}-gentoo.el <<EOF
-(when (substring emacs-version 0 (length "${SLOT}"))
- (setq find-function-C-source-directory "/usr/share/emacs/${SLOT}/src"))
-EOF
- elisp-site-file-install 00emacs-cvs-${SLOT}-gentoo.el
- fi
-
- if ! use gzip-el; then
- find ${D} -type f -name \*.el.gz -print0 |xargs -0 gunzip
- fi
- dodoc BUGS ChangeLog README
- insinto /usr/share/applications
- cp ${FILESDIR}/emacs.desktop.in ${DFILE}
- sed -i -e "s,@PV@,${SLOT},g" ${DFILE}
- doins ${DFILE}
-}
-
-update-alternatives() {
- for i in emacs emacsclient etags ctags b2m ebrowse \
- rcs-checkin grep-changelog ; do
- alternatives_auto_makesym "/usr/bin/$i" "/usr/bin/$i.emacs-*"
- done
-}
-
-pkg_postinst() {
- use ppc-macos || update-alternatives
- elisp-site-regen
- if use X; then
- while read line; do einfo "${line}"; done<<'EOF'
-
-You need to install some fonts for Emacs. Under monolithic
-XFree86/Xorg you typically had such fonts installed by default. With
-modular Xorg, you will have to perform this step yourself.
-
-Installing media-fonts/font-adobe-{75,100}dpi would satisfy basic
-Emacs requirements under X11.
-
-EOF
- fi
-}
-
-pkg_postrm() {
- use ppc-macos || update-alternatives
- elisp-site-regen
-}