1 |
xarthisius 10/08/26 20:25:37 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: wm2-4-r1.ebuild |
5 |
Log: |
6 |
Respect user flags wrt bug 334681. Thanks to Diego for the report. |
7 |
(Portage version: 2.1.8.3/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.11 x11-wm/wm2/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-wm/wm2/ChangeLog?rev=1.11&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-wm/wm2/ChangeLog?rev=1.11&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-wm/wm2/ChangeLog?r1=1.10&r2=1.11 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/x11-wm/wm2/ChangeLog,v |
19 |
retrieving revision 1.10 |
20 |
retrieving revision 1.11 |
21 |
diff -u -r1.10 -r1.11 |
22 |
--- ChangeLog 30 Jun 2007 13:14:15 -0000 1.10 |
23 |
+++ ChangeLog 26 Aug 2010 20:25:37 -0000 1.11 |
24 |
@@ -1,6 +1,11 @@ |
25 |
# ChangeLog for x11-wm/wm2 |
26 |
-# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/x11-wm/wm2/ChangeLog,v 1.10 2007/06/30 13:14:15 coldwind Exp $ |
28 |
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
29 |
+# $Header: /var/cvsroot/gentoo-x86/x11-wm/wm2/ChangeLog,v 1.11 2010/08/26 20:25:37 xarthisius Exp $ |
30 |
+ |
31 |
+*wm2-4-r1 (26 Aug 2010) |
32 |
+ |
33 |
+ 26 Aug 2010; Kacper Kowalik <xarthisius@g.o> +wm2-4-r1.ebuild: |
34 |
+ Respect user flags wrt bug 334681. Thanks to Diego for the report. |
35 |
|
36 |
30 Jun 2007; Santiago M. Mola <coldwind@g.o> |
37 |
files/wm2-4-gentoo.patch, wm2-4.ebuild: |
38 |
|
39 |
|
40 |
|
41 |
1.1 x11-wm/wm2/wm2-4-r1.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-wm/wm2/wm2-4-r1.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-wm/wm2/wm2-4-r1.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: wm2-4-r1.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2010 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/x11-wm/wm2/wm2-4-r1.ebuild,v 1.1 2010/08/26 20:25:37 xarthisius Exp $ |
51 |
|
52 |
inherit eutils toolchain-funcs |
53 |
|
54 |
DESCRIPTION="Small, unconfigurable window manager" |
55 |
HOMEPAGE="http://www.all-day-breakfast.com/wm2/" |
56 |
SRC_URI="http://www.all-day-breakfast.com/wm2/${P}.tar.gz" |
57 |
|
58 |
RDEPEND="x11-libs/libXmu" |
59 |
DEPEND="${RDEPEND} |
60 |
x11-proto/xextproto" |
61 |
|
62 |
SLOT="0" |
63 |
LICENSE="freedist" |
64 |
KEYWORDS="~amd64 ~ppc ~x86" |
65 |
IUSE="" |
66 |
|
67 |
src_unpack() { |
68 |
unpack ${A} |
69 |
|
70 |
cd "${S}" |
71 |
epatch "${FILESDIR}/${P}-gentoo.patch" |
72 |
sed -e "s/CFLAGS/CXXFLAGS/" \ |
73 |
-e "s/\$(CCC) -o/\$(CCC) \$(LDFLAGS) -o/" \ |
74 |
-i Makefile || die #334681 |
75 |
|
76 |
sed 's/^#//' Config.h > wm2.conf |
77 |
if [ -e "/etc/wm2.conf" ]; then |
78 |
echo "#undef _CONFIG_H_" >> Config.h |
79 |
awk '/^[^/]/{print "#" $0}' /etc/wm2.conf >> Config.h |
80 |
fi |
81 |
} |
82 |
|
83 |
src_compile() { |
84 |
emake CXXFLAGS="${CXXFLAGS}" CCC="$(tc-getCXX)" \ |
85 |
LDFLAGS="${LDFLAGS}" || die |
86 |
} |
87 |
|
88 |
src_install() { |
89 |
dobin wm2 || die |
90 |
insinto /etc |
91 |
doins wm2.conf || die |
92 |
dodoc README || die |
93 |
} |
94 |
|
95 |
pkg_postinst() { |
96 |
echo |
97 |
elog "wm2 is unconfigurable after you have installed. If you want to" |
98 |
elog "change settings of wm2, please have a look at /etc/wm2.conf" |
99 |
elog "and rewrite it, then emerge wm2 again (wm2 ebuild uses settings" |
100 |
elog "from that file automatically). If you think wm2 lacks some important" |
101 |
elog "features that you want to use (such as background pixmaps)," |
102 |
elog "consider using wmx, written by the same author." |
103 |
echo |
104 |
} |