Fix libipoddevice against our hal fixes bug #148605.
authorLuis Medinas <metalgod@gentoo.org>
Sun, 8 Oct 2006 16:01:28 +0000 (16:01 +0000)
committerLuis Medinas <metalgod@gentoo.org>
Sun, 8 Oct 2006 16:01:28 +0000 (16:01 +0000)
Package-Manager: portage-2.1.1

media-libs/libipoddevice/ChangeLog
media-libs/libipoddevice/Manifest
media-libs/libipoddevice/files/digest-libipoddevice-0.5.0-r1 [new file with mode: 0644]
media-libs/libipoddevice/files/libipoddevice-0.5.0-gentoohal.patch [new file with mode: 0644]
media-libs/libipoddevice/libipoddevice-0.5.0-r1.ebuild [new file with mode: 0644]

index c64d1599ba0a5d8774b6dc10064cdefeb0730a41..b9f4c9450f4afd6cb8a3b8342bafbb25779b853c 100644 (file)
@@ -1,6 +1,13 @@
 # ChangeLog for media-libs/libipoddevice
 # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libipoddevice/ChangeLog,v 1.6 2006/09/19 21:11:46 metalgod Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libipoddevice/ChangeLog,v 1.7 2006/10/08 16:01:28 metalgod Exp $
+
+*libipoddevice-0.5.0-r1 (08 Oct 2006)
+
+  08 Oct 2006; Luis Medinas <metalgod@gentoo.org>
+  +files/libipoddevice-0.5.0-gentoohal.patch,
+  +libipoddevice-0.5.0-r1.ebuild:
+  Fix libipoddevice against our hal fixes bug #148605.
 
 *libipoddevice-0.5.0 (19 Sep 2006)
 
index cf7bae4635e27acbc1740d00886126e3536b8939..c9b51019437f0cda3bff9a0c7b51ab52725ddac8 100644 (file)
@@ -1,20 +1,28 @@
 -----BEGIN PGP SIGNED MESSAGE-----
 Hash: SHA1
 
+AUX libipoddevice-0.5.0-gentoohal.patch 777 RMD160 7c6a88760ab8ff4839ec978684c1c48a037a3ad0 SHA1 78feb57e88f2d06e331df96979931dc6a8edb245 SHA256 374847a8dae2ee7922cd57d01bcc7d6366394f408eb60b73c782352cf955bf7e
+MD5 5fb02d2a5fcf4f76cb3863baee0591bc files/libipoddevice-0.5.0-gentoohal.patch 777
+RMD160 7c6a88760ab8ff4839ec978684c1c48a037a3ad0 files/libipoddevice-0.5.0-gentoohal.patch 777
+SHA256 374847a8dae2ee7922cd57d01bcc7d6366394f408eb60b73c782352cf955bf7e files/libipoddevice-0.5.0-gentoohal.patch 777
 DIST libipoddevice-0.4.5.tar.gz 343309 RMD160 547752ca3559caea3497378eeb25f8787120c592 SHA1 0c23cf26acedf819437052d18e1aa29596df64b1 SHA256 08765a01a2170f6550aa455b8c3a080da69d68ce5e8ba439ddd43503a5347ad3
 DIST libipoddevice-0.5.0.tar.gz 351535 RMD160 814ba67a5ab8a97653466e27d89d715c6d395acc SHA1 98bb245bf73ec3e23c5ed95c244b1475a9085356 SHA256 4da39bccfe605c5ca35abf606603395eedae83feab159184ad4f5efc2acac12d
 EBUILD libipoddevice-0.4.5.ebuild 1178 RMD160 29139556d41e92c14a3e78beca85f35336e96c8a SHA1 4abf787293c05d589a8aba927ad5385bbd271430 SHA256 b9d6172a0374f08a97dc5359a054e3ed0f80376f256fe5ee798fafad83476745
 MD5 03e7b11b8fb650bee10d18cbf4301126 libipoddevice-0.4.5.ebuild 1178
 RMD160 29139556d41e92c14a3e78beca85f35336e96c8a libipoddevice-0.4.5.ebuild 1178
 SHA256 b9d6172a0374f08a97dc5359a054e3ed0f80376f256fe5ee798fafad83476745 libipoddevice-0.4.5.ebuild 1178
