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