diff -Nru fluidr3mono-gm-soundfont-2.315/debian/changelog fluidr3mono-gm-soundfont-2.315/debian/changelog --- fluidr3mono-gm-soundfont-2.315/debian/changelog 2018-03-31 01:05:47.000000000 +0000 +++ fluidr3mono-gm-soundfont-2.315/debian/changelog 2018-12-14 05:49:41.000000000 +0000 @@ -1,8 +1,26 @@ -fluidr3mono-gm-soundfont (2.315-4~ppa) bionic; urgency=high +fluidr3mono-gm-soundfont (2.315-5~ppa) bionic; urgency=high - * Rebuild for PPA (build on bionic, install on xenial and trusty) + * Rebuild for bionic (PPA) - -- Thorsten Glaser Sat, 31 Mar 2018 03:05:47 +0200 + -- Thorsten Glaser Fri, 14 Dec 2018 06:49:41 +0100 + +fluidr3mono-gm-soundfont (2.315-5) unstable; urgency=medium + + * Migrate to use update-alternatives for handling MuseScore_General.sf3 + * Update to Policy 4.2.1.5 + - R³:no + * Use system-default compression (Closes: #896131) but retain + --no-uniform-compression to make the .deb installable on older + distributions for which manual MuseScore backports were made + * Use backports-compatible versioning in package relationships + * Update package description + * Synchronise debian/ between my soundfont packages to reduce delta + * Use less space during the build + * Update upstream metadata + * Provide musescore-compatible-soundfont to be future-proof + * Update lintian overrides + + -- Thorsten Glaser Fri, 14 Dec 2018 01:14:45 +0100 fluidr3mono-gm-soundfont (2.315-4) unstable; urgency=high diff -Nru fluidr3mono-gm-soundfont-2.315/debian/control fluidr3mono-gm-soundfont-2.315/debian/control --- fluidr3mono-gm-soundfont-2.315/debian/control 2018-03-31 01:05:10.000000000 +0000 +++ fluidr3mono-gm-soundfont-2.315/debian/control 2018-12-14 00:14:43.000000000 +0000 @@ -4,7 +4,8 @@ Maintainer: Thorsten Glaser Homepage: https://musescore.org/en/node/41521 Build-Depends: debhelper (>= 11~), python3-minimal, sf3convert -Standards-Version: 4.1.3 +Standards-Version: 4.2.1 +Rules-Requires-Root: no VCS-git: https://evolvis.org/anonscm/git/alioth/soundfonts.git -b fluidr3mono-gm-soundfont VCS-Browser: https://evolvis.org/plugins/scmgit/cgi-bin/gitweb.cgi?p=alioth/soundfonts.git;a=shortlog;h=refs/heads/fluidr3mono-gm-soundfont @@ -12,6 +13,9 @@ Architecture: all Multi-Arch: foreign Depends: ${misc:Depends} +Conflicts: musescore-common (<< 2.3.2+dfsg1-1~bpo9), + musescore-general-soundfont (<< 0.1.3-1~) +Provides: musescore-compatible-soundfont Enhances: libfluidsynth1 (>= 1.1.7), musescore (>= 2.1) Description: Fluid (R3) Mono GM SoundFont from MuseScore This is the hard disc space-saving Mono version of the complete @@ -21,7 +25,10 @@ It can be used with most modern MIDI synthesisers which support the SF3 format and has a low installed size footprint, while providing the large GM sound set. - As it comes under the MIT licence, it can be used in most settings. + . + As it comes under the MIT licence, it can be used in most settings, + but do remember that waveforms generated using this soundfont are + “copies or substantial portions of the” soundfont. . This package will be installed into /usr/share/sounds/sf3/ which is the standard Debian location for system-wide SF3 soundfonts. diff -Nru fluidr3mono-gm-soundfont-2.315/debian/fluidr3mono-gm-soundfont.links fluidr3mono-gm-soundfont-2.315/debian/fluidr3mono-gm-soundfont.links --- fluidr3mono-gm-soundfont-2.315/debian/fluidr3mono-gm-soundfont.links 2018-03-25 20:10:52.000000000 +0000 +++ fluidr3mono-gm-soundfont-2.315/debian/fluidr3mono-gm-soundfont.links 2018-12-13 22:29:40.000000000 +0000 @@ -1,2 +1 @@ usr/share/fluidr3mono-gm-soundfont/FluidR3Mono_GM.sf3 usr/share/sounds/sf3/FluidR3Mono_GM.sf3 -usr/share/fluidr3mono-gm-soundfont/FluidR3Mono_GM.sf3 usr/share/sounds/sf3/MuseScore_General.sf3 diff -Nru fluidr3mono-gm-soundfont-2.315/debian/fluidr3mono-gm-soundfont.lintian-overrides fluidr3mono-gm-soundfont-2.315/debian/fluidr3mono-gm-soundfont.lintian-overrides --- fluidr3mono-gm-soundfont-2.315/debian/fluidr3mono-gm-soundfont.lintian-overrides 1970-01-01 00:00:00.000000000 +0000 +++ fluidr3mono-gm-soundfont-2.315/debian/fluidr3mono-gm-soundfont.lintian-overrides 2018-12-14 00:14:42.000000000 +0000 @@ -0,0 +1,5 @@ +# ships a file we transition to update-alternatives +fluidr3mono-gm-soundfont: conflicts-with-version musescore-common (<< 2.3.2+dfsg1-1~bpo9) + +# otherwise, removing would break the alternatives link group +fluidr3mono-gm-soundfont: conflicts-with-version musescore-general-soundfont (<< 0.1.3-1~) diff -Nru fluidr3mono-gm-soundfont-2.315/debian/fluidr3mono-gm-soundfont.postinst fluidr3mono-gm-soundfont-2.315/debian/fluidr3mono-gm-soundfont.postinst --- fluidr3mono-gm-soundfont-2.315/debian/fluidr3mono-gm-soundfont.postinst 1970-01-01 00:00:00.000000000 +0000 +++ fluidr3mono-gm-soundfont-2.315/debian/fluidr3mono-gm-soundfont.postinst 2018-12-14 00:00:42.000000000 +0000 @@ -0,0 +1,49 @@ +#!/bin/sh + +set -e + +# This maintainer script can be called the following ways: +# +# * new-postinst "configure" [$most_recently_configured_version] +# The package is unpacked; all dependencies are unpacked and, when there +# are no circular dependencies, configured. +# +# * old-postinst "abort-upgrade" $new_version +# * conflictors-postinst "abort-remove" "in-favour" $package +# $new_version +# * postinst "abort-remove" +# * deconfigureds-postinst "abort-deconfigure" "in-favour" +# $failed_install_package $fip_version ["removing" +# $conflicting_package $cp_version] +# The package is unpacked; all dependencies are at least Half-Installed, +# previously been configured, and not removed. In some error situations, +# dependencies may not be even fully unpacked. +# +# * postinst "triggered" "${triggers[*]}" +# For trigger-only calls, i.e. if "configure" is not called. + +case $1 in +configure) + update-alternatives --force --install \ + /usr/share/sounds/sf3/MuseScore_General.sf3 MuseScore_General.sf3 \ + /usr/share/sounds/sf3/FluidR3Mono_GM.sf3 25 + ;; + +abort-upgrade|abort-remove|abort-deconfigure) + ;; + +triggered) + ;; + +*) + echo >&2 "postinst called with unknown subcommand '$1'" + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 diff -Nru fluidr3mono-gm-soundfont-2.315/debian/fluidr3mono-gm-soundfont.prerm fluidr3mono-gm-soundfont-2.315/debian/fluidr3mono-gm-soundfont.prerm --- fluidr3mono-gm-soundfont-2.315/debian/fluidr3mono-gm-soundfont.prerm 1970-01-01 00:00:00.000000000 +0000 +++ fluidr3mono-gm-soundfont-2.315/debian/fluidr3mono-gm-soundfont.prerm 2018-12-14 00:00:28.000000000 +0000 @@ -0,0 +1,41 @@ +#!/bin/sh + +set -e + +# This maintainer script can be called the following ways: +# +# * prerm "remove" +# * old-prerm "upgrade" $new_version +# * conflictors-prerm "remove" "in-favour" $package $new_version +# * deconfigureds-prerm "deconfigure" "in-favour" +# $package_being_installed $pbi_version ["removing" +# $conflicting_package $cp_version] +# The package and dependencies are at least Half-Installed; dependencies +# have previously been configured and not removed. +# +# * new-prerm "failed-upgrade" $old_version +# * new-prerm "failed-upgrade" $old_version $new_version # 1.18.5, stretch +# Called when 'old-prerm "upgrade"' fails; new package not unpacked, all +# other constraints the same as above. + +case $1 in +remove|deconfigure) + update-alternatives --remove MuseScore_General.sf3 \ + /usr/share/sounds/sf3/FluidR3Mono_GM.sf3 + ;; + +upgrade|failed-upgrade) + ;; + +*) + echo >&2 "prerm called with unknown subcommand '$1'" + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 diff -Nru fluidr3mono-gm-soundfont-2.315/debian/rules fluidr3mono-gm-soundfont-2.315/debian/rules --- fluidr3mono-gm-soundfont-2.315/debian/rules 2018-03-25 20:24:51.000000000 +0000 +++ fluidr3mono-gm-soundfont-2.315/debian/rules 2018-12-13 22:34:38.000000000 +0000 @@ -1,30 +1,38 @@ #!/usr/bin/make -f +ifeq (,$(findstring terse,${DEB_BUILD_OPTIONS})) +export DH_VERBOSE=1 +export V=1 +export VERBOSE=1 +endif + LC_ALL:=C export LC_ALL override_dh_clean: dh_clean - rm -f FluidR3Mono_GM.sf? + rm -f FluidR3Mono_GM.sf3 tmp.sf2 icop:=Copyright (c) Frank Wen, Michael Cowgill, and others; see ICMT chunk or Debian fluidr3mono-gm-soundfont for entire terms and the MIT licence ieng:=Mono version by Church Organist override_dh_auto_build: LC_ALL=C.UTF-8; export LC_ALL; set -- FluidR3Mono_GM*.SF2; \ + fullname="$${1%2}3"; \ cmt=$$(sed '1,/^Licence:$$/d' debian/copyright | sed 1d; echo x); \ - python3 debian/riffedit.py "$$1" FluidR3Mono_GM.sf2 \ - -az 'LIST/INAM' "$${1%2}3" \ + python3 debian/riffedit.py "$$1" tmp.sf2 \ + -az 'LIST/INAM' "$$fullname" \ -az 'LIST/ICOP' '${icop}' \ -az 'LIST/IENG' '${ieng}' \ -az 'LIST/ICMT' "$${cmt%x}" sf3convert -S 0 -q 0.8 -a -1 -z \ - FluidR3Mono_GM.sf2 FluidR3Mono_GM.sf3 + tmp.sf2 FluidR3Mono_GM.sf3 + rm -f tmp.sf2 override_dh_installchangelogs: dh_installchangelogs FluidR3MonoChangeLog.txt override_dh_builddeb: - dh_builddeb -- -Zxz -z8 -Sextreme --no-uniform-compression + dh_builddeb -- --no-uniform-compression %: dh $@ diff -Nru fluidr3mono-gm-soundfont-2.315/debian/upstream/metadata fluidr3mono-gm-soundfont-2.315/debian/upstream/metadata --- fluidr3mono-gm-soundfont-2.315/debian/upstream/metadata 2018-03-13 19:27:48.000000000 +0000 +++ fluidr3mono-gm-soundfont-2.315/debian/upstream/metadata 2018-12-13 22:55:06.000000000 +0000 @@ -1,4 +1,7 @@ { + "Archive": "GitHub", "Contact": "https://musescore.org/en/user/18395/contact", - "Name": "The FluidR3Mono Soundfont" + "Name": "The FluidR3Mono Soundfont", + "Repository": "git@github.com:ChurchOrganist/FluidR3Mono_GM.git", + "Repository-Browse": "https://github.com/ChurchOrganist/FluidR3Mono_GM" }