Gentoo Archives: gentoo-commits

From: "Ben de Groot (yngwin)" <yngwin@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in x11-wm/echinus: echinus-0.4.0.ebuild ChangeLog
Date: Tue, 23 Feb 2010 12:51:49
Message-Id: E1NjuEs-0000uQ-TI@stork.gentoo.org
1 yngwin 10/02/23 12:51:46
2
3 Modified: ChangeLog
4 Added: echinus-0.4.0.ebuild
5 Log:
6 Version bump
7 (Portage version: 2.2_rc62/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.6 x11-wm/echinus/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-wm/echinus/ChangeLog?rev=1.6&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-wm/echinus/ChangeLog?rev=1.6&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-wm/echinus/ChangeLog?r1=1.5&r2=1.6
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/x11-wm/echinus/ChangeLog,v
19 retrieving revision 1.5
20 retrieving revision 1.6
21 diff -u -r1.5 -r1.6
22 --- ChangeLog 7 Oct 2009 11:48:03 -0000 1.5
23 +++ ChangeLog 23 Feb 2010 12:51:46 -0000 1.6
24 @@ -1,6 +1,11 @@
25 # ChangeLog for x11-wm/echinus
26 -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/x11-wm/echinus/ChangeLog,v 1.5 2009/10/07 11:48:03 yngwin Exp $
28 +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/x11-wm/echinus/ChangeLog,v 1.6 2010/02/23 12:51:46 yngwin Exp $
30 +
31 +*echinus-0.4.0 (23 Feb 2010)
32 +
33 + 23 Feb 2010; Ben de Groot <yngwin@g.o> +echinus-0.4.0.ebuild:
34 + Version bump
35
36 *echinus-0.3.6 (07 Oct 2009)
37
38
39
40
41 1.1 x11-wm/echinus/echinus-0.4.0.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-wm/echinus/echinus-0.4.0.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-wm/echinus/echinus-0.4.0.ebuild?rev=1.1&content-type=text/plain
45
46 Index: echinus-0.4.0.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/echinus/echinus-0.4.0.ebuild,v 1.1 2010/02/23 12:51:46 yngwin Exp $
51
52 inherit eutils toolchain-funcs
53
54 DESCRIPTION="A window manager for X in the spirit of dwm"
55 HOMEPAGE="http://www.rootshell.be/~polachok/code/"
56 SRC_URI="http://www.rootshell.be/~polachok/code/${P}.tar.gz"
57
58 LICENSE="MIT"
59 SLOT="0"
60 KEYWORDS="~amd64 ~x86"
61 IUSE=""
62
63 RDEPEND="x11-libs/libX11
64 x11-libs/libXft"
65 DEPEND="${RDEPEND}
66 dev-util/pkgconfig"
67
68 src_unpack() {
69 unpack ${A}
70 cd "${S}"
71
72 sed -i \
73 -e "s/CFLAGS = -Os/CFLAGS += -g/" \
74 -e "s/LDFLAGS = -s/LDFLAGS += -g/" \
75 config.mk || die "sed failed"
76 }
77
78 src_compile() {
79 emake CC=$(tc-getCC) || die "emake failed"
80 }
81
82 src_install() {
83 emake DESTDIR="${D}" PREFIX="/usr" install || die "emake install failed"
84
85 insinto /usr/share/xsessions
86 doins "${FILESDIR}"/${PN}.desktop
87
88 doman ${PN}.1
89 dodoc README
90 }
91
92 pkg_postinst() {
93 if ! has_version x11-misc/dmenu; then
94 elog "Installing ${PN} without x11-misc/dmenu"
95 elog "To have a menu you can install x11-misc/dmenu"
96 elog "and use \"Echinus*spawn\" in echinusrc"
97 elog "to launch dmenu_run. Check echinus documentation for details."
98 elog ""
99 fi
100 # x11-misc/ourico is not in portage atm, this will change soon.
101 #if ! has_version x11-misc/ourico; then
102 # elog "Installing ${PN} without x11-misc/ourico"
103 # elog "To have a taskbar you can install x11-misc/ourico"
104 # elog ""
105 #fi
106 elog "A standard config file with its pixmaps has been installed to:"
107 elog "${PREFIX}/usr/share/examples/${PN}/"
108 elog "Copy this folder to ~/.${PN}/ and modify the echinusrc as you wish."
109 elog ""
110 elog "For changing the modkey you can use \"Echinus*modkey: X\""
111 elog "in echinusrc. Replace the X with the number you want to use,"
112 elog "1 is for Mod1Mask, 2 for Mod2Mask and so on."
113 }