diff options
author | Peter Alfredsen <loki_val@gentoo.org> | 2008-09-03 10:13:53 +0000 |
---|---|---|
committer | Peter Alfredsen <loki_val@gentoo.org> | 2008-09-03 10:13:53 +0000 |
commit | 9e3059a79187cfb48569fe3b40b4950042de2a21 (patch) | |
tree | 9c6fe7955192882fc8661e878b91f676b2b34cf4 /media-sound/banshee | |
parent | fix #236417 (diff) | |
download | historical-9e3059a79187cfb48569fe3b40b4950042de2a21.tar.gz historical-9e3059a79187cfb48569fe3b40b4950042de2a21.tar.bz2 historical-9e3059a79187cfb48569fe3b40b4950042de2a21.zip |
Add patch for bug 233869. Kudos to Salah Coronya <salahx@yahoo.com>, who produced this.
Package-Manager: portage-2.2_rc8/cvs/Linux 2.6.25.8 i686
Diffstat (limited to 'media-sound/banshee')
-rw-r--r-- | media-sound/banshee/ChangeLog | 10 | ||||
-rw-r--r-- | media-sound/banshee/Manifest | 8 | ||||
-rw-r--r-- | media-sound/banshee/banshee-1.0.0-r1.ebuild | 4 | ||||
-rw-r--r-- | media-sound/banshee/banshee-1.2.1-r1.ebuild | 99 | ||||
-rw-r--r-- | media-sound/banshee/banshee-1.2.1.ebuild | 4 | ||||
-rw-r--r-- | media-sound/banshee/files/banshee-1.2.1-libmtp-0.3.0-API.patch | 85 |
6 files changed, 202 insertions, 8 deletions
diff --git a/media-sound/banshee/ChangeLog b/media-sound/banshee/ChangeLog index 375791cd7171..7c0c8f4080a8 100644 --- a/media-sound/banshee/ChangeLog +++ b/media-sound/banshee/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for media-sound/banshee # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/banshee/ChangeLog,v 1.69 2008/08/31 20:39:24 loki_val Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/banshee/ChangeLog,v 1.70 2008/09/03 10:13:52 loki_val Exp $ + +*banshee-1.2.1-r1 (03 Sep 2008) + + 03 Sep 2008; Peter Alfredsen <loki_val@gentoo.org> + +files/banshee-1.2.1-libmtp-0.3.0-API.patch, banshee-1.0.0-r1.ebuild, + banshee-1.2.1.ebuild, +banshee-1.2.1-r1.ebuild: + Add patch for bug 233869. Kudos to Salah Coronya <salahx@yahoo.com>, who + produced this. *banshee-1.2.1 (31 Aug 2008) diff --git a/media-sound/banshee/Manifest b/media-sound/banshee/Manifest index 2ad914e4dabd..625685431451 100644 --- a/media-sound/banshee/Manifest +++ b/media-sound/banshee/Manifest @@ -1,11 +1,13 @@ AUX banshee-1.0.0-notification-icon.patch 1388 RMD160 dccac57924fad30d2b02ff4ce80b39754c77b900 SHA1 8c3d2bed53a0bc9b586dc5b0cd7b1913ccfda99d SHA256 48b9bc53bc33c0e582bd2f93d88d09bf79ffbef18d27870d08a733cf45429a08 +AUX banshee-1.2.1-libmtp-0.3.0-API.patch 4226 RMD160 7cf5244c40a8a429f08ed1a6cd53bb6cb2269dec SHA1 44566fd0e5c6b04257c42b622eef7e9bbcf30148 SHA256 5d1a6987c79bee0beea4d06cca9e3bbea240dda87504970de30ce9822ffd5c0e DIST banshee-0.12.1.tar.gz 3081707 RMD160 87b826cb306e57e08adf35d37fab5b3196d85686 SHA1 578077486d23368998f1e31a237db427f0968d37 SHA256 1d858b3c83d233790f62bc35440e900bcebf40964ad1aba9eae4cc017da74ed7 DIST banshee-0.13.1.tar.gz 2999635 RMD160 fdefaeeb3e66bf6073e081e364270dcf912ebf6c SHA1 e39358c04ea38505ec626c4fef66312edd176c6a SHA256 ea095023f8c3f731aef3f96653e53c9dad6622f1113a2347aa10ebb269351a19 DIST banshee-1-1.0.0.tar.bz2 1993777 RMD160 8148af02fc421b4d9f6716f96f65f10c4346876b SHA1 8467e114d6857cc1f37b3364cbde9618a2067e30 SHA256 0df0d12187752a27fa64037595491710e26be17e9ea87a73f751b8b686394012 DIST banshee-1-1.2.1.tar.bz2 2115306 RMD160 ca29158c81ed6d49bceaaf25f315a93624ddfc48 SHA1 078290728e5130455c5cab1be73951672803372c SHA256 b8380b52a8660b499605fbdee86d00e309a88c3bc822ba30b5b7521e16bec9c0 EBUILD banshee-0.12.1.ebuild 3033 RMD160 7aa0c63a0c428c8d3be2594aa931bdd902cbbe99 SHA1 1a4d7c6c92cf896eb44418e9488f889c18290b63 SHA256 97bc43f8bc5e0ee9dbbcb64b54a501d36fa40499fd23effbe1064503c110fa48 EBUILD banshee-0.13.1.ebuild 2995 RMD160 ea90307f7745259bdb12b22dae8d428de7cba7b2 SHA1 96064831a620d79e153dacf8f8645c8d58c08071 SHA256 421ce751a47477460e8463764d55bc4633aeb82d44509efc57913b3add2ce7e6 -EBUILD banshee-1.0.0-r1.ebuild 2208 RMD160 dbb71e5cb112c9d46e1b8fed842091cc64a3896b SHA1 c9956048692c1f158e23a40dba72fa6b6f23dd34 SHA256 6fdddb463bdbe126a1ffa70a719761b6ead42603df93d2d5b60265f274fe9550 -EBUILD banshee-1.2.1.ebuild 2216 RMD160 81ef136af2658571af543ab7a27a761b461d19b7 SHA1 ae210454f268bd8a3a490bd75361ca91832e9aa7 SHA256 03446555a6eaeb75bb9bcf64e1548baeec770506cd29e994b637540e5ccad38e -MISC ChangeLog 12478 RMD160 e5120e365185f2029324ef477704aae04b9832a4 SHA1 9a8e1a2c7da141dd2bda3d4faa6d7d7e76475f2e SHA256 b97e8aa1444456f6160cd5dfca20e32a69e9dedfa231f3f43b6a76918c0aabc5 +EBUILD banshee-1.0.0-r1.ebuild 2202 RMD160 fcaaa6d71fd03c43569c1cb2953836d9b444da5f SHA1 05b90c39aabc619e7b9833fc018d9b724a951db0 SHA256 69ccfb5570b7200dd7bd08a24efee1b91920ba4a71910356b1a6d257e77ffc86 +EBUILD banshee-1.2.1-r1.ebuild 2269 RMD160 18a9cb6569cd04c4b12e7f0c5a5058022707f37c SHA1 3055f747b6dcd743398350da4dfadc1cc6388683 SHA256 f70000f95280406b1f608ef02d244074d8d433cd36dab3555d8f82a1d8956685 +EBUILD banshee-1.2.1.ebuild 2210 RMD160 34b20e9e66f736db60934a712545ee9bba3203da SHA1 100317bfad927a9279a5da868923f0c196669889 SHA256 8a13cc436483124f120fe137b2fd2107521e466189340f3ea3cfa66cc106b591 +MISC ChangeLog 12779 RMD160 7c601cd6e7da602ee0b95d4368f4b98d5147e3a7 SHA1 6c5403fe47523c2cdf71a469fe513e283d69c9d6 SHA256 423a812be8d2a8bba0b0c6e40f6b908990b46a528bc5cddd1c4fd094ea655c9a MISC metadata.xml 499 RMD160 58c90a5fa64f948def14ea188bd7815294e36f35 SHA1 5d463e6bbad5600e2fb46e20dd35be871bcb48a8 SHA256 77f493966e62f6e00073371783c5234cee51f5a4462571c8214c6e301860cd5a diff --git a/media-sound/banshee/banshee-1.0.0-r1.ebuild b/media-sound/banshee/banshee-1.0.0-r1.ebuild index aeb35e0ad6a6..4f520db61c88 100644 --- a/media-sound/banshee/banshee-1.0.0-r1.ebuild +++ b/media-sound/banshee/banshee-1.0.0-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/banshee/banshee-1.0.0-r1.ebuild,v 1.5 2008/08/02 20:52:44 loki_val Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/banshee/banshee-1.0.0-r1.ebuild,v 1.6 2008/09/03 10:13:52 loki_val Exp $ EAPI=1 @@ -60,7 +60,7 @@ RDEPEND=">=dev-lang/mono-1.2.4 >=media-plugins/gst-plugins-mad-${GVER} ) mtp? ( - >=media-libs/libmtp-0.2.5-r1 + <media-libs/libmtp-0.3 ) vorbis? ( >=media-plugins/gst-plugins-ogg-${GVER} diff --git a/media-sound/banshee/banshee-1.2.1-r1.ebuild b/media-sound/banshee/banshee-1.2.1-r1.ebuild new file mode 100644 index 000000000000..d4d220964c1f --- /dev/null +++ b/media-sound/banshee/banshee-1.2.1-r1.ebuild @@ -0,0 +1,99 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/banshee/banshee-1.2.1-r1.ebuild,v 1.1 2008/09/03 10:13:52 loki_val Exp $ + +EAPI=1 + +inherit base gnome2 mono + +GVER=0.10.3 + +DESCRIPTION="Import, organize, play, and share your music using a simple and powerful interface." +HOMEPAGE="http://banshee-project.org" +SRC_URI="http://download.banshee-project.org/${PN}/${PN}-1-${PV}.tar.bz2" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+aac +boo daap doc +encode +flac ipod +mad mtp +podcast test +vorbis" + +RDEPEND=">=dev-lang/mono-1.2.6 + >=dev-dotnet/gtk-sharp-2.10 + >=dev-dotnet/gconf-sharp-2.8 + >=dev-dotnet/gnome-sharp-2.8 + >=media-libs/gst-plugins-bad-${GVER} + >=media-libs/gst-plugins-good-${GVER} + >=media-libs/gst-plugins-ugly-${GVER} + >=media-plugins/gst-plugins-alsa-${GVER} + >=media-plugins/gst-plugins-gnomevfs-${GVER} + >=media-plugins/gst-plugins-gconf-${GVER} + || ( + >=media-plugins/gst-plugins-cdparanoia-${GVER} + >=media-plugins/gst-plugins-cdio-${GVER} + ) + media-libs/musicbrainz:1 + >=dev-dotnet/dbus-glib-sharp-0.3 + >=dev-dotnet/dbus-sharp-0.5 + >=dev-dotnet/mono-addins-0.3.1 + >=dev-dotnet/taglib-sharp-2.0.3 + >=dev-db/sqlite-3.4 + aac? ( + >=media-plugins/gst-plugins-faad-${GVER} + ) + boo? ( + >=dev-lang/boo-0.8.1 + ) + daap? ( + >=dev-dotnet/mono-zeroconf-0.7.3 + ) + doc? ( + dev-util/monodoc + ) + encode? ( + >=media-plugins/gst-plugins-lame-${GVER} + >=media-plugins/gst-plugins-taglib-${GVER} + ) + flac? ( + >=media-plugins/gst-plugins-flac-${GVER} + ) + ipod? ( + >=dev-dotnet/ipod-sharp-0.8.0 + ) + mad? ( + >=media-plugins/gst-plugins-mad-${GVER} + ) + mtp? ( + >=media-libs/libmtp-0.3 + ) + vorbis? ( + >=media-plugins/gst-plugins-ogg-${GVER} + >=media-plugins/gst-plugins-vorbis-${GVER} + )" + +DEPEND="${RDEPEND} + dev-util/pkgconfig" + +DOCS="AUTHORS ChangeLog HACKING NEWS README" + +S=${WORKDIR}/${PN}-1-${PV} + +PATCHES=( "${FILESDIR}/${P}-libmtp-0.3.0-API.patch" ) + +pkg_setup() { + G2CONF="${G2CONF} + $(use_enable doc docs) + $(use_enable boo) + $(use_enable mtp) + $(use_enable daap) + $(use_enable ipod) + $(use_enable podcast) + $(use_enable test tests)" + + MAKEOPTS="${MAKEOPTS} -j1" +} + +src_unpack() { + base_src_unpack + gnome2_omf_fix + elibtoolize +} diff --git a/media-sound/banshee/banshee-1.2.1.ebuild b/media-sound/banshee/banshee-1.2.1.ebuild index f3a1effbb281..ad18498fa6ce 100644 --- a/media-sound/banshee/banshee-1.2.1.ebuild +++ b/media-sound/banshee/banshee-1.2.1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/banshee/banshee-1.2.1.ebuild,v 1.1 2008/08/31 20:39:24 loki_val Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/banshee/banshee-1.2.1.ebuild,v 1.2 2008/09/03 10:13:52 loki_val Exp $ EAPI=1 @@ -63,7 +63,7 @@ RDEPEND=">=dev-lang/mono-1.2.6 >=media-plugins/gst-plugins-mad-${GVER} ) mtp? ( - >=media-libs/libmtp-0.2.5-r1 + <media-libs/libmtp-0.3 ) vorbis? ( >=media-plugins/gst-plugins-ogg-${GVER} diff --git a/media-sound/banshee/files/banshee-1.2.1-libmtp-0.3.0-API.patch b/media-sound/banshee/files/banshee-1.2.1-libmtp-0.3.0-API.patch new file mode 100644 index 000000000000..e97766ab166f --- /dev/null +++ b/media-sound/banshee/files/banshee-1.2.1-libmtp-0.3.0-API.patch @@ -0,0 +1,85 @@ +diff -u -r banshee-1-1.2.1.old/src/Libraries/Mtp/Mtp/Album.cs banshee-1-1.2.1/src/Libraries/Mtp/Mtp/Album.cs +--- banshee-1-1.2.1.old/src/Libraries/Mtp/Mtp/Album.cs 2008-05-21 09:17:47.000000000 -0500 ++++ banshee-1-1.2.1/src/Libraries/Mtp/Mtp/Album.cs 2008-09-03 00:57:00.000000000 -0500 +@@ -131,7 +131,7 @@ + if (saved) { + saved = LIBMTP_Update_Album (device.Handle, ref album) == 0; + } else { +- saved = LIBMTP_Create_New_Album (device.Handle, ref album, 0) == 0; ++ saved = LIBMTP_Create_New_Album (device.Handle, ref album) == 0; + } + + if (album.tracks != IntPtr.Zero) { +@@ -190,7 +190,7 @@ + + public static Album GetById (MtpDevice device, uint id) + { +- IntPtr ptr = Album.LIBMTP_Get_Album (device.Handle, id); ++ IntPtr ptr = Album.LIBMTP_Get_Album (device.Handle); + if (ptr == IntPtr.Zero) { + return null; + } else { +@@ -208,10 +208,10 @@ + internal static extern IntPtr LIBMTP_Get_Album_List (MtpDeviceHandle handle); // LIBMTP_album_t* + + [DllImport("libmtp.dll")] +- internal static extern IntPtr LIBMTP_Get_Album (MtpDeviceHandle handle, uint albumId); // LIBMTP_album_t* ++ internal static extern IntPtr LIBMTP_Get_Album (MtpDeviceHandle handle); // LIBMTP_album_t* + + [DllImport("libmtp.dll")] +- internal static extern int LIBMTP_Create_New_Album (MtpDeviceHandle handle, ref AlbumStruct album, uint parentId); ++ internal static extern int LIBMTP_Create_New_Album (MtpDeviceHandle handle, ref AlbumStruct album); + + [DllImport("libmtp.dll")] + internal static extern int LIBMTP_Update_Album (MtpDeviceHandle handle, ref AlbumStruct album); +@@ -221,6 +221,8 @@ + internal struct AlbumStruct + { + public uint album_id; ++ public uint parent_id; ++ public uint storage_id; + + [MarshalAs(UnmanagedType.LPStr)] + public string name; +diff -u -r banshee-1-1.2.1.old/src/Libraries/Mtp/Mtp/Folder.cs banshee-1-1.2.1/src/Libraries/Mtp/Mtp/Folder.cs +--- banshee-1-1.2.1.old/src/Libraries/Mtp/Mtp/Folder.cs 2008-04-07 22:59:11.000000000 -0500 ++++ banshee-1-1.2.1/src/Libraries/Mtp/Mtp/Folder.cs 2008-09-03 00:11:53.000000000 -0500 +@@ -210,6 +210,7 @@ + { + public uint folder_id; + public uint parent_id; ++ public uint storage_id; + [MarshalAs(UnmanagedType.LPStr)] public string name; + public IntPtr sibling; // LIBMTP_folder_t* + public IntPtr child; // LIBMTP_folder_t* +diff -u -r banshee-1-1.2.1.old/src/Libraries/Mtp/Mtp/Track.cs banshee-1-1.2.1/src/Libraries/Mtp/Mtp/Track.cs +--- banshee-1-1.2.1.old/src/Libraries/Mtp/Mtp/Track.cs 2008-04-23 14:20:58.000000000 -0500 ++++ banshee-1-1.2.1/src/Libraries/Mtp/Mtp/Track.cs 2008-09-03 00:14:10.000000000 -0500 +@@ -195,7 +195,7 @@ + + internal static void SendTrack (MtpDeviceHandle handle, string path, ref TrackStruct metadata, ProgressFunction callback, IntPtr data, uint parent) + { +- if (LIBMTP_Send_Track_From_File (handle, path, ref metadata, callback, data, parent) != 0) ++ if (LIBMTP_Send_Track_From_File (handle, path, ref metadata, callback, data) != 0) + { + LibMtpException.CheckErrorStack (handle); + throw new LibMtpException (ErrorCode.General, "Could not upload the track"); +@@ -227,7 +227,7 @@ + private static extern int LIBMTP_Get_Track_To_File (MtpDeviceHandle handle, uint trackId, string path, ProgressFunction callback, IntPtr data); + + [DllImport("libmtp.dll")] +- private static extern int LIBMTP_Send_Track_From_File (MtpDeviceHandle handle, string path, ref TrackStruct track, ProgressFunction callback, IntPtr data, uint parentHandle); ++ private static extern int LIBMTP_Send_Track_From_File (MtpDeviceHandle handle, string path, ref TrackStruct track, ProgressFunction callback, IntPtr data); + + [DllImport("libmtp.dll")] + private static extern int LIBMTP_Update_Track_Metadata (MtpDeviceHandle handle, ref TrackStruct metadata); +@@ -244,7 +244,8 @@ + { + public uint item_id; + public uint parent_id; +- ++ public uint storage_id; ++ + [MarshalAs(UnmanagedType.LPStr)] public string title; + [MarshalAs(UnmanagedType.LPStr)] public string artist; + [MarshalAs(UnmanagedType.LPStr)] public string genre; |