rpms/guvcview/devel guvcview-1.5.1-glib2-2.31.patch, NONE, 1.1 guvcview.spec, 1.9, 1.10

Thomas Moschny thm at rpmfusion.org
Thu Dec 22 18:53:15 CET 2011


Author: thm

Update of /cvs/free/rpms/guvcview/devel
In directory se02.es.rpmfusion.net:/tmp/cvs-serv27569/devel

Modified Files:
	guvcview.spec 
Added Files:
	guvcview-1.5.1-glib2-2.31.patch 
Log Message:
Add patch for compiling with glib 2.31 or later.

guvcview-1.5.1-glib2-2.31.patch:
 v4l2_formats.c |    2 --
 1 file changed, 2 deletions(-)

--- NEW FILE guvcview-1.5.1-glib2-2.31.patch ---
diff -up guvcview-src-1.5.1/src/v4l2_formats.c~ guvcview-src-1.5.1/src/v4l2_formats.c
--- guvcview-src-1.5.1/src/v4l2_formats.c~	2011-10-13 23:19:54.000000000 +0200
+++ guvcview-src-1.5.1/src/v4l2_formats.c	2011-12-19 11:39:27.900223646 +0100
@@ -22,8 +22,6 @@
 
 #include <glib/gprintf.h>
 #include <glib/gstdio.h>
-#include <glib/gutils.h>
-#include <glib/gtestutils.h>
 #include <fcntl.h>
 #include <string.h>
 #include <sys/types.h>


Index: guvcview.spec
===================================================================
RCS file: /cvs/free/rpms/guvcview/devel/guvcview.spec,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- guvcview.spec	18 Dec 2011 13:57:49 -0000	1.9
+++ guvcview.spec	22 Dec 2011 17:53:15 -0000	1.10
@@ -1,6 +1,6 @@
 Name:           guvcview
 Version:        1.5.1
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        GTK+ UVC Viewer and Capturer
 Group:          Amusements/Graphics
 # fixme: ask upstream about license, many source files claim to be
@@ -8,6 +8,7 @@
 License:        GPLv3+
 URL:            http://guvcview.sourceforge.net/
 Source0:        http://downloads.sourceforge.net/%{name}/%{name}-src-%{version}.tar.gz
+Patch0:         guvcview-1.5.1-glib2-2.31.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:  pkgconfig(gtk+-3.0) >= 3.0.0
@@ -34,6 +35,7 @@
 
 %prep
 %setup -q -n %{name}-src-%{version}
+%patch0 -p1
 find src -type f -exec chmod u=rw,go=r {} \;
 
 
@@ -73,6 +75,9 @@
 
 
 %changelog
+* Mon Dec 19 2011 Thomas Moschny <thomas.moschny at gmx.de> - 1.5.1-2
+- Add patch for compiling with glib2 2.31 or later.
+
 * Sun Dec 18 2011 Thomas Moschny <thomas.moschny at gmx.de> - 1.5.1-1
 - Update to 1.5.1.
 - Rewrite build requirements using pkgconfig(...).



More information about the rpmfusion-commits mailing list