Gentoo Archives: gentoo-commits

From: "Steve Dibb (beandog)" <beandog@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in x11-wm/icewm: ChangeLog icewm-1.2.33.ebuild
Date: Tue, 18 Dec 2007 15:06:51
Message-Id: E1J4e1p-00077x-Lu@stork.gentoo.org
1 beandog 07/12/18 15:06:41
2
3 Modified: ChangeLog
4 Added: icewm-1.2.33.ebuild
5 Log:
6 Version bump, bug 201826
7 (Portage version: 2.1.4_rc10)
8
9 Revision Changes Path
10 1.133 x11-wm/icewm/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-wm/icewm/ChangeLog?rev=1.133&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-wm/icewm/ChangeLog?rev=1.133&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-wm/icewm/ChangeLog?r1=1.132&r2=1.133
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/x11-wm/icewm/ChangeLog,v
19 retrieving revision 1.132
20 retrieving revision 1.133
21 diff -u -r1.132 -r1.133
22 --- ChangeLog 6 Oct 2007 15:20:47 -0000 1.132
23 +++ ChangeLog 18 Dec 2007 15:06:41 -0000 1.133
24 @@ -1,6 +1,11 @@
25 # ChangeLog for x11-wm/icewm
26 # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/x11-wm/icewm/ChangeLog,v 1.132 2007/10/06 15:20:47 dertobi123 Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/x11-wm/icewm/ChangeLog,v 1.133 2007/12/18 15:06:41 beandog Exp $
29 +
30 +*icewm-1.2.33 (18 Dec 2007)
31 +
32 + 18 Dec 2007; Steve Dibb <beandog@g.o> +icewm-1.2.33.ebuild:
33 + Version bump, bug 201826
34
35 06 Oct 2007; Tobias Scherbaum <dertobi123@g.o> icewm-1.2.32.ebuild:
36 ppc stable, bug #192695
37
38
39
40 1.1 x11-wm/icewm/icewm-1.2.33.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-wm/icewm/icewm-1.2.33.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-wm/icewm/icewm-1.2.33.ebuild?rev=1.1&content-type=text/plain
44
45 Index: icewm-1.2.33.ebuild
46 ===================================================================
47 # Copyright 1999-2007 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/x11-wm/icewm/icewm-1.2.33.ebuild,v 1.1 2007/12/18 15:06:41 beandog Exp $
50
51 inherit eutils
52
53 DESCRIPTION="Ice Window Manager with Themes"
54
55 HOMEPAGE="http://www.icewm.org/"
56
57 #fix for icewm preversion package names
58 S=${WORKDIR}/${P/_}
59
60 SRC_URI="mirror://sourceforge/${PN}/${P/_}.tar.gz"
61
62 LICENSE="GPL-2"
63 SLOT="0"
64
65 KEYWORDS="~amd64 ~ppc ~sparc ~x86"
66
67 IUSE="esd imlib nls spell truetype xinerama minimal debug uclibc"
68
69 RDEPEND="x11-libs/libX11
70 x11-libs/libXrandr
71 x11-libs/libXext
72 x11-libs/libXpm
73 x11-libs/libXrender
74 x11-libs/libXft
75 xinerama? ( x11-libs/libXinerama )
76 esd? ( media-sound/esound )
77 imlib? ( >=media-libs/imlib-1.9.10-r1 )
78 nls? ( sys-devel/gettext )
79 truetype? ( >=media-libs/freetype-2.0.9 )
80 media-libs/giflib"
81
82 DEPEND="${RDEPEND}
83 x11-proto/xproto
84 x11-proto/xextproto
85 xinerama? ( x11-proto/xineramaproto )
86 >=sys-apps/sed-4"
87
88 pkg_setup() {
89 if use truetype && use minimal; then
90 ewarn "You have both 'truetype' and 'minimal' use flags enabled."
91 ewarn "If you really want a minimal install, you will have to turn off"
92 ewarn "the truetype flag for this package."
93 fi
94 }
95
96 src_unpack() {
97 unpack ${A}
98 cd "${S}/src"
99
100 use uclibc && epatch "${FILESDIR}/icewm-uclibc.patch"
101
102 echo "#!/bin/sh" > "$T/icewm"
103 echo "/usr/bin/icewm-session" >> "$T/icewm"
104 }
105
106 src_compile() {
107
108 if use truetype
109 then
110 myconf="${myconf} --enable-gradients --enable-shape --enable-movesize-fx --enable-shaped-decorations"
111 else
112 myconf="${myconf} --disable-xfreetype --enable-corefonts
113 $(use_enable minimal lite)"
114 fi
115
116 myconf="${myconf}
117 --with-libdir=/usr/share/icewm
118 --with-cfgdir=/etc/icewm
119 --with-docdir=/usr/share/doc/${PF}/html
120 $(use_with esd esd-config /usr/bin/esd-config)
121 $(use_enable nls)
122 $(use_enable nls i18n)
123 $(use_with imlib)
124 $(use_enable spell GtkSpell)
125 $(use_enable x86 x86-asm)
126 $(use_enable xinerama)
127 $(use_enable debug)"
128
129 CXXFLAGS="${CXXFLAGS}" econf ${myconf} || die "configure failed"
130
131 sed -i "s:/icewm-\$(VERSION)::" src/Makefile || die "patch failed"
132 sed -i "s:ungif:gif:" src/Makefile || die "libungif fix failed"
133
134 emake || die "emake failed"
135 }
136
137 src_install(){
138 emake DESTDIR="${D}" install || die "make install failed"
139
140 dodoc AUTHORS BUGS CHANGES PLATFORMS README* TODO VERSION
141 dohtml -a html,sgml doc/*
142
143 exeinto /etc/X11/Sessions
144 doexe "$T/icewm"
145
146 insinto /usr/share/xsessions
147 doins "${FILESDIR}/IceWM.desktop"
148 }
149
150
151
152 --
153 gentoo-commits@g.o mailing list