rpms/directfb/F-10 DirectFB-1.2.8-tweak.patch, NONE, 1.1 directfb.spec, 1.22, 1.23 sources, 1.10, 1.11

Nicolas Chauvet kwizart at fedoraproject.org
Tue Jun 30 07:57:22 UTC 2009


Author: kwizart

Update of /cvs/pkgs/rpms/directfb/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv3501

Modified Files:
	directfb.spec sources 
Added Files:
	DirectFB-1.2.8-tweak.patch 
Log Message:
Update to 1.2.8


DirectFB-1.2.8-tweak.patch:

--- NEW FILE DirectFB-1.2.8-tweak.patch ---
diff -up DirectFB-1.2.8/inputdrivers/keyboard/keyboard.c.tweak DirectFB-1.2.8/inputdrivers/keyboard/keyboard.c
--- DirectFB-1.2.8/inputdrivers/keyboard/keyboard.c.tweak	2009-03-31 14:38:33.000000000 +0200
+++ DirectFB-1.2.8/inputdrivers/keyboard/keyboard.c	2009-05-11 14:41:54.000000000 +0200
@@ -341,7 +341,7 @@ driver_get_available( void )
                return 0;
      }
 
-     fd = open( "/dev/tty0", O_RDWR | O_NOCTTY );
+     fd = open( "/dev/tty1", O_RDWR | O_NOCTTY );
      if (fd < 0)
           return 0;
 
@@ -391,9 +391,9 @@ driver_open_device( CoreInputDevice  *de
           }
      }
      else {
-          fd = open( "/dev/tty0", O_RDWR | O_NOCTTY );
+          fd = open( "/dev/tty1", O_RDWR | O_NOCTTY );
           if (fd < 0) {
-               D_PERROR( "DirectFB/Keyboard: Could not open() /dev/tty0!\n" );
+               D_PERROR( "DirectFB/Keyboard: Could not open() /dev/tty1!\n" );
                return DFB_INIT;
           }
      }
diff -up DirectFB-1.2.8/src/core/core_parts.c.tweak DirectFB-1.2.8/src/core/core_parts.c
diff -up DirectFB-1.2.8/systems/fbdev/vt.c.tweak DirectFB-1.2.8/systems/fbdev/vt.c
--- DirectFB-1.2.8/systems/fbdev/vt.c.tweak	2009-03-31 14:38:33.000000000 +0200
+++ DirectFB-1.2.8/systems/fbdev/vt.c	2009-05-07 15:21:23.000000000 +0200
@@ -109,7 +109,7 @@ dfb_vt_initialize( void )
           return D_OOM();
 
      setsid();
-     dfb_vt->fd0 = open( "/dev/tty0", O_RDONLY | O_NOCTTY );
+     dfb_vt->fd0 = open( "/dev/tty1", O_RDONLY | O_NOCTTY );
      if (dfb_vt->fd0 < 0) {
           if (errno == ENOENT) {
                dfb_vt->fd0 = open( "/dev/vc/0", O_RDONLY | O_NOCTTY );
@@ -130,7 +130,7 @@ dfb_vt_initialize( void )
                }
           }
           else {
-               D_PERROR( "DirectFB/core/vt: Error opening `/dev/tty0'!\n");
+               D_PERROR( "DirectFB/core/vt: Error opening `/dev/tty1'!\n");
 
                D_FREE( dfb_vt );
                dfb_vt = NULL;


Index: directfb.spec
===================================================================
RCS file: /cvs/pkgs/rpms/directfb/F-10/directfb.spec,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -p -r1.22 -r1.23
--- directfb.spec	13 Feb 2009 01:06:31 -0000	1.22
+++ directfb.spec	30 Jun 2009 07:56:52 -0000	1.23
@@ -1,12 +1,13 @@
 Summary: Graphics abstraction library for the Linux Framebuffer Device
 Name: directfb
-Version: 1.2.7
-Release: 2%{?dist}
+Version: 1.2.8
+Release: 4%{?dist}
 Group: System Environment/Libraries
 License: LGPLv2+
 URL: http://www.directfb.org/
 Source0: http://www.directfb.org/downloads/Core/DirectFB-%{version}.tar.gz
 Patch0: DirectFB-1.2.7-libv4l2.patch
+Patch1: DirectFB-1.2.8-tweak.patch
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires: libtool
@@ -21,6 +22,7 @@ BuildRequires: libv4l-devel
 BuildRequires: libvncserver-devel
 %{?_with_fusion:BuildRequires: linux-fusion-devel}
 %{?_with_fusion:Requires: linux-fusion}
+BuildRequires: tslib-devel
 
 
 %description
@@ -54,6 +56,7 @@ Development files for DirectFB.
 %prep
 %setup -q -n DirectFB-%{version}
 %patch0 -p1 -b .libv4l2
+%patch1 -p1 -b .tweak
 
 #Disable ppc asm since compilation fails (and it seems better to use glibc)
 sed -i.noppcasm -e 's/want_ppcasm=yes/want_ppcasm=no/'g configure.in configure
@@ -74,6 +77,9 @@ autoreconf -i -f
 
 %build
 %configure \
+%ifarch i386 i586
+    --disable-mmx --disable-sse \
+%endif
     --enable-sdl \
     --enable-zlib \
 %{?_with_fusion:--enable-multi} \
@@ -159,8 +165,23 @@ make check
 
 
 %changelog
-* Thu Feb 12 2009 kwizart < kwizart at gmail.com > - 1.2.7-2
-- re tag
+* Mon Jun 30 2009 kwizart < kwizart at gmail.com > - 1.2.8-4
+- Built with tslib
+- Keep sdl by default
+
+* Mon May 11 2009 kwizart < kwizart at gmail.com > - 1.2.8-3
+- Improve tty patch
+- Conditionalize SDL experimental support.
+
+* Thu May  7 2009 kwizart < kwizart at gmail.com > - 1.2.8-2
+- Change default tty to tty1
+
+* Tue Apr 21 2009 kwizart < kwizart at gmail.com > - 1.2.8-1
+- Update to 1.2.8
+- Disable mmx/sse on x86
+
+* Thu Feb 12 2009 kwizart < kwizart at gmail.com > - 1.2.7-3
+- Force autoreconf + re tag
 
 * Tue Jan 20 2009 kwizart < kwizart at gmail.com > - 1.2.7-1
 - Update to 1.2.7


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/directfb/F-10/sources,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -p -r1.10 -r1.11
--- sources	13 Feb 2009 01:06:31 -0000	1.10
+++ sources	30 Jun 2009 07:56:52 -0000	1.11
@@ -1 +1 @@
-59ca16f600e96c8c104a485ff7c322c6  DirectFB-1.2.7.tar.gz
+ac13d21682aa368df4e177ae5b51ad2d  DirectFB-1.2.8.tar.gz




More information about the fedora-extras-commits mailing list