SPECS: DirectFB.spec - updated to 0.9.23, updated sh patch - updat...

qboosh qboosh at pld-linux.org
Sun Oct 23 11:20:09 CEST 2005


Author: qboosh                       Date: Sun Oct 23 09:20:09 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- updated to 0.9.23, updated sh patch
- updated missing-files patch (using newer files from DirectFB CVS)
- added drivers patch
- build vnc and x11 cores
- provide directfbrc skeleton (currently empty) to give an idea about its name

---- Files affected:
SPECS:
   DirectFB.spec (1.56 -> 1.57) 

---- Diffs:

================================================================
Index: SPECS/DirectFB.spec
diff -u SPECS/DirectFB.spec:1.56 SPECS/DirectFB.spec:1.57
--- SPECS/DirectFB.spec:1.56	Sat Mar  5 00:13:22 2005
+++ SPECS/DirectFB.spec	Sun Oct 23 11:20:04 2005
@@ -2,13 +2,13 @@
 Summary:	DirectFB - Hardware graphics acceleration
 Summary(pl):	DirectFB - Wspomaganie grafiki
 Name:		DirectFB
-Version:	0.9.22
+Version:	0.9.23
 Release:	1
 Epoch:		1
 License:	LGPL v2+
 Group:		Libraries
 Source0:	http://www.directfb.org/download/DirectFB/%{name}-%{version}.tar.gz
-# Source0-md5:	f52e23f4bb56db0d284d2a78ebc4a586
+# Source0-md5:	f52ee63851fe56ee494bcf09ef559bf3
 Source1:	http://www.directfb.org/download/DirectFB-extra/DFBTutorials-0.5.0.tar.gz
 # Source1-md5:	13e443a64bddd68835b574045d9025e9
 Patch0:		%{name}-am.patch
@@ -17,16 +17,19 @@
 # missing files taken from DirectFB CVS
 Patch3:		%{name}-missing-files.patch
 Patch4:		%{name}-sh.patch
+Patch5:		%{name}-drivers.patch
 URL:		http://www.directfb.org/
 BuildRequires:	SDL-devel
+BuildRequires:	XFree86-devel
 BuildRequires:	autoconf >= 2.52
 BuildRequires:	automake
 BuildRequires:	freetype-devel >= 2.0.2
 BuildRequires:	libjpeg-devel >= 6b
 BuildRequires:	libpng-devel >= 1.0
+BuildRequires:	libvncserver-devel
 BuildRequires:	libtool
 BuildRequires:	sed >= 4.0
-BuildRequires:	sysfsutils-devel
+BuildRequires:	sysfsutils-devel >= 1.3.0-3
 BuildRequires:	zlib-devel >= 1.1.3
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -86,6 +89,30 @@
 %description core-sdl -l pl
 Ten pakiet zawiera moduł systemu SDL dla DirectFB.
 
+%package core-vnc
+Summary:	VNC core system for DirectFB
+Summary(pl):	System VNC dla DirectFB
+Group:		Libraries
+Requires:	%{name} = %{epoch}:%{version}-%{release}
+
+%description core-vnc
+This package contains VNC core system module for DirectFB.
+
+%description core-vnc -l pl
+Ten pakiet zawiera moduł systemu VNC dla DirectFB.
+
+%package core-x11
+Summary:	X11 core system for DirectFB
+Summary(pl):	System X11 dla DirectFB
+Group:		Libraries
+Requires:	%{name} = %{epoch}:%{version}-%{release}
+
+%description core-x11
+This package contains X11 core system module for DirectFB.
+
+%description core-x11 -l pl
+Ten pakiet zawiera moduł systemu X11 dla DirectFB.
+
 %package font-ft2
 Summary:	FreeType2 font provider for DirectFB
 Summary(pl):	DirectFB - wtyczka dostarczająca fonty poprzez FreeType2
