1 |
commit: 140d24d15f424bbd9d88bd556c1e9d0e27a809b4 |
2 |
Author: Ulrich Müller <ulm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jan 26 23:09:46 2018 +0000 |
4 |
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jan 26 23:19:56 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=140d24d1 |
7 |
|
8 |
app-editors/emacs: Drop xwidgets flag and dependency on webkit-gtk:3. |
9 |
|
10 |
If you need this functionality, use app-editors/emacs-vcs:26 (which |
11 |
uses webkit-gtk:4) as a replacement. |
12 |
|
13 |
Package-Manager: Portage-2.3.20, Repoman-2.3.6 |
14 |
|
15 |
app-editors/emacs/emacs-25.3.ebuild | 24 +++++++++--------------- |
16 |
app-editors/emacs/metadata.xml | 4 ++-- |
17 |
2 files changed, 11 insertions(+), 17 deletions(-) |
18 |
|
19 |
diff --git a/app-editors/emacs/emacs-25.3.ebuild b/app-editors/emacs/emacs-25.3.ebuild |
20 |
index e5ff6db3052..6be10197694 100644 |
21 |
--- a/app-editors/emacs/emacs-25.3.ebuild |
22 |
+++ b/app-editors/emacs/emacs-25.3.ebuild |
23 |
@@ -12,7 +12,7 @@ SRC_URI="mirror://gnu/emacs/${P}.tar.xz" |
24 |
LICENSE="GPL-3+ FDL-1.3+ BSD HPND MIT W3C unicode PSF-2" |
25 |
SLOT="25" |
26 |
KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" |
27 |
-IUSE="acl alsa aqua athena cairo dbus dynamic-loading games gconf gfile gif gpm gsettings gtk +gtk3 gzip-el hesiod imagemagick +inotify jpeg kerberos libxml2 livecd m17n-lib motif pax_kernel png selinux sound source ssl svg 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 gpm gsettings gtk +gtk3 gzip-el hesiod imagemagick +inotify jpeg kerberos libxml2 livecd m17n-lib motif pax_kernel png selinux sound source ssl svg tiff toolkit-scroll-bars wide-int X Xaw3d xft +xpm zlib" |
29 |
REQUIRED_USE="?? ( aqua X )" |
30 |
|
31 |
RDEPEND="sys-libs/ncurses:0= |
32 |
@@ -54,14 +54,8 @@ RDEPEND="sys-libs/ncurses:0= |
33 |
) |
34 |
) |
35 |
gtk? ( |
36 |
- xwidgets? ( |
37 |
- x11-libs/gtk+:3 |
38 |
- net-libs/webkit-gtk:3= |
39 |
- ) |
40 |
- !xwidgets? ( |
41 |
- gtk3? ( x11-libs/gtk+:3 ) |
42 |
- !gtk3? ( x11-libs/gtk+:2 ) |
43 |
- ) |
44 |
+ gtk3? ( x11-libs/gtk+:3 ) |
45 |
+ !gtk3? ( x11-libs/gtk+:2 ) |
46 |
) |
47 |
!gtk? ( |
48 |
motif? ( >=x11-libs/motif-2.3:0 ) |
49 |
@@ -161,12 +155,12 @@ src_configure() { |
50 |
recommended that you compile Emacs with the Athena/Lucid or the |
51 |
Motif toolkit instead. |
52 |
EOF |
53 |
- if use xwidgets; then |
54 |
- myconf+=" --with-x-toolkit=gtk3 --with-xwidgets" |
55 |
- else |
56 |
+ #if use xwidgets; then |
57 |
+ # myconf+=" --with-x-toolkit=gtk3 --with-xwidgets" |
58 |
+ #else |
59 |
myconf+=" --with-x-toolkit=$(usex gtk3 gtk3 gtk2)" |
60 |
myconf+=" --without-xwidgets" |
61 |
- fi |
62 |
+ #fi |
63 |
for f in motif Xaw3d athena; do |
64 |
use ${f} && ewarn \ |
65 |
"USE flag \"${f}\" has no effect if \"gtk\" is set." |
66 |
@@ -185,8 +179,8 @@ src_configure() { |
67 |
einfo "Configuring to build with no toolkit" |
68 |
myconf+=" --with-x-toolkit=no" |
69 |
fi |
70 |
- ! use gtk && use xwidgets && ewarn \ |
71 |
- "USE flag \"xwidgets\" has no effect if \"gtk\" is not set." |
72 |
+ #! use gtk && use xwidgets && ewarn \ |
73 |
+ # "USE flag \"xwidgets\" has no effect if \"gtk\" is not set." |
74 |
elif use aqua; then |
75 |
einfo "Configuring to build with Nextstep (Cocoa) support" |
76 |
myconf+=" --with-ns --disable-ns-self-contained" |
77 |
|
78 |
diff --git a/app-editors/emacs/metadata.xml b/app-editors/emacs/metadata.xml |
79 |
index 61b88217833..64c34d30c31 100644 |
80 |
--- a/app-editors/emacs/metadata.xml |
81 |
+++ b/app-editors/emacs/metadata.xml |
82 |
@@ -47,7 +47,7 @@ |
83 |
<flag name="wide-int">Prefer wide Emacs integers (typically 62-bit). |
84 |
This option has an effect only on architectures where "long" and |
85 |
"long long" types have different size.</flag> |
86 |
- <flag name='xwidgets'>Enable use of GTK widgets in Emacs buffers |
87 |
- (requires GTK3)</flag> |
88 |
+ <!--flag name='xwidgets'>Enable use of GTK widgets in Emacs buffers |
89 |
+ (requires GTK3)</flag--> |
90 |
</use> |
91 |
</pkgmetadata> |