+EBUILD libipoddevice-0.5.0-r1.ebuild 1249 RMD160 57c2a9ffccf1e58f7251f9b6edcc2fe99222cdba SHA1 898dfd5b4eee30e92f9b23a20c7a77703a921202 SHA256 b2e7a7094390d51c29b1cbfcaae0d923e7a22af41e161192c834c56c66163a5f
+MD5 61506fe3ee188921310c336186ac7b3d libipoddevice-0.5.0-r1.ebuild 1249
+RMD160 57c2a9ffccf1e58f7251f9b6edcc2fe99222cdba libipoddevice-0.5.0-r1.ebuild 1249
+SHA256 b2e7a7094390d51c29b1cbfcaae0d923e7a22af41e161192c834c56c66163a5f libipoddevice-0.5.0-r1.ebuild 1249
 EBUILD libipoddevice-0.5.0.ebuild 1205 RMD160 18cba4b3eed4e352dacb1cb645f7ae5e42e50ad8 SHA1 052dab80c497ce7f389cc89b4308e157a5a79ae5 SHA256 a758b3d5ef6d0bc39c0daadeb5dcdd42c144c81faec840aa0b8677dfa9a02e07
 MD5 f2a3de4286afb5c2a462d652e29df170 libipoddevice-0.5.0.ebuild 1205
 RMD160 18cba4b3eed4e352dacb1cb645f7ae5e42e50ad8 libipoddevice-0.5.0.ebuild 1205
 SHA256 a758b3d5ef6d0bc39c0daadeb5dcdd42c144c81faec840aa0b8677dfa9a02e07 libipoddevice-0.5.0.ebuild 1205
-MISC ChangeLog 1093 RMD160 80eb660107895664d8bb8ea63e0fd4bab8ae8c8b SHA1 62274eb15c6774fd854ce12d7c44c54cc48c4969 SHA256 e84ec3ff615e0cca47d41b4c09c096f6b44bd37371bb659023b8b3aa1ad203f1
-MD5 32db053973d9e0bd977aa3894c5e0767 ChangeLog 1093
-RMD160 80eb660107895664d8bb8ea63e0fd4bab8ae8c8b ChangeLog 1093
-SHA256 e84ec3ff615e0cca47d41b4c09c096f6b44bd37371bb659023b8b3aa1ad203f1 ChangeLog 1093
+MISC ChangeLog 1318 RMD160 352b88fb2f8d6020283d632c54fd5355f02c3dfa SHA1 c2fc663d3b2acb45fbc6f70af34b440e9cc08ad0 SHA256 52ea638bcf958b67f7138290d98d53f5adbfdfe84a8db0fa25220e3e202424f5
+MD5 a1fdea994ed7f79f69706b0ac8070364 ChangeLog 1318
+RMD160 352b88fb2f8d6020283d632c54fd5355f02c3dfa ChangeLog 1318
+SHA256 52ea638bcf958b67f7138290d98d53f5adbfdfe84a8db0fa25220e3e202424f5 ChangeLog 1318
 MISC metadata.xml 294 RMD160 a0ecd559d8ebff0b2e91aac31e12dd1fb9074c7e SHA1 a82bcefd597a8ca762a169dd8b2895d1347dcdfb SHA256 50e382a1cdc9b8d5bd7a6e62bae3e8b57cf36e157f70d0136b57d50edf2e8041
 MD5 46261388ca1ae057f1d8590a23834c49 metadata.xml 294
 RMD160 a0ecd559d8ebff0b2e91aac31e12dd1fb9074c7e metadata.xml 294
@@ -25,10 +33,13 @@ SHA256 2b977a6409c2420dc26099a4abe19eacb75af818bebce8e33562c832fb065932 files/di
 MD5 2e5917de60478ebf237cdd24eb0338bb files/digest-libipoddevice-0.5.0 259
 RMD160 dc99a7d25307b82fe78759a8cc06980f6617cb9c files/digest-libipoddevice-0.5.0 259
 SHA256 a5383e60c7a834b9041e4fc60d6987259a15cac87e9a89343158253640e3ec2c files/digest-libipoddevice-0.5.0 259
+MD5 2e5917de60478ebf237cdd24eb0338bb files/digest-libipoddevice-0.5.0-r1 259
+RMD160 dc99a7d25307b82fe78759a8cc06980f6617cb9c files/digest-libipoddevice-0.5.0-r1 259
+SHA256 a5383e60c7a834b9041e4fc60d6987259a15cac87e9a89343158253640e3ec2c files/digest-libipoddevice-0.5.0-r1 259
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.5 (GNU/Linux)
 
