Gentoo Archives: gentoo-commits

From: "Lars Wendler (polynomial-c)" <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in x11-wm/icewm: ChangeLog icewm-1.3.8.ebuild
Date: Tue, 03 Dec 2013 19:49:25
Message-Id: 20131203194919.8DA742004B@flycatcher.gentoo.org
1 polynomial-c 13/12/03 19:49:19
2
3 Modified: ChangeLog
4 Added: icewm-1.3.8.ebuild
5 Log:
6 Version bump (bug #490904)
7
8 (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 0x981CA6FC)
9
10 Revision Changes Path
11 1.161 x11-wm/icewm/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-wm/icewm/ChangeLog?rev=1.161&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-wm/icewm/ChangeLog?rev=1.161&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-wm/icewm/ChangeLog?r1=1.160&r2=1.161
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/x11-wm/icewm/ChangeLog,v
20 retrieving revision 1.160
21 retrieving revision 1.161
22 diff -u -r1.160 -r1.161
23 --- ChangeLog 9 Nov 2013 15:19:49 -0000 1.160
24 +++ ChangeLog 3 Dec 2013 19:49:19 -0000 1.161
25 @@ -1,6 +1,13 @@
26 # ChangeLog for x11-wm/icewm
27 # Copyright 1999- Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/x11-wm/icewm/ChangeLog,v 1.160 2013/11/09 15:19:49 pacho Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/x11-wm/icewm/ChangeLog,v 1.161 2013/12/03 19:49:19 polynomial-c Exp $
30 +
31 +*icewm-1.3.8 (03 Dec 2013)
32 +
33 + 03 Dec 2013; Lars Wendler <polynomial-c@g.o> +icewm-1.3.8.ebuild,
34 + +files/icewm-1.3.8-build-fixes.patch, +files/icewm-1.3.8-deprecated.patch,
35 + +files/icewm-1.3.8-menu.patch:
36 + Version bump (bug #490904).
37
38 09 Nov 2013; Pacho Ramos <pacho@g.o> icewm-1.3.7-r1.ebuild:
39 x86 stable, bug #472086
40
41
42
43 1.1 x11-wm/icewm/icewm-1.3.8.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-wm/icewm/icewm-1.3.8.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-wm/icewm/icewm-1.3.8.ebuild?rev=1.1&content-type=text/plain
47
48 Index: icewm-1.3.8.ebuild
49 ===================================================================
50 # Copyright 1999- Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/x11-wm/icewm/icewm-1.3.8.ebuild,v 1.1 2013/12/03 19:49:19 polynomial-c Exp $
53
54 EAPI=5
55 PYTHON_COMPAT=( python{2_6,2_7} )
56
57 inherit autotools eutils python-single-r1
58
59 DESCRIPTION="Ice Window Manager with Themes"
60 HOMEPAGE="http://www.icewm.org/"
61 LICENSE="GPL-2"
62 SRC_URI="mirror://sourceforge/${PN}/${P/_}.tar.gz"
63
64 SLOT="0"
65 KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86"
66 IUSE="bidi debug gnome minimal nls truetype uclibc xinerama"
67 REQUIRED_USE="gnome? ( ${PYTHON_REQUIRED_USE} )"
68
69 # Tests broken in all versions, patches welcome, bug #323907, #389533
70 RESTRICT="test"
71
72 #fix for icewm preversion package names
73 S=${WORKDIR}/${P/_}
74
75 RDEPEND="
76 x11-libs/libX11
77 x11-libs/libXrandr
78 x11-libs/libXext
79 x11-libs/libXpm
80 x11-libs/libXrender
81 x11-libs/libXft
82 x11-libs/libSM
83 x11-libs/libICE
84 xinerama? ( x11-libs/libXinerama )
85 bidi? ( dev-libs/fribidi )
86 gnome? (
87 ${PYTHON_DEPS}
88 dev-python/pyxdg
89 gnome-base/gnome-desktop:2
90 gnome-base/gnome-menus
91 gnome-base/libgnomeui )
92 nls? ( sys-devel/gettext )
93 truetype? ( >=media-libs/freetype-2.0.9 )
94 media-libs/giflib
95 "
96 DEPEND="${RDEPEND}
97 x11-proto/xproto
98 x11-proto/xextproto
99 xinerama? ( x11-proto/xineramaproto )
100 >=sys-apps/sed-4
101 "
102
103 pkg_setup() {
104 if use truetype && use minimal; then
105 ewarn "You have both 'truetype' and 'minimal' use flags enabled."
106 ewarn "If you really want a minimal install, you will have to turn off"
107 ewarn "the truetype flag for this package."
108 fi
109 }
110
111 src_prepare() {
112 # Fedora patches
113 epatch "${FILESDIR}"/${PN}-1.3.8-menu.patch
114 epatch "${FILESDIR}"/${PN}-toolbar.patch
115 epatch "${FILESDIR}"/${PN}-keys.patch
116 epatch "${FILESDIR}"/${PN}-fribidi.patch
117 epatch "${FILESDIR}"/${PN}-1.3.7-dso.patch
118 epatch "${FILESDIR}"/${PN}-defaults.patch
119 epatch "${FILESDIR}"/${PN}-1.3.7-menuiconsize.patch
120 epatch "${FILESDIR}"/${PN}-1.3.8-deprecated.patch
121
122 epatch "${FILESDIR}"/${PN}-1.3.7-gcc44.patch
123
124 # Get thermal info from proper locations, bug #452730
125 epatch "${FILESDIR}"/${PN}-1.3.7-thermal.patch
126
127 # Debian patch fixing multiple build issues, like bug #470148
128 epatch "${FILESDIR}"/${PN}-1.3.8-build-fixes.patch
129
130 # Fix bug #486710
131 use uclibc && epatch "${FILESDIR}/${P}-uclibc.patch"
132
133 eautoreconf
134 }
135
136 src_configure() {
137 if use truetype
138 then
139 myconf="${myconf} --enable-gradients --enable-shape --enable-shaped-decorations"
140 else
141 myconf="${myconf} --disable-xfreetype --enable-corefonts
142 $(use_enable minimal lite)"
143 fi
144
145 myconf="${myconf}
146 --with-libdir=/usr/share/icewm
147 --with-cfgdir=/etc/icewm
148 --with-docdir=/usr/share/doc/${PF}/html
149 $(use_enable bidi fribidi)
150 $(use_enable debug)
151 $(use_enable gnome menus-gnome2)
152 $(use_enable nls i18n)
153 $(use_enable nls)
154 $(use_enable x86 x86-asm)
155 $(use_enable xinerama)
156 --without-esd-config"
157
158 CXXFLAGS="${CXXFLAGS}" econf ${myconf}
159
160 sed -i "s:/icewm-\$(VERSION)::" src/Makefile || die "patch failed"
161 sed -i "s:ungif:gif:" src/Makefile || die "libungif fix failed"
162 }
163
164 src_install(){
165 default
166
167 if use gnome; then
168 dobin "${FILESDIR}"/icewm-xdg-menu
169 exeinto /usr/share/icewm/
170 newexe "${FILESDIR}"/icewm-startup startup
171 fi
172
173 dodoc AUTHORS BUGS CHANGES PLATFORMS README* TODO VERSION
174 dohtml -a html,sgml doc/*
175
176 exeinto /etc/X11/Sessions
177 doexe "${FILESDIR}/icewm"
178
179 insinto /usr/share/xsessions
180 doins "${FILESDIR}/IceWM.desktop"
181 }