diff options
author | Ulrich Müller <ulm@gentoo.org> | 2013-03-27 19:41:34 +0100 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2013-03-27 19:41:34 +0100 |
commit | b602a1a27f6da7c692ca33058773ae895817e4ea (patch) | |
tree | 9a3faf1fd8fe5d9da92645a5c7c2ac80d6596ba4 | |
parent | Remove flag description for inotify, it is a global USE flag now. (diff) | |
download | emacs-b602a1a27f6da7c692ca33058773ae895817e4ea.tar.gz emacs-b602a1a27f6da7c692ca33058773ae895817e4ea.tar.bz2 emacs-b602a1a27f6da7c692ca33058773ae895817e4ea.zip |
Merge changes from emacs-vcs.
Package-Manager: portage-2.1.11.58
-rw-r--r-- | app-editors/emacs-xwidget/ChangeLog | 4 | ||||
-rw-r--r-- | app-editors/emacs-xwidget/emacs-xwidget-24.3.9999.ebuild | 18 | ||||
-rw-r--r-- | app-editors/emacs-xwidget/metadata.xml | 1 |
3 files changed, 14 insertions, 9 deletions
diff --git a/app-editors/emacs-xwidget/ChangeLog b/app-editors/emacs-xwidget/ChangeLog index bcedcb0..4324f58 100644 --- a/app-editors/emacs-xwidget/ChangeLog +++ b/app-editors/emacs-xwidget/ChangeLog @@ -2,6 +2,10 @@ # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ + 27 Mar 2013; Ulrich Müller <ulm@gentoo.org> emacs-xwidget-24.3.9999.ebuild, + metadata.xml: + Merge changes from emacs-vcs. + 21 Mar 2013; Ulrich Müller <ulm@gentoo.org> emacs-xwidget-24.3.9999.ebuild, metadata.xml: Merge changes from emacs-vcs. diff --git a/app-editors/emacs-xwidget/emacs-xwidget-24.3.9999.ebuild b/app-editors/emacs-xwidget/emacs-xwidget-24.3.9999.ebuild index 952e7b0..d6d453a 100644 --- a/app-editors/emacs-xwidget/emacs-xwidget-24.3.9999.ebuild +++ b/app-editors/emacs-xwidget/emacs-xwidget-24.3.9999.ebuild @@ -32,7 +32,7 @@ HOMEPAGE="http://www.gnu.org/software/emacs/ LICENSE="GPL-3+ FDL-1.3+ BSD HPND MIT W3C unicode PSF-2" SLOT="24" KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" -IUSE="acl alsa aqua athena dbus games gconf gif gnutls gpm gsettings gtk +gtk3 gzip-el hesiod imagemagick inotify jpeg kerberos libxml2 livecd m17n-lib motif pax_kernel png selinux sound source svg tiff toolkit-scroll-bars wide-int X Xaw3d xft +xpm xwidgets" +IUSE="acl alsa aqua athena dbus games gconf gif gnutls gpm gsettings gtk +gtk3 gzip-el hesiod imagemagick +inotify jpeg kerberos libxml2 livecd m17n-lib motif pax_kernel png selinux sound source svg tiff toolkit-scroll-bars wide-int X Xaw3d xft +xpm xwidgets" REQUIRED_USE="?? ( aqua X )" RDEPEND="sys-libs/ncurses @@ -210,7 +210,7 @@ src_configure() { ! use gtk && use xwidgets && ewarn \ "USE flag \"xwidgets\" has no effect if \"gtk\" is not set." elif use aqua; then - einfo "Configuring to build with Cocoa support" + einfo "Configuring to build with Nextstep (Cocoa) support" myconf+=" --with-ns --disable-ns-self-contained" myconf+=" --without-x" else @@ -272,22 +272,24 @@ src_install () { # remove unused <version>/site-lisp dir rm -rf "${ED}"/usr/share/emacs/${FULL_VERSION}/site-lisp - local c=";;" + local cdir if use source; then - insinto /usr/share/emacs/${FULL_VERSION}/src + cdir="/usr/share/emacs/${FULL_VERSION}/src" + insinto "${cdir}" # This is not meant to install all the source -- just the # C source you might find via find-function doins src/*.{c,h,m} - c="" + elif has installsources ${FEATURES}; then + cdir="/usr/src/debug/${CATEGORY}/${PF}/${S#"${WORKDIR}/"}/src" fi - sed 's/^X//' >"${T}/${SITEFILE}" <<-EOF + sed -e "${cdir:+#}/^Y/d" -e "s/^[XY]//" >"${T}/${SITEFILE}" <<-EOF X ;;; ${PN}-${SLOT} site-lisp configuration X (when (string-match "\\\\\`${FULL_VERSION//./\\\\.}\\\\>" emacs-version) - X ${c}(setq find-function-C-source-directory - X ${c} "${EPREFIX}/usr/share/emacs/${FULL_VERSION}/src") + Y (setq find-function-C-source-directory + Y "${EPREFIX}${cdir}") X (let ((path (getenv "INFOPATH")) X (dir "${EPREFIX}/usr/share/info/${EMACS_SUFFIX}") X (re "\\\\\`${EPREFIX}/usr/share/info\\\\>")) diff --git a/app-editors/emacs-xwidget/metadata.xml b/app-editors/emacs-xwidget/metadata.xml index 9d419db..aed3cc2 100644 --- a/app-editors/emacs-xwidget/metadata.xml +++ b/app-editors/emacs-xwidget/metadata.xml @@ -30,7 +30,6 @@ <flag name='hesiod'>Enable support for <pkg>net-dns/hesiod</pkg></flag> <flag name='imagemagick'>Use <pkg>media-gfx/imagemagick</pkg> for image processing</flag> - <flag name='inotify'>Enable inotify filesystem monitoring support</flag> <flag name='libxml2'>Use <pkg>dev-libs/libxml2</pkg> to parse XML instead of the internal Lisp implementations</flag> <flag name='pax_kernel'>Enable building under a PaX enabled kernel |