Add patch from Gnome bugzilla to fix parsing. Closes bug #174076, thanks to Jakub...
authorStephen Klimaszewski <steev@gentoo.org>
Tue, 10 Apr 2007 20:09:52 +0000 (20:09 +0000)
committerStephen Klimaszewski <steev@gentoo.org>
Tue, 10 Apr 2007 20:09:52 +0000 (20:09 +0000)
Package-Manager: portage-2.1.2.3

media-sound/last-exit/ChangeLog
media-sound/last-exit/Manifest
media-sound/last-exit/files/last-exit-4.0-decimal_parse.patch [new file with mode: 0644]
media-sound/last-exit/last-exit-4.0.ebuild

index 51d488df0d185477e9652f0da163dd420b23fa4f..42ccb15534ee92673fb63e0cb56585bbeae70e53 100644 (file)
@@ -1,6 +1,11 @@
 # ChangeLog for media-sound/last-exit
 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/last-exit/ChangeLog,v 1.10 2007/01/25 17:27:03 steev Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/last-exit/ChangeLog,v 1.11 2007/04/10 20:09:52 steev Exp $
+
+  10 Apr 2007; Steev Klimaszewski <steev@gentoo.org>
+  +files/last-exit-4.0-decimal_parse.patch, last-exit-4.0.ebuild:
+  Add patch from Gnome bugzilla to fix parsing.  Closes bug #174076, thanks to
+  Jakub for reporting.
 
   25 Jan 2007; Steev Klimaszewski <steev@gentoo.org> last-exit-4.0.ebuild:
   Need to run eautoreconf when patching Makefile.am.  I fail.  Fixed now, thanks
index 842de2428ad516555f0d83fac49ffa571b692b1d..79504763806838322d6fa481ad0237dac3124234 100644 (file)
@@ -1,3 +1,7 @@
+AUX last-exit-4.0-decimal_parse.patch 766 RMD160 8d388c1936270c3d9f8ac4faa2bebb8f484461de SHA1 7ff2e8b7cb44a0189f70c714fbd755d2bafd57fb SHA256 d74d517f6f30898174c8d544f6887750db843aa1f32dce118c5aeec7832bca25
+MD5 7bec9e29eb4725772adb3f4d764bcf2a files/last-exit-4.0-decimal_parse.patch 766
+RMD160 8d388c1936270c3d9f8ac4faa2bebb8f484461de files/last-exit-4.0-decimal_parse.patch 766
+SHA256 d74d517f6f30898174c8d544f6887750db843aa1f32dce118c5aeec7832bca25 files/last-exit-4.0-decimal_parse.patch 766
 AUX last-exit-dbus-sharp-parallel-build-fix.patch 586 RMD160 3945ac7ee88253e054a871584ddbedd510ad8d8a SHA1 679f8f66cf1293bb446a1c281194ebf6b3647081 SHA256 ff341f480e8ed4c422aa91a14248a302151e362e4da21732e91b2eed6fb09033
 MD5 79e3f291627681ce6928aa184c217182 files/last-exit-dbus-sharp-parallel-build-fix.patch 586
 RMD160 3945ac7ee88253e054a871584ddbedd510ad8d8a files/last-exit-dbus-sharp-parallel-build-fix.patch 586
@@ -18,14 +22,14 @@ EBUILD last-exit-3.0.ebuild 1197 RMD160 b8d77c76c69c97b43fcf7f8e3fc5ce72011788a8
 MD5 2ab119b84d63c6b7c8d1bf313f73d623 last-exit-3.0.ebuild 1197
 RMD160 b8d77c76c69c97b43fcf7f8e3fc5ce72011788a8 last-exit-3.0.ebuild 1197
 SHA256 13aff948d1acf1b621ec6f21600df85f76e8f2b3f81f40cccccdd605640138c1 last-exit-3.0.ebuild 1197
