From: "Ulrich Müller" <ulm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/emacs:master commit in: app-editors/emacs-vcs/
Date: Wed, 19 Feb 2014 21:49:49 +0000 (UTC) [thread overview]
Message-ID: <1392846529.193bbdfde5d1ab4bcd46dcc26c960238781df929.ulm@gentoo> (raw)
commit: 193bbdfde5d1ab4bcd46dcc26c960238781df929
Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Wed Feb 19 21:48:49 2014 +0000
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Wed Feb 19 21:48:49 2014 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/emacs.git;a=commit;h=193bbdfd
Follow QA policy on gtk and gtk3 USE flags.
Package-Manager: portage-2.2.8-r1
---
app-editors/emacs-vcs/ChangeLog | 4 +++
app-editors/emacs-vcs/emacs-vcs-24.3.9999.ebuild | 46 ++++++++++++------------
app-editors/emacs-vcs/metadata.xml | 6 ++--
3 files changed, 32 insertions(+), 24 deletions(-)
diff --git a/app-editors/emacs-vcs/ChangeLog b/app-editors/emacs-vcs/ChangeLog
index 6acbfeb..2c2498e 100644
--- a/app-editors/emacs-vcs/ChangeLog
+++ b/app-editors/emacs-vcs/ChangeLog
@@ -2,6 +2,10 @@
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 19 Feb 2014; Ulrich Müller <ulm@gentoo.org> emacs-vcs-24.3.9999.ebuild,
+ metadata.xml:
+ Follow QA policy on gtk and gtk3 USE flags.
+
19 Feb 2014; Ulrich Müller <ulm@gentoo.org> emacs-vcs-24.3.9999.ebuild:
Merge changes from Portage tree.
diff --git a/app-editors/emacs-vcs/emacs-vcs-24.3.9999.ebuild b/app-editors/emacs-vcs/emacs-vcs-24.3.9999.ebuild
index 159111d..5f89968 100644
--- a/app-editors/emacs-vcs/emacs-vcs-24.3.9999.ebuild
+++ b/app-editors/emacs-vcs/emacs-vcs-24.3.9999.ebuild
@@ -31,7 +31,7 @@ HOMEPAGE="http://www.gnu.org/software/emacs/"
LICENSE="GPL-3+ FDL-1.3+ BSD HPND MIT W3C unicode PSF-2"
SLOT="24"
-IUSE="acl alsa aqua athena dbus games gconf gfile 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 zlib"
+IUSE="acl alsa aqua athena dbus games gconf gfile 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 zlib"
REQUIRED_USE="?? ( aqua X )"
RDEPEND="sys-libs/ncurses
@@ -71,15 +71,15 @@ RDEPEND="sys-libs/ncurses
>=dev-libs/m17n-lib-1.5.1
)
)
- gtk? (
- gtk3? ( x11-libs/gtk+:3 )
- !gtk3? ( x11-libs/gtk+:2 )
- )
- !gtk? (
- motif? ( >=x11-libs/motif-2.3:0 )
- !motif? (
- Xaw3d? ( x11-libs/libXaw3d )
- !Xaw3d? ( athena? ( x11-libs/libXaw ) )
+ gtk3? ( x11-libs/gtk+:3 )
+ !gtk3? (
+ gtk? ( x11-libs/gtk+:2 )
+ !gtk? (
+ motif? ( >=x11-libs/motif-2.3:0 )
+ !motif? (
+ Xaw3d? ( x11-libs/libXaw3d )
+ !Xaw3d? ( athena? ( x11-libs/libXaw ) )
+ )
)
)
)"
@@ -168,21 +168,15 @@ src_configure() {
"USE flag \"m17n-lib\" has no effect if \"xft\" is not set."
fi
- local f
- if use gtk; then
- einfo "Configuring to build with GIMP Toolkit (GTK+)"
- myconf+=" --with-x-toolkit=$(usex gtk3 gtk3 gtk2)"
- for f in motif Xaw3d athena; do
- use ${f} && ewarn \
- "USE flag \"${f}\" has no effect if \"gtk\" is set."
- done
+ if use gtk3; then
+ einfo "Configuring to build with GIMP Toolkit (GTK+) version 3"
+ myconf+=" --with-x-toolkit=gtk3"
+ elif use gtk; then
+ einfo "Configuring to build with GIMP Toolkit (GTK+) version 2"
+ myconf+=" --with-x-toolkit=gtk2"
elif use motif; then
einfo "Configuring to build with Motif toolkit"
myconf+=" --with-x-toolkit=motif"
- for f in Xaw3d athena; do
- use ${f} && ewarn \
- "USE flag \"${f}\" has no effect if \"motif\" is set."
- done
elif use athena || use Xaw3d; then
einfo "Configuring to build with Athena/Lucid toolkit"
myconf+=" --with-x-toolkit=lucid $(use_with Xaw3d xaw3d)"
@@ -190,6 +184,14 @@ src_configure() {
einfo "Configuring to build with no toolkit"
myconf+=" --with-x-toolkit=no"
fi
+
+ local f tk
+ for f in gtk3 gtk motif Xaw3d athena; do
+ use ${f} || continue
+ [[ ${tk} = gtk* || ${tk} = motif ]] \
+ && ewarn "USE flag \"${f}\" ignored (superseded by \"${tk}\")"
+ : ${tk:=${f}}
+ done
elif use aqua; then
einfo "Configuring to build with Nextstep (Cocoa) support"
myconf+=" --with-ns --disable-ns-self-contained"
diff --git a/app-editors/emacs-vcs/metadata.xml b/app-editors/emacs-vcs/metadata.xml
index 358a70c..b648feb 100644
--- a/app-editors/emacs-vcs/metadata.xml
+++ b/app-editors/emacs-vcs/metadata.xml
@@ -26,8 +26,10 @@
notification</flag>
<flag name='gsettings'>Use gsettings (<pkg>dev-libs/glib</pkg>) to read the
system font name</flag>
- <flag name='gtk3'>Link against version 3 of the GIMP Toolkit instead of
- version 2 (<pkg>x11-libs/gtk+</pkg>)</flag>
+ <flag name='gtk'>Add support for <pkg>x11-libs/gtk+</pkg>
+ (the GIMP Toolkit) version 2</flag>
+ <flag name='gtk3'>Add support for <pkg>x11-libs/gtk+</pkg>
+ (the GIMP Toolkit) version 3</flag>
<flag name='gzip-el'>Compress bundled Emacs Lisp source</flag>
<flag name='hesiod'>Enable support for <pkg>net-dns/hesiod</pkg></flag>
<flag name='imagemagick'>Use <pkg>media-gfx/imagemagick</pkg> for image
next reply other threads:[~2014-02-19 21:49 UTC|newest]
Thread overview: 34+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-19 21:49 Ulrich Müller [this message]
-- strict thread matches above, loose matches on Subject: below --
2016-05-28 6:53 [gentoo-commits] proj/emacs:master commit in: app-editors/emacs-vcs/ Ulrich Müller
2016-03-21 9:45 Ulrich Müller
2015-02-21 12:03 Ulrich Müller
2015-02-19 22:07 Ulrich Müller
2015-02-09 12:09 Ulrich Müller
2015-02-01 21:31 Ulrich Müller
2015-02-01 15:51 Ulrich Müller
2015-02-01 13:55 Ulrich Müller
2015-01-23 6:10 Ulrich Müller
2015-01-21 21:43 Ulrich Müller
2014-12-29 11:12 Ulrich Müller
2014-11-13 23:16 Ulrich Müller
2014-11-10 20:11 Ulrich Müller
2014-10-02 20:44 Ulrich Müller
2014-05-18 14:56 Ulrich Müller
2014-05-05 8:16 Ulrich Müller
2014-04-08 5:22 Ulrich Müller
2014-04-04 18:49 Ulrich Müller
2014-03-26 11:53 Ulrich Müller
2014-03-15 7:26 Ulrich Müller
2014-03-13 19:09 Ulrich Müller
2014-02-19 20:15 Ulrich Müller
2014-01-19 17:31 Ulrich Müller
2013-12-29 10:07 Ulrich Müller
2013-08-31 22:33 Ulrich Mueller
2013-08-14 6:29 Ulrich Mueller
2013-08-13 18:10 Ulrich Mueller
2013-08-12 7:29 Ulrich Mueller
2013-08-02 16:38 Ulrich Mueller
2013-07-14 15:41 Ulrich Mueller
2013-07-11 21:24 Ulrich Mueller
2013-06-09 7:15 Ulrich Mueller
2013-06-08 21:11 Ulrich Mueller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1392846529.193bbdfde5d1ab4bcd46dcc26c960238781df929.ulm@gentoo \
--to=ulm@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox