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-plugins/wmtz: wmtz-0.7.ebuild ChangeLog
Date: Sat, 12 Jan 2008 13:36:38
Message-Id: E1JDgXH-00074Z-Ew@stork.gentoo.org
1 drac 08/01/12 13:36:31
2
3 Modified: wmtz-0.7.ebuild ChangeLog
4 Log:
5 Stop using epatch in src_compile, use toolchain-funcs for CC and some more.
6 (Portage version: 2.1.4)
7
8 Revision Changes Path
9 1.17 x11-plugins/wmtz/wmtz-0.7.ebuild
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-plugins/wmtz/wmtz-0.7.ebuild?rev=1.17&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-plugins/wmtz/wmtz-0.7.ebuild?rev=1.17&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-plugins/wmtz/wmtz-0.7.ebuild?r1=1.16&r2=1.17
14
15 Index: wmtz-0.7.ebuild
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/x11-plugins/wmtz/wmtz-0.7.ebuild,v
18 retrieving revision 1.16
19 retrieving revision 1.17
20 diff -u -r1.16 -r1.17
21 --- wmtz-0.7.ebuild 22 Jul 2007 04:24:31 -0000 1.16
22 +++ wmtz-0.7.ebuild 12 Jan 2008 13:36:30 -0000 1.17
23 @@ -1,17 +1,17 @@
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/wmtz/wmtz-0.7.ebuild,v 1.16 2007/07/22 04:24:31 dberkholz Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmtz/wmtz-0.7.ebuild,v 1.17 2008/01/12 13:36:30 drac Exp $
29
30 -inherit eutils toolchain-funcs
31 +inherit eutils multilib toolchain-funcs
32
33 -IUSE=""
34 DESCRIPTION="dockapp that shows the time in multiple timezones."
35 -SRC_URI="http://www.geocities.com/jl1n/wmtz/${P}.tar.gz"
36 HOMEPAGE="http://www.geocities.com/jl1n/wmtz/wmtz.html"
37 +SRC_URI="http://www.geocities.com/jl1n/wmtz/${P}.tar.gz"
38
39 LICENSE="GPL-2"
40 SLOT="0"
41 -KEYWORDS="x86 amd64 ppc ~sparc"
42 +KEYWORDS="amd64 ppc ~sparc x86"
43 +IUSE=""
44
45 RDEPEND="x11-libs/libX11
46 x11-libs/libXext
47 @@ -19,23 +19,23 @@
48 DEPEND="${RDEPEND}
49 x11-proto/xextproto"
50
51 +S=${WORKDIR}/${P}/${PN}
52 +
53 src_unpack() {
54 unpack ${A}
55 - cd ${S}
56 -
57 - #apply both patches to compile with gcc-3.4 closing bug #64556
58 - epatch ${FILESDIR}/wmtz-0.7-gcc34.patch
59 + cd "${S}"
60 + epatch "${FILESDIR}"/${P}.patch
61 }
62
63 src_compile() {
64 - cd ${S}/wmtz
65 - epatch ${FILESDIR}/wmtz.c.patch
66 - emake FLAGS="$CFLAGS" || die
67 + emake CC="$(tc-getCC)" FLAGS="${CFLAGS}" \
68 + LIBDIR="-L/usr/$(get_libdir)" || die "emake failed."
69 }
70
71 src_install () {
72 - dobin wmtz/wmtz
73 + dobin ${PN}
74 + doman ${PN}.1
75 insinto /etc
76 - doins wmtz/wmtzrc
77 - dodoc BUGS CHANGES README
78 + doins wmtzrc
79 + dodoc ../{BUGS,CHANGES,README}
80 }
81
82
83
84 1.17 x11-plugins/wmtz/ChangeLog
85
86 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-plugins/wmtz/ChangeLog?rev=1.17&view=markup
87 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-plugins/wmtz/ChangeLog?rev=1.17&content-type=text/plain
88 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-plugins/wmtz/ChangeLog?r1=1.16&r2=1.17
89
90 Index: ChangeLog
91 ===================================================================
92 RCS file: /var/cvsroot/gentoo-x86/x11-plugins/wmtz/ChangeLog,v
93 retrieving revision 1.16
94 retrieving revision 1.17
95 diff -u -r1.16 -r1.17
96 --- ChangeLog 22 Jul 2007 04:24:31 -0000 1.16
97 +++ ChangeLog 12 Jan 2008 13:36:30 -0000 1.17
98 @@ -1,6 +1,11 @@
99 # ChangeLog for x11-plugins/wmtz
100 -# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
101 -# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmtz/ChangeLog,v 1.16 2007/07/22 04:24:31 dberkholz Exp $
102 +# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
103 +# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmtz/ChangeLog,v 1.17 2008/01/12 13:36:30 drac Exp $
104 +
105 + 12 Jan 2008; Samuli Suominen <drac@g.o>
106 + -files/wmtz-0.7-gcc34.patch, +files/wmtz-0.7.patch, -files/wmtz.c.patch,
107 + wmtz-0.7.ebuild:
108 + Stop using epatch in src_compile, use toolchain-funcs for CC and some more.
109
110 22 Jul 2007; Donnie Berkholz <dberkholz@g.o>; wmtz-0.7.ebuild:
111 Drop virtual/x11 references.
112
113
114
115 --
116 gentoo-commits@l.g.o mailing list