# ChangeLog for app-editors/emacs
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs/ChangeLog,v 1.130 2007/03/26 08:57:46 opfer Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs/ChangeLog,v 1.131 2007/04/16 16:23:45 opfer Exp $
+
+*emacs-18.59-r4 (16 Apr 2007)
+
+ 16 Apr 2007; Christian Faulhammer <opfer@gentoo.org>
+ +emacs-18.59-r4.ebuild:
+ prepared for the new eselect module
26 Mar 2007; Christian Faulhammer <opfer@gentoo.org>
-files/60emacs-22.0.50.envd:
MD5 7c4e4f1870a935210efd16c2fb42d6f8 emacs-18.59-r1.ebuild 2953
RMD160 9609f43728c00b566bde4e29bf63704ebbd5423d emacs-18.59-r1.ebuild 2953
SHA256 ad0a276741aeca1a70ff95100b1475e5163fc830db1a6c512c0c07bd33c15a0a emacs-18.59-r1.ebuild 2953
+EBUILD emacs-18.59-r4.ebuild 2565 RMD160 48ec8327551a3c62eaef317212c38095f9bf5aa3 SHA1 93f189aceed0820f5d5177c6de6687b42a8d450a SHA256 5ef985e2208697bc13b9cb1858da6ce6d9b14169cf238f6d8995e75b673eb23f
+MD5 9d243787c2d24292323c8d5194820563 emacs-18.59-r4.ebuild 2565
+RMD160 48ec8327551a3c62eaef317212c38095f9bf5aa3 emacs-18.59-r4.ebuild 2565
+SHA256 5ef985e2208697bc13b9cb1858da6ce6d9b14169cf238f6d8995e75b673eb23f emacs-18.59-r4.ebuild 2565
EBUILD emacs-21.4-r4.ebuild 4551 RMD160 a7b49c929b37f60e45af01038595fd6e26579609 SHA1 aae095ad8995c6dc1b76e2805032073486b13476 SHA256 57f007813695810a6df614b335de85df341fdda53a36d7c806a18e315f70afec
MD5 d008266355b179cf5699aded70630be3 emacs-21.4-r4.ebuild 4551
RMD160 a7b49c929b37f60e45af01038595fd6e26579609 emacs-21.4-r4.ebuild 4551
MD5 92f4d4ff1be57566edb7db155c0bbf53 emacs-21.4-r8.ebuild 5727
RMD160 e879aeb102baa9977fee9a40d18c4a0acc001be2 emacs-21.4-r8.ebuild 5727
SHA256 2a692ffbdc1203341a019866b2f54460a7f6faa7a048a8466cc2879545cdc3c2 emacs-21.4-r8.ebuild 5727
-MISC ChangeLog 19794 RMD160 1e50d73b49e510f77b64db9d12c9dfe95f8c347f SHA1 d6e09d8a45397322f3df57d18219b521c5ca337e SHA256 770b64bc357a27d1c133399a0c34e57bf002296f15771c01e11b85e90a5986c2
-MD5 38db1ca6b99d8cd60c59bfdde3ca54ea ChangeLog 19794
-RMD160 1e50d73b49e510f77b64db9d12c9dfe95f8c347f ChangeLog 19794
-SHA256 770b64bc357a27d1c133399a0c34e57bf002296f15771c01e11b85e90a5986c2 ChangeLog 19794
+MISC ChangeLog 19945 RMD160 5d0a95320ff22a36a0585b519c48a9eb6ee8dbfb SHA1 ed96883fee125858aa4d8b35e4a6a05d6553793f SHA256 59460200846ea8c5606bd0092fe1193ef03dc6ac71c8c0c512683f6dc12dfbef
+MD5 f5e30d3a53e62b833dabd97b7270d720 ChangeLog 19945
+RMD160 5d0a95320ff22a36a0585b519c48a9eb6ee8dbfb ChangeLog 19945
+SHA256 59460200846ea8c5606bd0092fe1193ef03dc6ac71c8c0c512683f6dc12dfbef ChangeLog 19945
MISC metadata.xml 158 RMD160 415d172437ca754d24fc5ab186ba8e77934d96e4 SHA1 61f6eff9729cd87a725c2a70c81aca4270a17fc4 SHA256 1393bdef3a74343fdb40a112c7096a1af16f67e7a43413250de28dfe73810eab
MD5 fcd33d07e4ee719b01157946734f4fe8 metadata.xml 158
RMD160 415d172437ca754d24fc5ab186ba8e77934d96e4 metadata.xml 158
MD5 6bd3531350f6b7c7682351e3dcf628d0 files/digest-emacs-18.59-r1 786
RMD160 4d1f0a68da522f0bfbe8cebdb748c5f95ccc1c9d files/digest-emacs-18.59-r1 786
SHA256 a5d7f43b69d68028793ee45424a1fce37e65dd63802310ebfda5ca85a62e9ba7 files/digest-emacs-18.59-r1 786
+MD5 6bd3531350f6b7c7682351e3dcf628d0 files/digest-emacs-18.59-r4 786
+RMD160 4d1f0a68da522f0bfbe8cebdb748c5f95ccc1c9d files/digest-emacs-18.59-r4 786
+SHA256 a5d7f43b69d68028793ee45424a1fce37e65dd63802310ebfda5ca85a62e9ba7 files/digest-emacs-18.59-r4 786
MD5 6276bfdc37e540127a083cc6b979ac37 files/digest-emacs-21.4-r4 473
RMD160 4f6aee1102af50b44f69f8de5714c901c5b6b15c files/digest-emacs-21.4-r4 473
SHA256 8dec85daf40abb62a8c6a7232b067f0e5da524b222d2668f8db0f1df9dd7188e files/digest-emacs-21.4-r4 473
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
-iD8DBQFGB4sSNQqtfCuFneMRAnjGAJwL3QAVrR46exby8/gQOEKRIU5IjACdESA9
-DOono/IGklyY1V6OApRJb64=
-=t96I
+iD8DBQFGI6MaNQqtfCuFneMRAk8MAKCGyintY1wN+Od46K6Mz85egEIG9gCeI2jU
+PT+4kdp1vnGD0qigrNTMibo=
+=ZXUw
-----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/emacs-18.59-r4.ebuild,v 1.1 2007/04/16 16:23:45 opfer Exp $
+
+inherit eutils toolchain-funcs flag-o-matic
+
+DESCRIPTION="The extensible self-documenting text editor"
+HOMEPAGE="http://www.gnu.org/software/emacs/"
+SRC_URI="mirror://gnu/old-gnu/emacs/${P}.tar.gz
+ mirror://gentoo/emacs-18-patches.tar.bz2
+ ftp://ftp.splode.com/pub/users/friedman/emacs/${P}-linux22x-elf-glibc21.diff.gz"
+
+LICENSE="GPL-1"
+SLOT="18"
+KEYWORDS="~x86"
+IUSE="X"
+
+RDEPEND="sys-libs/ncurses
+ >=app-admin/eselect-emacs-0.3
+ X? ( x11-libs/libX11 )"
+DEPEND="${RDEPEND}"
+PROVIDE="virtual/emacs virtual/editor"
+
+MY_BASEDIR="/usr/share/emacs/${PV}"
+MY_LOCKDIR="/var/lib/emacs/lock"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${WORKDIR}/${P}-linux22x-elf-glibc21.diff"
+ epatch "${WORKDIR}/${P}-unexelf.patch"
+ epatch "${WORKDIR}/${P}-gentoo.patch"
+ epatch "${WORKDIR}/${P}-gcc4.patch"
+}
+
+src_compile() {
+ SANDBOX_ON=0
+
+ # autoconf? What's autoconf? We are living in 1992. ;-)
+ local arch
+ case ${ARCH} in
+ x86) arch=intel386 ;;
+ *) die "Architecture ${ARCH} not supported" ;;
+ esac
+ local cmd="s/\"s-.*\.h\"/\"s-linux.h\"/;s/\"m-.*\.h\"/\"m-${arch}.h\"/"
+ use X && cmd="${cmd};s/.*\(#define HAVE_X_WINDOWS\).*/\1/"
+ sed -e "${cmd}" src/config.h-dist >src/config.h
+
+ cat <<-END >src/paths.h
+ #define PATH_LOADSEARCH "${MY_BASEDIR}/lisp"
+ #define PATH_EXEC "${MY_BASEDIR}/etc"
+ #define PATH_LOCK "${MY_LOCKDIR}/"
+ #define PATH_SUPERLOCK "${MY_LOCKDIR}/!!!SuperLock!!!"
+ END
+
+ # -O3 and -finline-functions cause segmentation faults at run time.
+ filter-flags -finline-functions
+ replace-flags -O[3-9] -O2
+ strip-flags
+
+ emake -j1 CC="$(tc-getCC)" CFLAGS="${CFLAGS} -Demacs" || die
+}
+
+src_install() {
+ dodir ${MY_BASEDIR}
+ dodir /usr/share/man/man1
+ make install LIBDIR="${D}${MY_BASEDIR}" BINDIR="${D}/usr/bin" \
+ MANDIR="${D}/usr/share/man/man1" || die
+ chmod -R go-w "${D}${MY_BASEDIR}"
+ rmdir "${D}${MY_BASEDIR}/lock"
+
+ dodir ${MY_LOCKDIR%/*}
+ diropts -m0777
+ dodir ${MY_LOCKDIR}
+ keepdir ${MY_LOCKDIR}
+
+ for i in emacsclient etags ctags; do
+ mv "${D}"/usr/bin/${i}{,-emacs-${SLOT}} || die "mv ${i} failed"
+ done
+ mv "${D}"/usr/bin/emacs{,-${SLOT}} || die "mv emacs failed"
+ mv "${D}"/usr/share/man/man1/emacs{,-emacs-${SLOT}}.1 || die
+ dosym ../emacs/${PV}/info /usr/share/info/emacs-${SLOT}
+
+ dodoc README PROBLEMS
+}
+
+pkg_postinst() {
+ eselect emacs update --if-unset
+}
+
+pkg_postrm() {
+ eselect emacs update --if-unset
+}
--- /dev/null
+MD5 f61420b327a9753e57b14fb1d3dae826 emacs-18-patches.tar.bz2 16526
+RMD160 ab0ed5e428fd71f24f44b43945940d7d33670e81 emacs-18-patches.tar.bz2 16526
+SHA256 d8dd29786dbd202b5e7bb3a176d97ae0901b6c1dd4276e253f0f42fcef34cd6e emacs-18-patches.tar.bz2 16526
+MD5 a7a4ed051dc232cdc9cf37208135302a emacs-18.59-linux22x-elf-glibc21.diff.gz 15671
+RMD160 4fab87eead1a66d767d2334d31507695dcf7b4a8 emacs-18.59-linux22x-elf-glibc21.diff.gz 15671
+SHA256 fb810d893938883d50a3a8d7c43fbeb1604d5454f760b8f1f700326c8ee659dd emacs-18.59-linux22x-elf-glibc21.diff.gz 15671
+MD5 ca57ae095ef098faca135bca736e1ca8 emacs-18.59.tar.gz 2962652
+RMD160 4976d0f0f34b6d54db6774d24a528f74a3bb20dc emacs-18.59.tar.gz 2962652
+SHA256 1e27e33f91984a91e9b4c1f21433f931aba03670960ecc147bb6d7b0de0f051e emacs-18.59.tar.gz 2962652