Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=6501d90d33b590566ae0f9067148caeb1a9ae70a

commit 6501d90d33b590566ae0f9067148caeb1a9ae70a
Author: kikadf <kikadf...@gmail.com>
Date:   Wed Apr 27 15:23:12 2011 +0200

libipoddevice-0.5.3-2-i686

*Change m8r
*Rebuild with sg3-utils patch

diff --git a/source/xlib-extra/libipoddevice/FrugalBuild 
b/source/xlib-extra/libipoddevice/FrugalBuild
index 2b75b09..45a2013 100644
--- a/source/xlib-extra/libipoddevice/FrugalBuild
+++ b/source/xlib-extra/libipoddevice/FrugalBuild
@@ -1,16 +1,19 @@
# Compiling Time: 0.06 SBU
-# Maintainer: AlexExtreme <a...@alex-smith.me.uk>
+# Maintainer: kikadf <kikadf...@gmail.com>

pkgname=libipoddevice
pkgver=0.5.3
-pkgrel=1
+pkgrel=2
pkgdesc="libipoddevice is a device-specific layer for the Apple iPod"
-url="http://banshee-project.org/Libipoddevice";
-depends=('hal>=0.5.9' 'libgtop' 'libxau' 'sg3-utils')
+url="http://banshee-project.org";
+depends=('hal>=0.5.14' 'libgtop' 'libxau' 'sg3-utils')
groups=('xlib-extra')
archs=('i686' 'x86_64')
-up2date="Flasttar http://download.banshee-project.org/legacy/libipoddevice/";
-source=(http://download.banshee-project.org/legacy/$pkgname/$pkgname-$pkgver.tar.gz)
-sha1sums=('233283b9cdb02369dfa77867df12732dcc2ac2f8')
+up2date="Flasttar http://download.banshee.fm/legacy/$pkgname/";
+source=(http://download.banshee.fm/legacy/$pkgname/$pkgname-$pkgver.tar.gz \
+        sg3-utils-1.31.patch)
+sha1sums=('233283b9cdb02369dfa77867df12732dcc2ac2f8' \
+          '8bcef308d07a42cb61f0754380cff8175419c3dd')
+

# optimization OK
diff --git a/source/xlib-extra/libipoddevice/sg3-utils-1.31.patch 
b/source/xlib-extra/libipoddevice/sg3-utils-1.31.patch
new file mode 100644
index 0000000..6b02d49
--- /dev/null
+++ b/source/xlib-extra/libipoddevice/sg3-utils-1.31.patch
@@ -0,0 +1,59 @@
+diff -ur libipoddevice-0.5.3//configure libipoddevice-0.5.3.new//configure
+--- libipoddevice-0.5.3//configure     2007-04-01 06:57:33.000000000 +0200
++++ libipoddevice-0.5.3.new//configure 2011-04-27 14:59:42.000000000 +0200
+@@ -20863,13 +20863,13 @@
+
+ fi
+
+-{ echo "$as_me:$LINENO: checking for sg_ll_inquiry in -lsgutils" >&5
+-echo $ECHO_N "checking for sg_ll_inquiry in -lsgutils... $ECHO_C" >&6; }
++{ echo "$as_me:$LINENO: checking for sg_ll_inquiry in -lsgutils2" >&5
++echo $ECHO_N "checking for sg_ll_inquiry in -lsgutils2... $ECHO_C" >&6; }
+ if test "${ac_cv_lib_sgutils_sg_ll_inquiry+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   ac_check_lib_save_LIBS=$LIBS
+-LIBS="-lsgutils  $LIBS"
++LIBS="-lsgutils2  $LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+ /* confdefs.h.  */
+ _ACEOF
+@@ -20941,10 +20941,10 @@
+ { echo "$as_me:$LINENO: result: $ac_cv_lib_sgutils_sg_ll_inquiry" >&5
+ echo "${ECHO_T}$ac_cv_lib_sgutils_sg_ll_inquiry" >&6; }
+ if test $ac_cv_lib_sgutils_sg_ll_inquiry = yes; then
+-  HAL_IPOD_INFO_LIBS="-lsgutils"
++  HAL_IPOD_INFO_LIBS="-lsgutils2"
+ else
+-  { { echo "$as_me:$LINENO: error: Error! You need to have libsgutils." >&5
+-echo "$as_me: error: Error! You need to have libsgutils." >&2;}
++  { { echo "$as_me:$LINENO: error: Error! You need to have libsgutils2." >&5
++echo "$as_me: error: Error! You need to have libsgutils2." >&2;}
+    { (exit 1); exit 1; }; }
+
+ fi
+diff -ur libipoddevice-0.5.3//configure.ac 
libipoddevice-0.5.3.new//configure.ac
+--- libipoddevice-0.5.3//configure.ac  2007-04-01 06:48:20.000000000 +0200
++++ libipoddevice-0.5.3.new//configure.ac      2011-04-27 15:00:31.000000000 
+0200
+@@ -48,8 +48,8 @@
+       AC_DEFINE([HAVE_HAL_EJECT], [1], [Have a HAL that supports DBus 
Methods])
+ fi
+
+-AC_CHECK_LIB(sgutils, sg_ll_inquiry, HAL_IPOD_INFO_LIBS="-lsgutils",
+-      AC_MSG_ERROR([Error! You need to have libsgutils.])
++AC_CHECK_LIB(sgutils, sg_ll_inquiry, HAL_IPOD_INFO_LIBS="-lsgutils2",
++      AC_MSG_ERROR([Error! You need to have libsgutils2.])
+ )
+
+ AC_SUBST(HAL_IPOD_INFO_LIBS)
+diff -ur libipoddevice-0.5.3//src/hal-ipod-info.c 
libipoddevice-0.5.3.new//src/hal-ipod-info.c
+--- libipoddevice-0.5.3//src/hal-ipod-info.c   2007-03-26 19:24:12.000000000 
+0200
++++ libipoddevice-0.5.3.new//src/hal-ipod-info.c       2011-04-27 
13:52:26.000000000 +0200
+@@ -1,6 +1,7 @@
+ #define _GNU_SOURCE
+ #include <stdio.h>
+ #include <stdlib.h>
++#include <stdint.h>
+ #include <string.h>
+ #include <unistd.h>
+ #include <errno.h>
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to