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