-iD8DBQFFEF0rwUpWvClEHQoRArjrAJ4mVc4VG7zxz870cDu+ZLDtjRfOLQCfWlJm
-pgz0orKP2lmKGcTnvyXq8dA=
-=KCcE
+iD8DBQFFKSDjwUpWvClEHQoRAmq3AJ0VCkBejK6wzysYZ6MM9hJJijNcsACcDJFu
+h1mo5Pgr4PEjrTXBnKxV/U4=
+=gy/E
 -----END PGP SIGNATURE-----
diff --git a/media-libs/libipoddevice/files/digest-libipoddevice-0.5.0-r1 b/media-libs/libipoddevice/files/digest-libipoddevice-0.5.0-r1
new file mode 100644 (file)
index 0000000..db55551
--- /dev/null
@@ -0,0 +1,3 @@
+MD5 c0abe8c4890422fd0686801c8c685348 libipoddevice-0.5.0.tar.gz 351535
+RMD160 814ba67a5ab8a97653466e27d89d715c6d395acc libipoddevice-0.5.0.tar.gz 351535
+SHA256 4da39bccfe605c5ca35abf606603395eedae83feab159184ad4f5efc2acac12d libipoddevice-0.5.0.tar.gz 351535
diff --git a/media-libs/libipoddevice/files/libipoddevice-0.5.0-gentoohal.patch b/media-libs/libipoddevice/files/libipoddevice-0.5.0-gentoohal.patch
new file mode 100644 (file)
index 0000000..5e35469
--- /dev/null
@@ -0,0 +1,11 @@
+--- libipoddevice-0.5.0/data/20-ipod-info.fdi.orig     2006-09-18 14:42:48.000000000 +0100
++++ libipoddevice-0.5.0/data/20-ipod-info.fdi  2006-10-08 16:48:04.901441896 +0100
+@@ -4,7 +4,7 @@
+   <device>
+     <match key="@info.parent:storage.vendor" contains="Apple">
+       <match key="@info.parent:storage.model" contains="iPod">
+-        <match key="volume.policy.should_mount" bool="true"> 
++        <match key="volume.fsusage" contains="filesystem"> 
+           <append key="org.freedesktop.Hal.Device.Volume.method_names" type="strlist">WriteIpodInfo</append>
+           <append key="org.freedesktop.Hal.Device.Volume.method_signatures" type="strlist">as</append>
+           <append key="org.freedesktop.Hal.Device.Volume.method_execpaths" type="strlist">hal-ipod-info</append>
diff --git a/media-libs/libipoddevice/libipoddevice-0.5.0-r1.ebuild b/media-libs/libipoddevice/libipoddevice-0.5.0-r1.ebuild
new file mode 100644 (file)
index 0000000..b087fac
--- /dev/null
@@ -0,0 +1,47 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libipoddevice/libipoddevice-0.5.0-r1.ebuild,v 1.1 2006/10/08 16:01:28 metalgod Exp $
+
+inherit multilib eutils
+
+DESCRIPTION="libipoddevice is a device-specific layer for the Apple iPod"
+HOMEPAGE="http://banshee-project.org/Libipoddevice"
+SRC_URI="http://banshee-project.org/files/libipoddevice/${P}.tar.gz"
+
+LICENSE="LGPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+RDEPEND=">=sys-apps/dbus-0.60
+       >=sys-apps/hal-0.5.2
+       sys-apps/pmount
+       virtual/eject"
+
+DEPEND="${RDEPEND}
+       >=dev-libs/glib-2.0
+       >=gnome-base/libgtop-2.12
+       >=sys-apps/sg3_utils-1.20"
+
+src_unpack() {
+       unpack ${A}
+       # use correct libdir in pkgconfig file
+       if [ $(get_libdir) != "lib" ] ; then
+               sed -i -e 's:^libdir=.*:libdir=@libdir@:' \
+                       ${S}/ipoddevice.pc.in || die "sed failed"
+       fi
+       epatch ${FILESDIR}/${P}-gentoohal.patch
+}
+pkg_setup() {
+       if ! built_with_use sys-apps/dbus gtk; then
+               die "need sys-libs/dbus built with gtk USE flag"
+       fi
+}
+src_compile() {
+       econf || die "configure failed"
+       emake || die "make failed"
+}
+src_install() {
+       make DESTDIR="${D}" install || die "make install failed"
+       dodoc ChangeLog NEWS README
+}