packages: libwebcam/libwebcam.spec, libwebcam/libwebcam-undebian.patch (NEW...

baggins baggins at pld-linux.org
Thu Mar 3 12:05:04 CET 2011


Author: baggins                      Date: Thu Mar  3 11:05:04 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- undebianize

---- Files affected:
packages/libwebcam:
   libwebcam.spec (1.2 -> 1.3) , libwebcam-undebian.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/libwebcam/libwebcam.spec
diff -u packages/libwebcam/libwebcam.spec:1.2 packages/libwebcam/libwebcam.spec:1.3
--- packages/libwebcam/libwebcam.spec:1.2	Thu Mar  3 11:58:59 2011
+++ packages/libwebcam/libwebcam.spec	Thu Mar  3 12:04:55 2011
@@ -11,6 +11,7 @@
 # Source0-md5:	2046d9a568d0a2b989f9d218ff04ad78
 Patch0:		%{name}-uvcvideo_h.patch
 Patch1:		%{name}-pkgconfig.patch
+Patch2:		%{name}-undebian.patch
 URL:		http://www.quickcamteam.net/software/libwebcam/
 BuildRequires:	cmake >= 2.6.0
 BuildRequires:	libxml2-devel
@@ -56,6 +57,7 @@
 %setup -q
 %patch0 -p1
 %patch1 -p1
+%patch2 -p0
 
 %build
 install -d build
@@ -106,6 +108,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.3  2011/03/03 11:04:55  baggins
+- undebianize
+
 Revision 1.2  2011/03/03 10:58:59  baggins
 - typo
 

================================================================
Index: packages/libwebcam/libwebcam-undebian.patch
diff -u /dev/null packages/libwebcam/libwebcam-undebian.patch:1.1
--- /dev/null	Thu Mar  3 12:05:04 2011
+++ packages/libwebcam/libwebcam-undebian.patch	Thu Mar  3 12:04:55 2011
@@ -0,0 +1,32 @@
+Index: libwebcam/CMakeLists.txt
+===================================================================
+--- libwebcam/CMakeLists.txt	(revision 97)
++++ libwebcam/CMakeLists.txt	(working copy)
+@@ -142,11 +160,6 @@
+ 	OUTPUT_STRIP_TRAILING_WHITESPACE
+ 	ERROR_QUIET
+ )
+-if (EXECUTE_RESULT)
+-	message(FATAL_ERROR "Unable to determine current dpkg architecture: ${EXECUTE_RESULT}")
+-else (EXECUTE_RESULT)
+-	message("** Debian package architecture: ${CPACK_DEBIAN_PACKAGE_ARCHITECTURE}")
+-endif (EXECUTE_RESULT)
+ 
+ # Generic
+ set (CPACK_GENERATOR					"TBZ2;DEB")
+Index: uvcdynctrl/CMakeLists.txt
+===================================================================
+--- uvcdynctrl/CMakeLists.txt	(revision 97)
++++ uvcdynctrl/CMakeLists.txt	(working copy)
+@@ -111,11 +111,6 @@
+ 	OUTPUT_STRIP_TRAILING_WHITESPACE
+ 	ERROR_QUIET
+ )
+-if (EXECUTE_RESULT)
+-	message(FATAL_ERROR "Unable to determine current dpkg architecture: ${EXECUTE_RESULT}")
+-else (EXECUTE_RESULT)
+-	message("** Debian package architecture: ${CPACK_DEBIAN_PACKAGE_ARCHITECTURE}")
+-endif (EXECUTE_RESULT)
+ 
+ # Generic
+ set (CPACK_GENERATOR					"TBZ2;DEB")
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/libwebcam/libwebcam.spec?r1=1.2&r2=1.3&f=u



More information about the pld-cvs-commit mailing list