1 |
hasufell 14/01/04 14:49:51 |
2 |
|
3 |
Modified: metadata.xml ChangeLog |
4 |
Added: DirectFB-1.7.1.ebuild |
5 |
Log: |
6 |
version bump wrt #476834 |
7 |
|
8 |
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key E73C35B3) |
9 |
|
10 |
Revision Changes Path |
11 |
1.8 dev-libs/DirectFB/metadata.xml |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/DirectFB/metadata.xml?rev=1.8&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/DirectFB/metadata.xml?rev=1.8&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/DirectFB/metadata.xml?r1=1.7&r2=1.8 |
16 |
|
17 |
Index: metadata.xml |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/dev-libs/DirectFB/metadata.xml,v |
20 |
retrieving revision 1.7 |
21 |
retrieving revision 1.8 |
22 |
diff -u -r1.7 -r1.8 |
23 |
--- metadata.xml 9 Feb 2013 16:10:36 -0000 1.7 |
24 |
+++ metadata.xml 4 Jan 2014 14:49:51 -0000 1.8 |
25 |
@@ -3,22 +3,39 @@ |
26 |
<pkgmetadata> |
27 |
<herd>games</herd> |
28 |
<longdescription> |
29 |
- DirectFB is a thin library that provides hardware graphics acceleration, |
30 |
- input device handling and abstraction, integrated windowing system with |
31 |
- support for translucent windows and multiple display layers on top of the |
32 |
- Linux Framebuffer Device. It is a complete hardware abstraction layer with |
33 |
- software fallbacks for every graphics operation that is not supported by the |
34 |
- underlying hardware. DirectFB adds graphical power to embedded systems and |
35 |
- sets a new standard for graphics under Linux |
36 |
+ DirectFB is a thin library that provides hardware graphics |
37 |
+ acceleration, input device handling and abstraction, integrated |
38 |
+ windowing system with support for translucent windows and |
39 |
+ multiple display layers on top of the Linux Framebuffer Device. |
40 |
+ It is a complete hardware abstraction layer with software |
41 |
+ fallbacks for every graphics operation that is not supported |
42 |
+ by the underlying hardware. DirectFB adds graphical power to |
43 |
+ embedded systems and sets a new standard for graphics under |
44 |
+ Linux. |
45 |
</longdescription> |
46 |
<use> |
47 |
<flag name="bmp">build BMP image provider</flag> |
48 |
+ <flag name="divine">enable DiVine</flag> |
49 |
+ <flag name="drmkms">build with DRM/KMS support</flag> |
50 |
<flag name="dynload">enable dynload support</flag> |
51 |
+ <flag name="egl">build with EGL support</flag> |
52 |
+ <flag name="fusiondale">enable FusionDale</flag> |
53 |
+ <flag name="fusionsound">enable FusionSound</flag> |
54 |
<flag name="gles2">build gles2 gfxdriver</flag> |
55 |
<flag name="imlib2">build Imlib2 image provider</flag> |
56 |
- <flag name="input_hub">provides an asynchronous interface to the input devices available and those being added/removed</flag> |
57 |
+ <flag name="input_hub">provides an asynchronous interface |
58 |
+ to the input devices available and those being |
59 |
+ added/removed</flag> |
60 |
<flag name="mpeg2">build MPEG2 image provider</flag> |
61 |
+ <flag name="mpeg3">build Libmpeg3 video provider</flag> |
62 |
<flag name="multicore">enable multicore support</flag> |
63 |
<flag name="pnm">build PNM (PBM/PGM/PPM) image provider</flag> |
64 |
+ <flag name="sawman">enable SaWMan (window manager and |
65 |
+ application manager)</flag> |
66 |
+ <flag name="swfdec">build Swfdec (Flash decoder) video |
67 |
+ provider</flag> |
68 |
+ <flag name="tremor">build Ogg/Vorbis music provider using |
69 |
+ Tremor</flag> |
70 |
+ <flag name="webp">build WebP image provider</flag> |
71 |
</use> |
72 |
</pkgmetadata> |
73 |
|
74 |
|
75 |
|
76 |
1.133 dev-libs/DirectFB/ChangeLog |
77 |
|
78 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/DirectFB/ChangeLog?rev=1.133&view=markup |
79 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/DirectFB/ChangeLog?rev=1.133&content-type=text/plain |
80 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/DirectFB/ChangeLog?r1=1.132&r2=1.133 |
81 |
|
82 |
Index: ChangeLog |
83 |
=================================================================== |
84 |
RCS file: /var/cvsroot/gentoo-x86/dev-libs/DirectFB/ChangeLog,v |
85 |
retrieving revision 1.132 |
86 |
retrieving revision 1.133 |
87 |
diff -u -r1.132 -r1.133 |
88 |
--- ChangeLog 19 Mar 2013 20:13:40 -0000 1.132 |
89 |
+++ ChangeLog 4 Jan 2014 14:49:51 -0000 1.133 |
90 |
@@ -1,6 +1,12 @@ |
91 |
# ChangeLog for dev-libs/DirectFB |
92 |
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
93 |
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/DirectFB/ChangeLog,v 1.132 2013/03/19 20:13:40 vapier Exp $ |
94 |
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
95 |
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/DirectFB/ChangeLog,v 1.133 2014/01/04 14:49:51 hasufell Exp $ |
96 |
+ |
97 |
+*DirectFB-1.7.1 (04 Jan 2014) |
98 |
+ |
99 |
+ 04 Jan 2014; Julian Ospald <hasufell@g.o> +DirectFB-1.7.1.ebuild, |
100 |
+ +files/DirectFB-1.7.1-build.patch, +files/DirectFB-1.7.1-flags.patch: |
101 |
+ version bump wrt #476834 |
102 |
|
103 |
19 Mar 2013; Mike Frysinger <vapier@g.o> +files/DirectFB-1.6.3-atomic-f |
104 |
ix-compiler-error-when-building-for-thumb2.patch, DirectFB-1.6.3-r1.ebuild: |
105 |
|
106 |
|
107 |
|
108 |
1.1 dev-libs/DirectFB/DirectFB-1.7.1.ebuild |
109 |
|
110 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/DirectFB/DirectFB-1.7.1.ebuild?rev=1.1&view=markup |
111 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/DirectFB/DirectFB-1.7.1.ebuild?rev=1.1&content-type=text/plain |
112 |
|
113 |
Index: DirectFB-1.7.1.ebuild |
114 |
=================================================================== |
115 |
# Copyright 1999-2014 Gentoo Foundation |
116 |
# Distributed under the terms of the GNU General Public License v2 |
117 |
# $Header: /var/cvsroot/gentoo-x86/dev-libs/DirectFB/DirectFB-1.7.1.ebuild,v 1.1 2014/01/04 14:49:51 hasufell Exp $ |
118 |
|
119 |
EAPI=5 |
120 |
inherit autotools eutils toolchain-funcs |
121 |
|
122 |
# Map Gentoo IUSE expand vars to DirectFB drivers |
123 |
# echo `sed -n '/Possible gfxdrivers are:/,/^$/{/Possible/d;s:\[ *::;s:\].*::;s:,::g;p}' configure.in` |
124 |
I_TO_D_intel="i810,i830" |
125 |
I_TO_D_mga="matrox" |
126 |
I_TO_D_r128="ati128" |
127 |
I_TO_D_s3="unichrome" |
128 |
I_TO_D_sis="sis315" |
129 |
I_TO_D_via="cle266" |
130 |
# cyber5k davinci ep9x omap pxa3xx sh772x savage pvr2d |
131 |
IUSE_VIDEO_CARDS=" intel mach64 mga neomagic nsc nvidia r128 radeon s3 sis tdfx via vmware" |
132 |
IUV=${IUSE_VIDEO_CARDS// / video_cards_} |
133 |
# echo `sed -n '/Possible inputdrivers are:/,/^$/{/\(Possible\|^input\)/d;s:\[ *::;s:\].*::;s:,::g;p}' configure.in` |
134 |
I_TO_D_elo2300="elo-input" |
135 |
I_TO_D_evdev="linuxinput" |
136 |
I_TO_D_mouse="ps2mouse,serialmouse" |
137 |
# dbox2remote dreamboxremote gunze h3600_ts penmount sonypijogdial ucb1x00 wm97xx zytronic |
138 |
IUSE_INPUT_DEVICES=" dynapro elo2300 evdev joystick keyboard lirc mouse mutouch tslib" |
139 |
IUD=${IUSE_INPUT_DEVICES// / input_devices_} |
140 |
|
141 |
DESCRIPTION="Thin library on top of the Linux framebuffer devices" |
142 |
HOMEPAGE="http://www.directfb.org/" |
143 |
SRC_URI="http://directfb.org/downloads/Core/${PN}-${PV:0:3}/${P}.tar.gz |
144 |
http://directfb.org/downloads/Old/${P}.tar.gz" |
145 |
|
146 |
LICENSE="LGPL-2.1" |
147 |
SLOT="0" |
148 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 -mips ~ppc ~ppc64 ~sh -sparc ~x86" |
149 |
IUSE="alsa bmp cddb debug divine drmkms dynload doc egl fbcon fusiondale fusionsound gif gles2 gstreamer imlib2 input_hub jpeg jpeg2k mad mmx mng mpeg2 mpeg3 multicore opengl oss png pnm sawman sdl sse static-libs svg swfdec tiff timidity tremor truetype v4l vdpau vorbis webp X xine zlib ${IUV} ${IUD}" |
150 |
REQUIRED_USE="gles2? ( opengl )" |
151 |
|
152 |
# ffmpeg useflag broken |
153 |
# ffmpeg? ( virtual/ffmpeg ) |
154 |
# $(use_enable ffmpeg) \ |
155 |
RDEPEND=" |
156 |
alsa? ( media-libs/alsa-lib ) |
157 |
cddb? ( media-libs/libcddb ) |
158 |
drmkms? ( x11-libs/libdrm[libkms] ) |
159 |
gif? ( media-libs/giflib ) |
160 |
gstreamer? ( media-libs/gstreamer:1.0 media-libs/gst-plugins-base:1.0 ) |
161 |
imlib2? ( media-libs/imlib2 ) |
162 |
jpeg? ( virtual/jpeg ) |
163 |
jpeg2k? ( media-libs/jasper[jpeg] ) |
164 |
mad? ( media-libs/libmad ) |
165 |
mng? ( media-libs/libmng ) |
166 |
mpeg3? ( media-libs/libmpeg3 ) |
167 |
opengl? ( media-libs/mesa[gbm,egl?,gles2?] x11-libs/libdrm ) |
168 |
png? ( media-libs/libpng:0 ) |
169 |
sdl? ( media-libs/libsdl ) |
170 |
svg? ( x11-libs/libsvg-cairo ) |
171 |
swfdec? ( media-libs/swfdec ) |
172 |
tiff? ( media-libs/tiff:0 ) |
173 |
timidity? ( |
174 |
media-libs/libtimidity |
175 |
media-sound/timidity++ |
176 |
) |
177 |
tremor? ( media-libs/tremor ) |
178 |
truetype? ( >=media-libs/freetype-2.0.1 ) |
179 |
vdpau? ( x11-proto/xproto x11-libs/libX11 x11-libs/libXext x11-libs/libvdpau ) |
180 |
vorbis? ( media-libs/libvorbis ) |
181 |
webp? ( media-libs/libwebp ) |
182 |
X? ( x11-libs/libXext x11-libs/libX11 ) |
183 |
xine? ( media-libs/xine-lib[vdpau?] ) |
184 |
zlib? ( sys-libs/zlib ) " |
185 |
DEPEND="${RDEPEND} |
186 |
X? ( x11-proto/xextproto x11-proto/xproto )" |
187 |
|
188 |
src_prepare() { |
189 |
epatch \ |
190 |
"${FILESDIR}"/${P}-flags.patch \ |
191 |
"${FILESDIR}"/${PN}-1.6.3-pkgconfig.patch \ |
192 |
"${FILESDIR}"/${P}-build.patch \ |
193 |
"${FILESDIR}"/${PN}-1.6.3-setregion.patch \ |
194 |
"${FILESDIR}"/${PN}-1.6.3-atomic-fix-compiler-error-when-building-for-thumb2.patch |
195 |
|
196 |
mv configure.{in,ac} || die |
197 |
eautoreconf |
198 |
} |
199 |
|
200 |
driver_list() { |
201 |
local pfx=$1 |
202 |
local dev devs map |
203 |
shift |
204 |
for dev in "$@" ; do |
205 |
use ${pfx}_${dev} || continue |
206 |
map="I_TO_D_${dev}" |
207 |
devs=${devs:+${devs},}${!map:-${dev}} |
208 |
done |
209 |
echo ${devs:-none} |
210 |
} |
211 |
|
212 |
src_configure() { |
213 |
local myaudio="wave" |
214 |
use alsa && myaudio+=",alsa" |
215 |
use oss && myaudio+=",oss" |
216 |
|
217 |
local sdlconf="--disable-sdl" |
218 |
if use sdl ; then |
219 |
# since SDL can link against DirectFB and trigger a |
220 |
# dependency loop, only link against SDL if it isn't |
221 |
# broken #61592 |
222 |
echo 'int main(){}' > sdl-test.c |
223 |
$(tc-getCC) sdl-test.c -lSDL 2>/dev/null \ |
224 |
&& sdlconf="--enable-sdl" \ |
225 |
|| ewarn "Disabling SDL since libSDL.so is broken" |
226 |
fi |
227 |
|
228 |
# fix --with-gfxdrivers= logic, because opengl, vdpau and gles2 are no video_cards |
229 |
local gfxdrivers="$(driver_list video_cards ${IUSE_VIDEO_CARDS})" |
230 |
use opengl && gfxdrivers="${gfxdrivers},gl" |
231 |
use vdpau && gfxdrivers="${gfxdrivers},vdpau" |
232 |
use gles2 && gfxdrivers="${gfxdrivers},gles2" |
233 |
gfxdrivers="$(echo ${gfxdrivers} | sed 's/none,//')" |
234 |
|
235 |
# fix --with-inputdrivers= logic, don't know where to put "input_hub" |
236 |
local inputdrivers="$(driver_list input_devices ${IUSE_INPUT_DEVICES})" |
237 |
use input_hub && inputdrivers="${inputdrivers},input_hub" |
238 |
inputdrivers="$(echo ${inputdrivers} | sed 's/none,//')" |
239 |
|
240 |
econf \ |
241 |
$(use_enable static-libs static) \ |
242 |
$(use_enable X x11) \ |
243 |
$(use_enable divine) \ |
244 |
$(use_enable sawman) \ |
245 |
$(use_enable fusiondale) \ |
246 |
$(use_enable fusionsound) \ |
247 |
$(use_enable fbcon fbdev) \ |
248 |
$(use_enable mmx) \ |
249 |
$(use_enable sse) \ |
250 |
$(use_enable egl) \ |
251 |
$(use_enable egl idirectfbgl-egl) \ |
252 |
$(use_enable jpeg) \ |
253 |
$(use_enable png) \ |
254 |
$(use_enable mng) \ |
255 |
$(use_enable gstreamer) \ |
256 |
$(use_enable gif) \ |
257 |
$(use_enable tiff) \ |
258 |
$(use_enable imlib2) \ |
259 |
$(use_enable pnm) \ |
260 |
$(use_enable svg) \ |
261 |
$(use_enable mpeg2) \ |
262 |
$(use_enable mpeg3 libmpeg3) \ |
263 |
--disable-flash \ |
264 |
$(use_enable xine) \ |
265 |
$(usex xine "$(use_enable vdpau xine-vdpau)" "--disable-xine-vdpau") \ |
266 |
--disable-ffmpeg \ |
267 |
$(use_enable bmp) \ |
268 |
$(use_enable jpeg2k jpeg2000) \ |
269 |
--disable-openquicktime \ |
270 |
--disable-avifile \ |
271 |
$(use_enable truetype freetype) \ |
272 |
$(use_enable webp) \ |
273 |
$(use_enable debug) \ |
274 |
$(use_enable zlib) \ |
275 |
--disable-video4linux \ |
276 |
$(use_enable v4l video4linux2) \ |
277 |
$(use_enable vdpau x11vdpau) \ |
278 |
$(use_enable multicore) \ |
279 |
$(use_enable dynload) \ |
280 |
$(use_enable opengl mesa) \ |
281 |
$(use_enable drmkms) \ |
282 |
--with-fs-drivers="${myaudio}" \ |
283 |
$(use_with timidity) \ |
284 |
--with-wave \ |
285 |
$(use_with vorbis) \ |
286 |
$(use_with tremor) \ |
287 |
$(use_with mad) \ |
288 |
$(use_with cddb cdda) \ |
289 |
--with-playlist \ |
290 |
${sdlconf} \ |
291 |
--with-gfxdrivers="${gfxdrivers}" \ |
292 |
--with-inputdrivers="${inputdrivers}" \ |
293 |
--disable-vnc |
294 |
} |
295 |
|
296 |
src_install() { |
297 |
default |
298 |
dodoc fb.modes |
299 |
use doc && dohtml -r docs/html/* |
300 |
} |
301 |
|
302 |
pkg_postinst() { |
303 |
ewarn "Each DirectFB update breaks DirectFB related applications." |
304 |
ewarn "Please run \"revdep-rebuild\" which can be" |
305 |
ewarn "found by emerging the package 'gentoolkit'." |
306 |
ewarn |
307 |
ewarn "If you have an ALPS touchpad, then you might get your mouse" |
308 |
ewarn "unexpectedly set in absolute mode in all DirectFB applications." |
309 |
ewarn "This can be fixed by removing linuxinput from INPUT_DEVICES." |
310 |
} |