From: | "Cedric Krier (cedk)" <cedk@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in x11-misc/dmenu: ChangeLog dmenu-3.8.ebuild |
Date: | Wed, 30 Jul 2008 18:32:49 |
Message-Id: | E1KOGTe-00057h-7X@stork.gentoo.org |
1 | cedk 08/07/30 18:32:46 |
2 | |
3 | Modified: ChangeLog |
4 | Added: dmenu-3.8.ebuild |
5 | Log: |
6 | Version bump |
7 | (Portage version: 2.1.4.4) |
8 | |
9 | Revision Changes Path |
10 | 1.44 x11-misc/dmenu/ChangeLog |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-misc/dmenu/ChangeLog?rev=1.44&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-misc/dmenu/ChangeLog?rev=1.44&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-misc/dmenu/ChangeLog?r1=1.43&r2=1.44 |
15 | |
16 | Index: ChangeLog |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/x11-misc/dmenu/ChangeLog,v |
19 | retrieving revision 1.43 |
20 | retrieving revision 1.44 |
21 | diff -u -r1.43 -r1.44 |
22 | --- ChangeLog 22 Jul 2008 20:01:47 -0000 1.43 |
23 | +++ ChangeLog 30 Jul 2008 18:32:45 -0000 1.44 |
24 | @@ -1,6 +1,11 @@ |
25 | # ChangeLog for x11-misc/dmenu |
26 | # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 | -# $Header: /var/cvsroot/gentoo-x86/x11-misc/dmenu/ChangeLog,v 1.43 2008/07/22 20:01:47 corsair Exp $ |
28 | +# $Header: /var/cvsroot/gentoo-x86/x11-misc/dmenu/ChangeLog,v 1.44 2008/07/30 18:32:45 cedk Exp $ |
29 | + |
30 | +*dmenu-3.8 (30 Jul 2008) |
31 | + |
32 | + 30 Jul 2008; Cédric Krier <cedk@g.o> +dmenu-3.8.ebuild: |
33 | + Version bump |
34 | |
35 | 22 Jul 2008; Markus Rothe <corsair@g.o> dmenu-3.7-r1.ebuild: |
36 | Stable on ppc64; bug #232476 |
37 | |
38 | |
39 | |
40 | 1.1 x11-misc/dmenu/dmenu-3.8.ebuild |
41 | |
42 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-misc/dmenu/dmenu-3.8.ebuild?rev=1.1&view=markup |
43 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-misc/dmenu/dmenu-3.8.ebuild?rev=1.1&content-type=text/plain |
44 | |
45 | Index: dmenu-3.8.ebuild |
46 | =================================================================== |
47 | # Copyright 1999-2008 Gentoo Foundation |
48 | # Distributed under the terms of the GNU General Public License v2 |
49 | # $Header: /var/cvsroot/gentoo-x86/x11-misc/dmenu/dmenu-3.8.ebuild,v 1.1 2008/07/30 18:32:45 cedk Exp $ |
50 | |
51 | inherit toolchain-funcs savedconfig |
52 | |
53 | DESCRIPTION="a generic, highly customizable, and efficient menu for the X Window System" |
54 | HOMEPAGE="http://www.suckless.org/programs/dmenu.html" |
55 | SRC_URI="http://code.suckless.org/dl/tools/${P}.tar.gz" |
56 | |
57 | LICENSE="MIT" |
58 | SLOT="0" |
59 | KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd" |
60 | IUSE="xinerama" |
61 | |
62 | DEPEND="x11-libs/libX11 |
63 | xinerama? ( x11-libs/libXinerama )" |
64 | RDEPEND=${DEPEND} |
65 | |
66 | src_unpack() { |
67 | unpack ${A} |
68 | cd "${S}" |
69 | |
70 | sed -i \ |
71 | -e "s/CFLAGS = -std=c99 -pedantic -Wall -Os/CFLAGS += -std=c99 -pedantic -Wall -g/" \ |
72 | -e "s/LDFLAGS = -s/LDFLAGS += -g/" \ |
73 | -e "s/XINERAMALIBS =/XINERAMALIBS ?=/" \ |
74 | -e "s/XINERAMAFLAGS =/XINERAMAFLAGS ?=/" \ |
75 | config.mk || die "sed failed" |
76 | |
77 | if use savedconfig; then |
78 | restore_config config.h |
79 | fi |
80 | } |
81 | |
82 | src_compile() { |
83 | local msg |
84 | use savedconfig && msg=", please check the configfile" |
85 | if use xinerama; then |
86 | emake CC=$(tc-getCC) || die "emake failed${msg}" |
87 | else |
88 | emake CC=$(tc-getCC) XINERAMAFLAGS="" XINERAMALIBS="" \ |
89 | || die "emake failed${msg}" |
90 | fi |
91 | } |
92 | |
93 | src_install() { |
94 | emake DESTDIR="${D}" PREFIX="/usr" install || die "emake install failed" |
95 | |
96 | insinto /usr/share/${PN} |
97 | newins config.h ${PF}.config.h |
98 | |
99 | dodoc README |
100 | |
101 | save_config config.h |
102 | } |
103 | |
104 | pkg_postinst() { |
105 | einfo "This ebuild has support for user defined configs" |
106 | einfo "Please read this ebuild for more details and re-emerge as needed" |
107 | einfo "if you want to add or remove functionality for ${PN}" |
108 | } |