diff options
author | Ulrich Müller <ulm@gentoo.org> | 2015-07-28 12:16:35 +0000 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2015-07-28 12:16:35 +0000 |
commit | d3349cdd3d08a468dbef4b40ec11833a5497db3c (patch) | |
tree | c291c6eca1bbcb3e7a9648866ca3d08e963278a7 /app-editors | |
parent | Version bump. (diff) | |
download | gentoo-2-d3349cdd3d08a468dbef4b40ec11833a5497db3c.tar.gz gentoo-2-d3349cdd3d08a468dbef4b40ec11833a5497db3c.tar.bz2 gentoo-2-d3349cdd3d08a468dbef4b40ec11833a5497db3c.zip |
Enable cairo only if xft is also enabled, bug 555622.
(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 9433907D693FB5B8!)
Diffstat (limited to 'app-editors')
4 files changed, 24 insertions, 10 deletions
diff --git a/app-editors/emacs-vcs/ChangeLog b/app-editors/emacs-vcs/ChangeLog index 7b5179da7646..58058a89c706 100644 --- a/app-editors/emacs-vcs/ChangeLog +++ b/app-editors/emacs-vcs/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-editors/emacs-vcs # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs-vcs/ChangeLog,v 1.198 2015/07/25 06:53:45 ulm Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs-vcs/ChangeLog,v 1.199 2015/07/28 12:16:35 ulm Exp $ + + 28 Jul 2015; Ulrich Müller <ulm@gentoo.org> + emacs-vcs-25.0.50_pre20150531.ebuild, emacs-vcs-25.0.50_pre20150630.ebuild, + emacs-vcs-25.0.9999-r1.ebuild: + Enable cairo only if xft is also enabled, bug 555622. *emacs-vcs-25.0.50_pre20150523 (25 Jul 2015) diff --git a/app-editors/emacs-vcs/emacs-vcs-25.0.50_pre20150531.ebuild b/app-editors/emacs-vcs/emacs-vcs-25.0.50_pre20150531.ebuild index 6cb578d3a08f..f3f042e2c22c 100644 --- a/app-editors/emacs-vcs/emacs-vcs-25.0.50_pre20150531.ebuild +++ b/app-editors/emacs-vcs/emacs-vcs-25.0.50_pre20150531.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs-vcs/emacs-vcs-25.0.50_pre20150531.ebuild,v 1.2 2015/07/02 16:22:10 ulm Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs-vcs/emacs-vcs-25.0.50_pre20150531.ebuild,v 1.3 2015/07/28 12:16:35 ulm Exp $ EAPI=5 @@ -51,7 +51,6 @@ RDEPEND="sys-libs/ncurses x11-libs/libXmu x11-libs/libXt x11-misc/xbitmaps - cairo? ( >=x11-libs/cairo-1.12.18 ) gconf? ( >=gnome-base/gconf-2.26.2 ) gsettings? ( >=dev-libs/glib-2.28.6 ) gif? ( media-libs/giflib ) @@ -65,6 +64,7 @@ RDEPEND="sys-libs/ncurses media-libs/fontconfig media-libs/freetype x11-libs/libXft + cairo? ( >=x11-libs/cairo-1.12.18 ) m17n-lib? ( >=dev-libs/libotf-0.9.4 >=dev-libs/m17n-lib-1.5.1 @@ -144,7 +144,6 @@ src_configure() { if use X; then myconf+=" --with-x --without-ns" - myconf+=" $(use_with cairo)" myconf+=" $(use_with gconf)" myconf+=" $(use_with gsettings)" myconf+=" $(use_with toolkit-scroll-bars)" @@ -158,11 +157,15 @@ src_configure() { if use xft; then myconf+=" --with-xft" + myconf+=" $(use_with cairo)" myconf+=" $(use_with m17n-lib libotf)" myconf+=" $(use_with m17n-lib m17n-flt)" else myconf+=" --without-xft" + myconf+=" --without-cairo" myconf+=" --without-libotf --without-m17n-flt" + use cairo && ewarn \ + "USE flag \"cairo\" has no effect if \"xft\" is not set." use m17n-lib && ewarn \ "USE flag \"m17n-lib\" has no effect if \"xft\" is not set." fi diff --git a/app-editors/emacs-vcs/emacs-vcs-25.0.50_pre20150630.ebuild b/app-editors/emacs-vcs/emacs-vcs-25.0.50_pre20150630.ebuild index eeecd095309c..4c889d4ec298 100644 --- a/app-editors/emacs-vcs/emacs-vcs-25.0.50_pre20150630.ebuild +++ b/app-editors/emacs-vcs/emacs-vcs-25.0.50_pre20150630.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs-vcs/emacs-vcs-25.0.50_pre20150630.ebuild,v 1.1 2015/07/02 16:22:10 ulm Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs-vcs/emacs-vcs-25.0.50_pre20150630.ebuild,v 1.2 2015/07/28 12:16:35 ulm Exp $ EAPI=5 @@ -51,7 +51,6 @@ RDEPEND="sys-libs/ncurses x11-libs/libXmu x11-libs/libXt x11-misc/xbitmaps - cairo? ( >=x11-libs/cairo-1.12.18 ) gconf? ( >=gnome-base/gconf-2.26.2 ) gsettings? ( >=dev-libs/glib-2.28.6 ) gif? ( media-libs/giflib ) @@ -65,6 +64,7 @@ RDEPEND="sys-libs/ncurses media-libs/fontconfig media-libs/freetype x11-libs/libXft + cairo? ( >=x11-libs/cairo-1.12.18 ) m17n-lib? ( >=dev-libs/libotf-0.9.4 >=dev-libs/m17n-lib-1.5.1 @@ -144,7 +144,6 @@ src_configure() { if use X; then myconf+=" --with-x --without-ns" - myconf+=" $(use_with cairo)" myconf+=" $(use_with gconf)" myconf+=" $(use_with gsettings)" myconf+=" $(use_with toolkit-scroll-bars)" @@ -158,11 +157,15 @@ src_configure() { if use xft; then myconf+=" --with-xft" + myconf+=" $(use_with cairo)" myconf+=" $(use_with m17n-lib libotf)" myconf+=" $(use_with m17n-lib m17n-flt)" else myconf+=" --without-xft" + myconf+=" --without-cairo" myconf+=" --without-libotf --without-m17n-flt" + use cairo && ewarn \ + "USE flag \"cairo\" has no effect if \"xft\" is not set." use m17n-lib && ewarn \ "USE flag \"m17n-lib\" has no effect if \"xft\" is not set." fi diff --git a/app-editors/emacs-vcs/emacs-vcs-25.0.9999-r1.ebuild b/app-editors/emacs-vcs/emacs-vcs-25.0.9999-r1.ebuild index e13ca0be8c94..6c3cb7c9e62e 100644 --- a/app-editors/emacs-vcs/emacs-vcs-25.0.9999-r1.ebuild +++ b/app-editors/emacs-vcs/emacs-vcs-25.0.9999-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs-vcs/emacs-vcs-25.0.9999-r1.ebuild,v 1.9 2015/07/02 16:22:10 ulm Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs-vcs/emacs-vcs-25.0.9999-r1.ebuild,v 1.10 2015/07/28 12:16:35 ulm Exp $ EAPI=5 @@ -51,7 +51,6 @@ RDEPEND="sys-libs/ncurses x11-libs/libXmu x11-libs/libXt x11-misc/xbitmaps - cairo? ( >=x11-libs/cairo-1.12.18 ) gconf? ( >=gnome-base/gconf-2.26.2 ) gsettings? ( >=dev-libs/glib-2.28.6 ) gif? ( media-libs/giflib ) @@ -65,6 +64,7 @@ RDEPEND="sys-libs/ncurses media-libs/fontconfig media-libs/freetype x11-libs/libXft + cairo? ( >=x11-libs/cairo-1.12.18 ) m17n-lib? ( >=dev-libs/libotf-0.9.4 >=dev-libs/m17n-lib-1.5.1 @@ -144,7 +144,6 @@ src_configure() { if use X; then myconf+=" --with-x --without-ns" - myconf+=" $(use_with cairo)" myconf+=" $(use_with gconf)" myconf+=" $(use_with gsettings)" myconf+=" $(use_with toolkit-scroll-bars)" @@ -158,11 +157,15 @@ src_configure() { if use xft; then myconf+=" --with-xft" + myconf+=" $(use_with cairo)" myconf+=" $(use_with m17n-lib libotf)" myconf+=" $(use_with m17n-lib m17n-flt)" else myconf+=" --without-xft" + myconf+=" --without-cairo" myconf+=" --without-libotf --without-m17n-flt" + use cairo && ewarn \ + "USE flag \"cairo\" has no effect if \"xft\" is not set." use m17n-lib && ewarn \ "USE flag \"m17n-lib\" has no effect if \"xft\" is not set." fi |