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