rpms/libgphoto2/devel gphoto2-libusb-fix-build.patch, NONE, 1.1 libgphoto2.spec, 1.2, 1.3

Jindrich Novy (jnovy) fedora-extras-commits at redhat.com
Wed Apr 23 04:39:25 UTC 2008


Author: jnovy

Update of /cvs/extras/rpms/libgphoto2/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv10176

Modified Files:
	libgphoto2.spec 
Added Files:
	gphoto2-libusb-fix-build.patch 
Log Message:
* Mon Apr 21 2008 Jindrich Novy <jnovy at redhat.com> 2.4.0-2
- apply patch to fix build with libusb


gphoto2-libusb-fix-build.patch:

--- NEW FILE gphoto2-libusb-fix-build.patch ---
--- libgphoto2-2.4.0/libgphoto2_port/configure.ac~	2007-07-28 09:40:51.000000000 -0400
+++ libgphoto2-2.4.0/libgphoto2_port/configure.ac	2008-04-19 14:01:27.000000000 -0400
@@ -337,7 +337,7 @@
 dnl ---------------------------------------------------------------------------
 GP_CONFIG_MSG([USB ports])
 GP_CHECK_LIBRARY([LIBUSB],[libusb],[>= 0.1.5],
-		[usb.h],[usb_busses],[
+		[usb.h],[usb_get_busses],[
 	IOLIB_SUBDIRS="$IOLIB_SUBDIRS usb"
 ],[],
 		[disable-explicitly],


Index: libgphoto2.spec
===================================================================
RCS file: /cvs/extras/rpms/libgphoto2/devel/libgphoto2.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- libgphoto2.spec	18 Apr 2008 10:23:40 -0000	1.2
+++ libgphoto2.spec	23 Apr 2008 04:38:49 -0000	1.3
@@ -1,7 +1,7 @@
 Summary: Library for accessing digital cameras
 Name: libgphoto2
 Version: 2.4.0
-Release: 1%{?dist}
+Release: 2%{?dist}
 # GPLV2+ for the main lib (due to exif.c) and most plugins, some plugins GPLv2
 License: GPLv2+ and GPLv2
 Group: Development/Libraries
@@ -12,6 +12,7 @@
 Patch3: gphoto2-ixany.patch
 Patch4: gphoto2-norpath.patch
 Patch5: gphoto2-data-phase.patch
+Patch6: gphoto2-libusb-fix-build.patch
 Url: http://www.gphoto.org/
 Requires: lockdev
 BuildRequires: libusb-devel >= 0.1.5
@@ -49,6 +50,7 @@
 %patch3 -p1 -b .ixany
 %patch4 -p1 -b .norpath
 %patch5 -p1 -b .data-phase
+%patch6 -p1 -b .libusb-build
 
 cat > gphoto2.pc.in << EOF
 prefix=@prefix@
@@ -139,6 +141,9 @@
 %{_mandir}/man3/*
 
 %changelog
+* Mon Apr 21 2008 Jindrich Novy <jnovy at redhat.com> 2.4.0-2
+- apply patch to fix build with libusb
+
 * Fri Apr 18 2008 Jindrich Novy <jnovy at redhat.com> 2.4.0-1
 - backport patch from upstream to avoid segfault when
   data phase is skipped for certain devices (#435413)




More information about the fedora-extras-commits mailing list