diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2011-01-24 05:48:04 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2011-01-24 05:48:04 +0000 |
commit | ab845db81e53f58316d9054aed08944f44034fb0 (patch) | |
tree | 80f9365a72bbc21178a72371a934fcf349971c93 /dev-libs/DirectFB | |
parent | New release. Fixes bugs #313049 (distfile ext detection), #349329 (existence ... (diff) | |
download | gentoo-2-ab845db81e53f58316d9054aed08944f44034fb0.tar.gz gentoo-2-ab845db81e53f58316d9054aed08944f44034fb0.tar.bz2 gentoo-2-ab845db81e53f58316d9054aed08944f44034fb0.zip |
old
(Portage version: 2.1.9.25/cvs/Linux i686)
Diffstat (limited to 'dev-libs/DirectFB')
-rw-r--r-- | dev-libs/DirectFB/DirectFB-1.4.3.ebuild | 138 | ||||
-rw-r--r-- | dev-libs/DirectFB/Manifest | 3 | ||||
-rw-r--r-- | dev-libs/DirectFB/files/DirectFB-1.4.3-libpng14.patch | 42 |
3 files changed, 0 insertions, 183 deletions
diff --git a/dev-libs/DirectFB/DirectFB-1.4.3.ebuild b/dev-libs/DirectFB/DirectFB-1.4.3.ebuild deleted file mode 100644 index bd0fa99fdbb6..000000000000 --- a/dev-libs/DirectFB/DirectFB-1.4.3.ebuild +++ /dev/null @@ -1,138 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/DirectFB/DirectFB-1.4.3.ebuild,v 1.11 2010/10/25 19:06:16 ssuominen 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 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 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 gif jpeg mmx png sdl sse sysfs truetype v4l v4l2 X zlib ${IUV} ${IUD}" - -RDEPEND="sdl? ( media-libs/libsdl ) - gif? ( media-libs/giflib ) - png? ( >=media-libs/libpng-1.4 ) - 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 - epatch "${FILESDIR}"/${P}-libpng14.patch - - # Avoid invoking `ld` directly #300779 - find -name Makefile.in -exec sed -i \ - '/[$](LD)/s:$(LD) -o $@ -r:$(CC) $(CFLAGS) -Wl,-r -nostdlib -o $@:' {} + - - # 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 - # DirectFB-2.0 seems to be fixed though ... - sed -i \ - -e '/X11_LIBS/s:-L/usr/X11R6/lib::' \ - -e '/CFLAGS/s:-I/usr/X11R6/include::' \ - configure -} - -driver_list() { - local pfx=$1 - local dev devs 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 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 0f3c80f3565d..20e7d4c49f91 100644 --- a/dev-libs/DirectFB/Manifest +++ b/dev-libs/DirectFB/Manifest @@ -1,10 +1,7 @@ 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 AUX DirectFB-1.2.7-CFLAGS.patch 430 RMD160 814bb14c60732dab762303e8a6d356bc59950424 SHA1 5b9e3220493f182ceb0b13747e8199cf0f82c319 SHA256 8b1520f87b5ece3d3694cc1fd5b7bb943ab746a55d423b4593213be2b3bd13e7 -AUX DirectFB-1.4.3-libpng14.patch 1904 RMD160 c42b7be4ad69f5f3cccfb0517455df43b63a0365 SHA1 c2afe436c3d974a62922348e70647fa087a15991 SHA256 ed36a732e87686bcc0b326aa5bf3effdd2068bfc6856a5f701140578a7eaa49b -DIST DirectFB-1.4.3.tar.gz 2898215 RMD160 9dfedcebe7fa59a821754a51308d8927269b5276 SHA1 935ef75b4a9f682e41fc68c887d72dca1fe32875 SHA256 1435aae4f0eb70252dc25ee50e51aecfdc4527f2651db5f35b34eb833fa7e978 DIST DirectFB-1.4.5.tar.gz 2918611 RMD160 e7090993caab2cfef7ae95df6d14983bb345e2de SHA1 be251588a84380b9e93977bfd2d718a9cf1ee1c4 SHA256 c7e2d735f45af0018064f43c64defaeb068e6953002cc8a18b027d16cf411971 -EBUILD DirectFB-1.4.3.ebuild 4604 RMD160 801c6cdbe3966bcf8a60266188b6ad67d562dc4d SHA1 25b38ffd2b2bd495e2033d4e9b9a754794cceeef SHA256 61425bdc6d10ee3019cd2cb523cdf90b0cc20531450762d4adf767163d7b8315 EBUILD DirectFB-1.4.5.ebuild 4003 RMD160 040794f0c0ee490b8cddad40848bac8ad876853c SHA1 e7c1c0d71d456505fa082fff019b45a88139658d SHA256 a76822c3a85797c5c2834890a8e73d5ee04817e6d1537a435976f08b60547576 MISC ChangeLog 15776 RMD160 9f9e0cad0425b69c38b37155c1bec7654af483de SHA1 650303710c037dc4066631a7cd2426f28c449f9d SHA256 d19e85153f805a839b5f904c6a739d0b70e201ce15b46a72e9517137acfc59b3 MISC metadata.xml 792 RMD160 832b71c835f2fb6eda2f61225311fee11e90cbd0 SHA1 26fbe52ad3fd80753ac7140c21b4dc5fcb08a8e7 SHA256 4e35266c2828c450c1d2f93780154d361317a8fbafda46b791aaeccddcbeb48e diff --git a/dev-libs/DirectFB/files/DirectFB-1.4.3-libpng14.patch b/dev-libs/DirectFB/files/DirectFB-1.4.3-libpng14.patch deleted file mode 100644 index 97f28b6be1ae..000000000000 --- a/dev-libs/DirectFB/files/DirectFB-1.4.3-libpng14.patch +++ /dev/null @@ -1,42 +0,0 @@ -http://repos.archlinux.org/wsvn/community/directfb/trunk/libpng-1.4.patch - ---- interfaces/IDirectFBImageProvider/idirectfbimageprovider_png.c -+++ interfaces/IDirectFBImageProvider/idirectfbimageprovider_png.c -@@ -168,7 +168,7 @@ - static DFBResult - Probe( IDirectFBImageProvider_ProbeContext *ctx ) - { -- if (png_check_sig( ctx->header, 8 )) -+ if (!png_sig_cmp( ctx->header, 0, 8 )) - return DFB_OK; - - return DFB_UNSUPPORTED; ---- interfaces/IDirectFBImageProvider/idirectfbimageprovider_png.c -+++ interfaces/IDirectFBImageProvider/idirectfbimageprovider_png.c -@@ -653,7 +653,7 @@ - if (data->color_type == PNG_COLOR_TYPE_PALETTE) { - u32 key; - png_colorp palette = data->info_ptr->palette; -- png_bytep trans = data->info_ptr->trans; -+ png_bytep trans = data->info_ptr->trans_alpha; - int num_colors = MIN( MAXCOLORMAPSIZE, - data->info_ptr->num_palette ); - u8 cmap[3][num_colors]; -@@ -678,7 +678,7 @@ - } - else { - /* ...or based on trans rgb value */ -- png_color_16p trans = &data->info_ptr->trans_values; -+ png_color_16p trans = &data->info_ptr->trans_color; - - data->color_key = (((trans->red & 0xff00) << 8) | - ((trans->green & 0xff00)) | -@@ -689,7 +689,7 @@ - switch (data->color_type) { - case PNG_COLOR_TYPE_PALETTE: { - png_colorp palette = data->info_ptr->palette; -- png_bytep trans = data->info_ptr->trans; -+ png_bytep trans = data->info_ptr->trans_alpha; - int num_trans = data->info_ptr->num_trans; - int num_colors = MIN( MAXCOLORMAPSIZE, data->info_ptr->num_palette ); - |