Gentoo Archives: gentoo-user

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

Attachments

File name MIME type
signature.asc application/pgp-signature