1 |
jer 14/02/02 11:15:30 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: fltk-1.3.2_p10088.ebuild |
5 |
Removed: fltk-1.3.1.ebuild fltk-1.3.0-r1.ebuild |
6 |
Log: |
7 |
Version bump (bug #497594). |
8 |
|
9 |
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key A792A613) |
10 |
|
11 |
Revision Changes Path |
12 |
1.239 x11-libs/fltk/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/fltk/ChangeLog?rev=1.239&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/fltk/ChangeLog?rev=1.239&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/fltk/ChangeLog?r1=1.238&r2=1.239 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/x11-libs/fltk/ChangeLog,v |
21 |
retrieving revision 1.238 |
22 |
retrieving revision 1.239 |
23 |
diff -u -r1.238 -r1.239 |
24 |
--- ChangeLog 15 Jan 2014 09:16:10 -0000 1.238 |
25 |
+++ ChangeLog 2 Feb 2014 11:15:30 -0000 1.239 |
26 |
@@ -1,6 +1,14 @@ |
27 |
# ChangeLog for x11-libs/fltk |
28 |
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/fltk/ChangeLog,v 1.238 2014/01/15 09:16:10 ago Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/fltk/ChangeLog,v 1.239 2014/02/02 11:15:30 jer Exp $ |
31 |
+ |
32 |
+*fltk-1.3.2_p10088 (02 Feb 2014) |
33 |
+ |
34 |
+ 02 Feb 2014; Jeroen Roovers <jer@g.o> -fltk-1.3.0-r1.ebuild, |
35 |
+ -fltk-1.3.1.ebuild, +fltk-1.3.2_p10088.ebuild, |
36 |
+ -files/fltk-1.3.0-as-needed.patch, -files/fltk-1.3.1-desktop.patch, |
37 |
+ +files/fltk-1.3.2-conf-tests.patch: |
38 |
+ Version bump (bug #497594). |
39 |
|
40 |
15 Jan 2014; Agostino Sarubbo <ago@g.o> fltk-1.3.2.ebuild: |
41 |
Stable for ia64, wrt bug #485582 |
42 |
|
43 |
|
44 |
|
45 |
1.1 x11-libs/fltk/fltk-1.3.2_p10088.ebuild |
46 |
|
47 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/fltk/fltk-1.3.2_p10088.ebuild?rev=1.1&view=markup |
48 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/fltk/fltk-1.3.2_p10088.ebuild?rev=1.1&content-type=text/plain |
49 |
|
50 |
Index: fltk-1.3.2_p10088.ebuild |
51 |
=================================================================== |
52 |
# Copyright 1999-2014 Gentoo Foundation |
53 |
# Distributed under the terms of the GNU General Public License v2 |
54 |
# $Header: /var/cvsroot/gentoo-x86/x11-libs/fltk/fltk-1.3.2_p10088.ebuild,v 1.1 2014/02/02 11:15:30 jer Exp $ |
55 |
|
56 |
EAPI=5 |
57 |
|
58 |
inherit autotools eutils fdo-mime flag-o-matic versionator |
59 |
|
60 |
MY_PV_MAJOR=$( get_version_component_range 1-2 ) |
61 |
MY_PV_REV=$( get_version_component_range 4 ) |
62 |
|
63 |
DESCRIPTION="C++ user interface toolkit for X and OpenGL" |
64 |
HOMEPAGE="http://www.fltk.org/" |
65 |
SRC_URI="http://${PN}.org/pub/${PN}/snapshots/${PN}-${MY_PV_MAJOR}.x-${MY_PV_REV/p/r}.tar.bz2 -> ${P}.tar.bz2" |
66 |
|
67 |
SLOT="1" |
68 |
LICENSE="FLTK LGPL-2" |
69 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x86-macos" |
70 |
IUSE="cairo debug doc examples games opengl pdf static-libs threads xft xinerama" |
71 |
|
72 |
RDEPEND=" |
73 |
>=media-libs/libpng-1.2:0 |
74 |
virtual/jpeg:0 |
75 |
sys-libs/zlib |
76 |
x11-libs/libICE |
77 |
x11-libs/libSM |
78 |
x11-libs/libXext |
79 |
x11-libs/libXt |
80 |
cairo? ( x11-libs/cairo ) |
81 |
opengl? ( virtual/opengl ) |
82 |
xinerama? ( x11-libs/libXinerama ) |
83 |
xft? ( x11-libs/libXft )" |
84 |
DEPEND="${RDEPEND} |
85 |
x11-proto/xextproto |
86 |
doc? ( |
87 |
app-doc/doxygen |
88 |
pdf? ( dev-texlive/texlive-latex ) |
89 |
) |
90 |
xinerama? ( x11-proto/xineramaproto )" |
91 |
|
92 |
INCDIR=${EPREFIX}/usr/include/fltk-${SLOT} |
93 |
LIBDIR=${EPREFIX}/usr/$(get_libdir)/fltk-${SLOT} |
94 |
|
95 |
S=${WORKDIR}/${PN}-${MY_PV_MAJOR}.x-${MY_PV_REV/p/r} |
96 |
|
97 |
src_prepare() { |
98 |
rm -rf zlib jpeg png || die |
99 |
epatch \ |
100 |
"${FILESDIR}"/${PN}-1.3.1-as-needed.patch \ |
101 |
"${FILESDIR}"/${PN}-1.3.2-desktop.patch \ |
102 |
"${FILESDIR}"/${PN}-1.3.0-share.patch \ |
103 |
"${FILESDIR}"/${PN}-1.3.2-conf-tests.patch |
104 |
sed \ |
105 |
-e 's:@HLINKS@::g' -i FL/Makefile.in || die |
106 |
sed -i \ |
107 |
-e '/C\(XX\)\?FLAGS=/s:@C\(XX\)\?FLAGS@::' \ |
108 |
-e '/^LDFLAGS=/d' \ |
109 |
"${S}/fltk-config.in" || die |
110 |
# some fixes introduced because slotting |
111 |
sed -i \ |
112 |
-e '/RANLIB/s:$(libdir)/\(.*LIBNAME)\):$(libdir)/`basename \1`:g' \ |
113 |
src/Makefile || die |
114 |
# docs in proper docdir |
115 |
sed -i \ |
116 |
-e "/^docdir/s:fltk:${PF}/html:" \ |
117 |
-e "/SILENT:/d" \ |
118 |
makeinclude.in || die |
119 |
sed -e "s/7/$(get_version_component_range 3)/" \ |
120 |
"${FILESDIR}"/FLTKConfig.cmake > CMake/FLTKConfig.cmake |
121 |
sed -e 's:-Os::g' -i configure.in || die |
122 |
use prefix && append-ldflags -Wl,-rpath -Wl,"${LIBDIR}" |
123 |
|
124 |
# also in Makefile:config.guess config.sub: |
125 |
cp misc/config.{guess,sub} . || die |
126 |
|
127 |
eautoconf |
128 |
} |
129 |
|
130 |
src_configure() { |
131 |
econf \ |
132 |
--includedir=${INCDIR}\ |
133 |
--libdir=${LIBDIR} \ |
134 |
--docdir="${EPREFIX}/usr/share/doc/${PF}/html" \ |
135 |
--enable-largefile \ |
136 |
--enable-shared \ |
137 |
--enable-xdbe \ |
138 |
--disable-localjpeg \ |
139 |
--disable-localpng \ |
140 |
--disable-localzlib \ |
141 |
$(use_enable debug) \ |
142 |
$(use_enable cairo) \ |
143 |
$(use_enable opengl gl) \ |
144 |
$(use_enable threads) \ |
145 |
$(use_enable xft) \ |
146 |
$(use_enable xinerama) |
147 |
} |
148 |
|
149 |
src_compile() { |
150 |
default |
151 |
if use doc; then |
152 |
cd "${S}"/documentation |
153 |
emake html |
154 |
if use pdf; then |
155 |
emake pdf |
156 |
fi |
157 |
fi |
158 |
if use games; then |
159 |
cd "${S}"/test |
160 |
emake blocks checkers sudoku |
161 |
fi |
162 |
} |
163 |
|
164 |
src_test() { |
165 |
emake -C test |
166 |
} |
167 |
|
168 |
src_install() { |
169 |
default |
170 |
emake -C fluid \ |
171 |
DESTDIR="${D}" install-linux |
172 |
if use doc; then |
173 |
emake -C documentation \ |
174 |
DESTDIR="${D}" install |
175 |
fi |
176 |
local apps="fluid" |
177 |
if use games; then |
178 |
emake -C test \ |
179 |
DESTDIR="${D}" install-linux |
180 |
emake -C documentation \ |
181 |
DESTDIR="${D}" install-linux |
182 |
apps+=" sudoku blocks checkers" |
183 |
fi |
184 |
for app in ${apps}; do |
185 |
dosym /usr/share/icons/hicolor/32x32/apps/${app}.png \ |
186 |
/usr/share/pixmaps/${app}.png |
187 |
done |
188 |
dodoc CHANGES README CREDITS ANNOUNCEMENT |
189 |
|
190 |
if use examples; then |
191 |
insinto /usr/share/doc/${PF}/examples |
192 |
doins test/*.{h,cxx,fl} test/demo.menu |
193 |
fi |
194 |
|
195 |
insinto /usr/share/cmake/Modules |
196 |
doins CMake/FLTK*.cmake |
197 |
|
198 |
echo "LDPATH=${LIBDIR}" > 99fltk-${SLOT} |
199 |
echo "FLTK_DOCDIR=${EPREFIX}/usr/share/doc/${PF}/html" >> 99fltk-${SLOT} |
200 |
doenvd 99fltk-${SLOT} |
201 |
|
202 |
prune_libtool_files |
203 |
} |
204 |
|
205 |
pkg_postinst() { |
206 |
fdo-mime_desktop_database_update |
207 |
} |
208 |
|
209 |
pkg_postrm() { |
210 |
fdo-mime_desktop_database_update |
211 |
} |