summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-09-29 22:31:55 +0000
committerMike Frysinger <vapier@gentoo.org>2009-09-29 22:31:55 +0000
commit6a0894986d944dd4fb86cd5358f885f7b0805e51 (patch)
tree64925505fd6110fc7db94169fe11c031a7e3c090 /dev-libs/DirectFB
parentadd lirc/none input drivers, and improve the void desc (diff)
downloadhistorical-6a0894986d944dd4fb86cd5358f885f7b0805e51.tar.gz
historical-6a0894986d944dd4fb86cd5358f885f7b0805e51.tar.bz2
historical-6a0894986d944dd4fb86cd5358f885f7b0805e51.zip
Version bump #283922 by Victor Tseng.
Package-Manager: portage-2.2_rc40/cvs/Linux x86_64
Diffstat (limited to 'dev-libs/DirectFB')
-rw-r--r--dev-libs/DirectFB/ChangeLog7
-rw-r--r--dev-libs/DirectFB/DirectFB-1.4.2.ebuild135
-rw-r--r--dev-libs/DirectFB/Manifest10
3 files changed, 147 insertions, 5 deletions
diff --git a/dev-libs/DirectFB/ChangeLog b/dev-libs/DirectFB/ChangeLog
index 522764290f05..c1d845304dd1 100644
--- a/dev-libs/DirectFB/ChangeLog
+++ b/dev-libs/DirectFB/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-libs/DirectFB
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/DirectFB/ChangeLog,v 1.87 2009/09/29 20:53:09 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/DirectFB/ChangeLog,v 1.88 2009/09/29 22:31:55 vapier Exp $
+
+*DirectFB-1.4.2 (29 Sep 2009)
+
+ 29 Sep 2009; Mike Frysinger <vapier@gentoo.org> +DirectFB-1.4.2.ebuild:
+ Version bump #283922 by Victor Tseng.
*DirectFB-1.2.9 (29 Sep 2009)
diff --git a/dev-libs/DirectFB/DirectFB-1.4.2.ebuild b/dev-libs/DirectFB/DirectFB-1.4.2.ebuild
new file mode 100644
index 000000000000..f7ea3077e228
--- /dev/null
+++ b/dev-libs/DirectFB/DirectFB-1.4.2.ebuild
@@ -0,0 +1,135 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/DirectFB/DirectFB-1.4.2.ebuild,v 1.1 2009/09/29 22:31:55 vapier Exp $
+
+inherit eutils toolchain-funcs
+
+# Map Gentoo IUSE expand vars to DirectFB drivers
+# echo `sed -n '/Possible gfxdrivers are:/,/^$/{/Possible/d;s:\[ *::;s:\].*::;s:,::g;p}' configure.in`
+I_TO_D_intel="i810,i830"
+I_TO_D_mga="matrox"
+I_TO_D_r128="ati128"
+I_TO_D_s3="unichrome"
+I_TO_D_sis="sis315"
+I_TO_D_via="cle266"
+# cyber5k davinci ep9x gl omap pxa3xx sh772x
+IUSE_VIDEO_CARDS=" intel mach64 mga neomagic nsc none nvidia r128 radeon s3 savage sis tdfx via vmware"
+IUV=${IUSE_VIDEO_CARDS// / video_cards_}
+# echo `sed -n '/Possible inputdrivers are:/,/^$/{/\(Possible\|^input\)/d;s:\[ *::;s:\].*::;s:,::g;p}' configure.in`
+I_TO_D_elo2300="elo-input"
+I_TO_D_evdev="linuxinput"
+I_TO_D_mouse="ps2mouse serialmouse"
+# dbox2remote dreamboxremote gunze h3600_ts penmount sonypijogdial ucb1x00 wm97xx zytronic
+IUSE_INPUT_DEVICES=" dynapro elo2300 evdev joystick keyboard lirc mouse mutouch none tslib"
+IUD=${IUSE_INPUT_DEVICES// / input_devices_}
+
+DESCRIPTION="Thin library on top of the Linux framebuffer devices"
+HOMEPAGE="http://www.directfb.org/"
+SRC_URI="http://directfb.org/downloads/Core/${PN}-${PV:0:3}/${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 ${IUV} ${IUD}"
+
+# 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 )"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${PN}-1.2.7-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
+}
+
+driver_list() {
+ use ${pfx}_none && echo none
+
+ local dev devs pfx=$1 map
+ shift
+ for dev in "$@" ; do
+ use ${pfx}_${dev} || continue
+ map="I_TO_D_${dev}"
+ devs=${devs:+${devs},}${!map:-${dev}}
+ done
+ echo ${devs:-none}
+}
+
+src_compile() {
+ 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="$(driver_list video_cards ${IUSE_VIDEO_CARDS})" \
+ --with-inputdrivers="$(driver_list input_devices ${IUSE_INPUT_DEVICES})" \
+ --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."
+}
diff --git a/dev-libs/DirectFB/Manifest b/dev-libs/DirectFB/Manifest
index a66959be9f57..ac93782a2710 100644
--- a/dev-libs/DirectFB/Manifest
+++ b/dev-libs/DirectFB/Manifest
@@ -6,14 +6,16 @@ AUX DirectFB-1.2.0-headers.patch 430 RMD160 a783b9d0169241d92504ceb9a41545afa986
AUX DirectFB-1.2.7-CFLAGS.patch 430 RMD160 814bb14c60732dab762303e8a6d356bc59950424 SHA1 5b9e3220493f182ceb0b13747e8199cf0f82c319 SHA256 8b1520f87b5ece3d3694cc1fd5b7bb943ab746a55d423b4593213be2b3bd13e7
DIST DirectFB-1.2.7.tar.gz 2771039 RMD160 5230e8090938b4c8e9713d174dc62944da3cebab SHA1 1f0c7f3a020d095b78abc1adcc11e34e7b1b07fb SHA256 80ab8e34246a280bc380020cf331bcc0014cf816380cee3935ad455c108e661e
DIST DirectFB-1.2.9.tar.gz 2780048 RMD160 330d66b8af8b6a4ec58bc5dff403dbe4d187040a SHA1 0cd56a76b215b91cff39356063caf6c39e5e6383 SHA256 362ee93c0e669e2450935feec955ee6c49faa21934c366e49e35a5cea2eb2404
+DIST DirectFB-1.4.2.tar.gz 2900292 RMD160 44ead9b32a2583b79690b1cc1536a4df17361078 SHA1 29a5e5a82b1a9e2cbfe31af127a54767fffae975 SHA256 051847e21e88a9c32ee78f8920014602d8b21928602075c5266433cd58addbc6
EBUILD DirectFB-1.2.7.ebuild 4762 RMD160 14ed83117bb3e61f7475b85b29faed13fad76b17 SHA1 027fe225aad1e013600b5534c5d1ad416711642c SHA256 7f7d7714a0f2c1b607acc363e3d96294081cf09af83a2fcac0fd515d7414fbe0
EBUILD DirectFB-1.2.9.ebuild 4790 RMD160 bcbc10957c0dd0975c29d02cb6af6db7dda45a6e SHA1 659941c184613a17f4bb8248afea8474013678df SHA256 c8cba3a92c78ff73dc8210a88a8152cf4957ddac10cac9a2492177f551380765
-MISC ChangeLog 12704 RMD160 2de0be2e6ee5f868665e317ae1a062a23d8172ed SHA1 4c57ce7e437f71e95009eb9e93f47c2652b09968 SHA256 5f90816eaa2d1be4a5b287fc4075168c6dd3fcc9f65225c8189cb1b41df41f6a
+EBUILD DirectFB-1.4.2.ebuild 4477 RMD160 5473f78f17774b951d67a73c63f427c61b89feb3 SHA1 b5667ab23a9f9b56253336147794916e17c9af5c SHA256 c5edb1959e61bc8d800fd556a4c749c7348af4bcf13ce8c3172b8542a7583ced
+MISC ChangeLog 12850 RMD160 d5dc10c7578b36b14375ff0509d8c8b525a6ae36 SHA1 8e4ff4820eb34fe52b956ba20ad0870974bfd7ff SHA256 98d02a09f6a0697c5196f8d34cb124936fcd8e2bdc47c577f607d95d2d1ce14b
MISC metadata.xml 874 RMD160 602100ad1d1d3d5882f64144024636eea56a89a9 SHA1 35a43722612b96313f79c7d431c00068eef6cc95 SHA256 81a0a55f0059aa1f51089edadd145016aa6f2c0dfd986bea718afb4e9900860f
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (GNU/Linux)
-iEYEARECAAYFAkrCc7oACgkQlPl3HsVfCDom7gCfXqB3m1cONWJgJpmd7/C83q9T
-WEwAnRyssuSqOG/WM3u54DS20ogGY7YE
-=oEBU
+iEYEARECAAYFAkrCiuIACgkQlPl3HsVfCDqeggCeM1Et99XPDHJv+PKkPlyzYHg7
+tucAnRbM18ctm+RHZgWaqp2jcg9O4BmB
+=NcKi
-----END PGP SIGNATURE-----