Gentoo Archives: gentoo-commits

From: "Ulrich Müller" <ulm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-editors/emacs-vcs/
Date: Sat, 10 Aug 2019 11:16:43
Message-Id: 1565435788.a2bcc1d9959a2c8f74fdff375b9c9907b298652d.ulm@gentoo
1 commit: a2bcc1d9959a2c8f74fdff375b9c9907b298652d
2 Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
3 AuthorDate: Sat Aug 10 10:02:14 2019 +0000
4 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
5 CommitDate: Sat Aug 10 11:16:28 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a2bcc1d9
7
8 app-editors/emacs-vcs: Add harfbuzz USE flag.
9
10 Bug: https://bugs.gentoo.org/691830
11 Reported-by: Simon Reiser <me <AT> sfxr.de>
12 Package-Manager: Portage-2.3.71, Repoman-2.3.17
13 Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>
14
15 app-editors/emacs-vcs/emacs-vcs-27.0.9999.ebuild | 4 +++-
16 app-editors/emacs-vcs/metadata.xml | 2 ++
17 2 files changed, 5 insertions(+), 1 deletion(-)
18
19 diff --git a/app-editors/emacs-vcs/emacs-vcs-27.0.9999.ebuild b/app-editors/emacs-vcs/emacs-vcs-27.0.9999.ebuild
20 index 37177094d50..570eb37e422 100644
21 --- a/app-editors/emacs-vcs/emacs-vcs-27.0.9999.ebuild
22 +++ b/app-editors/emacs-vcs/emacs-vcs-27.0.9999.ebuild
23 @@ -28,7 +28,7 @@ HOMEPAGE="https://www.gnu.org/software/emacs/"
24
25 LICENSE="GPL-3+ FDL-1.3+ BSD HPND MIT W3C unicode PSF-2"
26 SLOT="27"
27 -IUSE="acl alsa aqua athena cairo dbus dynamic-loading games gconf gfile gif +gmp gpm gsettings gtk gtk2 gzip-el imagemagick +inotify jpeg json kerberos lcms libxml2 livecd m17n-lib mailutils motif png selinux sound source ssl svg systemd +threads tiff toolkit-scroll-bars wide-int X Xaw3d xft +xpm xwidgets zlib"
28 +IUSE="acl alsa aqua athena cairo dbus dynamic-loading games gconf gfile gif +gmp gpm gsettings gtk gtk2 gzip-el harfbuzz imagemagick +inotify jpeg json kerberos lcms libxml2 livecd m17n-lib mailutils motif png selinux sound source ssl svg systemd +threads tiff toolkit-scroll-bars wide-int X Xaw3d xft +xpm xwidgets zlib"
29 REQUIRED_USE="?? ( aqua X )"
30 RESTRICT="test"
31
32 @@ -77,6 +77,7 @@ RDEPEND="sys-libs/ncurses:0=
33 x11-libs/libXft
34 x11-libs/libXrender
35 cairo? ( >=x11-libs/cairo-1.12.18 )
36 + harfbuzz? ( media-libs/harfbuzz:0= )
37 m17n-lib? (
38 >=dev-libs/libotf-0.9.4
39 >=dev-libs/m17n-lib-1.5.1
40 @@ -188,6 +189,7 @@ src_configure() {
41 if use xft; then
42 myconf+=" --with-xft"
43 myconf+=" $(use_with cairo)"
44 + myconf+=" $(use_with harfbuzz)"
45 myconf+=" $(use_with m17n-lib libotf)"
46 myconf+=" $(use_with m17n-lib m17n-flt)"
47 else
48
49 diff --git a/app-editors/emacs-vcs/metadata.xml b/app-editors/emacs-vcs/metadata.xml
50 index d60762a414d..0ae048b21bd 100644
51 --- a/app-editors/emacs-vcs/metadata.xml
52 +++ b/app-editors/emacs-vcs/metadata.xml
53 @@ -34,6 +34,8 @@
54 <flag name="gtk2">Prefer version 2 of the GIMP Toolkit to version 3
55 (<pkg>x11-libs/gtk+</pkg>)</flag>
56 <flag name="gzip-el">Compress bundled Emacs Lisp source</flag>
57 + <flag name="harfbuzz">Use <pkg>media-libs/harfbuzz</pkg> as text shaping
58 + engine</flag>
59 <flag name="imagemagick">Use <pkg>media-gfx/imagemagick</pkg> for image
60 processing</flag>
61 <flag name="json">Compile with native JSON support using