1 |
Le 12/02/2014 1:02, Samuli Suominen a écrit : |
2 |
> On 12/02/14 01:20, Bernard Cafarelli wrote: |
3 |
>> Le Tue, 11 Feb 2014 12:09:14 +0200 |
4 |
>> Samuli Suominen <ssuominen@g.o> a écrit: |
5 |
>>> On 11/02/14 11:42, Bernard Cafarelli (voyageur) wrote: |
6 |
>>>> voyageur 14/02/11 09:42:47 |
7 |
>>>> |
8 |
>>>> Modified: ChangeLog |
9 |
>>>> Added: wmbattery-2.42.ebuild |
10 |
>>>> Removed: wmbattery-2.19-r1.ebuild |
11 |
>>>> Log: |
12 |
>>>> Version bump, adds upower support |
13 |
>>>> |
14 |
>>>> (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest |
15 |
>>>> commit with key C74525F2) |
16 |
>>>> |
17 |
>>>> Revision Changes Path |
18 |
>>>> 1.24 x11-plugins/wmbattery/ChangeLog |
19 |
>>>> |
20 |
>>>> file : |
21 |
>>>> http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-plugins/wmbattery/ChangeLog?rev=1.24&view=markup |
22 |
>>>> plain: |
23 |
>>>> http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-plugins/wmbattery/ChangeLog?rev=1.24&content-type=text/plain |
24 |
>>>> diff : |
25 |
>>>> http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-plugins/wmbattery/ChangeLog?r1=1.23&r2=1.24 |
26 |
>>>> |
27 |
>>>> Index: ChangeLog |
28 |
>>>> =================================================================== |
29 |
>>>> RCS file: /var/cvsroot/gentoo-x86/x11-plugins/wmbattery/ChangeLog,v |
30 |
>>>> retrieving revision 1.23 |
31 |
>>>> retrieving revision 1.24 |
32 |
>>>> diff -u -r1.23 -r1.24 |
33 |
>>>> --- ChangeLog 25 Sep 2012 14:08:40 -0000 1.23 |
34 |
>>>> +++ ChangeLog 11 Feb 2014 09:42:47 -0000 1.24 |
35 |
>>>> @@ -1,6 +1,12 @@ |
36 |
>>>> # ChangeLog for x11-plugins/wmbattery |
37 |
>>>> -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL |
38 |
>>>> v2 |
39 |
>>>> -# $Header: |
40 |
>>>> /var/cvsroot/gentoo-x86/x11-plugins/wmbattery/ChangeLog,v 1.23 |
41 |
>>>> 2012/09/25 14:08:40 voyageur Exp $ |
42 |
>>>> +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL |
43 |
>>>> v2 |
44 |
>>>> +# $Header: |
45 |
>>>> /var/cvsroot/gentoo-x86/x11-plugins/wmbattery/ChangeLog,v 1.24 |
46 |
>>>> 2014/02/11 09:42:47 voyageur Exp $ |
47 |
>>>> + |
48 |
>>>> +*wmbattery-2.42 (11 Feb 2014) |
49 |
>>>> + |
50 |
>>>> + 11 Feb 2014; Bernard Cafarelli <voyageur@g.o> |
51 |
>>>> + -wmbattery-2.19-r1.ebuild, +wmbattery-2.42.ebuild: |
52 |
>>>> + Version bump, adds upower support |
53 |
>>>> |
54 |
>>>> *wmbattery-2.41 (25 Sep 2012) |
55 |
>>>> |
56 |
>>>> |
57 |
>>>> |
58 |
>>>> |
59 |
>>>> 1.1 x11-plugins/wmbattery/wmbattery-2.42.ebuild |
60 |
>>>> |
61 |
>>>> file : |
62 |
>>>> http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-plugins/wmbattery/wmbattery-2.42.ebuild?rev=1.1&view=markup |
63 |
>>>> plain: |
64 |
>>>> http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-plugins/wmbattery/wmbattery-2.42.ebuild?rev=1.1&content-type=text/plain |
65 |
>>>> |
66 |
>>>> Index: wmbattery-2.42.ebuild |
67 |
>>>> =================================================================== |
68 |
>>>> # Copyright 1999-2014 Gentoo Foundation |
69 |
>>>> # Distributed under the terms of the GNU General Public License v2 |
70 |
>>>> # $Header: |
71 |
>>>> /var/cvsroot/gentoo-x86/x11-plugins/wmbattery/wmbattery-2.42.ebuild,v |
72 |
>>>> 1.1 2014/02/11 09:42:47 voyageur Exp $ |
73 |
>>>> |
74 |
>>>> EAPI=5 |
75 |
>>>> inherit autotools |
76 |
>>>> |
77 |
>>>> DESCRIPTION="A dockable app to report APM, ACPI, or SPIC battery |
78 |
>>>> status" |
79 |
>>>> HOMEPAGE="http://joeyh.name/code/wmbattery/" |
80 |
>>>> SRC_URI="mirror://debian/pool/main/w/${PN}/${PN}_${PV}.tar.gz" |
81 |
>>>> |
82 |
>>>> LICENSE="GPL-2" |
83 |
>>>> SLOT="0" |
84 |
>>>> KEYWORDS="~amd64 ~ppc -sparc ~x86" |
85 |
>>>> IUSE="" |
86 |
>>>> |
87 |
>>>> DEPEND="sys-apps/apmd |
88 |
>>>> sys-power/upower |
89 |
>>>> x11-libs/libX11 |
90 |
>>>> x11-libs/libXext |
91 |
>>>> x11-libs/libXpm" |
92 |
>>> Are you sure there are no runtime dependencies at all? |
93 |
>>> Futhermore, does it really link against the upower libraries or just |
94 |
>>> call it only at RDEPEND through dbus? |
95 |
>>> In any case, the deps are wrong. |
96 |
>> Nice catch, also present in the previous bump! 2.40 used EAPI 3 so it |
97 |
>> had the implicit RDEPEND=${DEPEND}... Fixed in both 2.41 and 2.42 |
98 |
>> ebuilds |
99 |
>> |
100 |
>> For upower this new version directly uses upower-glib, so it's a build |
101 |
>> dependency |
102 |
>> |
103 |
> |
104 |
> I don't think it's legit to use the upower-glib library without |
105 |
> pkg-config. So I'm pretty sure you are missing build-time-only |
106 |
> dependency of virtual/pkgconfig then too. |
107 |
|
108 |
Indeed: |
109 |
|
110 |
% grep 'pkg-config.*upower' |
111 |
/var/tmp/portage/x11-plugins/wmbattery-2.42/work/wmbattery/Makefile |
112 |
LIBS+=$(shell pkg-config --libs upower-glib) |
113 |
$(CC) $(CPPFLAGS) $(CFLAGS) $(shell pkg-config --cflags upower-glib) -c |
114 |
upower.c -o upower.o |
115 |
|
116 |
Dependency added, thanks! |