Gentoo Archives: gentoo-commits

From: "Michele Noberasco (s4t4n)" <s4t4n@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in x11-plugins/wmlaptop: ChangeLog wmlaptop-1.3.ebuild
Date: Thu, 09 Sep 2010 09:54:40
Message-Id: 20100909095432.6EA8420051@flycatcher.gentoo.org
1 s4t4n 10/09/09 09:54:32
2
3 Modified: ChangeLog wmlaptop-1.3.ebuild
4 Log:
5 Patched Makefile to make it at least decent. Closes bug #336547.
6 (Portage version: 2.1.8.3/cvs/Linux i686)
7
8 Revision Changes Path
9 1.9 x11-plugins/wmlaptop/ChangeLog
10
11 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-plugins/wmlaptop/ChangeLog?rev=1.9&view=markup
12 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-plugins/wmlaptop/ChangeLog?rev=1.9&content-type=text/plain
13 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-plugins/wmlaptop/ChangeLog?r1=1.8&r2=1.9
14
15 Index: ChangeLog
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/x11-plugins/wmlaptop/ChangeLog,v
18 retrieving revision 1.8
19 retrieving revision 1.9
20 diff -u -r1.8 -r1.9
21 --- ChangeLog 14 Jan 2009 15:54:35 -0000 1.8
22 +++ ChangeLog 9 Sep 2010 09:54:32 -0000 1.9
23 @@ -1,6 +1,10 @@
24 # ChangeLog for x11-plugins/wmlaptop
25 -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
26 -# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmlaptop/ChangeLog,v 1.8 2009/01/14 15:54:35 s4t4n Exp $
27 +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
28 +# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmlaptop/ChangeLog,v 1.9 2010/09/09 09:54:32 s4t4n Exp $
29 +
30 + 09 Sep 2010; Michele Noberasco <s4t4n@g.o>; wmlaptop-1.3.ebuild,
31 + +files/wmlaptop-1.3-Makefile.patch:
32 + Patched Makefile to make it at least decent. Closes bug #336547.
33
34 14 Jan 2009; Michele Noberasco <s4t4n@g.o>; wmlaptop-1.3.ebuild:
35 Prevent automatic stripping of binaries. Closes bug #252109.
36
37
38
39 1.8 x11-plugins/wmlaptop/wmlaptop-1.3.ebuild
40
41 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-plugins/wmlaptop/wmlaptop-1.3.ebuild?rev=1.8&view=markup
42 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-plugins/wmlaptop/wmlaptop-1.3.ebuild?rev=1.8&content-type=text/plain
43 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-plugins/wmlaptop/wmlaptop-1.3.ebuild?r1=1.7&r2=1.8
44
45 Index: wmlaptop-1.3.ebuild
46 ===================================================================
47 RCS file: /var/cvsroot/gentoo-x86/x11-plugins/wmlaptop/wmlaptop-1.3.ebuild,v
48 retrieving revision 1.7
49 retrieving revision 1.8
50 diff -u -r1.7 -r1.8
51 --- wmlaptop-1.3.ebuild 14 Jan 2009 15:54:35 -0000 1.7
52 +++ wmlaptop-1.3.ebuild 9 Sep 2010 09:54:32 -0000 1.8
53 @@ -1,11 +1,13 @@
54 -# Copyright 1999-2009 Gentoo Foundation
55 +# Copyright 1999-2010 Gentoo Foundation
56 # Distributed under the terms of the GNU General Public License v2
57 -# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmlaptop/wmlaptop-1.3.ebuild,v 1.7 2009/01/14 15:54:35 s4t4n Exp $
58 +# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmlaptop/wmlaptop-1.3.ebuild,v 1.8 2010/09/09 09:54:32 s4t4n Exp $
59 +
60 +inherit eutils
61
62 IUSE=""
63
64 -MY_P=${P}
65 -S=${WORKDIR}/${MY_P}
66 +MY_P="${P}"
67 +S="${WORKDIR}/${MY_P}/src"
68
69 DESCRIPTION="Dockapp for laptop users"
70 SRC_URI="http://www.dockapps.org/download.php/id/474/${P}.tar.bz2"
71 @@ -24,20 +26,20 @@
72
73 src_unpack() {
74 unpack ${A}
75 + cd "${S}"
76
77 - #Prevent automatic stripping of binaries. Closes bug #252109
78 - sed -i 's/install -c -o 0 -g 0 -s -m/install -c -o 0 -g 0 -m/' "${S}/src/Makefile"
79 + epatch "${FILESDIR}"/${P}-Makefile.patch
80 }
81
82 src_compile() {
83 - emake CFLAGS="${CFLAGS} -Wall" || die "Compilation failed"
84 + emake || die "Compilation failed"
85 }
86
87 src_install() {
88 dodir /usr/bin
89 einstall INSTALLDIR="${D}/usr/bin" || die "Installation failed"
90
91 - dodoc AUTHORS README README.IT THANKS
92 + dodoc ../AUTHORS ../README ../README.IT ../THANKS
93
94 insinto /usr/share/applications
95 doins "${FILESDIR}/${PN}.desktop"