Hello community,

here is the log from the commit of package libgphoto2 for openSUSE:Factory 
checked in at 2016-06-13 21:49:24
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libgphoto2 (Old)
 and      /work/SRC/openSUSE:Factory/.libgphoto2.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libgphoto2"

Changes:
--------
--- /work/SRC/openSUSE:Factory/libgphoto2/libgphoto2.changes    2016-03-29 
09:51:02.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.libgphoto2.new/libgphoto2.changes       
2016-06-13 21:49:29.000000000 +0200
@@ -1,0 +2,12 @@
+Thu Jun  9 14:29:12 UTC 2016 - meiss...@suse.com
+
+- require: udev in the library package for the hwdb refresher
+  bsc#982339
+
+-------------------------------------------------------------------
+Thu Jun  9 13:55:38 UTC 2016 - meiss...@suse.com
+
+- libgphoto2-newjpeg.patch: jpeg_mem_src gets a const buffer now
+  in new libjpeg-turbo.
+
+-------------------------------------------------------------------

New:
----
  libgphoto2-newjpeg.patch

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

Other differences:
------------------
++++++ libgphoto2.spec ++++++
--- /var/tmp/diff_new_pack.oxvQeK/_old  2016-06-13 21:49:30.000000000 +0200
+++ /var/tmp/diff_new_pack.oxvQeK/_new  2016-06-13 21:49:30.000000000 +0200
@@ -55,6 +55,7 @@
 Source1:        
https://downloads.sourceforge.net/project/gphoto/libgphoto/%{version}//%{name}-%{version}.tar.bz2.asc
 Source2:        %name.keyring
 Source3:        baselibs.conf
+Patch0:         libgphoto2-newjpeg.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 Recommends:     %{name}-%{major}-lang = %{version}
 
@@ -62,6 +63,8 @@
 Summary:        A Digital Camera Library
 Group:          Hardware/Camera
 Recommends:     %{name}-%{major}-lang = %{version}
+Requires(post): udev
+Requires(postun): udev
 
 %package doc
 Summary:        A Digital Camera Library - documentation
@@ -132,6 +135,9 @@
 
 %prep
 %setup -q
+if pkg-config --atleast-version=1.5.0 libturbojpeg; then
+%patch0 -p1
+fi
 (cd doc; tar xaf libgphoto2-api.html.tar.gz)
 
 %build


++++++ libgphoto2-newjpeg.patch ++++++
Index: libgphoto2-2.5.10/camlibs/ax203/jpeg_memsrcdest.h
===================================================================
--- libgphoto2-2.5.10.orig/camlibs/ax203/jpeg_memsrcdest.h
+++ libgphoto2-2.5.10/camlibs/ax203/jpeg_memsrcdest.h
@@ -1,7 +1,7 @@
 #include <jpeglib.h>
 
 void
-jpeg_mem_src (j_decompress_ptr cinfo, unsigned char * buffer,
+jpeg_mem_src (j_decompress_ptr cinfo, const unsigned char * buffer,
        unsigned long bufsize);
 
 void
Index: libgphoto2-2.5.10/camlibs/jl2005c/jpeg_memsrcdest.h
===================================================================
--- libgphoto2-2.5.10.orig/camlibs/jl2005c/jpeg_memsrcdest.h
+++ libgphoto2-2.5.10/camlibs/jl2005c/jpeg_memsrcdest.h
@@ -1,7 +1,7 @@
 #include <jpeglib.h>
 
 void
-jpeg_mem_src (j_decompress_ptr cinfo, unsigned char * buffer,
+jpeg_mem_src (j_decompress_ptr cinfo, const unsigned char * buffer,
        unsigned long bufsize);
 
 void


Reply via email to