Gentoo Archives: gentoo-user

From: Danny YUE <sheepduke@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] How do you emerge emacs 25 with xwidgets support?
Date: Fri, 21 Apr 2017 01:06:30
Message-Id: 87shl2h8ph.fsf@gmail.com
In Reply to: Re: [gentoo-user] How do you emerge emacs 25 with xwidgets support? by Neil Bothwick
1 On 2017-04-20 20:09, Neil Bothwick <neil@××××××××××.uk> wrote:
2 > On Thu, 20 Apr 2017 18:09:48 +0200, Raffaele Belardi wrote:
3 >
4 >> Calculating dependencies... done!
5 >> [ebuild N ] app-editors/emacs-25.2_rc2:25::gentoo USE="X alsa
6 >> dbus gif gpm gtk gtk3 inotify jpeg png ssl svg tiff xpm zlib -Xaw3d
7 >> -acl (-aqua) -athena (-cairo) -dynamic-loading -games -gconf -gfile
8 >> -gsettings -gzip-el -hesiod -imagemagick -kerberos -libxml2 -livecd
9 >> -m17n-lib -motif -pax_kernel (-selinux) -sound -source
10 >> -toolkit-scroll-bars -wide-int -xft (-xwidgets)" 0 KiB
11 >>
12 >> The parentheses indicate that the flag is 'forced, masked, or
13 >> removed' (from man emerge) so it is ignored on purpose. I have no idea
14 >> why.
15 >
16 > It is masked in the profile
17 >
18 > % grep -r xwidgets /var/portage/profiles
19 > ...
20 > /var/portage/profiles/base/package.use.mask:app-editors/emacs:25 xwidgets
21
22 Well, this is really surprising...I never thought of this. You made my day!
23
24 I checked the file "/usr/portage/profiles/base/package.use.mask", it tells:
25 # Ulrich Müller <ulm@g.o> (4 Feb 2017)
26 # Uses old and vulnerable net-libs/webkit-gtk:3, bug #584156.
27 app-editors/emacs:25 xwidgets
28 app-editors/emacs-vcs:25 xwidgets
29
30 For those who don't care about it and just want to use xwidgets:
31 Edit your use.mask file, mine is:
32 "/etc/portage/profile/package.use.mask".
33
34 Add line below:
35 app-editors/emacs -xwidgets
36
37 Danny