From: | "David Shakaryan (omp)" <omp@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in x11-wm/wmii: ChangeLog wmii-3.6-r2.ebuild |
Date: | Thu, 24 Apr 2008 08:07:54 |
Message-Id: | E1JowUh-0006uX-8F@stork.gentoo.org |
1 | omp 08/04/24 08:07:51 |
2 | |
3 | Modified: ChangeLog |
4 | Added: wmii-3.6-r2.ebuild |
5 | Log: |
6 | Fix launching of dmenu; thanks to Casey Carter. (bug #214224) |
7 | (Portage version: 2.1.5_rc3) |
8 | |
9 | Revision Changes Path |
10 | 1.27 x11-wm/wmii/ChangeLog |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-wm/wmii/ChangeLog?rev=1.27&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-wm/wmii/ChangeLog?rev=1.27&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-wm/wmii/ChangeLog?r1=1.26&r2=1.27 |
15 | |
16 | Index: ChangeLog |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/x11-wm/wmii/ChangeLog,v |
19 | retrieving revision 1.26 |
20 | retrieving revision 1.27 |
21 | diff -u -r1.26 -r1.27 |
22 | --- ChangeLog 19 Nov 2007 05:40:17 -0000 1.26 |
23 | +++ ChangeLog 24 Apr 2008 08:07:50 -0000 1.27 |
24 | @@ -1,6 +1,11 @@ |
25 | # ChangeLog for x11-wm/wmii |
26 | -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 |
27 | -# $Header: /var/cvsroot/gentoo-x86/x11-wm/wmii/ChangeLog,v 1.26 2007/11/19 05:40:17 omp Exp $ |
28 | +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
29 | +# $Header: /var/cvsroot/gentoo-x86/x11-wm/wmii/ChangeLog,v 1.27 2008/04/24 08:07:50 omp Exp $ |
30 | + |
31 | +*wmii-3.6-r2 (24 Apr 2008) |
32 | + |
33 | + 24 Apr 2008; David Shakaryan <omp@g.o> +wmii-3.6-r2.ebuild: |
34 | + Fix launching of dmenu; thanks to Casey Carter. (bug #214224) |
35 | |
36 | *wmii-3.6-r1 (19 Nov 2007) |
37 | |
38 | |
39 | |
40 | |
41 | 1.1 x11-wm/wmii/wmii-3.6-r2.ebuild |
42 | |
43 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-wm/wmii/wmii-3.6-r2.ebuild?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-wm/wmii/wmii-3.6-r2.ebuild?rev=1.1&content-type=text/plain |
45 | |
46 | Index: wmii-3.6-r2.ebuild |
47 | =================================================================== |
48 | # Copyright 1999-2008 Gentoo Foundation |
49 | # Distributed under the terms of the GNU General Public License v2 |
50 | # $Header: /var/cvsroot/gentoo-x86/x11-wm/wmii/wmii-3.6-r2.ebuild,v 1.1 2008/04/24 08:07:50 omp Exp $ |
51 | |
52 | inherit multilib toolchain-funcs |
53 | |
54 | DESCRIPTION="A dynamic window manager for X11" |
55 | HOMEPAGE="http://www.suckless.org/wiki/wmii" |
56 | SRC_URI="http://www.suckless.org/download/${P}.tar.gz" |
57 | |
58 | LICENSE="MIT" |
59 | SLOT="0" |
60 | KEYWORDS="~amd64 ~ppc64 ~x86" |
61 | IUSE="" |
62 | |
63 | DEPEND=">=sys-libs/libixp-0.4 |
64 | x11-libs/libX11" |
65 | RDEPEND="${DEPEND} |
66 | x11-apps/xmessage |
67 | x11-apps/xsetroot |
68 | x11-misc/dmenu" |
69 | |
70 | src_unpack() { |
71 | unpack ${A} |
72 | cd "${S}" |
73 | |
74 | sed -i -e "s/dmenu -b/dmenu/" \ |
75 | rc/{rc.wmii.rc,sh.wmii,wmiirc.sh} || die "sed failed" |
76 | |
77 | sed -i \ |
78 | -e "/^PREFIX/s|=.*|= ${D}/usr|" \ |
79 | -e "/^ETC/s|=.*|= ${D}/etc|" \ |
80 | -e "/^LIBDIR/s|=.*|= /usr/$(get_libdir)|" \ |
81 | config.mk || die "sed failed" |
82 | } |
83 | |
84 | src_compile() { |
85 | emake -j1 || die "emake failed" |
86 | } |
87 | |
88 | src_install() { |
89 | emake -j1 DESTDIR="${D}" install || die "emake install failed" |
90 | dodoc NOTES README TODO |
91 | |
92 | # Rid paths of temporary install directory. (bug #199551) |
93 | sed -i -e "s|${D}||g" "${D}/usr/bin/wmiistartrc" |
94 | |
95 | echo -e "#!/bin/sh\n/usr/bin/wmii" > "${T}/${PN}" |
96 | exeinto /etc/X11/Sessions |
97 | doexe "${T}/${PN}" |
98 | |
99 | insinto /usr/share/xsessions |
100 | doins "${FILESDIR}/${PN}.desktop" |
101 | } |
102 | |
103 | |
104 | |
105 | -- |
106 | gentoo-commits@l.g.o mailing list |