diff options
author | Christian Faulhammer <fauli@gentoo.org> | 2007-11-27 14:11:49 +0000 |
---|---|---|
committer | Christian Faulhammer <fauli@gentoo.org> | 2007-11-27 14:11:49 +0000 |
commit | 45c6c30011d9577bb98ffb48573fce8e72830c91 (patch) | |
tree | 209961294e7951e653df5e24e506ca64e3196a0b /app-editors | |
parent | Replace nofax flag for net-dialup/mgetty with fax (#195467). (diff) | |
download | historical-45c6c30011d9577bb98ffb48573fce8e72830c91.tar.gz historical-45c6c30011d9577bb98ffb48573fce8e72830c91.tar.bz2 historical-45c6c30011d9577bb98ffb48573fce8e72830c91.zip |
rev-bump to force rebuild for users with more current codebase
Package-Manager: portage-2.1.3.19
Diffstat (limited to 'app-editors')
-rw-r--r-- | app-editors/emacs-cvs/ChangeLog | 11 | ||||
-rw-r--r-- | app-editors/emacs-cvs/Manifest | 35 | ||||
-rw-r--r-- | app-editors/emacs-cvs/emacs-cvs-22.1.50-r2.ebuild | 251 | ||||
-rw-r--r-- | app-editors/emacs-cvs/emacs-cvs-23.0.50-r1.ebuild | 253 | ||||
-rw-r--r-- | app-editors/emacs-cvs/emacs-cvs-23.0.60-r1.ebuild | 256 | ||||
-rw-r--r-- | app-editors/emacs-cvs/files/digest-emacs-cvs-22.1.50-r2 | 0 | ||||
-rw-r--r-- | app-editors/emacs-cvs/files/digest-emacs-cvs-23.0.50-r1 | 0 | ||||
-rw-r--r-- | app-editors/emacs-cvs/files/digest-emacs-cvs-23.0.60-r1 | 0 |
8 files changed, 798 insertions, 8 deletions
diff --git a/app-editors/emacs-cvs/ChangeLog b/app-editors/emacs-cvs/ChangeLog index 002599376f42..b1b58c346c72 100644 --- a/app-editors/emacs-cvs/ChangeLog +++ b/app-editors/emacs-cvs/ChangeLog @@ -1,6 +1,15 @@ # ChangeLog for app-editors/emacs-cvs # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs-cvs/ChangeLog,v 1.172 2007/11/22 22:08:00 ulm Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs-cvs/ChangeLog,v 1.173 2007/11/27 14:11:48 opfer Exp $ + +*emacs-cvs-23.0.60-r1 (27 Nov 2007) +*emacs-cvs-23.0.50-r1 (27 Nov 2007) +*emacs-cvs-22.1.50-r2 (27 Nov 2007) + + 27 Nov 2007; Christian Faulhammer <opfer@gentoo.org> + +emacs-cvs-22.1.50-r2.ebuild, +emacs-cvs-23.0.50-r1.ebuild, + +emacs-cvs-23.0.60-r1.ebuild: + rev-bump to force rebuild for users with more current codebase 22 Nov 2007; Ulrich Mueller <ulm@gentoo.org> emacs-cvs-22.1.50-r1.ebuild, emacs-cvs-22.1.50_p20070829-r1.ebuild, emacs-cvs-23.0.0_p20070920.ebuild, diff --git a/app-editors/emacs-cvs/Manifest b/app-editors/emacs-cvs/Manifest index 0b6ab3d27d56..4b264a24e727 100644 --- a/app-editors/emacs-cvs/Manifest +++ b/app-editors/emacs-cvs/Manifest @@ -35,6 +35,10 @@ EBUILD emacs-cvs-22.1.50-r1.ebuild 7872 RMD160 faf84a572670b54a8e061143b3ff156cb MD5 222fbbec8fc191c974691f7cd098857a emacs-cvs-22.1.50-r1.ebuild 7872 RMD160 faf84a572670b54a8e061143b3ff156cbeac06b9 emacs-cvs-22.1.50-r1.ebuild 7872 SHA256 1730e761093d6a1a6c0d737c5aa0bcb63064f972b49803598bcb71837074ff2c emacs-cvs-22.1.50-r1.ebuild 7872 +EBUILD emacs-cvs-22.1.50-r2.ebuild 7873 RMD160 1df722d035595403c940bde2a324d7cc934a78d2 SHA1 f1bcb8f6634352bb3727ee932d6614f15d6ab8d9 SHA256 3b8954eb0c1133266d7741a0f6a038fad756ee88ef5a6432d7010a6d1637d195 +MD5 1fb4180dd2755a80e9e49cb9453f0419 emacs-cvs-22.1.50-r2.ebuild 7873 +RMD160 1df722d035595403c940bde2a324d7cc934a78d2 emacs-cvs-22.1.50-r2.ebuild 7873 +SHA256 3b8954eb0c1133266d7741a0f6a038fad756ee88ef5a6432d7010a6d1637d195 emacs-cvs-22.1.50-r2.ebuild 7873 EBUILD emacs-cvs-22.1.50_p20070829-r1.ebuild 7518 RMD160 8df8e0e1c25bc4cd2a16aa4933b6ab421845b0e2 SHA1 cfb627c0a0274d28089c759d706de81ed1e73be0 SHA256 50afd1eb6104fa636bd72a5b4a0212254f4aa1bcd8a290a6c6adc1ea1048c0b4 MD5 d8d9a0198feb476020cad6f770a3b96b emacs-cvs-22.1.50_p20070829-r1.ebuild 7518 RMD160 8df8e0e1c25bc4cd2a16aa4933b6ab421845b0e2 emacs-cvs-22.1.50_p20070829-r1.ebuild 7518 @@ -43,18 +47,26 @@ EBUILD emacs-cvs-23.0.0_p20070920.ebuild 7775 RMD160 9c518a298665cabd6f56cf518e6 MD5 c8c3b89a360e53e818c4ea7f92b27aa1 emacs-cvs-23.0.0_p20070920.ebuild 7775 RMD160 9c518a298665cabd6f56cf518e6e25e1b567996a emacs-cvs-23.0.0_p20070920.ebuild 7775 SHA256 7c18e34bf90b413e67c2a5fd57e363d336918cd4ace72aad7e66a3b1242fc7f3 emacs-cvs-23.0.0_p20070920.ebuild 7775 +EBUILD emacs-cvs-23.0.50-r1.ebuild 7880 RMD160 f6ac89b4d6128539314361d942aec733af8734cb SHA1 e5af4e909cb65580833067d37ec864a99c4cc089 SHA256 e8c668819654d2fe0ec840e4a51ff0d9b9f20bee14e711b3216564363bae5ff6 +MD5 f1d9f208a996125871d468bc2e3d5b22 emacs-cvs-23.0.50-r1.ebuild 7880 +RMD160 f6ac89b4d6128539314361d942aec733af8734cb emacs-cvs-23.0.50-r1.ebuild 7880 +SHA256 e8c668819654d2fe0ec840e4a51ff0d9b9f20bee14e711b3216564363bae5ff6 emacs-cvs-23.0.50-r1.ebuild 7880 EBUILD emacs-cvs-23.0.50.ebuild 7876 RMD160 f93da5a68016bf9315a0cfb164ee615b774a9852 SHA1 0790a9c0d29f8f2311b9fae9b02f8070a588c863 SHA256 31634833127a44e6cf402f76cf4922f846f51abd16c8c204606b9d82bcaede19 MD5 236ab8b5569c7bc907adc9dc1c7ede8d emacs-cvs-23.0.50.ebuild 7876 RMD160 f93da5a68016bf9315a0cfb164ee615b774a9852 emacs-cvs-23.0.50.ebuild 7876 SHA256 31634833127a44e6cf402f76cf4922f846f51abd16c8c204606b9d82bcaede19 emacs-cvs-23.0.50.ebuild 7876 +EBUILD emacs-cvs-23.0.60-r1.ebuild 8070 RMD160 1470290f28b98555982acebe1db979789ca544ba SHA1 64f30a4e62752041a76a64c9f6a5d715a585f22f SHA256 63d84125a94ccaffd8b89e2776c0b96a5c251e332011a143549c669bb5582d4e +MD5 5a622e407b3cad2b2b1234f5f536ee40 emacs-cvs-23.0.60-r1.ebuild 8070 +RMD160 1470290f28b98555982acebe1db979789ca544ba emacs-cvs-23.0.60-r1.ebuild 8070 +SHA256 63d84125a94ccaffd8b89e2776c0b96a5c251e332011a143549c669bb5582d4e emacs-cvs-23.0.60-r1.ebuild 8070 EBUILD emacs-cvs-23.0.60.ebuild 8065 RMD160 e38dcf80a11551130c501a3cba9d026369816e79 SHA1 a24cfeef6a62091a4dc73c68deaf90b6ede5fc78 SHA256 bfa9fe2cf777ea86285716861aec525ded324d37cf472f4c3a1b115faf571051 MD5 d2141cfb1094c830bda708509fdd72f1 emacs-cvs-23.0.60.ebuild 8065 RMD160 e38dcf80a11551130c501a3cba9d026369816e79 emacs-cvs-23.0.60.ebuild 8065 SHA256 bfa9fe2cf777ea86285716861aec525ded324d37cf472f4c3a1b115faf571051 emacs-cvs-23.0.60.ebuild 8065 -MISC ChangeLog 32911 RMD160 33c6bb3e7ecfb796aa4e869a9d4d53b7f1e15e0e SHA1 3441d38ba6d7c56f9f4560729acbc4eb3b3e1e23 SHA256 c36cb1ea61c41d420c551c730f4441e1df02e3bcbb339e11c41ea04d1ce23b46 -MD5 27f0c1d92a1beee9b68dff6b15c725e8 ChangeLog 32911 -RMD160 33c6bb3e7ecfb796aa4e869a9d4d53b7f1e15e0e ChangeLog 32911 -SHA256 c36cb1ea61c41d420c551c730f4441e1df02e3bcbb339e11c41ea04d1ce23b46 ChangeLog 32911 +MISC ChangeLog 33237 RMD160 d45f1a3050c479276d4bf9e433608ff41969de53 SHA1 b72421d99920a86a51e3ab558e606f605c004f31 SHA256 e98c8ccefe5110f3a5824016722b527fd3298559011de3c94e69ab4cc854c11f +MD5 ce05ec28acfb0ba32df7db9d38af4a60 ChangeLog 33237 +RMD160 d45f1a3050c479276d4bf9e433608ff41969de53 ChangeLog 33237 +SHA256 e98c8ccefe5110f3a5824016722b527fd3298559011de3c94e69ab4cc854c11f ChangeLog 33237 MISC metadata.xml 158 RMD160 415d172437ca754d24fc5ab186ba8e77934d96e4 SHA1 61f6eff9729cd87a725c2a70c81aca4270a17fc4 SHA256 1393bdef3a74343fdb40a112c7096a1af16f67e7a43413250de28dfe73810eab MD5 fcd33d07e4ee719b01157946734f4fe8 metadata.xml 158 RMD160 415d172437ca754d24fc5ab186ba8e77934d96e4 metadata.xml 158 @@ -62,6 +74,9 @@ SHA256 1393bdef3a74343fdb40a112c7096a1af16f67e7a43413250de28dfe73810eab metadata MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-emacs-cvs-22.1.50-r1 0 RMD160 9c1185a5c5e9fc54612808977ee8f548b2258d31 files/digest-emacs-cvs-22.1.50-r1 0 SHA256 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 files/digest-emacs-cvs-22.1.50-r1 0 +MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-emacs-cvs-22.1.50-r2 0 +RMD160 9c1185a5c5e9fc54612808977ee8f548b2258d31 files/digest-emacs-cvs-22.1.50-r2 0 +SHA256 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 files/digest-emacs-cvs-22.1.50-r2 0 MD5 08d04ee3aa07f9a88cf73d28408c7721 files/digest-emacs-cvs-22.1.50_p20070829-r1 292 RMD160 59349e87f85f6e45d54187a51b2de8b597b0c046 files/digest-emacs-cvs-22.1.50_p20070829-r1 292 SHA256 22ea0e4fd1a053f49b5981c46d0dfb1d40c7cabed2a1d68f3cd2979cdca1f6e6 files/digest-emacs-cvs-22.1.50_p20070829-r1 292 @@ -71,13 +86,19 @@ SHA256 52f25c4c075236b33d1a2f4634db234396c92ec71f699b84305e3e5f6e8d71fe files/di MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-emacs-cvs-23.0.50 0 RMD160 9c1185a5c5e9fc54612808977ee8f548b2258d31 files/digest-emacs-cvs-23.0.50 0 SHA256 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 files/digest-emacs-cvs-23.0.50 0 +MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-emacs-cvs-23.0.50-r1 0 +RMD160 9c1185a5c5e9fc54612808977ee8f548b2258d31 files/digest-emacs-cvs-23.0.50-r1 0 +SHA256 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 files/digest-emacs-cvs-23.0.50-r1 0 MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-emacs-cvs-23.0.60 0 RMD160 9c1185a5c5e9fc54612808977ee8f548b2258d31 files/digest-emacs-cvs-23.0.60 0 SHA256 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 files/digest-emacs-cvs-23.0.60 0 +MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-emacs-cvs-23.0.60-r1 0 +RMD160 9c1185a5c5e9fc54612808977ee8f548b2258d31 files/digest-emacs-cvs-23.0.60-r1 0 +SHA256 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 files/digest-emacs-cvs-23.0.60-r1 0 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) -iD8DBQFHRf3aOeoy/oIi7uwRAo0tAKCSxA2F57q6HjIF6b5gmqpnIfw79wCgnZrQ -vrBn8MDYvxY3QEb6s2tEVvA= -=/nna +iD8DBQFHTCYDNQqtfCuFneMRAu7NAJ4iFZmjRI9MIoLt/L6RBgWo4srLUgCeKV/f +NUu/I/9gOvhawH9+KgB+cco= +=XlHo -----END PGP SIGNATURE----- diff --git a/app-editors/emacs-cvs/emacs-cvs-22.1.50-r2.ebuild b/app-editors/emacs-cvs/emacs-cvs-22.1.50-r2.ebuild new file mode 100644 index 000000000000..db6023f128bc --- /dev/null +++ b/app-editors/emacs-cvs/emacs-cvs-22.1.50-r2.ebuild @@ -0,0 +1,251 @@ +# 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.1.50-r2.ebuild,v 1.1 2007/11/27 14:11:48 opfer Exp $ + +ECVS_AUTH="pserver" +ECVS_SERVER="cvs.savannah.gnu.org:/sources/emacs" +ECVS_MODULE="emacs" +ECVS_BRANCH="EMACS_22_BASE" +ECVS_LOCALNAME="emacs-22" + +WANT_AUTOCONF="latest" +WANT_AUTOMAKE="latest" + +inherit autotools cvs elisp-common eutils flag-o-matic + +DESCRIPTION="The extensible, customizable, self-documenting real-time display editor" +HOMEPAGE="http://www.gnu.org/software/emacs/" +SRC_URI="" + +LICENSE="GPL-3 FDL-1.2 BSD" +SLOT="22" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~sparc-fbsd ~x86 ~x86-fbsd" +IUSE="alsa gif gtk gzip-el hesiod jpeg kerberos motif png spell sound source tiff toolkit-scroll-bars X Xaw3d xpm" +RESTRICT="strip" + +X_DEPEND="x11-libs/libXmu x11-libs/libXt x11-misc/xbitmaps" + +RDEPEND="sys-libs/ncurses + >=app-admin/eselect-emacs-0.7-r1 + sys-libs/zlib + hesiod? ( net-dns/hesiod ) + kerberos? ( virtual/krb5 ) + spell? ( || ( app-text/ispell app-text/aspell ) ) + alsa? ( media-libs/alsa-lib ) + X? ( + $X_DEPEND + x11-misc/emacs-desktop + gif? ( media-libs/giflib ) + jpeg? ( media-libs/jpeg ) + tiff? ( media-libs/tiff ) + png? ( media-libs/libpng ) + xpm? ( x11-libs/libXpm ) + gtk? ( =x11-libs/gtk+-2* ) + !gtk? ( + Xaw3d? ( x11-libs/Xaw3d ) + !Xaw3d? ( + motif? ( virtual/motif ) + ) + ) + )" + +DEPEND="${RDEPEND} + gzip-el? ( app-arch/gzip )" + +S="${WORKDIR}/${ECVS_LOCALNAME}" + +EMACS_SUFFIX="emacs-${SLOT}-cvs" + +src_unpack() { + cvs_src_unpack + + cd "${S}" + # FULL_VERSION keeps the full version number, which is needed in + # order to determine some path information correctly for copy/move + # operations later on + FULL_VERSION=$(grep 'defconst[ ]*emacs-version' lisp/version.el \ + | sed -e 's/^[^"]*"\([^"]*\)".*$/\1/') + [ "${FULL_VERSION}" ] || die "Cannot determine current Emacs version" + echo + einfo "Emacs CVS branch: ${ECVS_BRANCH}" + einfo "Emacs version number: ${FULL_VERSION}" + [ "${FULL_VERSION}" = ${PV} ] \ + || die "Upstream version number changed to ${FULL_VERSION}" + echo + + 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" + if ! use gzip-el; then + # Emacs' build system automatically detects the gzip binary and + # compresses el files. We don't want that so confuse it with a + # wrong binary name + sed -i -e "s/ gzip/ PrEvEnTcOmPrEsSiOn/" configure.in \ + || die "unable to sed configure.in" + fi + + epatch "${FILESDIR}/${PN}-Xaw3d-headers.patch" + epatch "${FILESDIR}/${PN}-freebsd-sparc.patch" + # ALSA is detected and used even if not requested by the USE=alsa flag. + # So remove the automagic check + use alsa || epatch "${FILESDIR}/${PN}-disable_alsa_detection-r1.patch" + + eautoreconf +} + +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 alsa && ! use sound; then + echo + einfo "Although sound USE flag is disabled you chose to have alsa," + einfo "so sound is switched on anyway." + echo + myconf="${myconf} --with-sound" + else + myconf="${myconf} $(use_with sound)" + fi + + if use X; then + myconf="${myconf} --with-x" + myconf="${myconf} $(use_with toolkit-scroll-bars)" + myconf="${myconf} $(use_with jpeg) $(use_with tiff)" + myconf="${myconf} $(use_with gif) $(use_with png)" + myconf="${myconf} $(use_with xpm)" + + # GTK+ is the default toolkit if USE=gtk is chosen with other + # possibilities. Emacs upstream thinks this should be standard + # policy on all distributions + if use gtk; then + echo + einfo "Configuring to build with GTK support, disabling all other toolkits" + echo + myconf="${myconf} --with-x-toolkit=gtk" + elif use Xaw3d; then + einfo "Configuring to build with Xaw3d(athena) support" + myconf="${myconf} --with-x-toolkit=athena" + myconf="${myconf} --without-gtk" + elif use motif; then + einfo "Configuring to build with motif toolkit support" + myconf="${myconf} --with-x-toolkit=motif" + myconf="${myconf} --without-gtk" + else + einfo "Configuring to build with no toolkit" + myconf="${myconf} --with-x-toolkit=no" + myconf="${myconf} --without-gtk" + fi + else + myconf="${myconf} --without-x" + fi + + myconf="${myconf} $(use_with hesiod)" + myconf="${myconf} $(use_with kerberos) $(use_with kerberos kerberos5)" + + econf \ + --program-suffix=-${EMACS_SUFFIX} \ + --infodir=/usr/share/info/${EMACS_SUFFIX} \ + --without-carbon \ + ${myconf} || die "econf emacs failed" + + emake CC="$(tc-getCC)" bootstrap || die "make bootstrap failed" +} + +src_install () { + emake install DESTDIR="${D}" || die "make install failed" + + rm "${D}"/usr/bin/emacs-${FULL_VERSION}-${EMACS_SUFFIX} \ + || die "removing duplicate emacs executable failed" + mv "${D}"/usr/bin/emacs-${EMACS_SUFFIX} "${D}"/usr/bin/${EMACS_SUFFIX} \ + || die "moving Emacs executable failed" + + # move info documentation to the correct place + einfo "Fixing info documentation ..." + for i in "${D}"/usr/share/info/${EMACS_SUFFIX}/*; do + mv ${i} ${i}.info || die "mv info failed" + done + + # move man pages to the correct place + einfo "Fixing manpages ..." + for m in "${D}"/usr/share/man/man1/* ; do + mv ${m} ${m%.1}-${EMACS_SUFFIX}.1 || die "mv man failed" + done + + # avoid collision between slots, see bug #169033 e.g. + rm "${D}"/usr/share/emacs/site-lisp/subdirs.el + rm "${D}"/var/lib/games/emacs/{snake,tetris}-scores + keepdir /var/lib/games/emacs/ + + if use source; then + insinto /usr/share/emacs/${FULL_VERSION}/src + # This is not meant to install all the source -- just the + # C source you might find via find-function + doins src/*.[ch] + sed 's/^X//' >00${PN}-${SLOT}-gentoo.el <<-EOF + + ;;; ${PN}-${SLOT} site-lisp configuration + + (if (string-match "\\\\\`${FULL_VERSION//./\\\\.}\\\\>" emacs-version) + X (setq find-function-C-source-directory + X "/usr/share/emacs/${FULL_VERSION}/src")) + EOF + elisp-site-file-install 00${PN}-${SLOT}-gentoo.el + fi + + dodoc AUTHORS BUGS CONTRIBUTE README || die "dodoc failed" +} + +emacs-infodir-rebuild() { + # Depending on the Portage version, the Info dir file is compressed + # or removed. It is only rebuilt by Portage if our directory is in + # INFOPATH, which is not guaranteed. So we rebuild it ourselves. + + local infodir=/usr/share/info/${EMACS_SUFFIX} f + einfo "Regenerating Info directory index in ${infodir} ..." + rm -f "${ROOT}"${infodir}/dir{,.*} + for f in "${ROOT}"${infodir}/*.info*; do + [[ ${f##*/} == *[0-9].info* ]] \ + || install-info --info-dir="${ROOT}"${infodir} ${f} &>/dev/null + done + echo +} + +pkg_postinst() { + test -f "${ROOT}"/usr/share/emacs/site-lisp/subdirs.el || + cp "${ROOT}"/usr/share/emacs{/${FULL_VERSION},}/site-lisp/subdirs.el + + local f + for f in "${ROOT}"/var/lib/games/emacs/{snake,tetris}-scores; do + test -e ${f} || touch ${f} + done + + elisp-site-regen + emacs-infodir-rebuild + eselect emacs update --if-unset + + if use X; then + elog "You need to install some fonts for Emacs. Under monolithic" + elog "XFree86/Xorg you typically had such fonts installed by default." + elog "With modular Xorg, you will have to perform this step yourself." + elog "Installing media-fonts/font-adobe-{75,100}dpi on the X server's" + elog "machine would satisfy basic Emacs requirements under X11." + fi + + echo + elog "You can set the version to be started by /usr/bin/emacs through" + elog "the Emacs eselect module, which also redirects man and info pages." + elog "You can therefore test emacs-cvs along with the stable release." + elog "\"man emacs.eselect\" for details." +} + +pkg_postrm() { + elisp-site-regen + emacs-infodir-rebuild + eselect emacs update --if-unset +} diff --git a/app-editors/emacs-cvs/emacs-cvs-23.0.50-r1.ebuild b/app-editors/emacs-cvs/emacs-cvs-23.0.50-r1.ebuild new file mode 100644 index 000000000000..ac39aa8138a9 --- /dev/null +++ b/app-editors/emacs-cvs/emacs-cvs-23.0.50-r1.ebuild @@ -0,0 +1,253 @@ +# 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-23.0.50-r1.ebuild,v 1.1 2007/11/27 14:11:48 opfer Exp $ + +ECVS_AUTH="pserver" +ECVS_SERVER="cvs.savannah.gnu.org:/sources/emacs" +ECVS_MODULE="emacs" +ECVS_BRANCH="HEAD" +ECVS_LOCALNAME="emacs" + +WANT_AUTOCONF="latest" +WANT_AUTOMAKE="latest" + +inherit autotools cvs elisp-common eutils flag-o-matic + +DESCRIPTION="The extensible, customizable, self-documenting real-time display editor" +HOMEPAGE="http://www.gnu.org/software/emacs/" +SRC_URI="" + +LICENSE="GPL-3 FDL-1.2 BSD" +SLOT="23" +KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~sparc-fbsd ~x86 ~x86-fbsd" +IUSE="alsa gif gpm gtk gzip-el hesiod jpeg kerberos motif png spell sound source svg tiff toolkit-scroll-bars X Xaw3d xpm" +RESTRICT="strip" + +X_DEPEND="x11-libs/libXmu x11-libs/libXt x11-misc/xbitmaps" + +RDEPEND="!=app-editors/emacs-cvs-23.0.0-r6 + sys-libs/ncurses + >=app-admin/eselect-emacs-0.7-r1 + sys-libs/zlib + hesiod? ( net-dns/hesiod ) + kerberos? ( virtual/krb5 ) + spell? ( || ( app-text/ispell app-text/aspell ) ) + alsa? ( media-libs/alsa-lib ) + gpm? ( sys-libs/gpm ) + X? ( + $X_DEPEND + x11-misc/emacs-desktop + gif? ( media-libs/giflib ) + jpeg? ( media-libs/jpeg ) + tiff? ( media-libs/tiff ) + png? ( media-libs/libpng ) + svg? ( >=gnome-base/librsvg-2.0 ) + xpm? ( x11-libs/libXpm ) + gtk? ( =x11-libs/gtk+-2* ) + !gtk? ( + Xaw3d? ( x11-libs/Xaw3d ) + !Xaw3d? ( + motif? ( virtual/motif ) + ) + ) + )" + +DEPEND="${RDEPEND} + gzip-el? ( app-arch/gzip )" + +S="${WORKDIR}/${ECVS_LOCALNAME}" + +EMACS_SUFFIX="emacs-${SLOT}" + +src_unpack() { + cvs_src_unpack + + cd "${S}" + # FULL_VERSION keeps the full version number, which is needed in + # order to determine some path information correctly for copy/move + # operations later on + FULL_VERSION=$(grep 'defconst[ ]*emacs-version' lisp/version.el \ + | sed -e 's/^[^"]*"\([^"]*\)".*$/\1/') + [ "${FULL_VERSION}" ] || die "Cannot determine current Emacs version" + echo + einfo "Emacs CVS branch: ${ECVS_BRANCH}" + einfo "Emacs version number: ${FULL_VERSION}" + [ "${FULL_VERSION}" = ${PV} ] \ + || die "Upstream version number changed to ${FULL_VERSION}" + echo + + 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" + if ! use gzip-el; then + # Emacs' build system automatically detects the gzip binary and + # compresses el files. We don't want that so confuse it with a + # wrong binary name + sed -i -e "s/ gzip/ PrEvEnTcOmPrEsSiOn/" configure.in \ + || die "unable to sed configure.in" + fi + + epatch "${FILESDIR}/${PN}-freebsd-sparc.patch" + # ALSA is detected and used even if not requested by the USE=alsa flag. + # So remove the automagic check + use alsa || epatch "${FILESDIR}/${PN}-disable_alsa_detection-r1.patch" + + eautoreconf +} + +src_compile() { + export SANDBOX_ON=0 # for the unbelievers, see Bug #131505 + ALLOWED_FLAGS="" + strip-flags + unset LDFLAGS + replace-flags -O[3-9] -O2 + + local myconf + + if use alsa && ! use sound; then + echo + einfo "Although sound USE flag is disabled you chose to have alsa," + einfo "so sound is switched on anyway." + echo + myconf="${myconf} --with-sound" + else + myconf="${myconf} $(use_with sound)" + fi + + if use X; then + myconf="${myconf} --with-x" + myconf="${myconf} $(use_with toolkit-scroll-bars)" + myconf="${myconf} $(use_with jpeg) $(use_with tiff)" + myconf="${myconf} $(use_with gif) $(use_with png)" + myconf="${myconf} $(use_with xpm) $(use_with svg rsvg)" + + # GTK+ is the default toolkit if USE=gtk is chosen with other + # possibilities. Emacs upstream thinks this should be standard + # policy on all distributions + if use gtk; then + echo + einfo "Configuring to build with GTK support, disabling all other toolkits" + echo + myconf="${myconf} --with-x-toolkit=gtk" + elif use Xaw3d; then + einfo "Configuring to build with Xaw3d(athena) support" + myconf="${myconf} --with-x-toolkit=athena" + myconf="${myconf} --without-gtk" + elif use motif; then + einfo "Configuring to build with motif toolkit support" + myconf="${myconf} --with-x-toolkit=motif" + myconf="${myconf} --without-gtk" + else + einfo "Configuring to build with no toolkit" + myconf="${myconf} --with-x-toolkit=no" + myconf="${myconf} --without-gtk" + fi + else + myconf="${myconf} --without-x" + fi + + myconf="${myconf} $(use_with hesiod)" + myconf="${myconf} $(use_with kerberos) $(use_with kerberos kerberos5)" + myconf="${myconf} $(use_with gpm)" + + econf \ + --program-suffix=-${EMACS_SUFFIX} \ + --infodir=/usr/share/info/${EMACS_SUFFIX} \ + --without-carbon \ + ${myconf} || die "econf emacs failed" + + emake CC="$(tc-getCC)" bootstrap || die "make bootstrap failed" +} + +src_install () { + emake install DESTDIR="${D}" || die "make install failed" + + rm "${D}"/usr/bin/emacs-${FULL_VERSION}-${EMACS_SUFFIX} \ + || die "removing duplicate emacs executable failed" + mv "${D}"/usr/bin/emacs-${EMACS_SUFFIX} "${D}"/usr/bin/${EMACS_SUFFIX} \ + || die "moving Emacs executable failed" + + # move info documentation to the correct place + einfo "Fixing info documentation ..." + for i in "${D}"/usr/share/info/${EMACS_SUFFIX}/*; do + mv ${i} ${i}.info || die "mv info failed" + done + + # move man pages to the correct place + einfo "Fixing manpages ..." + for m in "${D}"/usr/share/man/man1/* ; do + mv ${m} ${m%.1}-${EMACS_SUFFIX}.1 || die "mv man failed" + done + + # avoid collision between slots, see bug #169033 e.g. + rm "${D}"/usr/share/emacs/site-lisp/subdirs.el + rm "${D}"/var/lib/games/emacs/{snake,tetris}-scores + keepdir /var/lib/games/emacs/ + + if use source; then + insinto /usr/share/emacs/${FULL_VERSION}/src + # This is not meant to install all the source -- just the + # C source you might find via find-function + doins src/*.[ch] + sed 's/^X//' >00${PN}-${SLOT}-gentoo.el <<-EOF + + ;;; ${PN}-${SLOT} site-lisp configuration + + (if (string-match "\\\\\`${FULL_VERSION//./\\\\.}\\\\>" emacs-version) + X (setq find-function-C-source-directory + X "/usr/share/emacs/${FULL_VERSION}/src")) + EOF + elisp-site-file-install 00${PN}-${SLOT}-gentoo.el + fi + + dodoc README BUGS || die "dodoc failed" +} + +emacs-infodir-rebuild() { + # Depending on the Portage version, the Info dir file is compressed + # or removed. It is only rebuilt by Portage if our directory is in + # INFOPATH, which is not guaranteed. So we rebuild it ourselves. + + local infodir=/usr/share/info/${EMACS_SUFFIX} f + einfo "Regenerating Info directory index in ${infodir} ..." + rm -f "${ROOT}"${infodir}/dir{,.*} + for f in "${ROOT}"${infodir}/*.info*; do + [[ ${f##*/} == *[0-9].info* ]] \ + || install-info --info-dir="${ROOT}"${infodir} ${f} &>/dev/null + done + echo +} + +pkg_postinst() { + test -f "${ROOT}"/usr/share/emacs/site-lisp/subdirs.el || + cp "${ROOT}"/usr/share/emacs{/${FULL_VERSION},}/site-lisp/subdirs.el + + local f + for f in "${ROOT}"/var/lib/games/emacs/{snake,tetris}-scores; do + test -e ${f} || touch ${f} + done + + elisp-site-regen + emacs-infodir-rebuild + eselect emacs update --if-unset + + if use X; then + elog "You need to install some fonts for Emacs. Under monolithic" + elog "XFree86/Xorg you typically had such fonts installed by default." + elog "With modular Xorg, you will have to perform this step yourself." + elog "Installing media-fonts/font-adobe-{75,100}dpi on the X server's" + elog "machine would satisfy basic Emacs requirements under X11." + fi + + echo + elog "You can set the version to be started by /usr/bin/emacs through" + elog "the Emacs eselect module, which also redirects man and info pages." + elog "You can therefore test emacs-cvs along with the stable release." + elog "\"man emacs.eselect\" for details." +} + +pkg_postrm() { + elisp-site-regen + emacs-infodir-rebuild + eselect emacs update --if-unset +} diff --git a/app-editors/emacs-cvs/emacs-cvs-23.0.60-r1.ebuild b/app-editors/emacs-cvs/emacs-cvs-23.0.60-r1.ebuild new file mode 100644 index 000000000000..a9c5ae40a84f --- /dev/null +++ b/app-editors/emacs-cvs/emacs-cvs-23.0.60-r1.ebuild @@ -0,0 +1,256 @@ +# 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-23.0.60-r1.ebuild,v 1.1 2007/11/27 14:11:48 opfer Exp $ + +ECVS_AUTH="pserver" +ECVS_SERVER="cvs.savannah.gnu.org:/sources/emacs" +ECVS_MODULE="emacs" +ECVS_BRANCH="emacs-unicode-2" +ECVS_LOCALNAME="emacs-unicode" + +WANT_AUTOCONF="latest" +WANT_AUTOMAKE="latest" + +inherit autotools cvs elisp-common eutils flag-o-matic + +DESCRIPTION="The extensible, customizable, self-documenting real-time display editor" +HOMEPAGE="http://www.gnu.org/software/emacs/" +SRC_URI="" + +LICENSE="GPL-3 FDL-1.2 BSD" +SLOT="23-unicode" +KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" +IUSE="alsa gif gpm gtk gzip-el hesiod jpeg kerberos motif png spell sound source svg tiff toolkit-scroll-bars X Xaw3d xft xpm" +RESTRICT="strip" + +X_DEPEND="x11-libs/libXmu x11-libs/libXt x11-misc/xbitmaps" + +RDEPEND="sys-libs/ncurses + >=app-admin/eselect-emacs-0.7-r1 + sys-libs/zlib + hesiod? ( net-dns/hesiod ) + kerberos? ( virtual/krb5 ) + spell? ( || ( app-text/ispell app-text/aspell ) ) + alsa? ( media-libs/alsa-lib ) + gpm? ( sys-libs/gpm ) + X? ( + $X_DEPEND + x11-misc/emacs-desktop + gif? ( media-libs/giflib ) + jpeg? ( media-libs/jpeg ) + tiff? ( media-libs/tiff ) + png? ( media-libs/libpng ) + svg? ( >=gnome-base/librsvg-2.0 ) + xpm? ( x11-libs/libXpm ) + xft? ( media-libs/fontconfig virtual/xft >=dev-libs/libotf-0.9.4 ) + gtk? ( =x11-libs/gtk+-2* ) + !gtk? ( + Xaw3d? ( x11-libs/Xaw3d ) + !Xaw3d? ( + motif? ( virtual/motif ) + ) + ) + )" + +DEPEND="${RDEPEND} + gzip-el? ( app-arch/gzip )" + +S="${WORKDIR}/${ECVS_LOCALNAME}" + +EMACS_SUFFIX="emacs-${SLOT}" + +src_unpack() { + cvs_src_unpack + + cd "${S}" + # FULL_VERSION keeps the full version number, which is needed in + # order to determine some path information correctly for copy/move + # operations later on + FULL_VERSION=$(grep 'defconst[ ]*emacs-version' lisp/version.el \ + | sed -e 's/^[^"]*"\([^"]*\)".*$/\1/') + [ "${FULL_VERSION}" ] || die "Cannot determine current Emacs version" + echo + einfo "Emacs CVS branch: ${ECVS_BRANCH}" + einfo "Emacs version number: ${FULL_VERSION}" + [ "${FULL_VERSION}" = ${PV} ] \ + || die "Upstream version number changed to ${FULL_VERSION}" + echo + + 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" + if ! use gzip-el; then + # Emacs' build system automatically detects the gzip binary and + # compresses el files. We don't want that so confuse it with a + # wrong binary name + sed -i -e "s/ gzip/ PrEvEnTcOmPrEsSiOn/" configure.in \ + || die "unable to sed configure.in" + fi + + epatch "${FILESDIR}/${PN}-freebsd-sparc.patch" + # ALSA is detected and used even if not requested by the USE=alsa flag. + # So remove the automagic check + use alsa || epatch "${FILESDIR}/${PN}-disable_alsa_detection-r1.patch" + + eautoreconf +} + +src_compile() { + export SANDBOX_ON=0 # for the unbelievers, see Bug #131505 + ALLOWED_FLAGS="" + strip-flags + unset LDFLAGS + replace-flags -O[3-9] -O2 + + local myconf + + if use alsa && ! use sound; then + echo + einfo "Although sound USE flag is disabled you chose to have alsa," + einfo "so sound is switched on anyway." + echo + myconf="${myconf} --with-sound" + else + myconf="${myconf} $(use_with sound)" + fi + + if use X; then + myconf="${myconf} --with-x" + myconf="${myconf} $(use_with toolkit-scroll-bars)" + myconf="${myconf} $(use_enable xft font-backend)" + myconf="${myconf} $(use_with xft freetype)" + myconf="${myconf} $(use_with xft)" + myconf="${myconf} $(use_with jpeg) $(use_with tiff)" + myconf="${myconf} $(use_with gif) $(use_with png)" + myconf="${myconf} $(use_with xpm) $(use_with svg rsvg)" + + # GTK+ is the default toolkit if USE=gtk is chosen with other + # possibilities. Emacs upstream thinks this should be standard + # policy on all distributions + if use gtk; then + echo + einfo "Configuring to build with GTK support, disabling all other toolkits" + echo + myconf="${myconf} --with-x-toolkit=gtk" + elif use Xaw3d; then + einfo "Configuring to build with Xaw3d(athena) support" + myconf="${myconf} --with-x-toolkit=athena" + myconf="${myconf} --without-gtk" + elif use motif; then + einfo "Configuring to build with motif toolkit support" + myconf="${myconf} --with-x-toolkit=motif" + myconf="${myconf} --without-gtk" + else + einfo "Configuring to build with no toolkit" + myconf="${myconf} --with-x-toolkit=no" + myconf="${myconf} --without-gtk" + fi + else + myconf="${myconf} --without-x" + fi + + myconf="${myconf} $(use_with hesiod)" + myconf="${myconf} $(use_with kerberos) $(use_with kerberos kerberos5)" + myconf="${myconf} $(use_with gpm)" + + econf \ + --program-suffix=-${EMACS_SUFFIX} \ + --infodir=/usr/share/info/${EMACS_SUFFIX} \ + --without-carbon \ + ${myconf} || die "econf emacs failed" + + emake CC="$(tc-getCC)" bootstrap || die "make bootstrap failed" +} + +src_install () { + emake install DESTDIR="${D}" || die "make install failed" + + rm "${D}"/usr/bin/emacs-${FULL_VERSION}-${EMACS_SUFFIX} \ + || die "removing duplicate emacs executable failed" + mv "${D}"/usr/bin/emacs-${EMACS_SUFFIX} "${D}"/usr/bin/${EMACS_SUFFIX} \ + || die "moving Emacs executable failed" + + # move info documentation to the correct place + einfo "Fixing info documentation ..." + for i in "${D}"/usr/share/info/${EMACS_SUFFIX}/*; do + mv ${i} ${i}.info || die "mv info failed" + done + + # move man pages to the correct place + einfo "Fixing manpages ..." + for m in "${D}"/usr/share/man/man1/* ; do + mv ${m} ${m%.1}-${EMACS_SUFFIX}.1 || die "mv man failed" + done + + # avoid collision between slots, see bug #169033 e.g. + rm "${D}"/usr/share/emacs/site-lisp/subdirs.el + rm "${D}"/var/lib/games/emacs/{snake,tetris}-scores + keepdir /var/lib/games/emacs/ + + if use source; then + insinto /usr/share/emacs/${FULL_VERSION}/src + # This is not meant to install all the source -- just the + # C source you might find via find-function + doins src/*.[ch] + sed 's/^X//' >00${PN}-${SLOT}-gentoo.el <<-EOF + + ;;; ${PN}-${SLOT} site-lisp configuration + + (if (string-match "\\\\\`${FULL_VERSION//./\\\\.}\\\\>" emacs-version) + X (setq find-function-C-source-directory + X "/usr/share/emacs/${FULL_VERSION}/src")) + EOF + elisp-site-file-install 00${PN}-${SLOT}-gentoo.el + fi + + dodoc README README.unicode BUGS || die "dodoc failed" +} + +emacs-infodir-rebuild() { + # Depending on the Portage version, the Info dir file is compressed + # or removed. It is only rebuilt by Portage if our directory is in + # INFOPATH, which is not guaranteed. So we rebuild it ourselves. + + local infodir=/usr/share/info/${EMACS_SUFFIX} f + einfo "Regenerating Info directory index in ${infodir} ..." + rm -f "${ROOT}"${infodir}/dir{,.*} + for f in "${ROOT}"${infodir}/*.info*; do + [[ ${f##*/} == *[0-9].info* ]] \ + || install-info --info-dir="${ROOT}"${infodir} ${f} &>/dev/null + done + echo +} + +pkg_postinst() { + test -f "${ROOT}"/usr/share/emacs/site-lisp/subdirs.el || + cp "${ROOT}"/usr/share/emacs{/${FULL_VERSION},}/site-lisp/subdirs.el + + local f + for f in "${ROOT}"/var/lib/games/emacs/{snake,tetris}-scores; do + test -e ${f} || touch ${f} + done + + elisp-site-regen + emacs-infodir-rebuild + eselect emacs update --if-unset + + if use X; then + elog "You need to install some fonts for Emacs. Under monolithic" + elog "XFree86/Xorg you typically had such fonts installed by default." + elog "With modular Xorg, you will have to perform this step yourself." + elog "Installing media-fonts/font-adobe-{75,100}dpi on the X server's" + elog "machine would satisfy basic Emacs requirements under X11." + fi + + echo + elog "You can set the version to be started by /usr/bin/emacs through" + elog "the Emacs eselect module, which also redirects man and info pages." + elog "You can therefore test emacs-cvs along with the stable release." + elog "\"man emacs.eselect\" for details." +} + +pkg_postrm() { + elisp-site-regen + emacs-infodir-rebuild + eselect emacs update --if-unset +} diff --git a/app-editors/emacs-cvs/files/digest-emacs-cvs-22.1.50-r2 b/app-editors/emacs-cvs/files/digest-emacs-cvs-22.1.50-r2 new file mode 100644 index 000000000000..e69de29bb2d1 --- /dev/null +++ b/app-editors/emacs-cvs/files/digest-emacs-cvs-22.1.50-r2 diff --git a/app-editors/emacs-cvs/files/digest-emacs-cvs-23.0.50-r1 b/app-editors/emacs-cvs/files/digest-emacs-cvs-23.0.50-r1 new file mode 100644 index 000000000000..e69de29bb2d1 --- /dev/null +++ b/app-editors/emacs-cvs/files/digest-emacs-cvs-23.0.50-r1 diff --git a/app-editors/emacs-cvs/files/digest-emacs-cvs-23.0.60-r1 b/app-editors/emacs-cvs/files/digest-emacs-cvs-23.0.60-r1 new file mode 100644 index 000000000000..e69de29bb2d1 --- /dev/null +++ b/app-editors/emacs-cvs/files/digest-emacs-cvs-23.0.60-r1 |