Gentoo Archives: gentoo-commits

From: "Samuli Suominen (drac)" <drac@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in x11-themes/gtk-theme-switch: gtk-theme-switch-2.0.0_rc2-r2.ebuild ChangeLog
Date: Sun, 20 Apr 2008 15:29:18
Message-Id: E1JnbTf-0005V1-Fc@stork.gentoo.org
1 drac 08/04/20 15:29:15
2
3 Modified: gtk-theme-switch-2.0.0_rc2-r2.ebuild ChangeLog
4 Log:
5 Move pkgconfig from RDEPEND to DEPEND. Use toolchain-funcs for CC, respect CFLAGS, use emake, use die messages and fix quoting.
6 (Portage version: 2.1.5_rc4)
7
8 Revision Changes Path
9 1.11 x11-themes/gtk-theme-switch/gtk-theme-switch-2.0.0_rc2-r2.ebuild
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-themes/gtk-theme-switch/gtk-theme-switch-2.0.0_rc2-r2.ebuild?rev=1.11&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-themes/gtk-theme-switch/gtk-theme-switch-2.0.0_rc2-r2.ebuild?rev=1.11&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-themes/gtk-theme-switch/gtk-theme-switch-2.0.0_rc2-r2.ebuild?r1=1.10&r2=1.11
14
15 Index: gtk-theme-switch-2.0.0_rc2-r2.ebuild
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/x11-themes/gtk-theme-switch/gtk-theme-switch-2.0.0_rc2-r2.ebuild,v
18 retrieving revision 1.10
19 retrieving revision 1.11
20 diff -u -r1.10 -r1.11
21 --- gtk-theme-switch-2.0.0_rc2-r2.ebuild 9 Oct 2006 20:11:14 -0000 1.10
22 +++ gtk-theme-switch-2.0.0_rc2-r2.ebuild 20 Apr 2008 15:29:14 -0000 1.11
23 @@ -1,40 +1,41 @@
24 -# Copyright 1999-2006 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-themes/gtk-theme-switch/gtk-theme-switch-2.0.0_rc2-r2.ebuild,v 1.10 2006/10/09 20:11:14 seemant Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/x11-themes/gtk-theme-switch/gtk-theme-switch-2.0.0_rc2-r2.ebuild,v 1.11 2008/04/20 15:29:14 drac Exp $
29
30 -inherit eutils
31 +inherit eutils toolchain-funcs
32
33 MY_P=${P/_/}
34 -S=${WORKDIR}/${MY_P}
35 +
36 DESCRIPTION="Application for easy change of GTK-Themes"
37 HOMEPAGE="http://www.muhri.net/nav.php3?node=gts"
38 SRC_URI="http://www.muhri.net/${MY_P}.tar.gz
39 mirror://gentoo/${MY_P}b.patch.gz"
40
41 -SLOT="2"
42 LICENSE="GPL-2"
43 +SLOT="2"
44 KEYWORDS="alpha amd64 hppa ia64 ~mips ppc ppc64 sparc x86 ~x86-fbsd"
45 IUSE=""
46
47 -DEPEND="=x11-libs/gtk+-2*
48 +RDEPEND="=x11-libs/gtk+-2*"
49 +DEPEND="${RDEPEND}
50 dev-util/pkgconfig"
51
52 +S=${WORKDIR}/${MY_P}
53 +
54 src_unpack() {
55 unpack ${A}
56 - cd ${S}
57 - epatch ${WORKDIR}/${MY_P}b.patch
58 -
59 - # fix compilation with gtk+-2.4 (#45105)
60 - epatch ${FILESDIR}/${P}-gtk+-2.4_fix.patch
61 -
62 + cd "${S}"
63 + epatch "${WORKDIR}"/${MY_P}b.patch \
64 + "${FILESDIR}"/${P}-gtk+-2.4_fix.patch
65 }
66
67 src_compile() {
68 - make || die
69 + emake GCC="$(tc-getCC)" \
70 + CFLAGS="${CFLAGS} -Wall $(pkg-config --cflags gtk+-2.0)" \
71 + || die "emake failed."
72 }
73
74 src_install() {
75 -
76 dobin switch2
77 newman switch.1 gtk-theme-switch2.1
78 dosym gtk-theme-switch2.1 /usr/share/man/man1/switch2.1
79
80
81
82 1.37 x11-themes/gtk-theme-switch/ChangeLog
83
84 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-themes/gtk-theme-switch/ChangeLog?rev=1.37&view=markup
85 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-themes/gtk-theme-switch/ChangeLog?rev=1.37&content-type=text/plain
86 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-themes/gtk-theme-switch/ChangeLog?r1=1.36&r2=1.37
87
88 Index: ChangeLog
89 ===================================================================
90 RCS file: /var/cvsroot/gentoo-x86/x11-themes/gtk-theme-switch/ChangeLog,v
91 retrieving revision 1.36
92 retrieving revision 1.37
93 diff -u -r1.36 -r1.37
94 --- ChangeLog 25 Dec 2007 15:24:22 -0000 1.36
95 +++ ChangeLog 20 Apr 2008 15:29:14 -0000 1.37
96 @@ -1,6 +1,11 @@
97 # ChangeLog for x11-themes/gtk-theme-switch
98 -# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
99 -# $Header: /var/cvsroot/gentoo-x86/x11-themes/gtk-theme-switch/ChangeLog,v 1.36 2007/12/25 15:24:22 phreak Exp $
100 +# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
101 +# $Header: /var/cvsroot/gentoo-x86/x11-themes/gtk-theme-switch/ChangeLog,v 1.37 2008/04/20 15:29:14 drac Exp $
102 +
103 + 20 Apr 2008; Samuli Suominen <drac@g.o>
104 + gtk-theme-switch-2.0.0_rc2-r2.ebuild:
105 + Move pkgconfig from RDEPEND to DEPEND. Use toolchain-funcs for CC, respect
106 + CFLAGS, use emake, use die messages and fix quoting.
107
108 25 Dec 2007; Christian Heim <phreak@g.o> metadata.xml:
109 Removing seemant from metadata.xml as per #202469.
110
111
112
113 --
114 gentoo-commits@l.g.o mailing list