Gentoo Archives: gentoo-user

From: Johannes Rosenberger <gentoo@×××××.eu>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] package.provided syntax for overlay
Date: Sun, 19 Feb 2017 10:45:45
Message-Id: 40ea0774-8205-78ab-4b9e-5262654e351a@jorsn.eu
In Reply to: [gentoo-user] package.provided syntax for overlay by Mick
1 On 19.02.2017 11:20, Mick wrote:
2 > Hi All,
3 >
4 > Given sddm is not working for my setup, as per bug #608690, I thought of
5 > trying entrance from the bar overlay. It wants to pull in enlightenment,
6 > which I have already installed from the main tree and would like to keep it as
7 > such:
8 >
9 > # emerge -uaDv entrance
10 >
11 > These are the packages that would be merged, in order:
12 >
13 > Calculating dependencies... done!
14 > [ebuild U ~] x11-wm/enlightenment-9999:0.17/9999::bar
15 > [0.20.6:0.17/0.20.6::gentoo] USE="eeze%* nls pam ukit -doc -egl% -pm-utils% -
16 > static-libs -systemd -wayland (-spell%*)" ENLIGHTENMENT_MODULES="appmenu
17 > backlight battery bluez4 clock conf-applications conf-bindings conf-dialogs
18 > conf-display conf-interaction conf-intl conf-menus conf-paths conf-performance
19 > conf-randr conf-shelves conf-theme conf-window-manipulation conf-window-
20 > remembers connman contact%* cpufreq everything fileman fileman-opinfo gadman
21 > ibar ibox lokker mixer msgbus music-control notification pager pager16%*
22 > quickaccess shot start syscon systray tasks teamwork temperature tiling
23 > winlist wizard xkbswitch -access% -packagkit% -wl-desktop-shell* -wl-drm* -wl-
24 > fb% -wl-x11* (-conf%*) (-geolocation%*) (-packagekit%*) (-pager-plain%*) (-
25 > policy-mobile%*) (-wl-text-input%*) (-wl-weekeyboard%*) (-wl-wl%*) (-
26 > xwayland%*)" 0 KiB
27 > [ebuild N *] x11-plugins/entrance-9999::bar USE="consolekit pam -grub -
28 > systemd -vkbd" 0 KiB
29 >
30 >
31 > So I tried in /etc/portage/package.provided any combination of these:
32 >
33 > x11-wm/enlightenment-9999:0.17/9999::bar
34 >
35 > =x11-wm/enlightenment-9999:0.17
36 >
37 > x11-wm/enlightenment-9999
38 >
39 > None of which can stop portage dragging in 'x11-
40 > wm/enlightenment-9999:0.17/9999::bar'. What is the correct syntax to block
41 > this version of enlightenment from emerging?
42 >
43 According to the portage manpage 'x11-wm/enlightenment-9999' should be
44 the correct syntax.
45
46 But I think, package.provided is the wrong file at all. The correct way
47 to accomplish what you want to is masking
48 'x11-wm/enlightenment-9999:0.17/9999::bar'. The problem with this
49 package is that it is keyworded incorrectly as '~amd64 ~x86' despite
50 being a live ebuild.
51 If you already have enlightenment:0.17 installed this should suffice,
52 since entrance only depends on this and not the live ebuild.

Replies

Subject Author
Re: [gentoo-user] package.provided syntax for overlay Neil Bothwick <neil@××××××××××.uk>
Re: [gentoo-user] package.provided syntax for overlay Mick <michaelkintzios@×××××.com>