1 |
vapier 09/09/29 22:31:56 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: DirectFB-1.4.2.ebuild |
5 |
Log: |
6 |
Version bump #283922 by Victor Tseng. |
7 |
(Portage version: 2.2_rc40/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.88 dev-libs/DirectFB/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/DirectFB/ChangeLog?rev=1.88&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/DirectFB/ChangeLog?rev=1.88&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/DirectFB/ChangeLog?r1=1.87&r2=1.88 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/dev-libs/DirectFB/ChangeLog,v |
19 |
retrieving revision 1.87 |
20 |
retrieving revision 1.88 |
21 |
diff -u -r1.87 -r1.88 |
22 |
--- ChangeLog 29 Sep 2009 20:53:09 -0000 1.87 |
23 |
+++ ChangeLog 29 Sep 2009 22:31:55 -0000 1.88 |
24 |
@@ -1,6 +1,11 @@ |
25 |
# ChangeLog for dev-libs/DirectFB |
26 |
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/DirectFB/ChangeLog,v 1.87 2009/09/29 20:53:09 vapier Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/DirectFB/ChangeLog,v 1.88 2009/09/29 22:31:55 vapier Exp $ |
29 |
+ |
30 |
+*DirectFB-1.4.2 (29 Sep 2009) |
31 |
+ |
32 |
+ 29 Sep 2009; Mike Frysinger <vapier@g.o> +DirectFB-1.4.2.ebuild: |
33 |
+ Version bump #283922 by Victor Tseng. |
34 |
|
35 |
*DirectFB-1.2.9 (29 Sep 2009) |
36 |
|
37 |
|
38 |
|
39 |
|
40 |
1.1 dev-libs/DirectFB/DirectFB-1.4.2.ebuild |
41 |
|
42 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/DirectFB/DirectFB-1.4.2.ebuild?rev=1.1&view=markup |
43 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/DirectFB/DirectFB-1.4.2.ebuild?rev=1.1&content-type=text/plain |
44 |
|
45 |
Index: DirectFB-1.4.2.ebuild |
46 |
=================================================================== |
47 |
# Copyright 1999-2009 Gentoo Foundation |
48 |
# Distributed under the terms of the GNU General Public License v2 |
49 |
# $Header: /var/cvsroot/gentoo-x86/dev-libs/DirectFB/DirectFB-1.4.2.ebuild,v 1.1 2009/09/29 22:31:55 vapier Exp $ |
50 |
|
51 |
inherit eutils toolchain-funcs |
52 |
|
53 |
# Map Gentoo IUSE expand vars to DirectFB drivers |
54 |
# echo `sed -n '/Possible gfxdrivers are:/,/^$/{/Possible/d;s:\[ *::;s:\].*::;s:,::g;p}' configure.in` |
55 |
I_TO_D_intel="i810,i830" |
56 |
I_TO_D_mga="matrox" |
57 |
I_TO_D_r128="ati128" |
58 |
I_TO_D_s3="unichrome" |
59 |
I_TO_D_sis="sis315" |
60 |
I_TO_D_via="cle266" |
61 |
# cyber5k davinci ep9x gl omap pxa3xx sh772x |
62 |
IUSE_VIDEO_CARDS=" intel mach64 mga neomagic nsc none nvidia r128 radeon s3 savage sis tdfx via vmware" |
63 |
IUV=${IUSE_VIDEO_CARDS// / video_cards_} |
64 |
# echo `sed -n '/Possible inputdrivers are:/,/^$/{/\(Possible\|^input\)/d;s:\[ *::;s:\].*::;s:,::g;p}' configure.in` |
65 |
I_TO_D_elo2300="elo-input" |
66 |
I_TO_D_evdev="linuxinput" |
67 |
I_TO_D_mouse="ps2mouse serialmouse" |
68 |
# dbox2remote dreamboxremote gunze h3600_ts penmount sonypijogdial ucb1x00 wm97xx zytronic |
69 |
IUSE_INPUT_DEVICES=" dynapro elo2300 evdev joystick keyboard lirc mouse mutouch none tslib" |
70 |
IUD=${IUSE_INPUT_DEVICES// / input_devices_} |
71 |
|
72 |
DESCRIPTION="Thin library on top of the Linux framebuffer devices" |
73 |
HOMEPAGE="http://www.directfb.org/" |
74 |
SRC_URI="http://directfb.org/downloads/Core/${PN}-${PV:0:3}/${P}.tar.gz |
75 |
http://directfb.org/downloads/Old/${P}.tar.gz" |
76 |
|
77 |
LICENSE="LGPL-2.1" |
78 |
SLOT="0" |
79 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 -mips ~ppc ~ppc64 ~sh -sparc ~x86" |
80 |
IUSE="debug fbcon fusion gif jpeg mmx png sdl sse sysfs truetype v4l v4l2 X zlib ${IUV} ${IUD}" |
81 |
|
82 |
# fusion? ( >=dev-libs/linux-fusion-8.0.0 ) |
83 |
RDEPEND="sdl? ( media-libs/libsdl ) |
84 |
gif? ( media-libs/giflib ) |
85 |
png? ( media-libs/libpng ) |
86 |
jpeg? ( media-libs/jpeg ) |
87 |
sysfs? ( sys-fs/sysfsutils ) |
88 |
zlib? ( sys-libs/zlib ) |
89 |
truetype? ( >=media-libs/freetype-2.0.1 ) |
90 |
X? ( x11-libs/libXext x11-libs/libX11 )" |
91 |
DEPEND="${RDEPEND} |
92 |
X? ( x11-proto/xextproto x11-proto/xproto )" |
93 |
|
94 |
src_unpack() { |
95 |
unpack ${A} |
96 |
cd "${S}" |
97 |
epatch "${FILESDIR}"/${PN}-1.2.7-CFLAGS.patch |
98 |
epatch "${FILESDIR}"/${PN}-1.2.0-headers.patch |
99 |
epatch "${FILESDIR}"/${PN}-1.1.1-pkgconfig.patch |
100 |
|
101 |
# This is only a partial fix to the X11 order issue #201626. It's just |
102 |
# the only part we need in order to make the issue go away. Upstream |
103 |
# bug tracker is currently broken, so list things to do here: |
104 |
# configure.in: |
105 |
# - only add -I/usr/X11R6/include to X11_CFLAGS as needed |
106 |
# - only add -L/usr/X11R6/lib to X11_LIBS as needed |
107 |
# systems/x11/Makefile.am: |
108 |
# - add $(X11_LIBS) to end of _LIBADD variables |
109 |
sed -i \ |
110 |
-e '/X11_LIBS/s:-L/usr/X11R6/lib::' \ |
111 |
-e '/CFLAGS/s:-I/usr/X11R6/include::' \ |
112 |
configure |
113 |
} |
114 |
|
115 |
driver_list() { |
116 |
use ${pfx}_none && echo none |
117 |
|
118 |
local dev devs pfx=$1 map |
119 |
shift |
120 |
for dev in "$@" ; do |
121 |
use ${pfx}_${dev} || continue |
122 |
map="I_TO_D_${dev}" |
123 |
devs=${devs:+${devs},}${!map:-${dev}} |
124 |
done |
125 |
echo ${devs:-none} |
126 |
} |
127 |
|
128 |
src_compile() { |
129 |
local sdlconf="--disable-sdl" |
130 |
if use sdl ; then |
131 |
# since SDL can link against DirectFB and trigger a |
132 |
# dependency loop, only link against SDL if it isn't |
133 |
# broken #61592 |
134 |
echo 'int main(){}' > sdl-test.c |
135 |
$(tc-getCC) sdl-test.c -lSDL 2>/dev/null \ |
136 |
&& sdlconf="--enable-sdl" \ |
137 |
|| ewarn "Disabling SDL since libSDL.so is broken" |
138 |
fi |
139 |
|
140 |
econf \ |
141 |
--enable-static \ |
142 |
$(use_enable X x11) \ |
143 |
$(use_enable fbcon fbdev) \ |
144 |
$(use_enable mmx) \ |
145 |
$(use_enable sse) \ |
146 |
$(use_enable jpeg) \ |
147 |
$(use_enable png) \ |
148 |
$(use_enable gif) \ |
149 |
$(use_enable truetype freetype) \ |
150 |
$(use_enable fusion multi) \ |
151 |
$(use_enable debug) \ |
152 |
$(use_enable sysfs) \ |
153 |
$(use_enable zlib) \ |
154 |
$(use_enable v4l video4linux) \ |
155 |
$(use_enable v4l2 video4linux2) \ |
156 |
${sdlconf} \ |
157 |
--with-gfxdrivers="$(driver_list video_cards ${IUSE_VIDEO_CARDS})" \ |
158 |
--with-inputdrivers="$(driver_list input_devices ${IUSE_INPUT_DEVICES})" \ |
159 |
--disable-vnc \ |
160 |
|| die |
161 |
emake || die |
162 |
} |
163 |
|
164 |
src_install() { |
165 |
emake DESTDIR="${D}" install || die "make install failed" |
166 |
dodoc fb.modes AUTHORS ChangeLog NEWS README* TODO |
167 |
dohtml -r docs/html/* |
168 |
} |
169 |
|
170 |
pkg_postinst() { |
171 |
ewarn "Each DirectFB update in the 0.9.xx series" |
172 |
ewarn "breaks DirectFB related applications." |
173 |
ewarn "Please run \"revdep-rebuild\" which can be" |
174 |
ewarn "found by emerging the package 'gentoolkit'." |
175 |
ewarn |
176 |
ewarn "If you have an ALPS touchpad, then you might" |
177 |
ewarn "get your mouse unexpectedly set in absolute" |
178 |
ewarn "mode in all DirectFB applications." |
179 |
ewarn "This can be fixed by removing linuxinput from" |
180 |
ewarn "INPUT_DEVICES." |
181 |
} |