Portage is a package management system used by Gentoo Linux
# ChangeLog for dev-libs/DirectFB
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/DirectFB/ChangeLog,v 1.72 2008/08/19 16:53:37 vapier Exp $
*DirectFB-1.2.3 (19 Aug 2008)
19 Aug 2008; Mike Frysinger
Version bump.
*DirectFB-1.2.2 (16 Aug 2008)
16 Aug 2008; Mike Frysinger
+files/DirectFB-1.2.0-headers.patch, +DirectFB-1.2.2.ebuild:
Version bump #233272 by Benjamin Schleinzer.
06 Aug 2008; Ulrich Mueller
Add USE flag description to metadata wrt GLEP 56.
21 Jan 2008; Mike Frysinger
Handle the edge cases better with VIDEO_CARDS/INPUT_DEVICES. Not set implies
all, set but not matching any possibilities implies none. Fixes #206824 by
peter.
24 Dec 2007; Mike Frysinger
Add support for USE=X #201970 by Alexis Ballier.
*DirectFB-1.1.1 (24 Dec 2007)
24 Dec 2007; Mike Frysinger
+files/DirectFB-1.1.1-headers.patch,
+files/DirectFB-1.1.1-pkgconfig.patch, +DirectFB-1.1.1.ebuild:
Version bump.
08 Dec 2007; Mike Frysinger
Delete /usr/X11R6/ flags from build #201626 by Arfrever Frehtes Taifersar
Arahesis.
*DirectFB-1.1.0 (02 Dec 2007)
02 Dec 2007; Mike Frysinger
+files/DirectFB-1.1.0-headers.patch,
+files/DirectFB-1.1.0-pkgconfig.patch, +DirectFB-1.1.0.ebuild:
Version bump #190463 by Alexandre Bique. Fix from Andrew Williams for the
.pc file #200661.
19 Apr 2007; Markus Rothe
Added ~ppc64; bug #175166
*DirectFB-1.0.0 (20 Mar 2007)
20 Mar 2007; Mike Frysinger
+files/DirectFB-1.0.0-headers.patch, +DirectFB-1.0.0.ebuild:
Version bump #171469 by Michele Noberasco.
03 Mar 2007; Marius Mauch
DirectFB-0.9.24.ebuild, DirectFB-0.9.25.1.ebuild:
Replacing einfo with ewarn
07 Feb 2007; Michael Sterrett
DirectFB-0.9.25.1.ebuild:
removed static use flag and always build static libs (bug #165761)
04 Jan 2007; Jeroen Roovers
Stable for HPPA (bug #159554).
31 Dec 2006; Mike Frysinger
+files/DirectFB-0.9.25.1-headers.patch, DirectFB-0.9.25.1.ebuild:
Fix building with sanitized headers #152614.
30 Oct 2006; Matti Bickel
Stable on ppc (bug #149813)
23 Oct 2006; Simon Stelling
stable on amd64
20 Oct 2006; Bryan Østergaard
Stable on Alpha.
10 Oct 2006; Chris Gianelloni
DirectFB-0.9.25.1.ebuild:
Stable on x86 wrt bug #149813.
24 May 2006; Michael Hanselmann
DirectFB-0.9.24.ebuild:
Stable on ppc.
08 May 2006; Michele Noberasco
Stable for x86. See bug #132535.
*DirectFB-0.9.25.1 (07 May 2006)
07 May 2006; Mike Frysinger
Version bump #132531 by Håvard Wall.
16 Apr 2006; Mike Frysinger
+files/DirectFB-0.9.24-CFLAGS.patch, DirectFB-0.9.24.ebuild:
Scrub CFLAGS from configure.
*DirectFB-0.9.24 (28 Oct 2005)
28 Oct 2005; Mike Frysinger
Version bump #110627 by James Gatt.
02 Sep 2005; Mike Frysinger
+files/DirectFB-0.9.22-i830-detect.patch, DirectFB-0.9.22.ebuild:
Clean up the way we disable wm97xx/sis315 and enable i830.
21 Aug 2005; Mike Frysinger
Add support for USE=zlib by Steve Dibb in #103150.
19 May 2005; Mike Frysinger
Add support for INPUT_DRIVERS. Patch by Lachlan Pease #93046.
*DirectFB-0.9.22 (01 Mar 2005)
01 Mar 2005; Mike Frysinger
Version bump.
*DirectFB-0.9.21 (24 Dec 2004)
24 Dec 2004; Mike Frysinger
+files/0.9.21-simd-amd64.patch, +DirectFB-0.9.21.ebuild:
Version bump #75283 by Michele Noberasco.
04 Dec 2004; Michael Sterrett
DirectFB-0.9.20-r1.ebuild:
use emake (bug #72199)
09 Sep 2004; Mike Frysinger
-DirectFB-0.9.20.ebuild:
Add detection to prevent circular dependency causing build failures #61592 by
Anton Starikov.
*DirectFB-0.9.20-r1 (12 Aug 2004)
12 Aug 2004; Michael Sterrett
+DirectFB-0.9.20-r1.ebuild:
Fix mms/sse for non-amd64; error check sed; tidy
04 May 2004; Travis Tilley
+files/DirectFB-0.9.20-64bit.diff, +files/DirectFB-0.9.20-simd-amd64.diff,
DirectFB-0.9.20.ebuild:
added misc 64bit fixes and enabled simd optimisations for amd64
18 Apr 2004; Travis Tilley
marking as stable on amd64
14 Mar 2004; Stephen P. Becker
Masking on mips because of unsupported hardware.
28 Jan 2004; Aron Griffis
stable on ia64
02 Jan 2004; Sven Blumenstein
DirectFB-0.9.19-r1.ebuild, DirectFB-0.9.20.ebuild:
Masking because sparc hardware is not supported by DirectFB.
*DirectFB-0.9.20 (28 Oct 2003)
23 Dec 2003; Mike Frysinger
Add small patch to make this stuff work with linux 2.6 headers.
16 Dec 2003; Jason Wever
Changed sparc keyword to ~sparc as quicktime dependency previous had no
keyword and the usability of this on sparc is questionable at this time.
23 Nov 2003; Aron Griffis
Stable on alpha
28 Oct 2003; Mike Frysinger
Version bump #32207.
*DirectFB-0.9.19-r1 (05 Aug 2003)
02 Oct 2003; Mike Frysinger
Add support so user can select what video card drivers to build.
05 Aug 2003; Patrick Kursawe
DirectFB-0.9.19-r1.ebuild:
Trying to fix bug 25097
05 Aug 2003; Martin Holzer
DirectFB-0.9.16.ebuild:
Updated quicktime to virtual/quicktime
*DirectFB-0.9.19 (30 Jul 2003)
30 Jul 2003; Brandon Low
Bump
*DirectFB-0.9.18 (25 Jun 2003)
06 Aug 2003; Patrick Kursawe
Moved to x86 to fix bug 25947
25 Jun 2003; Brandon Low
Bump
13 Jun 2003; Seemant Kulleen
moved to x86
*DirectFB-0.9.17 (05 Mar 2003)
05 Mar 2003; Mike Frysinger
Version bump + cleanups. PDEPEND removed since extra isnt available yet.
*DirectFB-0.9.16-r1 (02 Feb 2003)
02 Feb 2003; Seemant Kulleen
DirectFB-0.9.16-r1.ebuild files/digest-DirectFB-0.9.16-r1 :
Many fixes -- avifile, flash, quicktime, and imlib2 providers are now in
DirectFB-extra, and sdl is autodetected, to prevent the circular dependency
(it is still an experimental thing upstream, so hopefully the circular dep
thing gets sorted when it's less experimental).
DirectFB-extra made a PDEPEND.
*DirectFB-0.9.16 (17 Jan 2003)
17 Jan 2003; Mike Frysinger
files/digest-DirectFB-0.9.16 :
Version bump.
*DirectFB-0.9.15 (13 Nov 2002)
13 Nov 2002; Seemant Kulleen
files/digest-DirectFB-0.9.15 :
Version bump.
*DirectFB-0.9.13-r1 (30 Oct 2002)
15 Dec 2002; Bjoern Brauel
Add alpha to KEYWORDS
30 Oct 2002; Mike Frysinger
Added a gcc3.x fix for libflash and a library linkage fix for libpng-1.2.5
*DirectFB-0.9.13 (27 Aug 2002)
27 Aug 2002; Seemant Kulleen
files/digest-DirectFB-0.9.13 :
Version bump.
*DirectFB-0.9.12 (20 Jun 2002)
19 Oct 2002; Calum Selkirk
Added ppc to KEYWORDS.
20 Jun 2002; Seemant Kulleen
files/digest-DirectFB-0.9.12 :
Version bump.
*DirectFB-0.9.11 (7 Jun 2002)
7 Jun 2002; Seemant Kulleen
files/digest-DirectFB-0.9.11-r1 :
Fixed so that it finds the libmpeg3 headers.
*DirectFB-0.9.11 (6 Jun 2002)
6 Jun 2002; Seemant Kulleen
files/digest-DirectFB-0.9.11 :
Version bump.
*DirectFB-0.9.10-r1 (26 Apr 2002)
26 May 2002; Martin Schlemmer
Having "mmx" in use did not enable it .. fixed. Updated avifile DEPEND
for now ... this will be needed when I can get it patched to work with
avifile-0.7.4.
*DirectFB-0.9.10 (26 Apr 2002)
26 Apr 2002; Seemant Kulleen
files/digest-DirectFB-0.9.10 :
Version bump to bugfix release.
*DirectFB-0.9.9-r2 (15 Apr 2002)
15 Apr 2002; Seemant Kulleen
Update: still blah. I have removed the necessity of the libmpeg3 tarball
at least. These people need to learn about libtool. Anyway, by patching
the Makefile to point it to the static libmpeg3.a file in /usr/lib, it
emerges fine. Sheesh @ hoops though
Update: blah, this needs the unpacked libmpeg3 tarball itself. It seems to
completely vomit on an installed libmpeg3. Sigh.
avi support is broken, and libmpeg3 support is broken as well. Upstream
has been made aware of the libmpeg3 issue, so that will hopefully get
sorted out soon.
*DirectFB-0.9.9-r1 (12 Apr 2002)
12 Apr 2002; Spider
Versionbump, libpng update
*DirectFB-0.9.9 (12 Apr 2002)
12 Apr 2002; Seemant Kulleen
Version bump, but avi support is still broken. Note that the avifile
USE toggle is now just avi.
*DirectFB-0.9.7 (21 Mar 2002)
21 Mar 2002; Seemant Kulleen
HTML documentation need not be gzipped.
*DirectFB-0.9.7 (1 Feb 2002)
1 Feb 2002; G.Bevin
Added initial ChangeLog which should be updated whenever the package is
updated in any way. This changelog is targetted to users. This means that the
comments should well explained and written in clean English. The details about
writing correct changelogs are explained in the skel.ChangeLog file which you
can find in the root directory of the portage repository.
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/DirectFB/DirectFB-0.9.25.1.ebuild,v 1.13 2007/03/20 03:29:19 vapier Exp $
inherit eutils flag-o-matic toolchain-funcs
IUSE_VIDEO_CARDS="ati128 cle266 cyber5k i810 i830 mach64 matrox neomagic nsc nvidia radeon savage sis315 tdfx unichrome"
IUSE_INPUT_DEVICES="dbox2remote elo-input gunze h3600_ts joystick keyboard dreamboxremote linuxinput lirc mutouch none permount ps2mouse serialmouse sonypijogdial wm97xx"
DESCRIPTION="Thin library on top of the Linux framebuffer devices"
HOMEPAGE="http://www.directfb.org/"
SRC_URI="http://www.directfb.org/download/DirectFB/${P}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 -mips ppc sh -sparc x86"
IUSE="debug fbcon fusion gif jpeg mmx mpeg png sdl sse sysfs truetype v4l v4l2 zlib"
# fusion? ( dev-libs/linux-fusion )
DEPEND="sdl? ( media-libs/libsdl )
gif? ( media-libs/giflib )
png? ( media-libs/libpng )
jpeg? ( media-libs/jpeg )
mpeg? ( media-libs/libmpeg3 )
sysfs? ( sys-fs/sysfsutils )
zlib? ( sys-libs/zlib )
truetype? ( >=media-libs/freetype-2.0.1 )"
pkg_setup() {
if [[ -z ${VIDEO_CARDS} ]] ; then
ewarn "All video drivers will be built since you did not specify"
ewarn "via the VIDEO_CARDS variable what video card you use."
ewarn "DirectFB supports: ${IUSE_VIDEO_CARDS} all none"
echo
fi
if [[ -z ${INPUT_DEVICES} ]] ; then
ewarn "All input drivers will be built since you did not specify"
ewarn "via the INPUT_DEVICES variable which input drivers to use."
ewarn "DirectFB supports: ${IUSE_INPUT_DEVICES} all none"
echo
fi
}
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}"/${PN}-0.9.24-CFLAGS.patch
epatch "${FILESDIR}"/${P}-headers.patch
}
src_compile() {
# force disable wm97xx #36924
# export ac_cv_header_linux_wm97xx_h=no
# force disable of sis315 #77391
# export ac_cv_header_linux_sisfb_h=no
local vidcards card input inputdrivers
for card in ${VIDEO_CARDS} ; do
has ${card} ${IUSE_VIDEO_CARDS} && vidcards="${vidcards},${card}"
#use video_cards_${card} && vidcards="${vidcards},${card}"
done
[[ -z ${vidcards} ]] \
&& vidcards="all" \
|| vidcards=${vidcards:1}
for input in ${INPUT_DEVICES} ; do
has ${input} ${IUSE_INPUT_DEVICES} && inputdrivers="${inputdrivers},${input}"
#use input_devics_${input} && inputdrivers="${inputdrivers},${input}"
done
[[ -z ${inputdrivers} ]] \
&& inputdrivers="all" \
|| inputdrivers=${inputdrivers:1}
local sdlconf="--disable-sdl"
if use sdl ; then
# since SDL can link against DirectFB and trigger a
# dependency loop, only link against SDL if it isn't
# broken #61592
echo 'int main(){}' > sdl-test.c
$(tc-getCC) sdl-test.c -lSDL 2>/dev/null \
&& sdlconf="--enable-sdl" \
|| ewarn "Disabling SDL since libSDL.so is broken"
fi
use mpeg && export CPPFLAGS="${CPPFLAGS} -I/usr/include/libmpeg3"
econf \
--enable-static \
$(use_enable fbcon fbdev) \
$(use_enable mmx) \
$(use_enable sse) \
$(use_enable mpeg libmpeg3) \
$(use_enable jpeg) \
$(use_enable png) \
$(use_enable gif) \
$(use_enable truetype freetype) \
$(use_enable fusion multi) \
$(use_enable debug) \
$(use_enable sysfs) \
$(use_enable zlib) \
$(use_enable v4l video4linux) \
$(use_enable v4l2 video4linux2) \
${sdlconf} \
--with-gfxdrivers="${vidcards}" \
--with-inputdrivers="${inputdrivers}" \
--disable-vnc \
|| die
emake || die
}
src_install() {
make DESTDIR="${D}" install || die "make install failed"
dodoc fb.modes AUTHORS ChangeLog NEWS README* TODO
dohtml -r docs/html/*
}
pkg_postinst() {
ewarn "Each DirectFB update in the 0.9.xx series"
ewarn "breaks DirectFB related applications."
ewarn "Please run \"revdep-rebuild\" which can be"
ewarn "found by emerging the package 'gentoolkit'."
ewarn
ewarn "If you have an ALPS touchpad, then you might"
ewarn "get your mouse unexpectedly set in absolute"
ewarn "mode in all DirectFB applications."
ewarn "This can be fixed by removing linuxinput from"
ewarn "INPUT_DEVICES."
}
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/DirectFB/DirectFB-1.1.1.ebuild,v 1.4 2008/01/21 06:06:28 vapier Exp $
inherit eutils toolchain-funcs
IUSE_VIDEO_CARDS="ati128 cle266 cyber5k i810 i830 mach64 matrox neomagic none nsc nvidia radeon savage sis315 tdfx unichrome"
IUSE_INPUT_DEVICES="dbox2remote elo-input gunze h3600_ts joystick keyboard dreamboxremote linuxinput lirc mutouch none permount ps2mouse serialmouse sonypijogdial wm97xx"
DESCRIPTION="Thin library on top of the Linux framebuffer devices"
HOMEPAGE="http://www.directfb.org/"
SRC_URI="http://www.directfb.org/download/DirectFB/${P}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 -mips ~ppc ~ppc64 ~sh -sparc ~x86"
IUSE="debug fbcon fusion gif jpeg mmx png sdl sse sysfs truetype v4l v4l2 X zlib"
# fusion? ( >=dev-libs/linux-fusion-7.0.1 )
RDEPEND="sdl? ( media-libs/libsdl )
gif? ( media-libs/giflib )
png? ( media-libs/libpng )
jpeg? ( media-libs/jpeg )
sysfs? ( sys-fs/sysfsutils )
zlib? ( sys-libs/zlib )
truetype? ( >=media-libs/freetype-2.0.1 )
X? ( x11-libs/libXext x11-libs/libX11 )"
DEPEND="${RDEPEND}
X? ( x11-proto/xextproto x11-proto/xproto )"
pkg_setup() {
if [[ -z ${VIDEO_CARDS} ]] ; then
ewarn "All video drivers will be built since you did not specify"
ewarn "via the VIDEO_CARDS variable what video card you use."
ewarn "DirectFB supports: ${IUSE_VIDEO_CARDS} all none"
echo
fi
if [[ -z ${INPUT_DEVICES} ]] ; then
ewarn "All input drivers will be built since you did not specify"
ewarn "via the INPUT_DEVICES variable which input drivers to use."
ewarn "DirectFB supports: ${IUSE_INPUT_DEVICES} all none"
echo
fi
}
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}"/${PN}-0.9.24-CFLAGS.patch
epatch "${FILESDIR}"/${PN}-1.1.1-headers.patch
epatch "${FILESDIR}"/${PN}-1.1.1-pkgconfig.patch
# This is only a partial fix to the X11 order issue #201626. It's just
# the only part we need in order to make the issue go away. Upstream
# bug tracker is currently broken, so list things to do here:
# configure.in:
# - only add -I/usr/X11R6/include to X11_CFLAGS as needed
# - only add -L/usr/X11R6/lib to X11_LIBS as needed
# systems/x11/Makefile.am:
# - add $(X11_LIBS) to end of _LIBADD variables
sed -i \
-e '/X11_LIBS/s:-L/usr/X11R6/lib::' \
-e '/CFLAGS/s:-I/usr/X11R6/include::' \
configure
}
src_compile() {
local vidcards card input inputdrivers
if [[ ${VIDEO_CARDS+set} == "set" ]] ; then
for card in ${VIDEO_CARDS} ; do
has ${card} ${IUSE_VIDEO_CARDS} && vidcards="${vidcards},${card}"
#use video_cards_${card} && vidcards="${vidcards},${card}"
done
[[ -z ${vidcards} ]] \
&& vidcards="none" \
|| vidcards=${vidcards:1}
else
vidcards="all"
fi
if [[ ${INPUT_DEVICES+set} == "set" ]] ; then
for input in ${INPUT_DEVICES} ; do
has ${input} ${IUSE_INPUT_DEVICES} && inputdrivers="${inputdrivers},${input}"
#use input_devics_${input} && inputdrivers="${inputdrivers},${input}"
done
[[ -z ${inputdrivers} ]] \
&& inputdrivers="none" \
|| inputdrivers=${inputdrivers:1}
else
inputdrivers="all"
fi
local sdlconf="--disable-sdl"
if use sdl ; then
# since SDL can link against DirectFB and trigger a
# dependency loop, only link against SDL if it isn't
# broken #61592
echo 'int main(){}' > sdl-test.c
$(tc-getCC) sdl-test.c -lSDL 2>/dev/null \
&& sdlconf="--enable-sdl" \
|| ewarn "Disabling SDL since libSDL.so is broken"
fi
econf \
--enable-static \
$(use_enable X x11) \
$(use_enable fbcon fbdev) \
$(use_enable mmx) \
$(use_enable sse) \
$(use_enable jpeg) \
$(use_enable png) \
$(use_enable gif) \
$(use_enable truetype freetype) \
$(use_enable fusion multi) \
$(use_enable debug) \
$(use_enable sysfs) \
$(use_enable zlib) \
$(use_enable v4l video4linux) \
$(use_enable v4l2 video4linux2) \
${sdlconf} \
--with-gfxdrivers="${vidcards}" \
--with-inputdrivers="${inputdrivers}" \
--disable-vnc \
|| die
emake || die
}
src_install() {
emake DESTDIR="${D}" install || die "make install failed"
dodoc fb.modes AUTHORS ChangeLog NEWS README* TODO
dohtml -r docs/html/*
}
pkg_postinst() {
ewarn "Each DirectFB update in the 0.9.xx series"
ewarn "breaks DirectFB related applications."
ewarn "Please run \"revdep-rebuild\" which can be"
ewarn "found by emerging the package 'gentoolkit'."
ewarn
ewarn "If you have an ALPS touchpad, then you might"
ewarn "get your mouse unexpectedly set in absolute"
ewarn "mode in all DirectFB applications."
ewarn "This can be fixed by removing linuxinput from"
ewarn "INPUT_DEVICES."
}
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/DirectFB/DirectFB-1.2.2.ebuild,v 1.1 2008/08/16 15:15:01 vapier Exp $
inherit eutils toolchain-funcs
IUSE_VIDEO_CARDS="ati128 cle266 cyber5k i810 i830 mach64 matrox neomagic none nsc nvidia radeon savage sis315 tdfx unichrome"
IUSE_INPUT_DEVICES="dbox2remote elo-input gunze h3600_ts joystick keyboard dreamboxremote linuxinput lirc mutouch none permount ps2mouse serialmouse sonypijogdial wm97xx"
DESCRIPTION="Thin library on top of the Linux framebuffer devices"
HOMEPAGE="http://www.directfb.org/"
SRC_URI="http://www.directfb.org/download/DirectFB/${P}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 -mips ~ppc ~ppc64 ~sh -sparc ~x86"
IUSE="debug fbcon fusion gif jpeg mmx png sdl sse sysfs truetype v4l v4l2 X zlib"
# fusion? ( >=dev-libs/linux-fusion-8.0.0 )
RDEPEND="sdl? ( media-libs/libsdl )
gif? ( media-libs/giflib )
png? ( media-libs/libpng )
jpeg? ( media-libs/jpeg )
sysfs? ( sys-fs/sysfsutils )
zlib? ( sys-libs/zlib )
truetype? ( >=media-libs/freetype-2.0.1 )
X? ( x11-libs/libXext x11-libs/libX11 )"
DEPEND="${RDEPEND}
X? ( x11-proto/xextproto x11-proto/xproto )"
pkg_setup() {
if [[ -z ${VIDEO_CARDS} ]] ; then
ewarn "All video drivers will be built since you did not specify"
ewarn "via the VIDEO_CARDS variable what video card you use."
ewarn "DirectFB supports: ${IUSE_VIDEO_CARDS} all none"
echo
fi
if [[ -z ${INPUT_DEVICES} ]] ; then
ewarn "All input drivers will be built since you did not specify"
ewarn "via the INPUT_DEVICES variable which input drivers to use."
ewarn "DirectFB supports: ${IUSE_INPUT_DEVICES} all none"
echo
fi
}
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}"/${PN}-0.9.24-CFLAGS.patch
epatch "${FILESDIR}"/${PN}-1.2.0-headers.patch
epatch "${FILESDIR}"/${PN}-1.1.1-pkgconfig.patch
# This is only a partial fix to the X11 order issue #201626. It's just
# the only part we need in order to make the issue go away. Upstream
# bug tracker is currently broken, so list things to do here:
# configure.in:
# - only add -I/usr/X11R6/include to X11_CFLAGS as needed
# - only add -L/usr/X11R6/lib to X11_LIBS as needed
# systems/x11/Makefile.am:
# - add $(X11_LIBS) to end of _LIBADD variables
sed -i \
-e '/X11_LIBS/s:-L/usr/X11R6/lib::' \
-e '/CFLAGS/s:-I/usr/X11R6/include::' \
configure
}
src_compile() {
local vidcards card input inputdrivers
if [[ ${VIDEO_CARDS+set} == "set" ]] ; then
for card in ${VIDEO_CARDS} ; do
has ${card} ${IUSE_VIDEO_CARDS} && vidcards="${vidcards},${card}"
#use video_cards_${card} && vidcards="${vidcards},${card}"
done
[[ -z ${vidcards} ]] \
&& vidcards="none" \
|| vidcards=${vidcards:1}
else
vidcards="all"
fi
if [[ ${INPUT_DEVICES+set} == "set" ]] ; then
for input in ${INPUT_DEVICES} ; do
has ${input} ${IUSE_INPUT_DEVICES} && inputdrivers="${inputdrivers},${input}"
#use input_devics_${input} && inputdrivers="${inputdrivers},${input}"
done
[[ -z ${inputdrivers} ]] \
&& inputdrivers="none" \
|| inputdrivers=${inputdrivers:1}
else
inputdrivers="all"
fi
local sdlconf="--disable-sdl"
if use sdl ; then
# since SDL can link against DirectFB and trigger a
# dependency loop, only link against SDL if it isn't
# broken #61592
echo 'int main(){}' > sdl-test.c
$(tc-getCC) sdl-test.c -lSDL 2>/dev/null \
&& sdlconf="--enable-sdl" \
|| ewarn "Disabling SDL since libSDL.so is broken"
fi
econf \
--enable-static \
$(use_enable X x11) \
$(use_enable fbcon fbdev) \
$(use_enable mmx) \
$(use_enable sse) \
$(use_enable jpeg) \
$(use_enable png) \
$(use_enable gif) \
$(use_enable truetype freetype) \
$(use_enable fusion multi) \
$(use_enable debug) \
$(use_enable sysfs) \
$(use_enable zlib) \
$(use_enable v4l video4linux) \
$(use_enable v4l2 video4linux2) \
${sdlconf} \
--with-gfxdrivers="${vidcards}" \
--with-inputdrivers="${inputdrivers}" \
--disable-vnc \
|| die
emake || die
}
src_install() {
emake DESTDIR="${D}" install || die "make install failed"
dodoc fb.modes AUTHORS ChangeLog NEWS README* TODO
dohtml -r docs/html/*
}
pkg_postinst() {
ewarn "Each DirectFB update in the 0.9.xx series"
ewarn "breaks DirectFB related applications."
ewarn "Please run \"revdep-rebuild\" which can be"
ewarn "found by emerging the package 'gentoolkit'."
ewarn
ewarn "If you have an ALPS touchpad, then you might"
ewarn "get your mouse unexpectedly set in absolute"
ewarn "mode in all DirectFB applications."
ewarn "This can be fixed by removing linuxinput from"
ewarn "INPUT_DEVICES."
}
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/DirectFB/DirectFB-1.2.3.ebuild,v 1.1 2008/08/19 16:53:37 vapier Exp $
inherit eutils toolchain-funcs
IUSE_VIDEO_CARDS="ati128 cle266 cyber5k i810 i830 mach64 matrox neomagic none nsc nvidia radeon savage sis315 tdfx unichrome"
IUSE_INPUT_DEVICES="dbox2remote elo-input gunze h3600_ts joystick keyboard dreamboxremote linuxinput lirc mutouch none permount ps2mouse serialmouse sonypijogdial wm97xx"
DESCRIPTION="Thin library on top of the Linux framebuffer devices"
HOMEPAGE="http://www.directfb.org/"
SRC_URI="http://directfb.org/downloads/Core/${P}.tar.gz
http://directfb.org/downloads/Old/${P}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 -mips ~ppc ~ppc64 ~sh -sparc ~x86"
IUSE="debug fbcon fusion gif jpeg mmx png sdl sse sysfs truetype v4l v4l2 X zlib"
# fusion? ( >=dev-libs/linux-fusion-8.0.0 )
RDEPEND="sdl? ( media-libs/libsdl )
gif? ( media-libs/giflib )
png? ( media-libs/libpng )
jpeg? ( media-libs/jpeg )
sysfs? ( sys-fs/sysfsutils )
zlib? ( sys-libs/zlib )
truetype? ( >=media-libs/freetype-2.0.1 )
X? ( x11-libs/libXext x11-libs/libX11 )"
DEPEND="${RDEPEND}
X? ( x11-proto/xextproto x11-proto/xproto )"
pkg_setup() {
if [[ -z ${VIDEO_CARDS} ]] ; then
ewarn "All video drivers will be built since you did not specify"
ewarn "via the VIDEO_CARDS variable what video card you use."
ewarn "DirectFB supports: ${IUSE_VIDEO_CARDS} all none"
echo
fi
if [[ -z ${INPUT_DEVICES} ]] ; then
ewarn "All input drivers will be built since you did not specify"
ewarn "via the INPUT_DEVICES variable which input drivers to use."
ewarn "DirectFB supports: ${IUSE_INPUT_DEVICES} all none"
echo
fi
}
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}"/${PN}-0.9.24-CFLAGS.patch
epatch "${FILESDIR}"/${PN}-1.2.0-headers.patch
epatch "${FILESDIR}"/${PN}-1.1.1-pkgconfig.patch
# This is only a partial fix to the X11 order issue #201626. It's just
# the only part we need in order to make the issue go away. Upstream
# bug tracker is currently broken, so list things to do here:
# configure.in:
# - only add -I/usr/X11R6/include to X11_CFLAGS as needed
# - only add -L/usr/X11R6/lib to X11_LIBS as needed
# systems/x11/Makefile.am:
# - add $(X11_LIBS) to end of _LIBADD variables
sed -i \
-e '/X11_LIBS/s:-L/usr/X11R6/lib::' \
-e '/CFLAGS/s:-I/usr/X11R6/include::' \
configure
}
src_compile() {
local vidcards card input inputdrivers
if [[ ${VIDEO_CARDS+set} == "set" ]] ; then
for card in ${VIDEO_CARDS} ; do
has ${card} ${IUSE_VIDEO_CARDS} && vidcards="${vidcards},${card}"
#use video_cards_${card} && vidcards="${vidcards},${card}"
done
[[ -z ${vidcards} ]] \
&& vidcards="none" \
|| vidcards=${vidcards:1}
else
vidcards="all"
fi
if [[ ${INPUT_DEVICES+set} == "set" ]] ; then
for input in ${INPUT_DEVICES} ; do
has ${input} ${IUSE_INPUT_DEVICES} && inputdrivers="${inputdrivers},${input}"
#use input_devics_${input} && inputdrivers="${inputdrivers},${input}"
done
[[ -z ${inputdrivers} ]] \
&& inputdrivers="none" \
|| inputdrivers=${inputdrivers:1}
else
inputdrivers="all"
fi
local sdlconf="--disable-sdl"
if use sdl ; then
# since SDL can link against DirectFB and trigger a
# dependency loop, only link against SDL if it isn't
# broken #61592
echo 'int main(){}' > sdl-test.c
$(tc-getCC) sdl-test.c -lSDL 2>/dev/null \
&& sdlconf="--enable-sdl" \
|| ewarn "Disabling SDL since libSDL.so is broken"
fi
econf \
--enable-static \
$(use_enable X x11) \
$(use_enable fbcon fbdev) \
$(use_enable mmx) \
$(use_enable sse) \
$(use_enable jpeg) \
$(use_enable png) \
$(use_enable gif) \
$(use_enable truetype freetype) \
$(use_enable fusion multi) \
$(use_enable debug) \
$(use_enable sysfs) \
$(use_enable zlib) \
$(use_enable v4l video4linux) \
$(use_enable v4l2 video4linux2) \
${sdlconf} \
--with-gfxdrivers="${vidcards}" \
--with-inputdrivers="${inputdrivers}" \
--disable-vnc \
|| die
emake || die
}
src_install() {
emake DESTDIR="${D}" install || die "make install failed"
dodoc fb.modes AUTHORS ChangeLog NEWS README* TODO
dohtml -r docs/html/*
}
pkg_postinst() {
ewarn "Each DirectFB update in the 0.9.xx series"
ewarn "breaks DirectFB related applications."
ewarn "Please run \"revdep-rebuild\" which can be"
ewarn "found by emerging the package 'gentoolkit'."
ewarn
ewarn "If you have an ALPS touchpad, then you might"
ewarn "get your mouse unexpectedly set in absolute"
ewarn "mode in all DirectFB applications."
ewarn "This can be fixed by removing linuxinput from"
ewarn "INPUT_DEVICES."
}
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
AUX DirectFB-0.9.24-CFLAGS.patch 570 RMD160 e65704cfdedd20ba96544357ab89aeb26927e2af SHA1 bb6c670639fb2292e9ab65abbac5d1e0012847cf SHA256 24fc37fa6390340f08f4cf352a6fec34acf9d2bf0fc0f572a714466cc8ab4b68
AUX DirectFB-0.9.25.1-headers.patch 1739 RMD160 f2e710b7e55e21dbae1267a526d945978afab501 SHA1 3124c358490ea0ef1e227bc172c54df459498ed8 SHA256 83b1eeab6641a51ba49e9c120e5c9c157195f29305f302a8fd9cded9fa350b20
AUX DirectFB-1.1.1-headers.patch 698 RMD160 abda64eded24e06125d53b07ee6b0ab39583139f SHA1 e5c4c5396e4a1dd97744cf31df3e1ea46633e8ba SHA256 40bcf37f11e79b23325fcea626246cb1d4b86ce31dde439cab322d69b9538fc8
AUX DirectFB-1.1.1-pkgconfig.patch 637 RMD160 b560f0cb45ab3e8938bce474f1331562ba3a96a1 SHA1 aa202a8452f48f1a8ce087201bcc26ef17c97faa SHA256 f824293e1ae8ed2e632ba0196cf760459006a1e110abac348476b3982a0db036
AUX DirectFB-1.2.0-headers.patch 430 RMD160 a783b9d0169241d92504ceb9a41545afa986384a SHA1 78f0b76da583702e730fed19288eb5b94be996f2 SHA256 f1c3c6f420ca7864435d8c69a80c239c4ff9ed6d46ac9ba14b59c6ffa6970b45
DIST DirectFB-0.9.25.1.tar.gz 2064010 RMD160 558e3eabc41635c054314d8a4c8365d648ec588d SHA1 40654da2fde2fd5539f5a0c5cdac50e1a8a52bb4 SHA256 aa1e9710ca18633ffcb74a0383fdfa39aba63e873ec9fa2ba4b7589ed2e5c56b
DIST DirectFB-1.1.1.tar.gz 2614203 RMD160 08553be77c24f3f9accbe8d2304530b42bbc2e58 SHA1 93d0ea5ca4b10291ca55d1eb6fecc544966eadad SHA256 f12ec5f0864d85268a8d67e4919cb7f3d7f0e06ed6cc278c952f6c342673d931
DIST DirectFB-1.2.2.tar.gz 2729242 RMD160 07c63cfce2da608cddf96cb75d8e3a821c5b8157 SHA1 02db600a137ec24bacac62acf5dbaa060351718f SHA256 85f483b87e25913745e4b02b0ac13ab44caee743d0a0ff2be91b2dcf3e2af733
DIST DirectFB-1.2.3.tar.gz 2731205 RMD160 19a3193510eb39e0decf4a2167df0ce0de2ab06c SHA1 0147bde94891811da7e11dc633263bc66b56497e SHA256 0875e553a17fe65e920ad810a67aa6faca582c53476d8dc75880a6b3da625d0b
EBUILD DirectFB-0.9.25.1.ebuild 4121 RMD160 b81bea1c36281ec56279db08fe57c9d93de137fd SHA1 dbb0e079f23e693d94e081ad7b21beaaaf4d19eb SHA256 fc42241cdd512c47f496cef63df70c78e40dc09e2562c388eb5afdd7caf83d74
EBUILD DirectFB-1.1.1.ebuild 4735 RMD160 5a4dcaf3569c038edb9c792be1d5162318801b3b SHA1 d6d9de2f480ede684a796266e9d104eca530f10b SHA256 41ede7d7671c745c22239c8de5c7ec9cca05a25875a1cf4ae326e754aa825d05
EBUILD DirectFB-1.2.2.ebuild 4735 RMD160 f725c283fbdb2499353cfae51f056833c65d290f SHA1 99a88e04208845741318f6e8d59a9a4ede1e6dc1 SHA256 50c77675358fc861f15c5464e23e4dbfb0da7ec812d5b8e3c3cef4e2a3e23845
EBUILD DirectFB-1.2.3.ebuild 4775 RMD160 e29172643636f5a840de0f9ae302acfef907c49f SHA1 d20758d6b3270a1d4408e4cb40b9ff182bb2d8fc SHA256 fd0b66938791e5998e76963517cbffa8d464a9f654891d90e84e718913fc51db
MISC ChangeLog 10978 RMD160 60e58dc848264c6133609cff207b807e85e7a8fd SHA1 3c87cee2ef5994fbcde5e9499ba73f0e7760c9dd SHA256 2202f461e75531405d0b230371918fbcdaa643d4c53d9cf00c2c8932348e0d5a
MISC metadata.xml 946 RMD160 777ebf08757a4edd565f7bd223842eea95bfb8ed SHA1 bce4580dc619e70662cf503cf71d91ad26b9ae64 SHA256 4851e050a8193f7bf60c757d1b7307709ef0ad6b40a5feae964cca0caf445232
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
iEYEARECAAYFAkiq+pcACgkQ67wieSYcaxesegCgzwWABOutwQQU2eVCURHIoKyu
R7AAnjoEMCWxnBYVQmY6+rpxgF3XpUYH
=6nZp
-----END PGP SIGNATURE-----
DirectFB is a thin library that provides hardware graphics acceleration,
input device handling and abstraction, integrated windowing system with
support for translucent windows and multiple display layers on top of the
Linux Framebuffer Device. It is a complete hardware abstraction layer with
software fallbacks for every graphics operation that is not supported by the
underlying hardware. DirectFB adds graphical power to embedded systems and
sets a new standard for graphics under Linux