[packages/DirectFB] - DirectFB-extras, DiVine, FusionDale, FusionSound, SaWMan have been merged - now enabled these co
qboosh
qboosh at pld-linux.org
Fri Jul 19 18:28:40 CEST 2013
commit 8146312a3bf1b0d3ee90395f28ae45218c060b43
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Fri Jul 19 18:28:44 2013 +0200
- DirectFB-extras, DiVine, FusionDale, FusionSound, SaWMan have been merged
- now enabled these components, package under their original names
- added missing patch (one missing DiVine file)
- added ffmpeg patch (partially based on ffmpeg patch from DirectFB-extras), updated for ffmpeg 1.1/1.2
- added libmpeg3 patch (from DirectFB-extras)
DirectFB-ffmpeg.patch | 198 ++++++++++++++++
DirectFB-libmpeg3.patch | 40 ++++
DirectFB-missing.patch | 57 +++++
DirectFB.spec | 589 +++++++++++++++++++++++++++++++++++++++++++++++-
4 files changed, 880 insertions(+), 4 deletions(-)
---
diff --git a/DirectFB.spec b/DirectFB.spec
index 02b7546..ce200f8 100644
--- a/DirectFB.spec
+++ b/DirectFB.spec
@@ -1,11 +1,20 @@
# TODO: --enable-pvr2d when ready [requires PowerVR SDK?]
+# - enable xine_vdpau (needs <xine/video_out_vdpau.h>)
#
# Conditional build:
%bcond_with multi # build Multi-application core (requires working /dev/fusion*)
-%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 static_libs # don't build static libraries
+%bcond_with sh772x # SH7722/SH7723 (SH-Mobile) graphics driver
+%bcond_with avifile # AviFile video provider
+%bcond_without ffmpeg # FFmpeg music and video providers
+%bcond_with flash # FLASH video provider [not updated for DirectFB 1.7.0]
%bcond_without gstreamer # GStreamer video provider
+%bcond_without mpg # libmpeg3 MPEG video provider
+%bcond_without quicktime # QuickTime (openquicktime) video provider
+%bcond_with swfdec # swfdec FLASH video provider [not ready for swfdec >= 0.6]
+%bcond_without xine # Xine video provider
+%bcond_with xine_vdpau # Xine/VDPAU video provider
#
%ifarch sh4
%define with_sh772x 1
@@ -30,37 +39,53 @@ Patch4: %{name}-zlib.patch
Patch5: %{name}-update.patch
Patch6: %{name}-gstreamer.patch
Patch7: %{name}-sh.patch
+Patch8: %{name}-missing.patch
+Patch9: %{name}-ffmpeg.patch
+Patch10: %{name}-libmpeg3.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
BuildRequires: OpenGL-devel
BuildRequires: OpenGL-GLX-devel
BuildRequires: SDL-devel
+BuildRequires: alsa-lib-devel >= 0.9
BuildRequires: autoconf >= 2.52
BuildRequires: automake
+%{?with_avifile:BuildRequires: avifile-devel}
+%{?with_ffmpeg:BuildRequires: ffmpeg-devel}
BuildRequires: freetype-devel >= 2.0.2
+%{?with_flash:BuildRequires: gplflash-devel >= 0.4.10-5}
%{?with_gstreamer:BuildRequires: gstreamer-plugins-base-devel >= 1.0}
BuildRequires: imlib2-devel
BuildRequires: jasper-devel
+BuildRequires: libcddb-devel >= 1.0.0
BuildRequires: libdrm-devel
BuildRequires: libjpeg-devel >= 6b
+BuildRequires: libmad-devel
BuildRequires: libmng-devel
+%{?with_mpg:BuildRequires: libmpeg3-devel}
BuildRequires: libpng-devel >= 2:1.4.0
BuildRequires: libstdc++-devel
BuildRequires: libsvg-cairo-devel >= 0.1.6
BuildRequires: libtiff-devel >= 4
+BuildRequires: libtimidity-devel >= 0.1.0
BuildRequires: libtool
-BuildRequires: libvdpau-devel
+BuildRequires: libvdpau-devel >= 0.3
BuildRequires: libvncserver-devel
+BuildRequires: libvorbis-devel >= 1:1.0.0
BuildRequires: libwebp-devel >= 0.2.1
%{?with_multi:BuildRequires: linux-fusion-devel >= 9.0.1}
%{?with_one:BuildRequires: linux-one-devel >= 9.0.1}
+%{?with_quicktime:BuildRequires: openquicktime-devel}
BuildRequires: pkgconfig
BuildRequires: sed >= 4.0
+%{?with_swfdec:BuildRequires: swfdec-devel >= 0.5.0}
+%{?with_swfdec:BuildRequires: swfdec-devel < 0.6.0}
BuildRequires: sysfsutils-devel >= 1.3.0-3
BuildRequires: tslib-devel >= 1.0
+%{?with_xine:BuildRequires: xine-lib-devel >= 2:1.2.0}
+%{?with_xine_vdpau:BuildRequires: /usr/include/xine/video_out_vdpau.h}
BuildRequires: xorg-lib-libX11-devel
BuildRequires: xorg-lib-libXext-devel
BuildRequires: xorg-proto-xproto-devel
@@ -72,6 +97,9 @@ BuildRequires: libshjpeg-devel >= 1.3.3
BuildRequires: libuiomux-devel >= 1.5.0
%endif
%{?with_multi:Provides: DirectFB(multi)}
+Obsoletes: DirectFB-image-bmp
+Obsoletes: DirectFB-image-mpeg2
+Obsoletes: DirectFB-image-pnm
%ifnarch arm
# ARM-specific
Obsoletes: DirectFB-input-ucb1x00
@@ -451,6 +479,33 @@ This package contains GStreamer video provider for DirectFB.
Ten pakiet zawiera wtyczkę dla DirectFB, dostarczającą obraz z
GStreamera.
+%package video-ffmpeg
+Summary: FFmpeg video provider for DirectFB
+Summary(pl.UTF-8): DirectFB - wtyczka dostarczająca obraz FFmpeg
+Group: Libraries
+Requires: %{name} = %{epoch}:%{version}-%{release}
+
+%description video-ffmpeg
+DirectFB video provider using FFmpeg codecs.
+
+%description video-ffmpeg -l pl.UTF-8
+Ten pakiet zawiera wtyczkę dla DirectFB dostarczajacą obraz przy
+użyciu kodeków FFmpeg.
+
+%package video-libmpeg3
+Summary: MPEG video provider for DirectFB
+Summary(pl.UTF-8): DirectFB - wtyczka dostarczająca obraz MPEG
+Group: Libraries
+Requires: %{name} = %{epoch}:%{version}-%{release}
+
+%description video-libmpeg3
+This package contains MPEG (MPEG-1 and MPEG-2) video provider for
+DirectFB. It uses libmpeg3 library.
+
+%description video-libmpeg3 -l pl.UTF-8
+Ten pakiet zawiera wtyczkę dla DirectFB dostarczajacą obraz MPEG
+(MPEG-1 i MPEG-2) przy użyciu biblioteki libmpeg3.
+
%package video-mng
Summary: MNG video provider for DirectFB
Summary(pl.UTF-8): DirectFB - wtyczka dostarczająca animacje MNG
@@ -463,10 +518,83 @@ This package contains MNG video provider for DirectFB.
%description video-mng -l pl.UTF-8
Ten pakiet zawiera wtyczkę dla DirectFB, dostarczającą animacje MNG.
+%package video-openquicktime
+Summary: OpenQuicktime video provider for DirectFB
+Summary(pl.UTF-8): DirectFB - wtyczka dostarczająca obraz OpenQuicktime
+Group: Libraries
+Requires: %{name} = %{epoch}:%{version}-%{release}
+
+%description video-openquicktime
+This package contains OpenQuicktime video provider for DirectFB. It
+supports all RGB and YUV formats and does audio playback.
+
+%description video-openquicktime -l pl.UTF-8
+Ten pakiet zawiera wtyczkę dla DirectFB dostarczającą obraz
+OpenQuicktime. Obsługuje wszystkie formaty RGB i YUV oraz odtwarza
+dźwięk.
+
+%package video-swf
+Summary: ShockWave Flash video provider for DirectFB
+Summary(pl.UTF-8): DirectFB - wtyczka dostarczająca obraz ShockWave Flash
+Group: Libraries
+Requires: %{name} = %{epoch}:%{version}-%{release}
+
+%description video-swf
+This package contains SWF (ShockWave Flash) video provider for
+DirectFB. It uses flash library.
+
+%description video-swf -l pl.UTF-8
+Ten pakiet zawiera wtyczkę dla DirectFB dostarczającą obraz SWF
+(ShockWave Flash) przy użyciu biblioteki flash.
+
+%package video-swfdec
+Summary: ShockWave Flash video provider for DirectFB
+Summary(pl.UTF-8): DirectFB - wtyczka dostarczająca obraz ShockWave Flash
+Group: Libraries
+Requires: %{name} = %{epoch}:%{version}-%{release}
+
+%description video-swfdec
+This package contains SWF (ShockWave Flash) video provider for
+DirectFB. It uses swfdec library.
+
+%description video-swfdec -l pl.UTF-8
+Ten pakiet zawiera wtyczkę dla DirectFB dostarczającą obraz SWF
+(ShockWave Flash) przy użyciu biblioteki swfdec.
+
+%package video-xine
+Summary: XINE video provider for DirectFB
+Summary(pl.UTF-8): DirectFB - wtyczka dostarczająca obraz XINE
+Group: Libraries
+Requires: %{name} = %{epoch}:%{version}-%{release}
+%requires_eq xine-lib
+
+%description video-xine
+This package contains video provider for DirectFB which uses XINE
+library and plugins. It handles a wide range of video formats.
+
+%description video-xine -l pl.UTF-8
+Ten pakiet zawiera wtyczkę dla DirectFB dostarczającą obraz przy
+użyciu biblioteki i wtyczek XINE. Obsługuje szeroki zakres formatów
+obrazu.
+
+%package -n xine-output-video-dfb
+Summary: DirectFB video output plugin for XINE
+Summary(pl.UTF-8): Wtyczka wyjścia obrazu DirectFB dla XINE
+Group: Libraries
+Requires: %{name} = %{epoch}:%{version}-%{release}
+%requires_eq xine-lib
+
+%description -n xine-output-video-dfb
+DirectFB video output plugin for XINE.
+
+%description -n xine-output-video-dfb -l pl.UTF-8
+Wtyczka wyjścia obrazu DirectFB dla XINE.
+
%package c++
Summary: ++DFB - advanced C++ binding for DirectFB
Summary(pl.UTF-8): ++DFB - zaawansowane wiązania C++ do DirectFB
Group: Libraries
+URL: http://www.directfb.org/index.php?path=Projects%2F%2B%2BDFB
Requires: %{name} = %{epoch}:%{version}-%{release}
# (probably) can't Obsolete ++DFB
Obsoletes: __DFB
@@ -481,6 +609,7 @@ Obsoletes: __DFB
Summary: Header files for ++DFB
Summary(pl.UTF-8): Pliki nagłówkowe ++DFB
Group: Development/Libraries
+URL: http://www.directfb.org/index.php?path=Projects%2F%2B%2BDFB
Requires: %{name}-c++ = %{epoch}:%{version}-%{release}
Requires: %{name}-devel = %{epoch}:%{version}-%{release}
Obsoletes: __DFB-devel
@@ -495,6 +624,7 @@ Pliki nagłówkowe ++DFB.
Summary: Static ++DFB library
Summary(pl.UTF-8): Statyczna biblioteka ++DFB
Group: Development/Libraries
+URL: http://www.directfb.org/index.php?path=Projects%2F%2B%2BDFB
Requires: %{name}-c++-devel = %{epoch}:%{version}-%{release}
Obsoletes: __DFB-static
@@ -504,6 +634,263 @@ Static ++DFB library.
%description c++-static -l pl.UTF-8
Statyczna biblioteka ++DFB.
+%package -n DiVine
+Summary: DirectFB Virtual Input extension
+Summary(pl.UTF-8): Rozszerzenie DirectFB o wirtualne wejście
+Group: Libraries
+Requires: %{name} = %{epoch}:%{version}-%{release}
+
+%description -n DiVine
+DiVine consists of:
+- an input driver that reads raw input events from a pipe and
+ dispatches them via a virtual input device.
+- a library that handles the connection to the input driver including
+ helper functions for generating events.
+- a tool called "spooky" to generate input events using a simple
+ script featuring button or motion events, linear or circular
+ automated motion and delays.
+
+%description -n DiVine -l pl.UTF-8
+DiVine składa się z:
+- sterownika wejścia czytającego surowe zdarzenia wejściowe z potoku
+ i przekazującego je poprzez wirtualne urządzenie wejściowe,
+- biblioteki obsługującej połączenie ze sterownikiem wejściowym oraz
+ zawierającej funkcje pomocnicze do generowania zdarzeń,
+- narzędzia "spooky" generującego zdarzenia wejściowe przy użyciu
+ prostego skryptu oferującego zdarzenia związane z przyciskami i
+ ruchem, automatycznym ruchem liniowym lub cyklicznym i opóźnieniami.
+
+%package -n DiVine-devel
+Summary: Header files for divine library
+Summary(pl.UTF-8): Pliki nagłówkowe biblioteki divine
+Group: Development/Libraries
+Requires: %{name}-devel = %{epoch}:%{version}-%{release}
+Requires: DiVine = %{epoch}:%{version}-%{release}
+
+%description -n DiVine-devel
+Header files for divine library.
+
+%description -n DiVine-devel -l pl.UTF-8
+Pliki nagłówkowe biblioteki divine.
+
+%package -n DiVine-static
+Summary: Static divine library
+Summary(pl.UTF-8): Statyczna biblioteka divine
+Group: Development/Libraries
+Requires: DiVine-devel = %{epoch}:%{version}-%{release}
+
+%description -n DiVine-static
+Static divine library.
+
+%description -n DiVine-static -l pl.UTF-8
+Statyczna biblioteka divine.
+
+%package -n FusionDale
+Summary: FusionDale - applied Fusion, collection of services for applications
+Summary(pl.UTF-8): FusionDale, czyli Fusion stosowany - zbiór usług dla aplikacji
+Group: Libraries
+URL: http://www.directfb.org/index.php?path=Platform/FusionDale
+Requires: %{name} = %{epoch}:%{version}-%{release}
+
+%description -n FusionDale
+FusionDale is applied Fusion and will be a collection of different
+services for use by applications and other libraries (like Coma
+component manager or messaging API).
+
+%description -n FusionDale -l pl.UTF-8
+FusionDale to Fusion stosowany, biblioteka mająca być zbiorem różnych
+usług przeznaczonych do wykorzystywania przez aplikacje i inne
+biblioteki (takich jak zarządca komponentów Coma czy API do
+komunikacji).
+
+%package -n FusionDale-devel
+Summary: Header files for the FusionDale
+Summary(pl.UTF-8): Pliki nagłówkowe dla FusionDale
+Group: Development/Libraries
+URL: http://www.directfb.org/index.php?path=Platform/FusionDale
+Requires: %{name}-devel = %{epoch}:%{version}-%{release}
+Requires: FusionDale = %{epoch}:%{version}-%{release}
+
+%description -n FusionDale-devel
+Header files required for development using FusionDale.
+
+%description -n FusionDale-devel -l pl.UTF-8
+Pliki nagłówkowe wymagane do tworzenia programów z użyciem
+FusionDale.
+
+%package -n FusionDale-static
+Summary: Static FusionDale library
+Summary(pl.UTF-8): Statyczna biblioteka FusionDale
+Group: Development/Libraries
+URL: http://www.directfb.org/index.php?path=Platform/FusionDale
+Requires: FusionDale-devel = %{epoch}:%{version}-%{release}
+
+%description -n FusionDale-static
+Static FusionDale library.
+
+%description -n FusionDale-static -l pl.UTF-8
+Statyczna biblioteka FusionDale.
+
+%package -n FusionSound
+Summary: Audio sub system for multiple applications
+Summary(pl.UTF-8): Dźwiękowy podsystem dla złożonych aplikacji
+Group: Libraries
+URL: http://www.directfb.org/index.php?path=Platform/FusionSound
+Requires: %{name} = %{epoch}:%{version}-%{release}
+
+%description -n FusionSound
+FusionSound supports multiple applications using Fusion IPC. It
+provides streams, static sound buffers and control over any number of
+concurrent playbacks. Sample data is always stored in shared memory,
+starting a playback simply adds an entry to the playlist of the mixer
+thread in the master application.
+
+%description -n FusionSound -l pl.UTF-8
+FusionSound wspiera złożone aplikacje używające Fusion IPC. Dostarcza
+strumieni, statyczny bufor dźwiękowy i kontrolę poprzez każdą ilość
+konkurencyjnych odtwarzaczy. Próbkowana dana jest zawsze przechowywana
+w pamięci dzielonej. Rozpoczynając odtwarzanie dodaje wejście do listy
+odtwarzania miksera w nadrzędnej aplikacji.
+
+%package -n FusionSound-devel
+Summary: Development files for the FusionSound
+Summary(pl.UTF-8): Pliki rozwojowe dla FusionSound
+Group: Development/Libraries
+URL: http://www.directfb.org/index.php?path=Platform/FusionSound
+Requires: %{name}-devel = %{epoch}:%{version}-%{release}
+Requires: FusionSound = %{epoch}:%{version}-%{release}
+
+%description -n FusionSound-devel
+Header files required for development using FusionSound.
+
+%description -n FusionSound-devel -l pl.UTF-8
+Pliki nagłówkowe wymagane do tworzenia programów z użyciem
+FusionSound.
+
+%package -n FusionSound-static
+Summary: Static FusionSound library
+Summary(pl.UTF-8): Statyczna biblioteka FusionSound
+Group: Development/Libraries
+URL: http://www.directfb.org/index.php?path=Platform/FusionSound
+Requires: FusionSound-devel = %{epoch}:%{version}-%{release}
+
+%description -n FusionSound-static
+Static FusionSound library.
+
+%description -n FusionSound-static -l pl.UTF-8
+Statyczna biblioteka FusionSound.
+
+%package -n FusionSound-musicprovider-cdda
+Summary: CD-DA music provider module for FusionSound
+Summary(pl.UTF-8): Moduł FusionSound dostarczający muzykę CD-DA
+Group: Libraries
+URL: http://www.directfb.org/index.php?path=Platform/FusionSound
+Requires: FusionSound = %{epoch}:%{version}-%{release}
+
+%description -n FusionSound-musicprovider-cdda
+CD-DA music provider module for FusionSound.
+
+%description -n FusionSound-musicprovider-cdda -l pl.UTF-8
+Moduł FusionSound dostarczający muzykę CD-DA.
+
+%package -n FusionSound-musicprovider-ffmpeg
+Summary: ffmpeg music provider module for FusionSound
+Summary(pl.UTF-8): Moduł FusionSound dostarczający muzykę przez ffmpeg
+Group: Libraries
+URL: http://www.directfb.org/index.php?path=Platform/FusionSound
+Requires: FusionSound = %{epoch}:%{version}-%{release}
+
+%description -n FusionSound-musicprovider-ffmpeg
+ffmpeg music provider module for FusionSound.
+
+%description -n FusionSound-musicprovider-ffmpeg -l pl.UTF-8
+Moduł FusionSound dostarczający muzykę przez ffmpeg.
+
+%package -n FusionSound-musicprovider-mad
+Summary: MP3 libmad music provider module for FusionSound
+Summary(pl.UTF-8): Moduł FusionSound dostarczający muzykę MP3 przez libmad
+Group: Libraries
+URL: http://www.directfb.org/index.php?path=Platform/FusionSound
+Requires: FusionSound = %{epoch}:%{version}-%{release}
+
+%description -n FusionSound-musicprovider-mad
+MP3 music provider module for FusionSound.
+
+%description -n FusionSound-musicprovider-mad -l pl.UTF-8
+Moduł FusionSound dostarczający muzykę MP3 przez libmad.
+
+%package -n FusionSound-musicprovider-timidity
+Summary: MIDI libtimidity music provider module for FusionSound
+Summary(pl.UTF-8): Moduł FusionSound dostarczający muzykę MIDI przez libtimidity
+Group: Libraries
+URL: http://www.directfb.org/index.php?path=Platform/FusionSound
+Requires: FusionSound = %{epoch}:%{version}-%{release}
+
+%description -n FusionSound-musicprovider-timidity
+MIDI libtimidity music provider module for FusionSound.
+
+%description -n FusionSound-musicprovider-timidity -l pl.UTF-8
+Moduł FusionSound dostarczający muzykę MIDI przez libtimidity.
+
+%package -n FusionSound-musicprovider-vorbis
+Summary: Ogg Vorbis music provider module for FusionSound
+Summary(pl.UTF-8): Moduł FusionSound dostarczający muzykę Ogg Vorbis
+Group: Libraries
+URL: http://www.directfb.org/index.php?path=Platform/FusionSound
+Requires: FusionSound = %{epoch}:%{version}-%{release}
+
+%description -n FusionSound-musicprovider-vorbis
+Ogg Vorbis music provider module for FusionSound.
+
+%description -n FusionSound-musicprovider-vorbis -l pl.UTF-8
+Moduł FusionSound dostarczający muzykę Ogg Vorbis.
+
+%package -n SaWMan
+Summary: Shared application and Window Manager
+Summary(pl.UTF-8): Zarządca współdzielonych aplikacji i okien
+Group: Libraries
+URL: http://www.directfb.org/index.php?path=Platform/SaWMan
+Requires: %{name} = %{epoch}:%{version}-%{release}
+
+%description -n SaWMan
+SaWMan is a new window manager module for use with DirectFB. Its main
+difference to the default module is that it allows one process to be
+an application and window manager, implementing all kinds of
+diversity, while SaWMan is only the working horse.
+
+%description -n SaWMan -l pl.UTF-8
+SaWMan to nowy moduł zarządcy okien dla DirectFB. Główną różnicą w
+stosunku do domyślnego modułu jest to, że pozwala jednemu procesowi
+być aplikacją i zarządcą okien, implementując wszystkie urozmaicenia,
+podczas gdy SaWMan jest tylko silnikiem.
+
+%package -n SaWMan-devel
+Summary: Header files for sawman library
+Summary(pl.UTF-8): Pliki nagłówkowe biblioteki sawman
+Group: Development/Libraries
+URL: http://www.directfb.org/index.php?path=Platform/SaWMan
+Requires: %{name}-devel = %{epoch}:%{version}-%{release}
+Requires: SaWMan = %{epoch}:%{version}-%{release}
+
+%description -n SaWMan-devel
+Header files for sawman library.
+
+%description -n SaWMan-devel -l pl.UTF-8
+Pliki nagłówkowe biblioteki sawman.
+
+%package -n SaWMan-static
+Summary: Static sawman library
+Summary(pl.UTF-8): Statyczna biblioteka sawman
+Group: Development/Libraries
+URL: http://www.directfb.org/index.php?path=Platform/SaWMan
+Requires: SaWMan-devel = %{epoch}:%{version}-%{release}
+
+%description -n SaWMan-static
+Static sawman library.
+
+%description -n SaWMan-static -l pl.UTF-8
+Statyczna biblioteka sawman.
+
%prep
%setup -q -a1
%patch0 -p1
@@ -514,6 +901,9 @@ Statyczna biblioteka ++DFB.
%patch5 -p1
%patch6 -p1
%patch7 -p1
+%patch8 -p1
+%patch9 -p1
+%patch10 -p1
# video drivers
%{__sed} -i -e 's/checkfor_\(cle266\|cyber5k\|radeon\|savage\|unichrome\|vmware\)=no/checkfor_\1=yes/' configure.in
@@ -526,24 +916,37 @@ Statyczna biblioteka ++DFB.
%{__autoconf}
%{__autoheader}
%{__automake}
+%{?with_mpg:CPPFLAGS="%{rpmcppflags} -I/usr/include/libmpeg3"}
# MMX and SSE are detected at runtime, so it's safe to enable
%configure \
%{!?debug:--disable-debug} \
--disable-maintainer-mode \
--disable-silent-rules \
+ %{?with_avifile:--enable-avifile} \
+ --enable-divine \
--enable-fast-install \
+ %{?with_ffmpeg:--enable-ffmpeg} \
+ %{?with_flash:--enable-flash} \
+ --enable-fusiondale \
+ --enable-fusionsound \
%{?with_gstreamer:--enable-gstreamer} \
--enable-imlib2 \
+ %{?with_mpg:--enable-libmpeg3} \
--enable-mng \
%{?with_multi:--enable-multi} \
%{?with_one:--enable-one} \
+ %{?with_quicktime:--enable-openquicktime} \
+ --enable-sawman \
--enable-sdl \
--enable-shared \
--enable-static \
--enable-svg \
+ %{?with_swfdec:--enable-swfdec} \
--enable-unique \
--enable-video4linux2 \
--enable-voodoo \
+ %{?with_xine:--enable-xine} \
+ %{?with_xine_vdpau:--enable-xine-vdpau} \
--enable-x11 \
--enable-zlib \
%ifarch %{ix86} %{x8664}
@@ -570,6 +973,11 @@ install -d $RPM_BUILD_ROOT{%{_examplesdir}/%{name}-%{version},%{_sysconfdir}}
cp -rf DFBTutorials* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+%if %{with xine}
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/xine/plugins/*/*.la \
+ %{?with_static_libs:$RPM_BUILD_ROOT%{_libdir}/xine/plugins/*/*.a}
+%endif
+
touch $RPM_BUILD_ROOT%{_sysconfdir}/directfbrc
%clean
@@ -847,16 +1255,56 @@ rm -rf $RPM_BUILD_ROOT
%defattr(644,root,root,755)
%attr(755,root,root) %{dfbdir}/interfaces/IDirectFBImageProvider/libidirectfbimageprovider_webp.so
+%if %{with ffmpeg}
+%files video-ffmpeg
+%defattr(644,root,root,755)
+%attr(755,root,root) %{dfbdir}/interfaces/IDirectFBVideoProvider/libidirectfbvideoprovider_ffmpeg.so
+%endif
+
%if %{with gstreamer}
%files video-gstreamer
%defattr(644,root,root,755)
%attr(755,root,root) %{dfbdir}/interfaces/IDirectFBVideoProvider/libidirectfbvideoprovider_gstreamer.so
%endif
+%if %{with mpg}
+%files video-libmpeg3
+%defattr(644,root,root,755)
+%attr(755,root,root) %{dfbdir}/interfaces/IDirectFBVideoProvider/libidirectfbvideoprovider_libmpeg3.so
+%endif
+
%files video-mng
%defattr(644,root,root,755)
%attr(755,root,root) %{dfbdir}/interfaces/IDirectFBVideoProvider/libidirectfbvideoprovider_mng.so
+%if %{with quicktime}
+%files video-openquicktime
+%defattr(644,root,root,755)
+%attr(755,root,root) %{dfbdir}/interfaces/IDirectFBVideoProvider/libidirectfbvideoprovider_openquicktime.so
+%endif
+
+%if %{with flash}
+%files video-swf
+%defattr(644,root,root,755)
+%attr(755,root,root) %{dfbdir}/interfaces/IDirectFBVideoProvider/libidirectfbvideoprovider_swf.so
+%endif
+
+%if %{with swfdec}
+%files video-swfdec
+%defattr(644,root,root,755)
+%attr(755,root,root) %{dfbdir}/interfaces/IDirectFBVideoProvider/libidirectfbvideoprovider_swfdec.so
+%endif
+
+%if %{with xine}
+%files video-xine
+%defattr(644,root,root,755)
+%attr(755,root,root) %{dfbdir}/interfaces/IDirectFBVideoProvider/libidirectfbvideoprovider_xine.so
+
+%files -n xine-output-video-dfb
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/xine/plugins/2.*/xineplug_vo_out_dfb.so
+%endif
+
%files c++
%defattr(644,root,root,755)
# ++DFB based utilities
@@ -877,3 +1325,136 @@ rm -rf $RPM_BUILD_ROOT
%files c++-static
%defattr(644,root,root,755)
%{_libdir}/lib++dfb.a
+
+%files -n DiVine
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/spooky
+%attr(755,root,root) %{_libdir}/libdivine-1.7.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libdivine-1.7.so.0
+%attr(755,root,root) %{dfbdir}/inputdrivers/libdirectfb_divine.so
+%dir %{dfbdir}/interfaces/IDiVine
+%attr(755,root,root) %{dfbdir}/interfaces/IDiVine/libidivine_dispatcher.so
+%attr(755,root,root) %{dfbdir}/interfaces/IDiVine/libidivine_requestor.so
+
+%files -n DiVine-devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libdivine.so
+%{_libdir}/libdivine.la
+%{_includedir}/divine
+%{_pkgconfigdir}/divine.pc
+
+%files -n DiVine-static
+%defattr(644,root,root,755)
+%{_libdir}/libdivine.a
+
+%files -n FusionDale
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/fddump
+%attr(755,root,root) %{_bindir}/fdmaster
+%attr(755,root,root) %{_libdir}/libfusiondale-1.7.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libfusiondale-1.7.so.0
+%dir %{dfbdir}/interfaces/IComa
+%attr(755,root,root) %{dfbdir}/interfaces/IComa/libicoma_*.so
+%dir %{dfbdir}/interfaces/IComaComponent
+%attr(755,root,root) %{dfbdir}/interfaces/IComaComponent/libicomacomponent_*.so
+%dir %{dfbdir}/interfaces/IFusionDale
+%attr(755,root,root) %{dfbdir}/interfaces/IFusionDale/libifusiondale_*.so
+%dir %{dfbdir}/interfaces/IFusionDaleMessenger
+%attr(755,root,root) %{dfbdir}/interfaces/IFusionDaleMessenger/libifusiondalemessenger_one.so
+
+%files -n FusionDale-devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libfusiondale.so
+%{_libdir}/libfusiondale.la
+%{_includedir}/fusiondale
+%{_pkgconfigdir}/fusiondale.pc
+
+%files -n FusionDale-static
+%defattr(644,root,root,755)
+%{_libdir}/libfusiondale.a
+
+%files -n FusionSound
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/fsdump
+%attr(755,root,root) %{_bindir}/fsmaster
+%attr(755,root,root) %{_bindir}/fsplay
+%attr(755,root,root) %{_bindir}/fsproxy
+%attr(755,root,root) %{_bindir}/fsvolume
+%attr(755,root,root) %{_libdir}/libfusionsound-1.7.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libfusionsound-1.7.so.0
+%dir %{dfbdir}/interfaces/IFusionSound
+%attr(755,root,root) %{dfbdir}/interfaces/IFusionSound/libifusionsound.so
+%attr(755,root,root) %{dfbdir}/interfaces/IFusionSound/libifusionsound_dispatcher.so
+%attr(755,root,root) %{dfbdir}/interfaces/IFusionSound/libifusionsound_requestor.so
+%dir %{dfbdir}/interfaces/IFusionSoundBuffer
+%attr(755,root,root) %{dfbdir}/interfaces/IFusionSoundBuffer/libifusionsoundbuffer_dispatcher.so
+%attr(755,root,root) %{dfbdir}/interfaces/IFusionSoundBuffer/libifusionsoundbuffer_requestor.so
+%dir %{dfbdir}/interfaces/IFusionSoundMusicProvider
+%attr(755,root,root) %{dfbdir}/interfaces/IFusionSoundMusicProvider/libifusionsoundmusicprovider_playlist.so
+%attr(755,root,root) %{dfbdir}/interfaces/IFusionSoundMusicProvider/libifusionsoundmusicprovider_wave.so
+%dir %{dfbdir}/interfaces/IFusionSoundPlayback
+%attr(755,root,root) %{dfbdir}/interfaces/IFusionSoundPlayback/libifusionsoundplayback_dispatcher.so
+%attr(755,root,root) %{dfbdir}/interfaces/IFusionSoundPlayback/libifusionsoundplayback_requestor.so
+%dir %{dfbdir}/interfaces/IFusionSoundStream
+%attr(755,root,root) %{dfbdir}/interfaces/IFusionSoundStream/libifusionsoundstream_dispatcher.so
+%attr(755,root,root) %{dfbdir}/interfaces/IFusionSoundStream/libifusionsoundstream_requestor.so
+%dir %{dfbdir}/snddrivers
+%attr(755,root,root) %{dfbdir}/snddrivers/libfusionsound_alsa.so
+%attr(755,root,root) %{dfbdir}/snddrivers/libfusionsound_dummy.so
+%attr(755,root,root) %{dfbdir}/snddrivers/libfusionsound_oss.so
+%attr(755,root,root) %{dfbdir}/snddrivers/libfusionsound_wave.so
+
+%files -n FusionSound-devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libfusionsound.so
+%{_libdir}/libfusionsound.la
+%{_includedir}/fusionsound
+%{_includedir}/fusionsound-internal
+%{_pkgconfigdir}/fusionsound.pc
+%{_pkgconfigdir}/fusionsound-internal.pc
+
+%files -n FusionSound-static
+%defattr(644,root,root,755)
+%{_libdir}/libfusionsound.a
+# .la makes no sense in -devel (it's module); here for DFB static linking hacks
+%{dfbdir}/snddrivers/libfusionsound_*.[la]*
+
+%files -n FusionSound-musicprovider-cdda
+%defattr(644,root,root,755)
+%attr(755,root,root) %{dfbdir}/interfaces/IFusionSoundMusicProvider/libifusionsoundmusicprovider_cdda.so
+
+%if %{with ffmpeg}
+%files -n FusionSound-musicprovider-ffmpeg
+%defattr(644,root,root,755)
+%attr(755,root,root) %{dfbdir}/interfaces/IFusionSoundMusicProvider/libifusionsoundmusicprovider_ffmpeg.so
+%endif
+
+%files -n FusionSound-musicprovider-mad
+%defattr(644,root,root,755)
+%attr(755,root,root) %{dfbdir}/interfaces/IFusionSoundMusicProvider/libifusionsoundmusicprovider_mad.so
+
+%files -n FusionSound-musicprovider-timidity
+%defattr(644,root,root,755)
+%attr(755,root,root) %{dfbdir}/interfaces/IFusionSoundMusicProvider/libifusionsoundmusicprovider_timidity.so
+
+%files -n FusionSound-musicprovider-vorbis
+%defattr(644,root,root,755)
+%attr(755,root,root) %{dfbdir}/interfaces/IFusionSoundMusicProvider/libifusionsoundmusicprovider_vorbis.so
+
+%files -n SaWMan
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/swmdump
+%attr(755,root,root) %{_libdir}/libsawman-1.7.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libsawman-1.7.so.0
+%attr(755,root,root) %{dfbdir}/wm/libdirectfbwm_sawman.so
+
+%files -n SaWMan-devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libsawman.so
+%{_libdir}/libsawman.la
+%{_includedir}/sawman
+%{_pkgconfigdir}/sawman.pc
+
+%files -n SaWMan-static
+%defattr(644,root,root,755)
+%{_libdir}/libsawman.a
diff --git a/DirectFB-ffmpeg.patch b/DirectFB-ffmpeg.patch
new file mode 100644
index 0000000..3428a28
--- /dev/null
+++ b/DirectFB-ffmpeg.patch
@@ -0,0 +1,198 @@
+--- DirectFB-1.7.0/interfaces/IFusionSoundMusicProvider/ifusionsoundmusicprovider_ffmpeg.c.orig 2013-01-12 06:06:23.000000000 +0100
++++ DirectFB-1.7.0/interfaces/IFusionSoundMusicProvider/ifusionsoundmusicprovider_ffmpeg.c 2013-07-19 17:15:41.004724901 +0200
+@@ -55,6 +55,9 @@
+
+ #include <libavutil/avutil.h>
+
++#ifndef AVCODEC_MAX_AUDIO_FRAME_SIZE
++# define AVCODEC_MAX_AUDIO_FRAME_SIZE 192000
++#endif
+
+ static DirectResult
+ Probe( IFusionSoundMusicProvider_ProbeContext *ctx );
+@@ -79,7 +82,7 @@
+ DirectStream *stream;
+
+ #if (LIBAVFORMAT_VERSION_MAJOR >= 53)
+- AVIOContext pb;
++ AVIOContext *pb;
+ #else
+ ByteIOContext pb;
+ #endif
+@@ -412,6 +415,11 @@
+ data->dest.buffer = NULL;
+ }
+
++ if (data->pb) {
++ av_free( data->pb );
++ data->pb = NULL;
++ }
++
+ /* release output buffer */
+ if (data->buf) {
+ D_FREE( data->buf );
+@@ -1279,16 +1287,26 @@
+ return D_OOM();
+ }
+
+- if (init_put_byte( &data->pb, data->iobuf, 4096, 0,
++ if ((data->pb = avio_alloc_context( data->iobuf, 4096, 0,
+ (void*)data, av_read_callback, NULL,
+- direct_stream_seekable( stream ) ? av_seek_callback : NULL ) < 0) {
+- D_ERROR( "IFusionSoundMusicProvider_FFmpeg: init_put_byte() failed!\n" );
++ direct_stream_seekable( stream ) ? av_seek_callback : NULL )) == NULL) {
++ D_ERROR( "IFusionSoundMusicProvider_FFmpeg: avio_alloc_context() failed!\n" );
+ IFusionSoundMusicProvider_FFmpeg_Destruct( thiz );
+ return DR_INIT;
+ }
+
+- if (av_open_input_stream( &data->ctx, &data->pb, filename, fmt, NULL ) < 0) {
+- D_ERROR( "IFusionSoundMusicProvider_FFmpeg: av_open_input_stream() failed!\n" );
++ if(data->ctx == NULL) {
++ data->ctx = avformat_alloc_context();
++ if (data->ctx == NULL) {
++ D_ERROR( "IFusionSoundMusicProvider_FFmpeg: avformat_alloc_context() failed!\n" );
++ IFusionSoundMusicProvider_FFmpeg_Destruct( thiz );
++ return DR_FAILURE;
++ }
++ }
++
++ data->ctx->pb = data->pb;
++ if (avformat_open_input( &data->ctx, filename, fmt, NULL ) < 0) {
++ D_ERROR( "IFusionSoundMusicProvider_FFmpeg: avformat_open_input() failed!\n" );
+ IFusionSoundMusicProvider_FFmpeg_Destruct( thiz );
+ return DR_FAILURE;
+ }
+@@ -1318,7 +1336,7 @@
+
+ data->codec = data->st->codec;
+ c = avcodec_find_decoder( data->codec->codec_id );
+- if (!c || avcodec_open( data->codec, c ) < 0) {
++ if (!c || avcodec_open2( data->codec, c, NULL ) < 0) {
+ D_ERROR( "IFusionSoundMusicProvider_FFmpeg: couldn't find audio decoder!\n" );
+ IFusionSoundMusicProvider_FFmpeg_Destruct( thiz );
+ return DR_FAILURE;
+--- DirectFB-1.7.0/interfaces/IDirectFBVideoProvider/idirectfbvideoprovider_ffmpeg.c.orig 2013-01-12 06:06:23.000000000 +0100
++++ DirectFB-1.7.0/interfaces/IDirectFBVideoProvider/idirectfbvideoprovider_ffmpeg.c 2013-07-19 16:38:03.281486315 +0200
+@@ -128,7 +128,7 @@
+ bool seekable;
+ void *iobuf;
+ #if (LIBAVFORMAT_VERSION_MAJOR >= 53)
+- AVIOContext pb;
++ AVIOContext *pb;
+ #else
+ ByteIOContext pb;
+ #endif
+@@ -479,7 +479,7 @@
+ {
+ IDirectFBVideoProvider_FFmpeg_data *data = arg;
+
+- if (url_is_streamed( data->context->pb )) {
++ if (!data->context->pb->seekable) {
+ data->input.buffering = true;
+ pthread_mutex_lock( &data->video.queue.lock );
+ pthread_mutex_lock( &data->audio.queue.lock );
+@@ -506,7 +506,7 @@
+ flush_packets( &data->audio.queue );
+
+ if (!data->input.buffering &&
+- url_is_streamed( data->context->pb )) {
++ !data->context->pb->seekable) {
+ data->input.buffering = true;
+ pthread_mutex_lock( &data->video.queue.lock );
+ pthread_mutex_lock( &data->audio.queue.lock );
+@@ -541,7 +541,7 @@
+ else if (data->video.queue.size == 0 ||
+ data->audio.queue.size == 0) {
+ if (!data->input.buffering &&
+- url_is_streamed( data->context->pb )) {
++ !data->context->pb->seekable) {
+ data->input.buffering = true;
+ pthread_mutex_lock( &data->video.queue.lock );
+ pthread_mutex_lock( &data->audio.queue.lock );
+@@ -798,14 +798,14 @@
+ IDirectFBVideoProvider_FFmpeg_data *data = arg;
+
+ AVStream *st = data->audio.st;
+- u8 buf[AVCODEC_MAX_AUDIO_FRAME_SIZE];
++ u8 buf[192000 /* AVCODEC_MAX_AUDIO_FRAME_SIZE */];
+
+ while (data->status != DVSTATE_STOP) {
+ AVPacket pkt;
+ u8 *pkt_data;
+ int pkt_size;
+ int decoded = 0;
+- int len = AVCODEC_MAX_AUDIO_FRAME_SIZE;
++ int len = 192000 /* AVCODEC_MAX_AUDIO_FRAME_SIZE */;
+ int size = 0;
+
+ direct_thread_testcancel( self );
+@@ -939,6 +939,11 @@
+ }
+ }
+
++ if (data->pb) {
++ av_free( data->pb );
++ data->pb = NULL;
++ }
++
+ if (data->buffer)
+ data->buffer->Release( data->buffer );
+
+@@ -1778,23 +1783,32 @@
+ return D_OOM();
+ }
+
+- if (init_put_byte( &data->pb, data->iobuf, IO_BUFFER_SIZE * 1024, 0,
++ if ((data->pb = avio_alloc_context( data->iobuf, IO_BUFFER_SIZE * 1024, 0,
+ (void*)data, av_read_callback, NULL,
+- data->seekable ? av_seek_callback : NULL ) < 0) {
++ data->seekable ? av_seek_callback : NULL )) == NULL) {
+ D_ERROR( "IDirectFBVideoProvider_FFmpeg: "
+- "init_put_byte() failed!\n" );
++ "avio_alloc_context() failed!\n" );
+ IDirectFBVideoProvider_FFmpeg_Destruct( thiz );
+ return DFB_INIT;
+ }
+
+- data->pb.is_streamed = (!data->seekable ||
++ data->pb->seekable = !(!data->seekable ||
+ !strncmp( pd.filename, "http://", 7 ) ||
+ !strncmp( pd.filename, "unsv://", 7 ) ||
+ !strncmp( pd.filename, "ftp://", 6 ) ||
+ !strncmp( pd.filename, "rtsp://", 7 ));
+
+- if (av_open_input_stream( &data->context,
+- &data->pb, pd.filename, fmt, NULL ) < 0) {
++ if (data->context == NULL) {
++ if ((data->ctx = avformat_alloc_context()) == NULL) {
++ D_ERROR( "IDirectFBVideoProvider_FFmpeg: avformat_alloc_context() failed!\n" );
++ IDirectFBVideoProvider_FFmpeg_Destruct( thiz );
++ return DFB_FAILURE;
++ }
++ }
++
++ data->context->pb = data->pb;
++ if (avformat_open_input( &data->context,
++ pd.filename, fmt, NULL ) < 0) {
+ D_ERROR( "IDirectFBVideoProvider_FFmpeg: "
+ "av_open_input_stream() failed!\n" );
+ IDirectFBVideoProvider_FFmpeg_Destruct( thiz );
+@@ -1845,7 +1859,7 @@
+ data->video.ctx = data->video.st->codec;
+ data->video.codec = avcodec_find_decoder( data->video.ctx->codec_id );
+ if (!data->video.codec ||
+- avcodec_open( data->video.ctx, data->video.codec ) < 0)
++ avcodec_open2( data->video.ctx, data->video.codec, NULL ) < 0)
+ {
+ D_ERROR( "IDirectFBVideoProvider_FFmpeg: "
+ "error opening video codec!\n" );
+@@ -1870,7 +1884,7 @@
+ data->audio.ctx = data->audio.st->codec;
+ data->audio.codec = avcodec_find_decoder( data->audio.ctx->codec_id );
+ if (!data->audio.codec ||
+- avcodec_open( data->audio.ctx, data->audio.codec ) < 0) {
++ avcodec_open2( data->audio.ctx, data->audio.codec, NULL ) < 0) {
+ data->audio.st = NULL;
+ data->audio.ctx = NULL;
+ data->audio.codec = NULL;
diff --git a/DirectFB-libmpeg3.patch b/DirectFB-libmpeg3.patch
new file mode 100644
index 0000000..0c93db4
--- /dev/null
+++ b/DirectFB-libmpeg3.patch
@@ -0,0 +1,40 @@
+--- DirectFB-extra-1.0.0.orig/interfaces/IDirectFBVideoProvider/idirectfbvideoprovider_libmpeg3.c 2006-11-23 00:42:47.000000000 +0100
++++ DirectFB-extra-1.0.0/interfaces/IDirectFBVideoProvider/idirectfbvideoprovider_libmpeg3.c 2007-03-09 10:40:28.000000000 +0100
+@@ -1051,6 +1051,7 @@
+ {
+ mpeg3_t *q;
+ char *filename;
++ int error_code;
+
+ if (!ctx->filename)
+ return DFB_UNSUPPORTED;
+@@ -1062,8 +1063,9 @@
+ return DFB_UNSUPPORTED;
+ }
+
+- q = mpeg3_open( filename );
+- if (!q) {
++ q = mpeg3_open( filename, &error_code );
++ if (!q || error_code) {
++ D_ERROR( "Libmpeg3 Provider: Error opening video file!\n" );
+ D_FREE( filename );
+ return DFB_UNSUPPORTED;
+ }
+@@ -1084,7 +1086,7 @@
+ static DFBResult
+ Construct( IDirectFBVideoProvider *thiz, IDirectFBDataBuffer *buffer )
+ {
+- int i;
++ int i, error_code;
+ IDirectFBDataBuffer_data *buffer_data;
+
+ DIRECT_ALLOCATE_INTERFACE_DATA(thiz, IDirectFBVideoProvider_Libmpeg3)
+@@ -1103,7 +1105,7 @@
+
+
+ /* open mpeg3 file */
+- data->file = mpeg3_open( data->filename );
++ data->file = mpeg3_open( data->filename, &error_code );
+
+ /* fetch information about video */
+ data->video.width = mpeg3_video_width( data->file, 0 );
diff --git a/DirectFB-missing.patch b/DirectFB-missing.patch
new file mode 100644
index 0000000..f96f5f6
--- /dev/null
+++ b/DirectFB-missing.patch
@@ -0,0 +1,57 @@
+--- DirectFB-1.7.0/lib/divine/idivine.h.orig 1970-01-01 01:00:00.000000000 +0100
++++ DirectFB-1.7.0/lib/divine/idivine.h 2013-07-16 17:38:27.782211803 +0200
+@@ -0,0 +1,54 @@
++/*
++ (c) Copyright 2012-2013 DirectFB integrated media GmbH
++ (c) Copyright 2001-2013 The world wide DirectFB Open Source Community (directfb.org)
++ (c) Copyright 2000-2004 Convergence (integrated media) GmbH
++
++ All rights reserved.
++
++ Written by Denis Oliver Kropp <dok at directfb.org>,
++ Andreas Shimokawa <andi at directfb.org>,
++ Marek Pikarski <mass at directfb.org>,
++ Sven Neumann <neo at directfb.org>,
++ Ville Syrjälä <syrjala at sci.fi> and
++ Claudio Ciccani <klan at users.sf.net>.
++
++ This library is free software; you can redistribute it and/or
++ modify it under the terms of the GNU Lesser General Public
++ License as published by the Free Software Foundation; either
++ version 2 of the License, or (at your option) any later version.
++
++ This library is distributed in the hope that it will be useful,
++ but WITHOUT ANY WARRANTY; without even the implied warranty of
++ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
++ Lesser General Public License for more details.
++
++ You should have received a copy of the GNU Lesser General Public
++ License along with this library; if not, write to the
++ Free Software Foundation, Inc., 59 Temple Place - Suite 330,
++ Boston, MA 02111-1307, USA.
++*/
++
++
++
++#ifndef __IDIVINE_H__
++#define __IDIVINE_H__
++
++#include <divine.h>
++
++/*
++ * private data struct of IDiVine
++ */
++typedef struct {
++ int ref; /* reference counter */
++
++ DiVine *divine;
++} IDiVine_data;
++
++/*
++ * IDiVine constructor/destructor
++ */
++DFBResult IDiVine_Construct( IDiVine *thiz );
++
++void IDiVine_Destruct ( IDiVine *thiz );
++
++#endif
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/DirectFB.git/commitdiff/8146312a3bf1b0d3ee90395f28ae45218c060b43
More information about the pld-cvs-commit
mailing list