@@ -153,17 +180,12 @@
 %description input-mutouch
 MuTouch touchscreen input driver for DirectFB.
 
-NOTE: currently it uses hardcoded /dev/ttyS0 port, so don't install it
-unless you don't have MuTouch device connected to this port. It can
-mess with other devices connected to this port (mouse, modem etc.).
+NOTE: it needs "mut-device" setting in directfbrc in order to work.
 
 %description input-mutouch -l pl
 Sterownik wejściowy do touchscreenów MuTouch dla DirectFB.
 
-UWAGA: aktualnie używa zakodowanego na stałe portu /dev/ttyS0, więc nie
-należy go instalować, jeśli urządzenie MuTouch nie jest podłączone do
-tego portu. Sterownik może utrudnić współpracę z innymi urządzeniami
-podłączonymi do /dev/ttyS0 (jak mysz, modem itp.).
+UWAGA: do działania potrzebuje ustawienia "mut-device" w directfbrc.
 
 %prep
 %setup -q -a1
@@ -172,9 +194,7 @@
 %patch2 -p1
 %patch3 -p1
 %patch4 -p1
-
-sed -i -e 's at sysfs/libsysfs.h at libsysfs.h@' \
-	configure.in gfxdrivers/{nvidia/nvidia.c,matrox/matrox_maven.c}
+%patch5 -p1
 
 %build
 %{__libtoolize}
@@ -195,6 +215,7 @@
 	--enable-unique \
 	--enable-video4linux2 \
 	--enable-voodoo \
+	--enable-x11 \
 	--enable-zlib \
 %ifarch %{ix86}
 %ifnarch i386 i486
@@ -209,7 +230,7 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+install -d $RPM_BUILD_ROOT{%{_examplesdir}/%{name}-%{version},%{_sysconfdir}}
 
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
@@ -219,6 +240,8 @@
 # dbfdump and dfbg require multi-application core - useless now
 rm -f $RPM_BUILD_ROOT{%{_bindir}/{dfbdump,dfbg},%{_mandir}/man1/dfbg.1}
 
+touch %{_sysconfdir}/directfbrc
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -285,6 +308,7 @@
 %dir %{dfbdir}/wm
 %attr(755,root,root) %{dfbdir}/wm/*.so
 %{_datadir}/directfb-%{version}
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/directfbrc
 %{_mandir}/man5/*
 
 %files devel
@@ -325,6 +349,17 @@
 %attr(755,root,root) %{dfbdir}/inputdrivers/libdirectfb_sdlinput.so
 %attr(755,root,root) %{dfbdir}/systems/libdirectfb_sdl.so
 
+%files core-vnc
+%defattr(644,root,root,755)
+%attr(755,root,root) %{dfbdir}/inputdrivers/libdirectfb_vncinput.so
+%attr(755,root,root) %{dfbdir}/systems/libdirectfb_vnc.so
+
+%files core-x11
+%defattr(644,root,root,755)
+%doc systems/x11/README
+%attr(755,root,root) %{dfbdir}/inputdrivers/libdirectfb_x11input.so
+%attr(755,root,root) %{dfbdir}/systems/libdirectfb_x11.so
+
 %files font-ft2
 %defattr(644,root,root,755)
 %attr(755,root,root) %{dfbdir}/interfaces/IDirectFBFont/libidirectfbfont_ft2.so
@@ -351,6 +386,13 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.57  2005/10/23 09:20:04  qboosh
+- updated to 0.9.23, updated sh patch
+- updated missing-files patch (using newer files from DirectFB CVS)
+- added drivers patch
+- build vnc and x11 cores
+- provide directfbrc skeleton (currently empty) to give an idea about its name
+
 Revision 1.56  2005/03/04 23:13:22  qboosh
 - updated to 0.9.22, updated fix,missing-files patches
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/DirectFB.spec?r1=1.56&r2=1.57&f=u




More information about the pld-cvs-commit mailing list