[Pkg-cli-apps-commits] [SCM] banshee branch, master-devel, updated. debian/1.5.0-2-1-g7dce036

Chow Loong Jin hyperair at gmail.com
Sat Jul 18 19:19:33 UTC 2009


The following commit has been merged in the master-devel branch:
commit 7dce0364a26b67a3877a5e62d4a45ff417ff6d70
Author: Chow Loong Jin <hyperair at gmail.com>
Date:   Sun Jul 19 00:24:55 2009 +0800

    Add Muinshee booter script
    
    * debian/patches/03_muinshee-booter.patch,
      debian/banshee.links,
      debian/banshee.1:
      + Patch banshee booter script to autodetect whether to use Banshee or
        Muinshee interface based on the file name
      + Make /usr/bin/muinshee a symlink of /usr/bin/banshee-1
      + Update banshee.1 manpage and link it to muinshee.1

diff --git a/debian/banshee.1 b/debian/banshee.1
index 8cc90d8..f6dc3e6 100644
--- a/debian/banshee.1
+++ b/debian/banshee.1
@@ -1,9 +1,16 @@
 .TH BANSHEE "1" "June 2009" "Banshee 1.4.3 (1.4.3) http://banshee-project.org" "User Commands"
 .SH NAME
-Banshee \- Media Management and Playback application 
+Banshee \- Media Management and Playback application
+.
+.br
+Muinshee \- Media Management and Playback application
 .SH SYNOPSIS
 .B banshee-1
 [\fIoptions\fR...] [\fIfiles|URIs\fR...]
+.
+.br
+.B muinshee
+[\fIoptions\fR...] [\fIfiles|URIs\fR...]
 .SH DESCRIPTION
 Banshee is an media management and playback application for the GNOME desktop, allowing users to import audio from CDs, search their library, create playlists of selections of their library, sync music to/from iPods and other media devices, play and manage video files and burn selections to a CD. 
 .SH OPTIONS
diff --git a/debian/banshee.links b/debian/banshee.links
index bc17aa3..87fc0a9 100644
--- a/debian/banshee.links
+++ b/debian/banshee.links
@@ -1,2 +1,4 @@
 usr/bin/banshee-1 usr/bin/banshee
+usr/bin/banshee-1 usr/bin/muinshee
 usr/share/man/man1/banshee.1.gz usr/share/man/man1/banshee-1.1.gz
+usr/share/man/man1/banshee.1.gz usr/share/man/man1/muinshee.1.gz
diff --git a/debian/changelog b/debian/changelog
index 3a91a00..df95b97 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,15 @@
+banshee (1.5.0-3) UNRELEASED; urgency=low
+
+  * debian/patches/03_muinshee-booter.patch,
+    debian/banshee.links,
+    debian/banshee.1:
+    + Patch banshee booter script to autodetect whether to use Banshee or
+      Muinshee interface based on the file name
+    + Make /usr/bin/muinshee a symlink of /usr/bin/banshee-1
+    + Update banshee.1 manpage and link it to muinshee.1
+
+ -- Chow Loong Jin <hyperair at ubuntu.com>  Sun, 19 Jul 2009 00:22:34 +0800
+
 banshee (1.5.0-2) experimental; urgency=low
 
   * debian/control:
diff --git a/debian/patches/03_muinshee-booter.patch b/debian/patches/03_muinshee-booter.patch
new file mode 100644
index 0000000..328c3a9
--- /dev/null
+++ b/debian/patches/03_muinshee-booter.patch
@@ -0,0 +1,52 @@
+From ce2645b8df5ae5aae16f511d664666631b872936 Mon Sep 17 00:00:00 2001
+From: Chow Loong Jin <hyperair at gmail.com>
+Date: Sat, 30 May 2009 03:28:51 +0800
+Subject: [PATCH] Add muinshee booter script
+
+* Patch banshee-1.in to automagically detect from $0 whether we're running
+  banshee-1 (or banshee for some systems which use that for backward
+  compatibility), or muinshee.
+* Symlink /usr/bin/muinshee to banshee-1
+---
+ src/Clients/Booter/Makefile.am  |    3 +++
+ src/Clients/Booter/banshee-1.in |    7 ++++++-
+ 2 files changed, 9 insertions(+), 1 deletions(-)
+
+diff --git a/src/Clients/Booter/Makefile.am b/src/Clients/Booter/Makefile.am
+index 30433b1..621f8d6 100644
+--- a/src/Clients/Booter/Makefile.am
++++ b/src/Clients/Booter/Makefile.am
+@@ -8,3 +8,6 @@ include $(top_srcdir)/build/build.mk
+ bin_SCRIPTS = banshee-1
+ EXTRA_DIST += Banshee.exe.config
+ module_SCRIPTS += Banshee.exe.config
++
++install-exec-hook:
++	$(LN_S) banshee-1 $(DESTDIR)$(bindir)/muinshee
+diff --git a/src/Clients/Booter/banshee-1.in b/src/Clients/Booter/banshee-1.in
+index bf974c0..f0ff4db 100644
+--- a/src/Clients/Booter/banshee-1.in
++++ b/src/Clients/Booter/banshee-1.in
+@@ -4,13 +4,18 @@ prefix=@prefix@
+ libdir=@expanded_libdir@
+ exec_asm="Banshee.exe"
+ MONO_EXE="@expanded_libdir@/@PACKAGE@/$exec_asm"
+-BANSHEE_EXEC_NAME="banshee-1"
++BANSHEE_EXEC_NAME=$(basename $0)
+ BANSHEE_CONFIG_DIR="${XDG_CONFIG_HOME:-$HOME/.config}/banshee-1"
+ 
+ export DYLD_LIBRARY_PATH=@expanded_libdir@:@expanded_libdir@/@PACKAGE@${DYLD_LIBRARY_PATH+:$DYLD_LIBRARY_PATH}
+ export LD_LIBRARY_PATH=@expanded_libdir@:@expanded_libdir@/@PACKAGE@${LD_LIBRARY_PATH+:$LD_LIBRARY_PATH}
+ export GST_PLUGIN_PATH=@expanded_libdir@/@PACKAGE@/gstreamer-0.10${GST_PLUGIN_PATH+:$GST_PLUGIN_PATH}
++if [ $BANSHEE_EXEC_NAME = "muinshee" ]; then
++    BANSHEE_CLIENT="Muinshee"
++    export MONO_PATH=@expanded_libdir@/@PACKAGE@/Extensions
++fi
+ 
++[ ${BANSHEE_EXEC_NAME%%-1} = "banshee" ] && BANSHEE_EXEC_NAME="banshee-1"
+ [ -n "$BANSHEE_DEBUG" -o -f "${BANSHEE_CONFIG_DIR}/always-debug" ] && BANSHEE_DEBUG="--debug"
+ [ -n "$BANSHEE_TRACE" ] && BANSHEE_TRACE="--trace=$BANSHEE_TRACE"
+ [ -n "$BANSHEE_PROFILE" ] && BANSHEE_PROFILE="--profile=$BANSHEE_PROFILE"
+-- 
+1.6.3.1
+
diff --git a/debian/patches/series b/debian/patches/series
index a23f86b..b1f1f0e 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
 01_dispose-sqlite-cmd.patch
 02_system-equalizer.patch
+03_muinshee-booter.patch
 99_ltmain_as-needed.patch

-- 
banshee



More information about the Pkg-cli-apps-commits mailing list