From: | "Lennart Kolmodin (kolmodin)" <kolmodin@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in x11-wm/xmonad: ChangeLog xmonad-0.5-r1.ebuild |
Date: | Wed, 02 Jan 2008 20:35:22 |
Message-Id: | E1JAAJ0-0000GK-7w@stork.gentoo.org |
1 | kolmodin 08/01/02 20:35:14 |
2 | |
3 | Modified: ChangeLog |
4 | Added: xmonad-0.5-r1.ebuild |
5 | Log: |
6 | Install instructions and config sample for x11-wm/xmonad |
7 | (Portage version: 2.1.3.19) |
8 | |
9 | Revision Changes Path |
10 | 1.3 x11-wm/xmonad/ChangeLog |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-wm/xmonad/ChangeLog?rev=1.3&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-wm/xmonad/ChangeLog?rev=1.3&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-wm/xmonad/ChangeLog?r1=1.2&r2=1.3 |
15 | |
16 | Index: ChangeLog |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/x11-wm/xmonad/ChangeLog,v |
19 | retrieving revision 1.2 |
20 | retrieving revision 1.3 |
21 | diff -u -r1.2 -r1.3 |
22 | --- ChangeLog 15 Dec 2007 23:03:04 -0000 1.2 |
23 | +++ ChangeLog 2 Jan 2008 20:35:13 -0000 1.3 |
24 | @@ -1,6 +1,11 @@ |
25 | # ChangeLog for x11-wm/xmonad |
26 | -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 |
27 | -# $Header: /var/cvsroot/gentoo-x86/x11-wm/xmonad/ChangeLog,v 1.2 2007/12/15 23:03:04 kolmodin Exp $ |
28 | +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
29 | +# $Header: /var/cvsroot/gentoo-x86/x11-wm/xmonad/ChangeLog,v 1.3 2008/01/02 20:35:13 kolmodin Exp $ |
30 | + |
31 | +*xmonad-0.5-r1 (02 Jan 2008) |
32 | + |
33 | + 02 Jan 2008; Lennart Kolmodin <kolmodin@g.o> +xmonad-0.5-r1.ebuild: |
34 | + Install configuration instruction and sample config |
35 | |
36 | *xmonad-0.5 (16 Dec 2007) |
37 | |
38 | |
39 | |
40 | |
41 | 1.1 x11-wm/xmonad/xmonad-0.5-r1.ebuild |
42 | |
43 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-wm/xmonad/xmonad-0.5-r1.ebuild?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-wm/xmonad/xmonad-0.5-r1.ebuild?rev=1.1&content-type=text/plain |
45 | |
46 | Index: xmonad-0.5-r1.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/xmonad/xmonad-0.5-r1.ebuild,v 1.1 2008/01/02 20:35:13 kolmodin Exp $ |
51 | |
52 | CABAL_FEATURES="bin lib profile haddock" |
53 | CABAL_MIN_VERSION=1.2 |
54 | |
55 | inherit haskell-cabal |
56 | |
57 | DESCRIPTION="A lightweight X11 window manager" |
58 | HOMEPAGE="http://www.xmonad.org/" |
59 | SRC_URI="http://hackage.haskell.org/packages/archive/${PN}/${PV}/${P}.tar.gz" |
60 | |
61 | LICENSE="BSD" |
62 | SLOT="0" |
63 | KEYWORDS="~amd64 ~sparc ~x86" |
64 | |
65 | DEPEND="dev-haskell/mtl |
66 | >=dev-haskell/x11-1.4 |
67 | >=dev-lang/ghc-6.6" |
68 | RDEPEND="${DEPEND}" |
69 | |
70 | src_unpack() { |
71 | unpack ${A} |
72 | |
73 | # -Wall -Werror is really fragile. |
74 | # portage strips, packages should not do it themselves. |
75 | sed -i -e 's/-Wall -Werror -optl-Wl,-s//' "${S}/xmonad.cabal" |
76 | } |
77 | |
78 | src_install() { |
79 | cabal_src_install |
80 | |
81 | echo -e "#!/bin/sh\n/usr/bin/xmonad" > "${T}/${PN}" |
82 | exeinto /etc/X11/Sessions |
83 | doexe "${T}/${PN}" |
84 | |
85 | insinto /usr/share/xsessions |
86 | doins "${FILESDIR}/${PN}.desktop" |
87 | |
88 | doman man/xmonad.1 |
89 | |
90 | dodoc CONFIG README man/xmonad.hs |
91 | } |
92 | |
93 | |
94 | |
95 | -- |
96 | gentoo-commits@g.o mailing list |