# ChangeLog for app-editors/xemacs
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-editors/xemacs/ChangeLog,v 1.81 2007/02/11 12:48:45 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-editors/xemacs/ChangeLog,v 1.82 2007/03/06 08:06:39 graaff Exp $
+
+ 06 Mar 2007; Hans de Graaff <graaff@gentoo.org>
+ -files/emodules.info-21.4.8-gentoo.patch,
+ -files/xemacs-21.4.17-gdbm.patch, -xemacs-21.4.17.ebuild,
+ -xemacs-21.4.19-r2.ebuild:
+ Remove old versions and associated patches.
*xemacs-21.4.20-r2 (11 Feb 2007)
MD5 df382940daa67bb8888fbae22d617cb4 files/README.Gentoo 1426
RMD160 2aee174f6eaa410ac036ad316fb860be340b17a7 files/README.Gentoo 1426
SHA256 9fa4fa31fc4deb0742dd220c8a1cf41af2bb4f4651e4f995589389afcc9f5f92 files/README.Gentoo 1426
-AUX emodules.info-21.4.8-gentoo.patch 468 RMD160 69ab6b478dc111f53ab384dc00c261099eb448e6 SHA1 da9c6a33004692ea430c0aa7ea872874d0e2bc06 SHA256 452eb79a6ac897dfb02cc330d60b98813bc739450b75cf4be6de642904f5ed3b
-MD5 115eb28610752622c6d6e1189d9e5ec8 files/emodules.info-21.4.8-gentoo.patch 468
-RMD160 69ab6b478dc111f53ab384dc00c261099eb448e6 files/emodules.info-21.4.8-gentoo.patch 468
-SHA256 452eb79a6ac897dfb02cc330d60b98813bc739450b75cf4be6de642904f5ed3b files/emodules.info-21.4.8-gentoo.patch 468
-AUX xemacs-21.4.17-gdbm.patch 639 RMD160 1cf73cd98df2189c37e98ed198fb3c1941f967b4 SHA1 c7812074cb6d61c2f39ba6739d559c25e17e6e12 SHA256 9e7d5cbdf3b8f60e6135187d32f3fe8f83281a14752eb16c0e018eef15491525
-MD5 0da90396cb9e3ca915e9e00a2f99ee32 files/xemacs-21.4.17-gdbm.patch 639
-RMD160 1cf73cd98df2189c37e98ed198fb3c1941f967b4 files/xemacs-21.4.17-gdbm.patch 639
-SHA256 9e7d5cbdf3b8f60e6135187d32f3fe8f83281a14752eb16c0e018eef15491525 files/xemacs-21.4.17-gdbm.patch 639
AUX xemacs-21.4.19-db.patch 3157 RMD160 354d4b70dce5313ecd8732336b2562f66153c351 SHA1 f83a0870a07a10ec5f177c0e0292607463ff095a SHA256 c0c0cf18ccd01ee0e34e913c4f275977f4f61aa7343fef9fdff1f3ba84096022
MD5 a12de857b01fe56475a9221b8a93325f files/xemacs-21.4.19-db.patch 3157
RMD160 354d4b70dce5313ecd8732336b2562f66153c351 files/xemacs-21.4.19-db.patch 3157
RMD160 d403dc435a74e15947ba510d65127894cb61a4b3 files/xemacs.desktop 1092
SHA256 d5dd098117cd70f82a9dcb9b74a31e379251d0c21526111d6cbfbb2397f9e7e6 files/xemacs.desktop 1092
DIST NeXT_XEmacs.tar.gz 39571 RMD160 3c2cedf75e4ece412031b20a15614a78367393f4 SHA1 619912734b1a1fae5115941b904d41beb4765b47 SHA256 35a0d988fd4ee801572639a99798571aa9fad140ddbed1455565ae9d5e0086c7
-DIST xemacs-21.4.17.tar.gz 10626826 RMD160 d42ca370ba916f0147b368bd7db2cc6c523646ae SHA1 274812bee5f8010ca3d56b517026270d94415f33 SHA256 b4134cf75b69e4a89fbc73c75c84fa8dc3cdcc8bd5f48aa489bf894040aefa17
-DIST xemacs-21.4.19.tar.gz 11122888 RMD160 5e2fdd5073934efa6c42fd44cb6d9f6588754314 SHA1 638a58db6794d3424e13ad65932697ad1343ab69 SHA256 222600b14465963dd827e2bf5a0a9a5133eabf6333e679d20f6afd5fe5bd122d
DIST xemacs-21.4.20.tar.gz 8408589 RMD160 95eb4d5fd9dfcc6575e805434daaf41701c8b5f0 SHA1 651e8c2fcf680c577375a6d623bb9228a56f3a0d SHA256 1062a9bfc719054e6873f9280d6ecc51fbed75a104e0582d378b7ee7bcac64f0
-EBUILD xemacs-21.4.17.ebuild 5055 RMD160 70037d0363a969817440bff94cc0c1c5877396f6 SHA1 e09289354b057d80fe029ea8c1fd8a15f2eba1e9 SHA256 2dab6dff04290d0aa17cd38648c9ca65c13a5129459c35d22b6fa95d5a789590
-MD5 8b1f6863027886f7a8fc5accd066d487 xemacs-21.4.17.ebuild 5055
-RMD160 70037d0363a969817440bff94cc0c1c5877396f6 xemacs-21.4.17.ebuild 5055
-SHA256 2dab6dff04290d0aa17cd38648c9ca65c13a5129459c35d22b6fa95d5a789590 xemacs-21.4.17.ebuild 5055
-EBUILD xemacs-21.4.19-r2.ebuild 5689 RMD160 20f1b33ee6b4f7d5b53f3a23015b862634700542 SHA1 7e5f8577f66f72c98f6ad3a1a161da5d992b7ec1 SHA256 34a3310638299bb2a7ebf22fa001c2552b683f7c69ee2e2b361d08d0b2c7b4c9
-MD5 65c9c527b49fcdcb2a4bfd6a34d15ee0 xemacs-21.4.19-r2.ebuild 5689
-RMD160 20f1b33ee6b4f7d5b53f3a23015b862634700542 xemacs-21.4.19-r2.ebuild 5689
-SHA256 34a3310638299bb2a7ebf22fa001c2552b683f7c69ee2e2b361d08d0b2c7b4c9 xemacs-21.4.19-r2.ebuild 5689
EBUILD xemacs-21.4.20-r1.ebuild 5969 RMD160 50d1c386728b64fe2f50a71dd43900278b7babfc SHA1 f64327751269e981b0284cb3075d91d3674b5446 SHA256 a7fe5f52eaa90962eb346ba56ef51f1f2ab1f816b4f5ddcc8744dafcdbcae45a
MD5 fdd968c57346c841f10bb14d5299218e xemacs-21.4.20-r1.ebuild 5969
RMD160 50d1c386728b64fe2f50a71dd43900278b7babfc xemacs-21.4.20-r1.ebuild 5969
MD5 d93cd340795f6bf6bcc9c01a074ebae3 xemacs-21.4.20-r2.ebuild 6382
RMD160 4c7702c2b9cdb8d493c5007ff69ca0a666781128 xemacs-21.4.20-r2.ebuild 6382
SHA256 009c87f96487e5482b78775b82ee86c19ffe4ec181dbc891f90749675baf4232 xemacs-21.4.20-r2.ebuild 6382
-MISC ChangeLog 14962 RMD160 7ac9e02119e58dacdefa14ee6a98ab4f2e86460e SHA1 fe10058b9e8b258d487bbce2091c508a3a7dfa80 SHA256 d17dd1b1a57e00d2230951ec17c02375aa3a33cbfa5e2a3b5d2fe292ef4b086c
-MD5 be538e5e7ddfcb83f076cc29b4415f24 ChangeLog 14962
-RMD160 7ac9e02119e58dacdefa14ee6a98ab4f2e86460e ChangeLog 14962
-SHA256 d17dd1b1a57e00d2230951ec17c02375aa3a33cbfa5e2a3b5d2fe292ef4b086c ChangeLog 14962
+MISC ChangeLog 15192 RMD160 cb2c5724cd946bf5fcc4fc61c8198a0ea1584583 SHA1 152a86f57c254b8f1af6a2c057551a292577177f SHA256 5df849b8de53d43be8878a3b7a4d98f4321712402a34a367c72fa9de11081255
+MD5 8ac7d78476fe531b541f14c322457ebc ChangeLog 15192
+RMD160 cb2c5724cd946bf5fcc4fc61c8198a0ea1584583 ChangeLog 15192
+SHA256 5df849b8de53d43be8878a3b7a4d98f4321712402a34a367c72fa9de11081255 ChangeLog 15192
MISC metadata.xml 365 RMD160 21028f8736b367db1d2cf1d46baedc881ded15da SHA1 a9900a09ce68ac0ae674b5913d033c7afaa85272 SHA256 cbe62b1685c4809f53fc7b8243f0662f6a57bcfe7fd49ac7138f970a3f94f6ea
MD5 0f39d0139849956930b1a500aca9c6de metadata.xml 365
RMD160 21028f8736b367db1d2cf1d46baedc881ded15da metadata.xml 365
SHA256 cbe62b1685c4809f53fc7b8243f0662f6a57bcfe7fd49ac7138f970a3f94f6ea metadata.xml 365
-MD5 3314f2e2f21bfed60854f2ac9cc8034b files/digest-xemacs-21.4.17 482
-RMD160 620748ad633de80ec2ee8b98f1144e6ae81a9b9c files/digest-xemacs-21.4.17 482
-SHA256 040735bf31c71d29c042ed014cc6b0ddfc42d139d7e6482ceed287fce360c2fe files/digest-xemacs-21.4.17 482
-MD5 ab3fb5219939083562a9fe2fd5c588da files/digest-xemacs-21.4.19-r2 482
-RMD160 08b6ce96a97da0c37b941073a5414d7fa03299b6 files/digest-xemacs-21.4.19-r2 482
-SHA256 82c5f4c35e2008e6497baacaa4d06c7b07b9b9ebeebdc12a433fd8ae1262391f files/digest-xemacs-21.4.19-r2 482
MD5 860ba1eea1427bc1afbbe83b973c5af8 files/digest-xemacs-21.4.20-r1 479
RMD160 50b7164833764e4eb89d40f125a488c7201d835e files/digest-xemacs-21.4.20-r1 479
SHA256 e8e79285b714e784a08a5b88e8cc1e5a725b99edd91820b7d259ad9d9a6fee67 files/digest-xemacs-21.4.20-r1 479
+++ /dev/null
-MD5 95c531ec2639990a09e92c59a855784e NeXT_XEmacs.tar.gz 39571
-RMD160 3c2cedf75e4ece412031b20a15614a78367393f4 NeXT_XEmacs.tar.gz 39571
-SHA256 35a0d988fd4ee801572639a99798571aa9fad140ddbed1455565ae9d5e0086c7 NeXT_XEmacs.tar.gz 39571
-MD5 835d539709fbbe8e30cd5de8b3541aa1 xemacs-21.4.17.tar.gz 10626826
-RMD160 d42ca370ba916f0147b368bd7db2cc6c523646ae xemacs-21.4.17.tar.gz 10626826
-SHA256 b4134cf75b69e4a89fbc73c75c84fa8dc3cdcc8bd5f48aa489bf894040aefa17 xemacs-21.4.17.tar.gz 10626826
+++ /dev/null
-MD5 95c531ec2639990a09e92c59a855784e NeXT_XEmacs.tar.gz 39571
-RMD160 3c2cedf75e4ece412031b20a15614a78367393f4 NeXT_XEmacs.tar.gz 39571
-SHA256 35a0d988fd4ee801572639a99798571aa9fad140ddbed1455565ae9d5e0086c7 NeXT_XEmacs.tar.gz 39571
-MD5 3f753e2cc22a428c7d775339f29c7e46 xemacs-21.4.19.tar.gz 11122888
-RMD160 5e2fdd5073934efa6c42fd44cb6d9f6588754314 xemacs-21.4.19.tar.gz 11122888
-SHA256 222600b14465963dd827e2bf5a0a9a5133eabf6333e679d20f6afd5fe5bd122d xemacs-21.4.19.tar.gz 11122888
+++ /dev/null
---- info/emodules.info.original Fri May 10 17:29:36 2002
-+++ info/emodules.info Fri May 10 17:29:17 2002
-@@ -1,6 +1,11 @@
- This is ../info/emodules.info, produced by makeinfo version 4.1 from
- emodules.texi.
-
-+INFO-DIR-SECTION XEmacs Editor
-+START-INFO-DIR-ENTRY
-+* emodules: (emodules). XEmacs module loading technology.
-+END-INFO-DIR-ENTRY
-+
- This file documents the module loading technology of XEmacs.
-
- Copyright (C) 1998 J. Kean Johnston.
+++ /dev/null
---- configure.in.orig 2004-09-10 14:38:08.812210820 -0700
-+++ configure.in 2004-09-10 14:39:26.267741413 -0700
-@@ -4421,10 +4421,13 @@
- if test "$with_database_gdbm" != "no"; then
- AC_CHECK_LIB(gdbm, dbm_open, [
- with_database_gdbm=yes with_database_dbm=no libdbm=-lgdbm], [
-+ AC_CHECK_LIB(gdbm_compat, dbm_open, [
-+ with_database_gdbm=yes with_database_dbm=no libdbm="-lgdbm -lgdbm_compat"], [
- if test "$with_database_gdbm" = "yes"; then
- XE_DIE("Required GNU DBM support cannot be provided.")
- fi
-- with_database_gdbm=no])
-+ with_database_gdbm=no], -lgdbm)
-+ ])
- fi
-
- dnl Check for DBM support in libc and libdbm.
+++ /dev/null
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-editors/xemacs/xemacs-21.4.17.ebuild,v 1.5 2006/08/24 07:49:32 corsair Exp $
-
-inherit eutils
-
-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="gpm postgres ldap xface nas dnd X jpeg tiff png mule motif freewnn canna athena neXt Xaw3d berkdb"
-
-X_DEPEND="x11-misc/xbitmaps x11-libs/libXt x11-libs/libXmu x11-libs/libXext"
-
-DEPEND="virtual/libc
- !virtual/xemacs
- berkdb? ( =sys-libs/db-1* >=sys-libs/gdbm-1.8.0 )
- >=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? ( >=dev-db/postgresql-7.2 )
- ldap? ( net-nds/openldap )
- nas? ( media-libs/nas )
- dnd? ( x11-libs/dnd )
- motif? ( >=x11-libs/openmotif-2.1.30 )
- athena? ( || ( ( $X_DEPEND x11-libs/libXaw ) virtual/x11 ) )
- Xaw3d? ( x11-libs/Xaw3d )
- neXt? ( x11-libs/neXtaw )
- xface? ( media-libs/compface )
- tiff? ( media-libs/tiff )
- png? ( =media-libs/libpng-1.2* )
- jpeg? ( media-libs/jpeg )
- canna? ( app-i18n/canna )
- !amd64? ( freewnn? ( app-i18n/freewnn ) )
- >=sys-libs/ncurses-5.2
- X? ( || ( ( $X_DEPEND ) virtual/x11 ) )"
-
-PDEPEND="app-xemacs/xemacs-base
- mule? ( app-xemacs/mule-base )"
-
-PROVIDE="virtual/xemacs virtual/editor"
-
-src_unpack() {
- unpack ${P}.tar.gz
- unpack NeXT_XEmacs.tar.gz
-
- cd ${S}
- epatch ${FILESDIR}/emodules.info-21.4.8-gentoo.patch
-
- # see bug 58350
- epatch ${FILESDIR}/${P}-gdbm.patch
- autoconf-2.13
- use neXt && cp ${WORKDIR}/NeXT.XEmacs/xemacs-icons/* ${S}/etc/toolbar/
-}
-
-src_compile() {
- local myconf=""
-
- if use X; then
-
- myconf="--with-widgets=lucid"
- myconf="${myconf} --with-dialogs=lucid"
- myconf="${myconf} --with-scrollbars=lucid"
- myconf="${myconf} --with-menubars=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-widgets=athena"
- if use Xaw3d ; then
- myconf="${myconf} --with-athena=xaw3d"
- elif use neXt ; then
- myconf="${myconf} --with-athena=next"
- else
- myconf="${myconf} --with-athena=3d"
- fi
- myconf="${myconf} --with-dialogs=athena"
- myconf="${myconf} --with-scrollbars=lucid"
- myconf="${myconf} --with-menubars=lucid"
- fi
-
- myconf="${myconf}
- --with-gif=no"
-
- use dnd && myconf="${myconf} --with-dragndrop --with-offix"
-
- use tiff && myconf="${myconf} --with-tiff" ||
- myconf="${myconf} --without-tiff"
- use png && myconf="${myconf} --with-png" ||
- myconf="${myconf} --without-png"
- use jpeg && myconf="${myconf} --with-jpeg" ||
- myconf="${myconf} --without-jpeg"
- use xface && myconf="${myconf} --with-xface" ||
- myconf="${myconf} --without-xface"
-
- else
- myconf="${myconf}
- --without-x
- --without-xpm
- --without-dragndrop
- --with-gif=no"
- fi
-
- use gpm && myconf="${myconf} --with-gpm" ||
- myconf="${myconf} --without-gpm"
- use postgres && myconf="${myconf} --with-postgresql" ||
- myconf="${myconf} --without-postgresql"
- use ldap && myconf="${myconf} --with-ldap" ||
- myconf="${myconf} --without-ldap"
-
- if use mule ; then
- myconf="${myconf} --with-mule"
- use motif && myconf="${myconf} --with-xim=motif" ||
- myconf="${myconf} --with-xim=xlib"
- use canna && myconf="${myconf} --with-canna" ||
- myconf="${myconf} --without-canna"
- use freewnn && myconf="${myconf} --with-wnn" ||
- myconf="${myconf} --without-wnn"
- fi
-
- local soundconf="native"
-
- use nas && soundconf="${soundconf},nas"
-
- myconf="${myconf} --with-sound=${soundconf}"
-
- local dbconf="gnudbm"
- if use berkdb; then
- myconf="${myconf} --with-database=${dbconf}"
- else
- myconf="${myconf} --without-database"
- fi
-
- # fixes #21264
- use alpha && myconf="${myconf} --with-system-malloc"
-
- use ppc64 && myconf="${myconf} --with-system-malloc"
-
- ./configure ${myconf} \
- --prefix=/usr \
- --with-pop \
- --with-ncurses \
- --with-msw=no \
- --mail-locking=flock \
- --with-site-lisp=yes \
- --with-site-modules=yes \
- || die
-
- # emake dont work on faster boxes it seems
- # azarah (04 Aug 2002)
- make || die
-}
-
-src_install() {
- make prefix=${D}/usr \
- mandir=${D}/usr/share/man/man1 \
- infodir=${D}/usr/share/info \
- install gzip-el || die
-
- # 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 files
- cd ${D}/usr/share/info
- rm -f dir info.info texinfo* termcap*
- cd ${S}
- dodoc BUGS CHANGES-* ChangeLog GETTING* INSTALL PROBLEMS README*
- dodoc ${FILESDIR}/README.Gentoo
- rm -f ${D}/usr/share/info/emodules.info~*
-}
+++ /dev/null
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-editors/xemacs/xemacs-21.4.19-r2.ebuild,v 1.1 2006/12/10 11:40:16 graaff Exp $
-
-export WANT_AUTOCONF="2.1"
-inherit autotools eutils
-
-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 athena neXt Xaw3d gdbm berkdb"
-
-X_DEPEND="x11-libs/libXt x11-libs/libXmu x11-libs/libXext x11-misc/xbitmaps"
-
-DEPEND="virtual/libc
- !virtual/xemacs
- 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? ( >=dev-db/postgresql-7.2 )
- ldap? ( net-nds/openldap )
- nas? ( media-libs/nas )
- dnd? ( x11-libs/dnd )
- motif? ( >=x11-libs/openmotif-2.1.30 )
- athena? ( || ( ( $X_DEPEND x11-libs/libXaw ) virtual/x11 ) )
- Xaw3d? ( x11-libs/Xaw3d )
- neXt? ( x11-libs/neXtaw )
- xface? ( media-libs/compface )
- tiff? ( media-libs/tiff )
- png? ( =media-libs/libpng-1.2* )
- jpeg? ( media-libs/jpeg )
- canna? ( app-i18n/canna )
- !amd64? ( freewnn? ( app-i18n/freewnn ) )
- >=sys-libs/ncurses-5.2
- X? ( || ( ( $X_DEPEND ) virtual/x11 ) )"
-
-PDEPEND="app-xemacs/xemacs-base
- mule? ( app-xemacs/mule-base )"
-
-PROVIDE="virtual/xemacs virtual/editor"
-
-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
-
- # 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"
-
- use tiff && myconf="${myconf} --with-tiff" ||
- myconf="${myconf} --without-tiff"
- use png && myconf="${myconf} --with-png" ||
- myconf="${myconf} --without-png"
- use jpeg && myconf="${myconf} --with-jpeg" ||
- myconf="${myconf} --without-jpeg"
- use xface && myconf="${myconf} --with-xface" ||
- myconf="${myconf} --without-xface"
-
- else
- myconf="${myconf}
- --without-x
- --without-xpm
- --without-dragndrop
- --with-gif=no"
- fi
-
- if use mule ; then
- myconf="${myconf} --with-mule"
- use motif && myconf="${myconf} --with-xim=motif" ||
- myconf="${myconf} --with-xim=xlib"
- use canna && myconf="${myconf} --with-canna" ||
- myconf="${myconf} --without-canna"
- use freewnn && myconf="${myconf} --with-wnn" ||
- myconf="${myconf} --without-wnn"
- fi
-
- local soundconf="native"
-
- 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
- use alpha && myconf="${myconf} --with-system-malloc"
-
- use ppc64 && myconf="${myconf} --with-system-malloc"
-
- # 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 ) \
- --prefix=/usr \
- --with-ncurses \
- --with-msw=no \
- --mail-locking=flock \
- --with-site-lisp=yes \
- --with-site-modules=yes \
- || die
-
- emake || die
-}
-
-src_install() {
- make prefix="${D}"/usr \
- mandir="${D}"/usr/share/man/man1 \
- infodir="${D}"/usr/share/info \
- install gzip-el || die
-
- # 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"
- dosym /usr/bin/${i}-xemacs /usr/bin/${i}
- 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
-
- insinto /usr/share/pixmaps
- newins "${S}"/etc/${PN}-icon.xpm ${PN}.xpm
-
- insinto /usr/share/applications
- doins "${FILESDIR}"/${PN}.desktop
-}
-