[SCM] musescore/master: split fluidr3mono-gm-soundfont off musescore-common (Closes: #871920)

tg at users.alioth.debian.org tg at users.alioth.debian.org
Tue Oct 10 19:06:59 UTC 2017


The following commit has been merged in the master branch:
commit 92a629a6f948745bd7205ca73282e5b343895347
Author: mirabilos <tg at debian.org>
Date:   Tue Oct 10 18:47:16 2017 +0200

    split fluidr3mono-gm-soundfont off musescore-common (Closes: #871920)

diff --git a/debian/changelog b/debian/changelog
index e65c6f5..21ae17e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,8 +3,9 @@ musescore (2.1.0+dfsg1-1) unstable; urgency=low
   * Add myself to Uploaders (10x tvaz)
   * Update Homepage while here
   * Fix soundfont copyright information, do not ship extra licence file
+  * Split fluidr3mono-gm-soundfont off musescore-common (Closes: #871920)
 
- -- Thorsten Glaser <tg at mirbsd.de>  Tue, 10 Oct 2017 17:57:10 +0200
+ -- Thorsten Glaser <tg at mirbsd.de>  Tue, 10 Oct 2017 18:46:50 +0200
 
 musescore (2.1.0+dfsg1-0.2) unstable; urgency=medium
 
diff --git a/debian/control b/debian/control
index 7d102b0..5830370 100644
--- a/debian/control
+++ b/debian/control
@@ -64,7 +64,7 @@ Description: Free music composition and notation software
 
 Package: musescore-common
 Architecture: all
-Depends: ${misc:Depends}
+Depends: ${misc:Depends}, fluidr3mono-gm-soundfont (= ${source:Version})
 Provides: mscore-common
 Replaces: mscore-common (<< 0.9.6+dfsg-1)
 Breaks: mscore-common (<< 0.9.6+dfsg-1)
@@ -86,3 +86,17 @@ Description: Free music composition and notation software (common files)
  .
  This package provides some files used by MuseScore, including demo
  scores, styles, templates, localisations, and some plugins.
+
+Package: fluidr3mono-gm-soundfont
+Architecture: all
+Depends: ${misc:Depends}
+Enhances: libfluidsynth1 (>= 1.1.7-1~)
+Description: Fluid (R3) Mono GM SoundFont from MuseScore 2.1
+ This is the hard disc space-saving Mono version of the complete
+ Fluid (R3) GM SoundFont in the compressed SF3 format, as shipped
+ with MuseScore 2.0 and newer. It can be used with most modern
+ MIDI synthesisers which support the SF3 format and has, while
+ providing the large GM sound set, a slow installed size footprint;
+ as it comes under the MIT licence, it can be used in most settings.
+ .
+ This package will be installed into /usr/share/sounds/sf3/.
diff --git a/debian/fluidr3mono-gm-soundfont.install b/debian/fluidr3mono-gm-soundfont.install
new file mode 100644
index 0000000..531f932
--- /dev/null
+++ b/debian/fluidr3mono-gm-soundfont.install
@@ -0,0 +1 @@
+usr/share/sounds
diff --git a/debian/rules b/debian/rules
index 2a7588f..8e9bd46 100755
--- a/debian/rules
+++ b/debian/rules
@@ -18,6 +18,13 @@ override_dh_auto_build:
 override_dh_install-indep:
 	# included in debian/copyright
 	rm -f debian/tmp/usr/share/mscore-*/sound/FluidR3Mono_License.md
+	# split off
+	mkdir -p debian/tmp/usr/share/sounds/sf3
+	for fp in debian/tmp/usr/share/mscore-*/sound/*; do \
+		bn=$${fp##*/}; \
+		mv "$$fp" "debian/tmp/usr/share/sounds/sf3/$$bn" || exit 1; \
+		ln -s "../../sounds/sf3/$$bn" . || exit 1; \
+	done
 	# move stuff to packages
 	dh_install
 	cd $(CURDIR)/debian/musescore-common/usr/share && ln -s mscore-* mscore

-- 
musescore packaging



More information about the pkg-multimedia-commits mailing list