Hello community,

here is the log from the commit of package libgpod for openSUSE:Factory checked 
in at 2013-07-16 16:42:34
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libgpod (Old)
 and      /work/SRC/openSUSE:Factory/.libgpod.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libgpod"

Changes:
--------
--- /work/SRC/openSUSE:Factory/libgpod/libgpod.changes  2013-06-18 
10:31:52.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.libgpod.new/libgpod.changes     2013-07-16 
16:42:35.000000000 +0200
@@ -1,0 +2,5 @@
+Mon Jul 15 08:28:06 UTC 2013 - [email protected]
+
+- fix build in factory by porting to new libimobiledevice api
+
+-------------------------------------------------------------------

New:
----
  libgpod-libimobiledevice-fix.patch

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

Other differences:
------------------
++++++ libgpod.spec ++++++
--- /var/tmp/diff_new_pack.qZF9lq/_old  2013-07-16 16:42:36.000000000 +0200
+++ /var/tmp/diff_new_pack.qZF9lq/_new  2013-07-16 16:42:36.000000000 +0200
@@ -29,6 +29,8 @@
 Group:          System/Libraries
 Source:         
http://downloads.sourceforge.net/project/gtkpod/libgpod/libgpod-0.8/%{name}-%{version}.tar.bz2
 Source1:        baselibs.conf
+# PATCH-FIX-OPENSUSE [email protected] -- compile with newer libimobiledevice
+Patch0:         libgpod-libimobiledevice-fix.patch
 BuildRequires:  fdupes
 BuildRequires:  gcc-c++
 BuildRequires:  glib2-devel
@@ -69,7 +71,6 @@
 playlists stored on an iPod, modify them, and save them back to the iPod.
 
 %package -n %{libsoname}
-
 Summary:        Library to Manipulate Songs and Playlists Stored on an iPod
 Group:          System/Libraries
 Recommends:     %{name}-lang
@@ -82,7 +83,6 @@
 playlists stored on an iPod, modify them, and save them back to the iPod.
 
 %package devel
-
 Summary:        Development files for libgpod
 Group:          Development/Libraries/C and C++
 Requires:       %{libsoname} = %{version}
@@ -97,7 +97,6 @@
 This package provides the development files to use libgpod.
 
 %package doc
-
 Summary:        Documentation for libgpod
 Group:          System/Libraries
 
@@ -109,7 +108,6 @@
 This package provides development documentation for libgpod.
 
 %package -n python-gpod
-
 Summary:        Library to Manipulate Songs and Playlists Stored on an iPod -- 
Python Bindings
 Group:          Development/Languages/Python
 Requires:       python-mutagen
@@ -125,7 +123,6 @@
 This package provides python bindings.
 
 %package sharp
-
 Summary:        Library to Manipulate Songs and Playlists Stored on an iPod -- 
.NET Bindings
 Group:          Development/Languages/Mono
 Requires:       %{libsoname} = %{version}
@@ -138,7 +135,6 @@
 This package provides .NET bindings.
 
 %package tools
-
 Summary:        Tools for libgpod
 Group:          Development/Libraries/C and C++
 Supplements:    packageand(%{libsoname}:udev)
@@ -153,6 +149,9 @@
 %lang_package
 %prep
 %setup -q
+%if 0%{suse_version} > 1230
+%patch0 -p1
+%endif
 
 %build
 %configure --disable-silent-rules --with-pic \

++++++ libgpod-libimobiledevice-fix.patch ++++++
Index: libgpod-0.8.2/tools/ipod-lockdown.c
===================================================================
--- libgpod-0.8.2.orig/tools/ipod-lockdown.c
+++ libgpod-0.8.2/tools/ipod-lockdown.c
@@ -133,7 +133,7 @@ iphone_write_sysinfo_extended (const cha
        afc_client_t afc = NULL;
        idevice_error_t ret = IDEVICE_E_UNKNOWN_ERROR;
        afc_error_t afc_ret;
-       uint16_t afcport = 0;
+       lockdownd_service_descriptor_t afcport = 0;
        uint64_t handle;
        uint32_t bytes_written;
        const char device_dir[] = "/iTunes_Control/Device";
Index: libgpod-0.8.2/src/itdb_iphone.c
===================================================================
--- libgpod-0.8.2.orig/src/itdb_iphone.c
+++ libgpod-0.8.2/src/itdb_iphone.c
@@ -44,7 +44,7 @@ static int itdb_iphone_post_notification
                                         const char *notification)
 {
     np_client_t np = NULL;
-    uint16_t nport = 0;
+    lockdownd_service_descriptor_t nport = 0;
 
     lockdownd_start_service(client, "com.apple.mobile.notification_proxy", 
&nport);
     if (!nport) {
@@ -75,7 +75,7 @@ int itdb_iphone_start_sync(Itdb_Device *
     itdbprep_t pdata_loc = NULL;
     const char *uuid;
     lockdownd_client_t client = NULL;
-    uint16_t afcport = 0;
+    lockdownd_service_descriptor_t afcport = 0;
     int i;
 
     uuid = itdb_device_get_uuid (device);
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to