Gentoo Archives: gentoo-commits

From: "Santiago M. Mola (coldwind)" <coldwind@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in x11-plugins/gkrellm-hddtemp: gkrellm-hddtemp-0.2_beta-r1.ebuild ChangeLog
Date: Fri, 11 Jan 2008 22:39:31
Message-Id: E1JDSXA-0001Bu-4s@stork.gentoo.org
1 coldwind 08/01/11 22:39:28
2
3 Modified: gkrellm-hddtemp-0.2_beta-r1.ebuild ChangeLog
4 Log:
5 Add missing deps (#204574), check if gkrellm is built with USE=X, migrate to elog, misc QA fixes.
6 (Portage version: 2.1.3.19)
7
8 Revision Changes Path
9 1.2 x11-plugins/gkrellm-hddtemp/gkrellm-hddtemp-0.2_beta-r1.ebuild
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-plugins/gkrellm-hddtemp/gkrellm-hddtemp-0.2_beta-r1.ebuild?rev=1.2&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-plugins/gkrellm-hddtemp/gkrellm-hddtemp-0.2_beta-r1.ebuild?rev=1.2&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-plugins/gkrellm-hddtemp/gkrellm-hddtemp-0.2_beta-r1.ebuild?r1=1.1&r2=1.2
14
15 Index: gkrellm-hddtemp-0.2_beta-r1.ebuild
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/x11-plugins/gkrellm-hddtemp/gkrellm-hddtemp-0.2_beta-r1.ebuild,v
18 retrieving revision 1.1
19 retrieving revision 1.2
20 diff -u -r1.1 -r1.2
21 --- gkrellm-hddtemp-0.2_beta-r1.ebuild 21 Feb 2007 20:04:30 -0000 1.1
22 +++ gkrellm-hddtemp-0.2_beta-r1.ebuild 11 Jan 2008 22:39:27 -0000 1.2
23 @@ -1,8 +1,8 @@
24 -# Copyright 1999-2007 Gentoo Foundation
25 +# Copyright 1999-2008 Gentoo Foundation
26 # Distributed under the terms of the GNU General Public License v2
27 -# $Header: /var/cvsroot/gentoo-x86/x11-plugins/gkrellm-hddtemp/gkrellm-hddtemp-0.2_beta-r1.ebuild,v 1.1 2007/02/21 20:04:30 lack Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/x11-plugins/gkrellm-hddtemp/gkrellm-hddtemp-0.2_beta-r1.ebuild,v 1.2 2008/01/11 22:39:27 coldwind Exp $
29
30 -inherit multilib
31 +inherit eutils multilib
32
33 IUSE=""
34 MY_P=${P/_beta/-beta}
35 @@ -15,14 +15,26 @@
36 LICENSE="GPL-2"
37 KEYWORDS="amd64 ppc sparc x86"
38
39 -DEPEND="=app-admin/gkrellm-2*"
40 -RDEPEND="${DEPEND}
41 +CDEPEMD="=app-admin/gkrellm-2*
42 + >=x11-libs/gtk+-2"
43 +DEPEND="${CDEPEND}
44 + dev-util/pkgconfig"
45 +RDEPEND="${CDEPEND}
46 >=app-admin/hddtemp-0.3_beta6"
47
48 +pkg_setup() {
49 + if ! built_with_use app-admin/gkrellm X ; then
50 + eerror "In order to install ${PN} you need to"
51 + eerror "reinstall app-admin/gkrell with USE='X'."
52 + die "app-admin/gkrellm built without USE='X'"
53 + fi
54 +}
55 +
56 src_unpack() {
57 - unpack ${A} ; cd ${S}
58 + unpack ${A}
59 + cd "${S}"
60 # patch Makefile
61 - sed -i "s:^CFLAGS.*:CFLAGS=${CFLAGS} -fPIC:" Makefile
62 + sed -i "s:^CFLAGS.*:CFLAGS=${CFLAGS} -fPIC:" Makefile || die
63 }
64
65 src_compile() {
66 @@ -30,15 +42,15 @@
67 }
68
69 src_install() {
70 - dodoc README COPYING
71 + dodoc README
72
73 insinto /usr/$(get_libdir)/gkrellm2/plugins
74 doins gkrellm-hddtemp.so
75 }
76
77 pkg_postinst() {
78 - einfo "hddtemp has to be suid root to allow regular users to run this plugin."
79 - einfo "To make it suid root, run"
80 - einfo
81 - einfo "\tchmod u+s /usr/sbin/hddtemp"
82 + elog "hddtemp has to be suid root to allow regular users to run this plugin."
83 + elog "To make it suid root, run"
84 + elog
85 + elog "\tchmod u+s /usr/sbin/hddtemp"
86 }
87
88
89
90 1.21 x11-plugins/gkrellm-hddtemp/ChangeLog
91
92 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-plugins/gkrellm-hddtemp/ChangeLog?rev=1.21&view=markup
93 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-plugins/gkrellm-hddtemp/ChangeLog?rev=1.21&content-type=text/plain
94 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-plugins/gkrellm-hddtemp/ChangeLog?r1=1.20&r2=1.21
95
96 Index: ChangeLog
97 ===================================================================
98 RCS file: /var/cvsroot/gentoo-x86/x11-plugins/gkrellm-hddtemp/ChangeLog,v
99 retrieving revision 1.20
100 retrieving revision 1.21
101 diff -u -r1.20 -r1.21
102 --- ChangeLog 21 Feb 2007 20:04:30 -0000 1.20
103 +++ ChangeLog 11 Jan 2008 22:39:27 -0000 1.21
104 @@ -1,6 +1,11 @@
105 # ChangeLog for x11-plugins/gkrellm-hddtemp
106 -# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
107 -# $Header: /var/cvsroot/gentoo-x86/x11-plugins/gkrellm-hddtemp/ChangeLog,v 1.20 2007/02/21 20:04:30 lack Exp $
108 +# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
109 +# $Header: /var/cvsroot/gentoo-x86/x11-plugins/gkrellm-hddtemp/ChangeLog,v 1.21 2008/01/11 22:39:27 coldwind Exp $
110 +
111 + 11 Jan 2008; Santiago M. Mola <coldwind@g.o>
112 + gkrellm-hddtemp-0.2_beta-r1.ebuild:
113 + Add missing deps (#204574), check if gkrellm is built with USE=X, migrate to
114 + elog, misc QA fixes.
115
116 *gkrellm-hddtemp-0.2_beta-r1 (21 Feb 2007)
117
118
119
120
121 --
122 gentoo-commits@l.g.o mailing list