Hello community,

here is the log from the commit of package python-pygame for openSUSE:Factory
checked in at Thu Aug 4 09:54:04 CEST 2011.



--------
--- python-pygame/python-pygame.changes 2010-06-08 14:53:10.000000000 +0200
+++ /mounts/work_src_done/STABLE/python-pygame/python-pygame.changes    
2011-07-07 13:04:19.000000000 +0200
@@ -1,0 +2,5 @@
+Thu Jul  7 11:01:11 UTC 2011 - [email protected]
+
+- Add pygame-v4l-2.6.38.patch: use new v4l interface 
+
+-------------------------------------------------------------------

calling whatdependson for head-i586


New:
----
  pygame-v4l-2.6.38.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-pygame.spec ++++++
--- /var/tmp/diff_new_pack.Lp4Wtk/_old  2011-08-04 09:47:00.000000000 +0200
+++ /var/tmp/diff_new_pack.Lp4Wtk/_new  2011-08-04 09:47:00.000000000 +0200
@@ -1,7 +1,7 @@
 #
-# spec file for package python-pygame (Version 1.9.1)
+# spec file for package python-pygame
 #
-# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -19,9 +19,10 @@
 
 Name:           python-pygame
 Version:        1.9.1
-Release:        1
+Release:        5
 Source:         http://pygame.org/ftp/pygame-%{version}release.tar.gz
 Source1:        README.SUSE
+Patch1:         pygame-v4l-2.6.38.patch
 Summary:        A Python Module for Interfacing with the SDL Multimedia Library
 License:        LGPLv2.1+
 Group:          Development/Libraries/Python
@@ -41,6 +42,9 @@
 %else
 BuildRequires:  python-numeric
 %endif
+%if 0%{?suse_version} >= 1210
+BuildRequires:  libv4l-devel >= 0.8.4
+%endif
 %{py_requires}
 
 %description
@@ -69,6 +73,9 @@
 
 %prep
 %setup -q -n pygame-%{version}release
+%if 0%{?suse_version} >= 1210
+%patch1
+%endif
 
 %build
 export CFLAGS="$RPM_OPT_FLAGS -Wall -fno-strict-aliasing"

++++++ pygame-v4l-2.6.38.patch ++++++
--- src/camera.h        2008-10-10 04:37:10.000000000 +0200
+++ src/camera.h        2011-07-07 13:00:43.880088827 +0200
@@ -39,7 +39,7 @@
 
     #include <asm/types.h>          /* for videodev2.h */
 
-    #include <linux/videodev.h>
+    #include <libv4l1-videodev.h>
     #include <linux/videodev2.h>
 #endif
 

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



Remember to have fun...

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to