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