]> git.pld-linux.org Git - packages/DirectFB.git/commitdiff
- updated to 1.6.3 auto/th/DirectFB-1.6.3-1 auto/ti/DirectFB-1.6.3-1
authorJakub Bogusz <qboosh@pld-linux.org>
Sat, 19 Jan 2013 15:53:35 +0000 (16:53 +0100)
committerJakub Bogusz <qboosh@pld-linux.org>
Sat, 19 Jan 2013 15:53:35 +0000 (16:53 +0100)
- removed obsolete gcc4,external-one patches
- added gstreamer patch, build gstreamer video provider

DirectFB-external-one.patch [deleted file]
DirectFB-gcc4.patch [deleted file]
DirectFB-gstreamer.patch [new file with mode: 0644]
DirectFB.spec

diff --git a/DirectFB-external-one.patch b/DirectFB-external-one.patch
deleted file mode 100644 (file)
index 4ec4923..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
---- DirectFB-1.6.0/lib/One/Makefile.am.orig    2012-06-14 18:00:08.000000000 +0200
-+++ DirectFB-1.6.0/lib/One/Makefile.am 2012-06-23 22:09:55.949173666 +0200
-@@ -1,6 +1,5 @@
- ## Makefile.am for DirectFB/lib/One
--SUBDIRS = linux-one
- INCLUDES = \
-       -I$(top_builddir)/include       \
diff --git a/DirectFB-gcc4.patch b/DirectFB-gcc4.patch
deleted file mode 100644 (file)
index ff931a0..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
---- DirectFB-1.4.11/include/directfb.h.orig    2010-11-15 22:13:05.000000000 +0100
-+++ DirectFB-1.4.11/include/directfb.h 2010-11-17 21:15:55.575104966 +0100
-@@ -1045,7 +1045,7 @@
-      DFDESC_FRACT_WIDTH       = 0x00000040,  /* fractional width is set */
-      DFDESC_OUTLINE_WIDTH     = 0x00000080,  /* outline width is set */
-      DFDESC_OUTLINE_OPACITY   = 0x00000100,  /* outline opacity is set */
--     DFDESC_ROTATION          = 0x00000200,  /* rotation is set */
-+     DFDESC_ROTATION          = 0x00000200   /* rotation is set */
- } DFBFontDescriptionFlags;
- /*
-@@ -3314,7 +3314,7 @@
-      DSPD_DST_ATOP       = 10, /* fs: 1.0-da  fd: sa     */
-      DSPD_ADD            = 11, /* fs: 1.0     fd: 1.0    */
-      DSPD_XOR            = 12, /* fs: 1.0-da  fd: 1.0-sa */
--     DSPD_DST            = 13, /* fs: 0.0     fd: 1.0    */
-+     DSPD_DST            = 13  /* fs: 0.0     fd: 1.0    */
- } DFBSurfacePorterDuffRule;
- /*
diff --git a/DirectFB-gstreamer.patch b/DirectFB-gstreamer.patch
new file mode 100644 (file)
index 0000000..93fcf88
--- /dev/null
@@ -0,0 +1,10 @@
+--- DirectFB-1.6.3/interfaces/IDirectFBVideoProvider/idirectfbvideoprovider_gstreamer.c.orig   2013-01-18 15:57:11.000000000 +0100
++++ DirectFB-1.6.3/interfaces/IDirectFBVideoProvider/idirectfbvideoprovider_gstreamer.c        2013-01-19 15:29:38.621172839 +0100
+@@ -1226,7 +1226,6 @@
+      thiz->GetSurfaceDescription = IDirectFBVideoProvider_GSTREAMER_GetSurfaceDescription;
+      thiz->GetStreamDescription  = IDirectFBVideoProvider_GSTREAMER_GetStreamDescription;
+      thiz->PlayTo                = IDirectFBVideoProvider_GSTREAMER_PlayTo;
+-     thiz->SetDestination        = IDirectFBVideoProvider_GSTREAMER_SetDestination;
+      thiz->Stop                  = IDirectFBVideoProvider_GSTREAMER_Stop;
+      thiz->GetStatus             = IDirectFBVideoProvider_GSTREAMER_GetStatus;
+      thiz->SeekTo                = IDirectFBVideoProvider_GSTREAMER_SeekTo;
index 93449063f58b37663eb706e4c786693b62ff0721..8d3d8cdc832967d989dbe8cae165e50bdb818c71 100644 (file)
@@ -5,6 +5,7 @@
 %bcond_with    sh772x          # SH7722/SH7723 (SH-Mobile) graphics driver
 %bcond_without static_libs     # don't build static libraries
 %bcond_without one             # Linux One IPC library
+%bcond_without gstreamer       # GStreamer video provider
 #
 %ifarch sh4
 %define                with_sh772x     1
 Summary:       DirectFB - Hardware graphics acceleration
 Summary(pl.UTF-8):     DirectFB - Wspomaganie grafiki
 Name:          DirectFB
-Version:       1.6.2
+Version:       1.6.3
 Release:       1
 Epoch:         1
 License:       LGPL v2+
 Group:         Libraries
 Source0:       http://www.directfb.org/downloads/Core/DirectFB-1.6/%{name}-%{version}.tar.gz
-# Source0-md5: 6bebdbf26f03f7114ae17ab86d4d1d27
+# Source0-md5: 641e8e999c017770da647f9b5b890906
 Source1:       http://www.directfb.org/downloads/Extras/DFBTutorials-0.5.0.tar.gz
 # Source1-md5: 13e443a64bddd68835b574045d9025e9
 Patch0:                %{name}-am.patch
 Patch1:                %{name}-pmake.patch
 Patch2:                %{name}-fix.patch
-Patch3:                %{name}-gcc4.patch
-Patch4:                %{name}-llh-ppc.patch
-Patch5:                %{name}-zlib.patch
-Patch6:                %{name}-update.patch
-Patch7:                %{name}-external-one.patch
+Patch3:                %{name}-llh-ppc.patch
+Patch4:                %{name}-zlib.patch
+Patch5:                %{name}-update.patch
+Patch6:                %{name}-gstreamer.patch
 URL:           http://www.directfb.org/
+%{?with_gstreamer:BuildRequires:       FusionSound-devel >= 1.1.0}
 BuildRequires: Mesa-libEGL-devel
 BuildRequires: Mesa-libGLES-devel
 BuildRequires: Mesa-libgbm-devel
@@ -39,6 +40,7 @@ BuildRequires:        SDL-devel
 BuildRequires: autoconf >= 2.52
 BuildRequires: automake
 BuildRequires: freetype-devel >= 2.0.2
+%{?with_gstreamer:BuildRequires:       gstreamer-plugins-base-devel >= 1.0}
 BuildRequires: imlib2-devel
 BuildRequires: jasper-devel
 BuildRequires: libdrm-devel
@@ -50,8 +52,8 @@ BuildRequires:        libsvg-cairo-devel >= 0.1.6
 BuildRequires: libtool
 BuildRequires: libvdpau-devel
 BuildRequires: libvncserver-devel
-%{?with_multi:BuildRequires:   linux-fusion-devel >= 8.7}
-%{?with_multi:BuildRequires:   linux-fusion-devel < 9}
+%{?with_multi:BuildRequires:   linux-fusion-devel >= 8.11}
+#{?with_multi:BuildRequires:   linux-fusion-devel < 9}
 %{?with_one:BuildRequires:     linux-one-devel >= 1.6.0}
 BuildRequires: pkgconfig
 BuildRequires: sed >= 4.0
@@ -396,6 +398,19 @@ library.
 Ten pakiet zawiera wtyczkę dla DirectFB, opartą na bibliotece Cairo,
 dostarczającą grafikę SVG.
 
+%package video-gstreamer
+Summary:       GStreamer video provider for DirectFB
+Summary(pl.UTF-8):     DirectFB - wtyczka dostarczająca obraz z GStreamera
+Group:         Libraries
+Requires:      %{name} = %{epoch}:%{version}-%{release}
+
+%description video-gstreamer
+This package contains GStreamer video provider for DirectFB.
+
+%description video-gstreamer -l pl.UTF-8
+Ten pakiet zawiera wtyczkę dla DirectFB, dostarczającą obraz z
+GStreamera.
+
 %package video-mng
 Summary:       MNG video provider for DirectFB
 Summary(pl.UTF-8):     DirectFB - wtyczka dostarczająca animacje MNG
@@ -417,7 +432,6 @@ Ten pakiet zawiera wtyczkę dla DirectFB, dostarczającą animacje MNG.
 %patch4 -p1
 %patch5 -p1
 %patch6 -p1
-%patch7 -p1
 
 # video drivers
 %{__sed} -i -e 's/checkfor_\(cle266\|cyber5k\|radeon\|savage\|unichrome\|vmware\)=no/checkfor_\1=yes/' configure.in
@@ -436,6 +450,7 @@ Ten pakiet zawiera wtyczkę dla DirectFB, dostarczającą animacje MNG.
        --disable-maintainer-mode \
        --disable-silent-rules \
        --enable-fast-install \
+       %{?with_gstreamer:--enable-gstreamer} \
        %{?with_multi:--enable-multi} \
        %{?with_one:--enable-one} \
        --enable-sdl \
@@ -482,6 +497,7 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog NEWS README TODO
 %attr(755,root,root) %{_bindir}/dfbdump
+%attr(755,root,root) %{_bindir}/dfbdumpinput
 %attr(755,root,root) %{_bindir}/dfbfx
 %attr(755,root,root) %{_bindir}/dfbg
 %attr(755,root,root) %{_bindir}/dfbinfo
@@ -732,6 +748,10 @@ rm -rf $RPM_BUILD_ROOT
 %files image-svg
 %defattr(644,root,root,755)
 %attr(755,root,root) %{dfbdir}/interfaces/IDirectFBImageProvider/libidirectfbimageprovider_svg.so
+   
+%files video-gstreamer
+%defattr(644,root,root,755)
+%attr(755,root,root) %{dfbdir}/interfaces/IDirectFBVideoProvider/libidirectfbvideoprovider_gstreamer.so
 
 %files video-mng
 %defattr(644,root,root,755)
This page took 0.096683 seconds and 4 git commands to generate.