[Pkg-mono-svn-commits] rev 3299 - in non-group/banshee/trunk/debian: . patches

Sebastian Dröge slomo at alioth.debian.org
Fri Aug 31 08:50:34 UTC 2007


Author: slomo
Date: 2007-08-31 08:50:33 +0000 (Fri, 31 Aug 2007)
New Revision: 3299

Added:
   non-group/banshee/trunk/debian/patches/05_remote_radio_uri.patch
Modified:
   non-group/banshee/trunk/debian/changelog
   non-group/banshee/trunk/debian/rules
Log:
* debian/patches/05_remote_radio_uri.patch:
  + Allow configuration of URI for updating stations of radio plugin.
    Patch by M?\195?\161rio Meyer <mario at meyer.eti.br>, also applied upstream.
    (Closes: #440119)
* debian/rules:
  + Use dh_clifixperms to fix permissions instead of manual find magic.

Modified: non-group/banshee/trunk/debian/changelog
===================================================================
--- non-group/banshee/trunk/debian/changelog	2007-08-29 14:54:47 UTC (rev 3298)
+++ non-group/banshee/trunk/debian/changelog	2007-08-31 08:50:33 UTC (rev 3299)
@@ -1,3 +1,14 @@
+banshee (0.13.1+dfsg-2) unstable; urgency=low
+
+  * debian/patches/05_remote_radio_uri.patch:
+    + Allow configuration of URI for updating stations of radio plugin.
+      Patch by Mário Meyer <mario at meyer.eti.br>, also applied upstream.
+      (Closes: #440119)
+  * debian/rules:
+    + Use dh_clifixperms to fix permissions instead of manual find magic.
+
+ -- Sebastian Dröge <slomo at debian.org>  Fri, 31 Aug 2007 10:47:29 +0200
+
 banshee (0.13.1+dfsg-1) unstable; urgency=low
 
   * New upstream release.

Added: non-group/banshee/trunk/debian/patches/05_remote_radio_uri.patch
===================================================================
--- non-group/banshee/trunk/debian/patches/05_remote_radio_uri.patch	                        (rev 0)
+++ non-group/banshee/trunk/debian/patches/05_remote_radio_uri.patch	2007-08-31 08:50:33 UTC (rev 3299)
@@ -0,0 +1,53 @@
+diff -Nur banshee-0.13.1+dfsg/src/Plugins/Banshee.Plugins.Radio/banshee-plugin-radio.schemas.in banshee-0.13.1+dfsg.new/src/Plugins/Banshee.Plugins.Radio/banshee-plugin-radio.schemas.in
+--- banshee-0.13.1+dfsg/src/Plugins/Banshee.Plugins.Radio/banshee-plugin-radio.schemas.in	2007-08-29 19:59:16.000000000 -0300
++++ banshee-0.13.1+dfsg.new/src/Plugins/Banshee.Plugins.Radio/banshee-plugin-radio.schemas.in	2007-08-29 20:12:05.000000000 -0300
+@@ -56,5 +56,16 @@
+         <long>Update remote stations from radio.banshee-project.org</long>
+       </locale>
+     </schema>
++    <schema>
++      <key>/schemas/apps/banshee/plugins/radio/base_station_uri</key>
++      <applyto>/apps/banshee/plugins/radio/base_station_uri</applyto>
++      <owner>banshee</owner>
++      <type>string</type>
++      <default>http://radio.banshee-project.org/</default>
++      <locale name="C">
++        <short>URI for remote stations update</short>
++        <long>URI to update remote stations from</long>
++      </locale>
++    </schema>
+   </schemalist>
+ </gconfschemafile>
+diff -Nur banshee-0.13.1+dfsg/src/Plugins/Banshee.Plugins.Radio/StationManager.cs banshee-0.13.1+dfsg.new/src/Plugins/Banshee.Plugins.Radio/StationManager.cs
+--- banshee-0.13.1+dfsg/src/Plugins/Banshee.Plugins.Radio/StationManager.cs	2007-08-29 19:59:16.000000000 -0300
++++ banshee-0.13.1+dfsg.new/src/Plugins/Banshee.Plugins.Radio/StationManager.cs	2007-08-29 20:12:40.000000000 -0300
+@@ -95,7 +95,6 @@
+         public delegate void StationGroupHandler(object o, StationGroupArgs args);
+         public delegate void StationHandler(object o, StationArgs args);
+         
+-        private static readonly Uri master_xspf_uri = new Uri("http://radio.banshee-project.org/"); 
+         private static readonly TimeSpan check_timeout = TimeSpan.FromDays(1);
+         private static readonly string stations_path = Path.Combine(Paths.UserPluginDirectory, "stations");
+         private static readonly string local_stations_path = Path.Combine(stations_path, "user");
+@@ -377,6 +376,7 @@
+             }
+             
+             Playlist playlist = new Playlist();
++            Uri master_xspf_uri = new Uri(BaseStationUriSchema.Get()); 
+             playlist.Load(CreateXspfWebStream(master_xspf_uri));
+             
+             DateTime master_last_modified = DateTime.MinValue;
+@@ -500,5 +500,13 @@
+             "Show remote stations",
+             "Update remote stations from radio.banshee-project.org"
+         );
++
++        public static readonly SchemaEntry<string> BaseStationUriSchema = new SchemaEntry<string>(
++            "plugins.radio", "base_station_uri",
++            "http://radio.banshee-project.org/",
++            "URI for remote stations update",
++            "URI to update remote stations from"
++        );
++
+     }
+ }

Modified: non-group/banshee/trunk/debian/rules
===================================================================
--- non-group/banshee/trunk/debian/rules	2007-08-29 14:54:47 UTC (rev 3298)
+++ non-group/banshee/trunk/debian/rules	2007-08-31 08:50:33 UTC (rev 3299)
@@ -17,13 +17,12 @@
 
 
 install/banshee::
-	find debian/ -type f -name "*.dll" -or -name "*.mdb" -or -name "*.cs" -or -name "*.config" | xargs chmod -x
-	find debian/ -type f -name "*.exe" | xargs chmod +x
 	rm -f debian/tmp/usr/bin/banshee-import \
 		debian/tmp/usr/lib/banshee/banshee-import.exe
 
-install/banshee-daap::
-	find debian/ -type f -name "*.dll" -or -name "*.mdb" -or -name "*.cs" -or -name "*.config" | xargs chmod -x
+common-binary-fixup-arch::
+common-binary-fixup-indep::
+	dh_clifixperms
 
 common-binary-predeb-arch::
 	dh_clideps -d




More information about the Pkg-mono-svn-commits mailing list