summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2014-12-04 19:02:46 +0000
committerUlrich Müller <ulm@gentoo.org>2014-12-04 19:02:46 +0000
commitfcb20ad58543d9dcece7e7fb1d7ae17f3b72a592 (patch)
tree724c714d0fea415fd60231c6ab53795d08e6d7ec /app-editors
parentProperly depend on setuptools wrt #528740 by Toralf Förster <toralf.foerster... (diff)
downloadhistorical-fcb20ad58543d9dcece7e7fb1d7ae17f3b72a592.tar.gz
historical-fcb20ad58543d9dcece7e7fb1d7ae17f3b72a592.tar.bz2
historical-fcb20ad58543d9dcece7e7fb1d7ae17f3b72a592.zip
Remove old.
Package-Manager: portage-2.2.14/cvs/Linux x86_64 Manifest-Sign-Key: 0x9433907D693FB5B8!
Diffstat (limited to 'app-editors')
-rw-r--r--app-editors/xemacs/ChangeLog6
-rw-r--r--app-editors/xemacs/Manifest27
-rw-r--r--app-editors/xemacs/xemacs-21.4.22-r2.ebuild243
-rw-r--r--app-editors/xemacs/xemacs-21.4.22-r3.ebuild252
4 files changed, 16 insertions, 512 deletions
diff --git a/app-editors/xemacs/ChangeLog b/app-editors/xemacs/ChangeLog
index a2bb1d3efff6..f7e73b8228eb 100644
--- a/app-editors/xemacs/ChangeLog
+++ b/app-editors/xemacs/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-editors/xemacs
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-editors/xemacs/ChangeLog,v 1.186 2014/12/04 08:40:09 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-editors/xemacs/ChangeLog,v 1.187 2014/12/04 19:02:33 ulm Exp $
+
+ 04 Dec 2014; Ulrich Müller <ulm@gentoo.org> -xemacs-21.4.22-r2.ebuild,
+ -xemacs-21.4.22-r3.ebuild:
+ Remove old.
04 Dec 2014; Agostino Sarubbo <ago@gentoo.org> xemacs-21.4.22-r4.ebuild:
Stable for ppc64, wrt bug #475658
diff --git a/app-editors/xemacs/Manifest b/app-editors/xemacs/Manifest
index 73091d390032..83462595b18e 100644
--- a/app-editors/xemacs/Manifest
+++ b/app-editors/xemacs/Manifest
@@ -18,28 +18,23 @@ DIST xemacs-21.4.22.tar.gz 8357931 SHA256 87fb7633106625935105e821eb8fe65e521a3d
DIST xemacs-21.5.31.tar.gz 15802193 SHA256 d59f90b7e72621376a23daa484f1929945d0527350a10989fd086bde9d0a997d SHA512 17c385459edffc063d43537dae5b2883d2d7481e7f7596d02c9859ecb9dd4ee48921647b389ed979d65ede2745b647c9b196c9ef0873e6d526d21262f04b7f41 WHIRLPOOL b2a1741af341f260671e1c8479f47c30113b515b240d86b41b6449abde96be896371d3f6b038ab72a96c422f84704de0a41e403a16c9ca2a4861e590e65b1f59
DIST xemacs-21.5.33.tar.gz 15781151 SHA256 448c76aa32cd5c84257027846f01b75a5e4f1e9db3278f95e68ff23d59fb8f94 SHA512 75358b5cf2a012d23b95eb918e0ba1abf254db51d979d370f407b67871c6d09e2d59f59fe1acd46149933913222935e2c12be72cdf0314109c568f9f14438151 WHIRLPOOL 29d6a19d8cacc243afd3c21ed96cfabfa956531692e8ce4a454b958d32b08bb3eac47f52ada872ccfdb41082514145c602cc7ed81443bece7529365ba089f454
DIST xemacs-21.5.34.tar.gz 15816932 SHA256 33cc54a6a9a45224a64b6c57c8138b5a5f0f1be368951a6d9ec8c0aec5993ee5 SHA512 b61d88fe530a77b88c2ed0cecd6597ed3c265450bc61f7c6823920f774b2d566ef6fc18a6c33928d846d08d465617d4ccd3c4656606ec8634127a683abbc929a WHIRLPOOL 733aabc45309ff4172ab77492dd85e71f156722f2e06d9a185c0a4260b9fbea607ff8a41dc43fc009cb8cdf3f05d4523778610a501f27a4917ab43cea03c6209
-EBUILD xemacs-21.4.22-r2.ebuild 6706 SHA256 2e7b0e52502a7b8e9ef98eb25273b43a717f3254565aae3d0ca9369d4d97ffa8 SHA512 2779492466950d55fa10f3240dcdafbbb9375f29465442d1ddf31c9bed7848b52ba2ef5323fe419cbe95e44e633fa936a2f74b1c418235f32df0aa3efb63d54d WHIRLPOOL 939edbd7c518f1b452aa640e8aa621b425d5466e01736ead8bebc4a38b97b15cddf3cc2a3011d11665de19e52e869b4ecf8ec406dfbd169d48835486f522d80b
-EBUILD xemacs-21.4.22-r3.ebuild 7195 SHA256 bc33b2db01406ae61df489ceac2c999a897897bcfcf74b7b63e45729d6677e59 SHA512 4ec3b2d05c18bc1ea8605d6ada647de77db86fa4bead24ea0a9b1d2b2eaea37fb37b0a712f94b82dce6332aa5a1f0dffc3fb502e91c1b85e91d61554949dbf16 WHIRLPOOL 80ffd0ea70efe7981678d0888c17c0ce2f00c724f1cc874730fa38a085710faa2728696e0f6e81ab30e7c8d6035ec4e69b44ed1a64d4bd9e596255dd3b2eb2b5
EBUILD xemacs-21.4.22-r4.ebuild 7259 SHA256 8b8710b1294982d9900b92ae096d61d056e5fe80fec4d09478dbe3ba897d8c00 SHA512 222cff2c3f7f6a5b7b25721b3dd395eacd8edc8bf7ece8ed4b327e5726709d7cd12074a7bffd93fc3f19b72ea5df7e7b7e32a5e06f9a54f63c5068c3cd65d980 WHIRLPOOL 5c883c188dd8e7d8ad67a2a054ea425533a3c8cc9b25c407c07c007b89867b16b6f0e67a0fc021ef1760cb497c957bff9d14a6d85eb7e3701f842cde28700d87
EBUILD xemacs-21.5.31.ebuild 6691 SHA256 fe161adcc2c75f8447114788ae5180f6f05e2e6d1c8a438bbc8c5adad36ccc33 SHA512 e66c44f0ea99c02cd049168d95ac3fbc37114bfd618874326849ce94d22e10717ed6f7f299334dfab10f431b291c8e270598a065cccd6aa44d29d61b6b21aa9e WHIRLPOOL 4d3fefb96517737dfc2adef5a31eef6c445142e4f938fe88945510932a961b616c2e8245bacdac7036878e89c001d23bce8e82fb7126de11c4526ac669f380b5
EBUILD xemacs-21.5.33.ebuild 6604 SHA256 8f1bc818b7cccaa6a0fa2c9a5123c4b918edc0c30ff45c410a06b3c4833fabd5 SHA512 9ac38239f81677f96761a8a830a7483001a3eb486e3a57e7de7ad11d5bff7f42b94674121f9d2b325c3d646ce95c69d4a417ea17023fca79c15fd998743ba4b1 WHIRLPOOL e898474b6417e27d4f0048132244addaf2e8d59b05cf100508fa77131b7ea9af3ba3fb8f84b203c956ff1d8b2da36ee0c1c9a8aaf892fe8b4f857fc2e2b3474f
EBUILD xemacs-21.5.34-r2.ebuild 7145 SHA256 51a77936b29139d92065a449626a904194493a447fe586305dab30f994cca963 SHA512 1eee8c40cd281d301864ba55aaddf2f891213cbc5d3cb6a3586be794d79a3b95542a3d359d951d947be0a1ffa2e22ced9211315fdbca839c2d5ea2cf36326467 WHIRLPOOL 40cce6dba3c9eec3bca1e605affdaa8703d5efac2ba9afab316c9f78bdea8db8fa7745eab6852ee96caa60d8b6e0d5ae0aa6827b707f98a4e67f457f2591c3d1
-MISC ChangeLog 31926 SHA256 082a7394216f5f0cf3d0f638c08cc2c83f1747062c7c140303eecd8f762c6117 SHA512 9573897a32beaaaf7523398fe0c2755e1212c07e1c12659d64f7a3cfda6a1c536a5e7d4d22d22aca15715afaa3c8a60faa2711cacdf92b93f769c85154a39a81 WHIRLPOOL 7e08e27f9059a4f6c72f4db00790e171db26ee1477042b94b6b5f60e6092e24c0431f8aa2564509cb31afa9ccb503f5580c808cc5f4aa7cf1de1c13a3fe5e6aa
+MISC ChangeLog 32044 SHA256 2df9b6bc913a9f880805ea1848a861781b31aeb51925e5e74cec17233a6fa062 SHA512 d4c8d151dcb977ca8886a9cabeeaa93082eb64724c5596c598a4cb2f2bf9f90b73297cc5d75d83cee140b40862b7328ecdf3dce51cac3577c82fc6816dd17243 WHIRLPOOL 46f4502c04ac9571401814acbf87008ef67cf30614463e4c84d00aef916ee70733e85919049f7194b8f2cfe0cf2ad82b7fe2872f712743c067e18894b8a28bbf
MISC metadata.xml 711 SHA256 abb7f5df5077d65ee8df0ed47e57faabe561de5bd09493912a3f06ef695f8f58 SHA512 b201e8584db8c7f798137dd79d2136639a0456e6127b28259ac42535664d608ff3d290e30f28ba2d71cf6c971ff5f5048d9b7911bff7907f715acbefb54d8048 WHIRLPOOL 0344fe6a29e42f5088260ccd648c83eda9cc13abbd78fa29db799ed66bed2f385735f7cd54aa5e00cf61f0cc1673892f207a553d9ccab55141c76cec2e179bfa
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
-iQIbBAEBCAAGBQJUgB3qAAoJELp701BxlEWfCakP+JJmtlsMca0jKAb5XfTNoCPG
-O45Q0o3+V23uvfBjW2r8lLXuEIiK4NTOJegZumsTNVsyYWtnoExSZe6E9A+DEZ3z
-+OYtK0sP9xMam862RzN2pY3WH7Ttu9StUaq3Tie+SJwkWP+iSAV+rvGGOWSBdLBB
-djnxg8QTVhIqpqU9jtMFtQdRDmgAUdgs4pR11vJqhf/FIqrNU6fCNm7TgC46KlYv
-zPdaLVDnTL7G4H0v9MWMWsRadPL+ZfOG2OD459ueX60FnWkmoEfEyg9NMN1GXBsx
-lh2Yo/x6hHc/rBuOK1KYi1Y0pLHCrAGFRWBw0Szu91Y8j5GydhifLSGwt9XFppEg
-8vUph33Ch1YMxKXvD6gTyytftb+BAHIGBLnVqqDu5PwIttghtN5m7k8DGMrMmAj7
-xTC4O7fnGLXwcY0JBG8QI8DHUa4PSIA/4aTdRofwpPv/DlHf+zg7CEMUO/63dtTD
-ZhWlf9WSSX2fn/K5nJ3jejHHAJ+wBS9BoBugRf7NJmvsYJ1NbiMIW2txbLHUvH46
-BByudwvjslB1XCv4QpRaQG3Dt4V8r2JQeuiwcjwDOV5xv3dB6dEVJjHVKz/Rhm9z
-fuswzywn6jbArIKLlyeepErlSPo24oXIBRGscRNc9vBZeXPrc2trgvw8nvmIXfxk
-Cr4IBc/MlUbwt63U4zo=
-=LVlE
+iQGcBAEBCAAGBQJUgLDJAAoJEJQzkH1pP7W4eakL/j/KwAZ6/Cdm/xB6qYg6qW64
+PnT9MQVxpCydmF8xZ77/oZiGoJiwcNNryLwccHROug+IUzpd9qXm8o69pDx8Dbdd
+T+0dzYzt4J59leYe7Rg5KOcHyPjyYOeZas0Nx0l+J3CKJYOXrM03j67Kz8XNOnBa
+Tp6x9LRswC0v3Nn+N5HXpEssN6QA4ut5bP40hXNcDjEy3OEQTOndr1JNubpVYXmL
+K1P6Wzm3Bss2OAtzWNNbV67NECJE+sfIw+tPBWAmr28MLvUFytnmf8ENIy1YjBFT
+Ls6nFZt2HSemVTf2c718xx/gaY3dwknQUuM+/Kg2gKsltPvqEdKJUf+7Bno52Kic
+zRlDWTl169GjIB0BPC6mKo/rRgdlALiUJZy77R428NDJR6GAd+JTzg9yaLpO39SM
+Sy5u9oXjTFCFsNzpH6AccUnuRUYBt3asvxjma2R7VPj0wxc20N3gbasXcmDbbu31
+85fyaZfD+ctMlwIhd4OdA6s15ZsXA6KmklLYUzFE2g==
+=kjZJ
-----END PGP SIGNATURE-----
diff --git a/app-editors/xemacs/xemacs-21.4.22-r2.ebuild b/app-editors/xemacs/xemacs-21.4.22-r2.ebuild
deleted file mode 100644
index 39c7664e5246..000000000000
--- a/app-editors/xemacs/xemacs-21.4.22-r2.ebuild
+++ /dev/null
@@ -1,243 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-editors/xemacs/xemacs-21.4.22-r2.ebuild,v 1.17 2014/11/03 11:08:09 titanofold Exp $
-
-# Note: xemacs currently does not work with a hardened profile. If you
-# want to use xemacs on a hardened profile then compile with the
-# -nopie flag in CFLAGS or help fix bug #75028.
-
-EAPI="1"
-
-export WANT_AUTOCONF="2.1"
-inherit autotools eutils toolchain-funcs
-
-DESCRIPTION="highly customizable open source text editor and application development system"
-HOMEPAGE="http://www.xemacs.org/"
-SRC_URI="http://ftp.xemacs.org/xemacs-21.4/${P}.tar.gz
- http://www.malfunction.de/afterstep/files/NeXT_XEmacs.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="alpha amd64 hppa ppc ppc64 sparc x86"
-IUSE="eolconv gif gpm pop postgres ldap xface nas dnd X jpeg tiff png mule motif freewnn canna xim athena neXt Xaw3d gdbm berkdb"
-
-X_DEPEND="x11-libs/libXt x11-libs/libXmu x11-libs/libXext x11-misc/xbitmaps"
-
-RDEPEND="
- berkdb? ( sys-libs/db )
- gdbm? ( >=sys-libs/gdbm-1.8.3 )
- >=sys-libs/zlib-1.1.4
- >=dev-libs/openssl-0.9.6
- >=media-libs/audiofile-0.2.3
- gpm? ( >=sys-libs/gpm-1.19.6 )
- postgres? ( virtual/postgresql )
- ldap? ( net-nds/openldap )
- nas? ( media-libs/nas )
- X? ( $X_DEPEND !Xaw3d? ( !neXt? ( x11-libs/libXaw ) ) )
- dnd? ( x11-libs/dnd )
- motif? ( >=x11-libs/motif-2.3:0 )
- athena? ( x11-libs/libXaw )
- Xaw3d? ( x11-libs/libXaw3d )
- neXt? ( x11-libs/neXtaw )
- xface? ( media-libs/compface )
- tiff? ( media-libs/tiff )
- png? ( >=media-libs/libpng-1.2 )
- jpeg? ( virtual/jpeg )
- canna? ( app-i18n/canna )
- !amd64? ( freewnn? ( app-i18n/freewnn ) )
- >=sys-libs/ncurses-5.2
- >=app-admin/eselect-emacs-1.2"
-DEPEND="${DEPEND}"
-
-PDEPEND="app-xemacs/xemacs-base
- mule? ( app-xemacs/mule-base )"
-
-src_unpack() {
- unpack ${P}.tar.gz
- use neXt && unpack NeXT_XEmacs.tar.gz
-
- cd "${S}"
- epatch "${FILESDIR}"/xemacs-21.4.19-texi.patch
-
- # see bug 58350, 102540 and 143580
- epatch "${FILESDIR}"/xemacs-21.4.19-db.patch
-
- # Security bug #216880
- epatch "${FILESDIR}"/xemacs-21.4.21-vcdiff.patch
-
- # Security bug #275397
- epatch "${FILESDIR}"/${P}-large-images.patch
-
- # Make sure to include deprecated LDAP symbols to avoid runtime
- # crashes.
- epatch "${FILESDIR}"/${P}-deprecated-ldap.patch
-
- # Fix compilation with libpng 1.5, bug 384461
- epatch "${FILESDIR}"/${P}-libpng15.patch
-
- # Run autoconf. XEmacs tries to be smart by providing a stub
- # configure.ac file for autoconf 2.59 but this throws our
- # autotools eclass so it must be removed first.
- rm "${S}"/configure.ac
- eautoconf
-
- use neXt && cp "${WORKDIR}"/NeXT.XEmacs/xemacs-icons/* "${S}"/etc/toolbar/
-}
-
-src_compile() {
- local myconf=""
-
- if use X; then
-
- myconf="${myconf} --with-widgets=athena"
- myconf="${myconf} --with-dialogs=athena"
- myconf="${myconf} --with-menubars=lucid"
- myconf="${myconf} --with-scrollbars=lucid"
- if use motif ; then
- myconf="--with-widgets=motif"
- myconf="${myconf} --with-dialogs=motif"
- myconf="${myconf} --with-scrollbars=motif"
- myconf="${myconf} --with-menubars=lucid"
- fi
- if use athena ; then
- myconf="--with-scrollbars=athena"
- fi
-
- if use Xaw3d; then
- myconf="${myconf} --with-athena=3d"
- elif use neXt; then
- myconf="${myconf} --with-athena=next"
- else
- myconf="${myconf} --with-athena=xaw"
- fi
-
- use dnd && myconf="${myconf} --with-dragndrop --with-offix"
-
- myconf="${myconf} $(use_with tiff ) $(use_with png )"
- myconf="${myconf} $(use_with jpeg ) $(use_with xface )"
- else
- myconf="${myconf}
- --without-x
- --without-xpm
- --without-dragndrop
- --with-gif=no"
- fi
-
- if use mule ; then
- myconf="${myconf} --with-mule"
-
- if use xim ; then
- if use motif ; then
- myconf="${myconf} --with-xim=motif"
- else
- myconf="${myconf} --with-xim=xlib"
- fi
- else
- myconf="${myconf} --with-xim=no"
- fi
-
- myconf="${myconf} $(use_with canna ) $(use_with freewnn wnn )"
- fi
-
- # This determines the type of sounds we are playing
- local soundconf="native"
-
- # This determines how these sounds should be played
- use nas && soundconf="${soundconf},nas"
-
- myconf="${myconf} --with-sound=${soundconf}"
-
- if use gdbm || use berkdb ; then
- use gdbm && mydb="gdbm"
-
- use berkdb && mydb="${mydb},berkdb"
-
- myconf="${myconf} --with-database=${mydb}"
- else
- myconf="${myconf} --without-database"
- fi
-
- # fixes #21264, this should be fixed in 21.4.21 and has been fixed
- # in 21.5 for sure. Now that 21.4.21 is out there is no real
- # evidence that this indeed got fixed, so keep these exceptions
- # for now.
- use alpha && myconf="${myconf} --with-system-malloc"
- use ppc64 && myconf="${myconf} --with-system-malloc"
- use ia64 && myconf="${myconf} --with-system-malloc"
-
- # Enabling modules will cause segfaults outside the XEmacs build directory
- use ia64 && myconf="${myconf} --without-modules"
-
- einfo "${myconf}"
-
- # Don't use econf because it uses options which this configure
- # script does not understand (like --host).
- ./configure ${myconf} ${EXTRA_ECONF} \
- $(use_with gif ) \
- $(use_with gpm ) \
- $(use_with postgres postgresql ) \
- $(use_with ldap ) \
- $(use_with eolconv file-coding ) \
- $(use_with pop ) \
- --compiler=$(tc-getCC) \
- --prefix=/usr \
- --with-ncurses \
- --with-msw=no \
- --mail-locking=flock \
- --with-site-lisp=yes \
- --with-site-modules=yes \
- || die "The configure script failed to run properly"
-
- emake || die "emake failed"
-}
-
-src_install() {
- emake prefix="${D}"/usr \
- mandir="${D}"/usr/share/man/man1 \
- infodir="${D}"/usr/share/info \
- install gzip-el || die "emake install failed"
-
- # Rename some applications installed in bin so that it is clear
- # which application installed them and so that conflicting
- # packages (emacs) can't clobber the actual applications.
- # Addresses bug #62991.
- for i in b2m ctags etags rcs-checkin ; do
- mv "${D}"/usr/bin/${i} "${D}"/usr/bin/${i}-xemacs || die "mv ${i} failed"
- done
-
- # rename man pages
- for i in ctags etags; do
- mv "${D}"/usr/share/man/man1/${i}{,-xemacs}.1 || die "mv ${i}.1 failed"
- done
-
- # install base packages directories
- dodir /usr/lib/xemacs/xemacs-packages/
- dodir /usr/lib/xemacs/site-packages/
- dodir /usr/lib/xemacs/site-modules/
- dodir /usr/lib/xemacs/site-lisp/
-
- if use mule;
- then
- dodir /usr/lib/xemacs/mule-packages
- fi
-
- # remove extraneous info files
- cd "${D}"/usr/share/info
- rm -f dir info.info texinfo* termcap* standards*
-
- cd "${S}"
- dodoc BUGS CHANGES-* ChangeLog GETTING* INSTALL PROBLEMS README*
- dodoc "${FILESDIR}"/README.Gentoo
-
- newicon "${S}"/etc/${PN}-icon.xpm ${PN}.xpm
-
- domenu "${FILESDIR}"/${PN}.desktop
-}
-
-pkg_postinst() {
- eselect emacs update ifunset
-}
-
-pkg_postrm() {
- eselect emacs update ifunset
-}
diff --git a/app-editors/xemacs/xemacs-21.4.22-r3.ebuild b/app-editors/xemacs/xemacs-21.4.22-r3.ebuild
deleted file mode 100644
index 26096653b06a..000000000000
--- a/app-editors/xemacs/xemacs-21.4.22-r3.ebuild
+++ /dev/null
@@ -1,252 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-editors/xemacs/xemacs-21.4.22-r3.ebuild,v 1.8 2014/11/03 11:08:09 titanofold Exp $
-
-# Note: xemacs currently does not work with a hardened profile. If you
-# want to use xemacs on a hardened profile then compile with the
-# -nopie flag in CFLAGS or help fix bug #75028.
-
-EAPI=5
-
-export WANT_AUTOCONF="2.1"
-inherit autotools eutils toolchain-funcs
-
-DESCRIPTION="highly customizable open source text editor and application development system"
-HOMEPAGE="http://www.xemacs.org/"
-SRC_URI="http://ftp.xemacs.org/xemacs-21.4/${P}.tar.gz
- http://www.malfunction.de/afterstep/files/NeXT_XEmacs.tar.gz"
-
-LICENSE="GPL-2+"
-SLOT="0"
-KEYWORDS="alpha amd64 hppa ~ppc ~ppc64 sparc x86"
-IUSE="eolconv gif gpm pop postgres ldap xface nas dnd X jpeg tiff png mule motif freewnn canna xim athena neXt Xaw3d gdbm berkdb"
-
-X_DEPEND="x11-libs/libXt x11-libs/libXmu x11-libs/libXext x11-misc/xbitmaps"
-
-RDEPEND="
- berkdb? ( sys-libs/db )
- gdbm? ( >=sys-libs/gdbm-1.8.3 )
- >=sys-libs/zlib-1.1.4
- >=dev-libs/openssl-0.9.6
- >=media-libs/audiofile-0.2.3
- gpm? ( >=sys-libs/gpm-1.19.6 )
- postgres? ( virtual/postgresql )
- ldap? ( net-nds/openldap )
- nas? ( media-libs/nas )
- X? ( $X_DEPEND !Xaw3d? ( !neXt? ( x11-libs/libXaw ) ) )
- dnd? ( x11-libs/dnd )
- motif? ( >=x11-libs/motif-2.3:0 )
- athena? ( x11-libs/libXaw )
- Xaw3d? ( x11-libs/libXaw3d )
- neXt? ( x11-libs/neXtaw )
- xface? ( media-libs/compface )
- tiff? ( media-libs/tiff )
- png? ( >=media-libs/libpng-1.2 )
- jpeg? ( virtual/jpeg )
- canna? ( app-i18n/canna )
- !amd64? ( freewnn? ( app-i18n/freewnn ) )
- >=sys-libs/ncurses-5.2
- >=app-admin/eselect-emacs-1.15"
-
-DEPEND="${RDEPEND}"
-
-PDEPEND="app-xemacs/xemacs-base
- mule? ( app-xemacs/mule-base )"
-
-src_unpack() {
- unpack ${P}.tar.gz
- use neXt && unpack NeXT_XEmacs.tar.gz
-}
-
-src_prepare() {
- epatch "${FILESDIR}"/xemacs-21.4.19-texi.patch
-
- # see bug 58350, 102540 and 143580
- epatch "${FILESDIR}"/xemacs-21.4.19-db.patch
-
- # Security bug #216880
- epatch "${FILESDIR}"/xemacs-21.4.21-vcdiff.patch
-
- # Security bug #275397
- epatch "${FILESDIR}"/${P}-large-images.patch
-
- # Make sure to include deprecated LDAP symbols to avoid runtime
- # crashes.
- epatch "${FILESDIR}"/${P}-deprecated-ldap.patch
-
- # Fix compilation with libpng 1.5, bug 384461
- epatch "${FILESDIR}"/${P}-libpng15.patch
-
- # Some binaries and man pages are installed under suffixed names
- # to avoid collions with their GNU Emacs counterparts (see below).
- # Fix internal filename references.
- sed -i -e 's/exec gnuclient/&-xemacs/' lib-src/gnudoit || die
- sed -i -e '/^\.so/s/etags/&-xemacs/' etc/ctags.1 || die
- sed -i -e '/^\.so/s/gnuserv/&-xemacs/' etc/gnu{client,doit,attach}.1 || die
-
- # Run autoconf. XEmacs tries to be smart by providing a stub
- # configure.ac file for autoconf 2.59 but this throws our
- # autotools eclass so it must be removed first.
- rm "${S}"/configure.ac || die
- eautoconf
-
- use neXt && cp "${WORKDIR}"/NeXT.XEmacs/xemacs-icons/* "${S}"/etc/toolbar/
-}
-
-src_configure() {
- local myconf=""
-
- if use X; then
-
- myconf="${myconf} --with-widgets=athena"
- myconf="${myconf} --with-dialogs=athena"
- myconf="${myconf} --with-menubars=lucid"
- myconf="${myconf} --with-scrollbars=lucid"
- if use motif ; then
- myconf="--with-widgets=motif"
- myconf="${myconf} --with-dialogs=motif"
- myconf="${myconf} --with-scrollbars=motif"
- myconf="${myconf} --with-menubars=lucid"
- fi
- if use athena ; then
- myconf="--with-scrollbars=athena"
- fi
-
- if use Xaw3d; then
- myconf="${myconf} --with-athena=3d"
- elif use neXt; then
- myconf="${myconf} --with-athena=next"
- else
- myconf="${myconf} --with-athena=xaw"
- fi
-
- use dnd && myconf="${myconf} --with-dragndrop --with-offix"
-
- myconf="${myconf} $(use_with tiff ) $(use_with png )"
- myconf="${myconf} $(use_with jpeg ) $(use_with xface )"
- else
- myconf="${myconf}
- --without-x
- --without-xpm
- --without-dragndrop
- --with-gif=no"
- fi
-
- if use mule ; then
- myconf="${myconf} --with-mule"
-
- if use xim ; then
- if use motif ; then
- myconf="${myconf} --with-xim=motif"
- else
- myconf="${myconf} --with-xim=xlib"
- fi
- else
- myconf="${myconf} --with-xim=no"
- fi
-
- myconf="${myconf} $(use_with canna ) $(use_with freewnn wnn )"
- fi
-
- # This determines the type of sounds we are playing
- local soundconf="native"
-
- # This determines how these sounds should be played
- use nas && soundconf="${soundconf},nas"
-
- myconf="${myconf} --with-sound=${soundconf}"
-
- if use gdbm || use berkdb ; then
- use gdbm && mydb="gdbm"
-
- use berkdb && mydb="${mydb},berkdb"
-
- myconf="${myconf} --with-database=${mydb}"
- else
- myconf="${myconf} --without-database"
- fi
-
- # fixes #21264, this should be fixed in 21.4.21 and has been fixed
- # in 21.5 for sure. Now that 21.4.21 is out there is no real
- # evidence that this indeed got fixed, so keep these exceptions
- # for now.
- use alpha && myconf="${myconf} --with-system-malloc"
- use ppc64 && myconf="${myconf} --with-system-malloc"
- use ia64 && myconf="${myconf} --with-system-malloc"
-
- # Enabling modules will cause segfaults outside the XEmacs build directory
- use ia64 && myconf="${myconf} --without-modules"
-
- einfo "${myconf}"
-
- # Don't use econf because it uses options which this configure
- # script does not understand (like --host).
- ./configure ${myconf} ${EXTRA_ECONF} \
- $(use_with gif ) \
- $(use_with gpm ) \
- $(use_with postgres postgresql ) \
- $(use_with ldap ) \
- $(use_with eolconv file-coding ) \
- $(use_with pop ) \
- --compiler=$(tc-getCC) \
- --prefix=/usr \
- --with-ncurses \
- --with-msw=no \
- --mail-locking=flock \
- --with-site-lisp=yes \
- --with-site-modules=yes \
- || die "The configure script failed to run properly"
-}
-
-src_install() {
- emake prefix="${D}"/usr \
- mandir="${D}"/usr/share/man/man1 \
- infodir="${D}"/usr/share/info \
- install gzip-el || die "emake install failed"
-
- # Rename some applications installed in bin so that it is clear
- # which application installed them and so that conflicting
- # packages (emacs) can't clobber the actual applications.
- # Addresses bug #62991.
- for i in b2m ctags etags rcs-checkin gnuclient gnudoit gnuattach; do
- mv "${D}"/usr/bin/${i} "${D}"/usr/bin/${i}-xemacs || die "mv ${i} failed"
- done
-
- # rename man pages
- for i in ctags etags gnuserv gnuclient gnudoit gnuattach; do
- mv "${D}"/usr/share/man/man1/${i}{,-xemacs}.1 || die "mv ${i}.1 failed"
- done
-
- # install base packages directories
- dodir /usr/lib/xemacs/xemacs-packages/
- dodir /usr/lib/xemacs/site-packages/
- dodir /usr/lib/xemacs/site-modules/
- dodir /usr/lib/xemacs/site-lisp/
-
- if use mule;
- then
- dodir /usr/lib/xemacs/mule-packages
- fi
-
- # remove extraneous info files
- cd "${D}"/usr/share/info
- rm -f dir info.info texinfo* termcap* standards*
-
- cd "${S}"
- dodoc BUGS CHANGES-* ChangeLog GETTING* INSTALL PROBLEMS README*
- dodoc "${FILESDIR}"/README.Gentoo
-
- newicon "${S}"/etc/${PN}-icon.xpm ${PN}.xpm
-
- domenu "${FILESDIR}"/${PN}.desktop
-}
-
-pkg_postinst() {
- eselect emacs update ifunset
- eselect gnuclient update ifunset
-}
-
-pkg_postrm() {
- eselect emacs update ifunset
- eselect gnuclient update ifunset
-}