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/wmsound: ChangeLog wmsound-0.9.5.ebuild
Date: Mon, 19 Jan 2009 15:21:39
Message-Id: E1LOvwW-0002LL-Fc@stork.gentoo.org
1 s4t4n 09/01/19 15:21:36
2
3 Modified: ChangeLog wmsound-0.9.5.ebuild
4 Log:
5 Fixed compilation with --as-needed. Closes bug #248650.
6 (Portage version: 2.1.6.4/cvs/Linux 2.6.24-tuxonice-r9 i686)
7
8 Revision Changes Path
9 1.8 x11-plugins/wmsound/ChangeLog
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-plugins/wmsound/ChangeLog?rev=1.8&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-plugins/wmsound/ChangeLog?rev=1.8&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-plugins/wmsound/ChangeLog?r1=1.7&r2=1.8
14
15 Index: ChangeLog
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/x11-plugins/wmsound/ChangeLog,v
18 retrieving revision 1.7
19 retrieving revision 1.8
20 diff -u -r1.7 -r1.8
21 --- ChangeLog 17 Nov 2008 23:13:19 -0000 1.7
22 +++ ChangeLog 19 Jan 2009 15:21:36 -0000 1.8
23 @@ -1,6 +1,9 @@
24 # ChangeLog for x11-plugins/wmsound
25 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
26 -# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmsound/ChangeLog,v 1.7 2008/11/17 23:13:19 flameeyes Exp $
27 +# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmsound/ChangeLog,v 1.8 2009/01/19 15:21:36 s4t4n Exp $
28 +
29 + 19 Jan 2009; Michele Noberasco <s4t4n@g.o> wmsound-0.9.5.ebuild:
30 + Fixed compilation with --as-needed. Closes bug #248650.
31
32 17 Nov 2008; Diego E. Pettenò <flameeyes@g.o>
33 files/wmsound-esd.patch:
34
35
36
37 1.7 x11-plugins/wmsound/wmsound-0.9.5.ebuild
38
39 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-plugins/wmsound/wmsound-0.9.5.ebuild?rev=1.7&view=markup
40 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-plugins/wmsound/wmsound-0.9.5.ebuild?rev=1.7&content-type=text/plain
41 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-plugins/wmsound/wmsound-0.9.5.ebuild?r1=1.6&r2=1.7
42
43 Index: wmsound-0.9.5.ebuild
44 ===================================================================
45 RCS file: /var/cvsroot/gentoo-x86/x11-plugins/wmsound/wmsound-0.9.5.ebuild,v
46 retrieving revision 1.6
47 retrieving revision 1.7
48 diff -u -r1.6 -r1.7
49 --- wmsound-0.9.5.ebuild 27 Oct 2006 08:49:38 -0000 1.6
50 +++ wmsound-0.9.5.ebuild 19 Jan 2009 15:21:36 -0000 1.7
51 @@ -1,6 +1,6 @@
52 -# Copyright 1999-2006 Gentoo Foundation
53 +# Copyright 1999-2009 Gentoo Foundation
54 # Distributed under the terms of the GNU General Public License v2
55 -# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmsound/wmsound-0.9.5.ebuild,v 1.6 2006/10/27 08:49:38 s4t4n Exp $
56 +# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmsound/wmsound-0.9.5.ebuild,v 1.7 2009/01/19 15:21:36 s4t4n Exp $
57
58 inherit eutils
59
60 @@ -26,25 +26,29 @@
61 {
62 unpack ${A}
63
64 - cd ${S}
65 - epatch ${FILESDIR}/wmsound-config.patch
66 - epatch ${FILESDIR}/wmsound-ComplexProgramTargetNoMan.patch
67 - use esd && epatch ${FILESDIR}/wmsound-esd.patch
68 + cd "${S}"
69 + epatch "${FILESDIR}/wmsound-config.patch"
70 + epatch "${FILESDIR}/wmsound-ComplexProgramTargetNoMan.patch"
71 + use esd && epatch "${FILESDIR}/wmsound-esd.patch"
72 +
73 + #Fix compilation with --as-needed.
74 + sed -i 's:-lPropList $(WMSOUNDLIB):$(WMSOUNDLIB) -lPropList:' src/Imakefile
75 + sed -i 's:-lPropList $(XLIB) $(WMSOUNDLIB):$(WMSOUNDLIB) -lPropList $(XLIB):' utils/Imakefile
76 }
77
78 src_compile()
79 {
80 export PATH="${PATH}:/usr/X11R6/bin"
81
82 - cd ${S}
83 + cd "${S}"
84 xmkmf -a
85 emake CDEBUGFLAGS="${CFLAGS}" || die "make failed"
86 }
87
88 src_install()
89 {
90 - cd ${S}
91 - einstall PREFIX=${D}/usr USRLIBDIR=${D}/usr/X11R6/lib || die "make install failed"
92 + cd "${S}"
93 + einstall PREFIX="${D}/usr" USRLIBDIR="${D}/usr/X11R6/lib" || die "make install failed"
94 dodoc AUTHORS BUGS ChangeLog
95 }