-EBUILD last-exit-4.0.ebuild 1323 RMD160 9b0874913dcdc82a251109431297584193869f4e SHA1 3a2a109a2da46a6390e43a64607775266952913d SHA256 9c589c87cfd17fb07d750e28fcbb65d4d58fb4d8388be8bd9ba53a250e21654e
-MD5 d4b4c8c29d39443d904aba74d657266f last-exit-4.0.ebuild 1323
-RMD160 9b0874913dcdc82a251109431297584193869f4e last-exit-4.0.ebuild 1323
-SHA256 9c589c87cfd17fb07d750e28fcbb65d4d58fb4d8388be8bd9ba53a250e21654e last-exit-4.0.ebuild 1323
-MISC ChangeLog 2301 RMD160 9397061bb56bf55c1290398c408aae31395524db SHA1 d0127f8bea9fc8ed91bb192a96786fcf46d30638 SHA256 9275a88cddc32757d212a0049cb6861091d8fb3e18662275c0aacc84ac89e842
-MD5 59a6647814f34e96a0bd2bbc5a692de8 ChangeLog 2301
-RMD160 9397061bb56bf55c1290398c408aae31395524db ChangeLog 2301
-SHA256 9275a88cddc32757d212a0049cb6861091d8fb3e18662275c0aacc84ac89e842 ChangeLog 2301
+EBUILD last-exit-4.0.ebuild 1375 RMD160 2db66a774be03141faa1d23bd623fdc7ff3cadd8 SHA1 9307ed7d54caab24732d3b43ddefeaae76e8939b SHA256 a6acc0d8529610b61e7ccf4bdb9794115b05b0568cf5bc7f3286544e5a844a7e
+MD5 b714667f48f5d0ac773489bd066099ad last-exit-4.0.ebuild 1375
+RMD160 2db66a774be03141faa1d23bd623fdc7ff3cadd8 last-exit-4.0.ebuild 1375
+SHA256 a6acc0d8529610b61e7ccf4bdb9794115b05b0568cf5bc7f3286544e5a844a7e last-exit-4.0.ebuild 1375
+MISC ChangeLog 2523 RMD160 e9f8623e7d40c74063d5c1f5a85dd6ec403dfb94 SHA1 269476466f5c8fbf67cf85ce2394b21976d7c8c6 SHA256 d76c7d8ad3dfa3f30b86ce61a0ba8286774d674c20cd975d12c8f2134c87e530
+MD5 ec4e03ba0798fff909a667688b3e769b ChangeLog 2523
+RMD160 e9f8623e7d40c74063d5c1f5a85dd6ec403dfb94 ChangeLog 2523
+SHA256 d76c7d8ad3dfa3f30b86ce61a0ba8286774d674c20cd975d12c8f2134c87e530 ChangeLog 2523
 MISC metadata.xml 251 RMD160 26d5f0572eecf641028766a7952d0ebd2be9a082 SHA1 9091becf5e6887d0984b1b4d645ca6b84d959bee SHA256 985a5f02fda97e0187aace287bbfe72efd548d10cb286eb6661fce2be0da889f
 MD5 82470e6820b9ac091331548b3260f2d8 metadata.xml 251
 RMD160 26d5f0572eecf641028766a7952d0ebd2be9a082 metadata.xml 251
diff --git a/media-sound/last-exit/files/last-exit-4.0-decimal_parse.patch b/media-sound/last-exit/files/last-exit-4.0-decimal_parse.patch
new file mode 100644 (file)
index 0000000..ff3e167
--- /dev/null
@@ -0,0 +1,18 @@
+Index: FindStation.cs
+===================================================================
+--- src/FindStation.cs (revision 104)
++++ src/FindStation.cs (working copy)
+@@ -422,13 +422,11 @@
+                       while (ienum.MoveNext ()) {
+                               XmlNode a_node = (XmlNode) ienum.Current;
+                               SimilarArtist similar = new SimilarArtist ();
+-                              
+                               similar.Name = get_node_text (a_node, "name");
+                               similar.Streamable = (get_node_text (a_node, "streamable") == "0");
+                               similar.Mbid = get_node_text (a_node, "mbid");
+                               similar.Url = get_node_text (a_node, "url");
+-                              similar.Relevance = Int32.Parse (get_node_text (a_node, "match"));
+-                              
++                              similar.Relevance = Decimal.ToInt32(Decimal.Parse (get_node_text (a_node, "match")));
+                               artist.AddSimilarArtist (similar);
+                       }
index 52faf0eace0d3c26fe53496e6b71e3b55d7ae4d9..97382c131574e5b1f2ec9993308a91f7d333c60c 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2007 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/last-exit/last-exit-4.0.ebuild,v 1.4 2007/01/25 17:27:03 steev Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/last-exit/last-exit-4.0.ebuild,v 1.5 2007/04/10 20:09:52 steev Exp $
 
 inherit mono gnome2 eutils autotools
 
@@ -38,6 +38,7 @@ src_unpack() {
        unpack ${A}
        cd ${S}
        epatch "${FILESDIR}"/${PN}-dbus-sharp-parallel-build-fix.patch
+       epatch "${FILESDIR}"/${PN}-4.0-decimal_parse.patch
        eautoreconf
 }