Hello community, here is the log from the commit of package tuxguitar for openSUSE:Factory checked in at 2018-10-08 17:44:37 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/tuxguitar (Old) and /work/SRC/openSUSE:Factory/.tuxguitar.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "tuxguitar" Mon Oct 8 17:44:37 2018 rev:4 rq:640073 version:1.4 Changes: -------- --- /work/SRC/openSUSE:Factory/tuxguitar/tuxguitar.changes 2017-10-23 16:52:55.709705031 +0200 +++ /work/SRC/openSUSE:Factory/.tuxguitar.new/tuxguitar.changes 2018-10-08 17:46:45.758381564 +0200 @@ -1,0 +2,6 @@ +Fri Oct 5 12:21:07 UTC 2018 - opensuse.lietuviu.ka...@gmail.com + +- Remove FluidSynth and fluid-soundfont-gm dependencies for + openSUSE Leap 15 and newer versions. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ tuxguitar.spec ++++++ --- /var/tmp/diff_new_pack.1P8U1y/_old 2018-10-08 17:46:47.006379973 +0200 +++ /var/tmp/diff_new_pack.1P8U1y/_new 2018-10-08 17:46:47.010379968 +0200 @@ -43,7 +43,11 @@ Requires: java >= 1.7 Requires: javapackages-tools # use FluidR3_GM.sf2 (from fluid-soundfont-gm) as default sound font +%if 0%{?suse_version} <= 1320 Requires: fluid-soundfont-gm +%else +Suggests: fluid-soundfont-gm +%endif Recommends: timidity Recommends: snd_sf2 # export to PDF feature requires itext @@ -55,7 +59,9 @@ BuildRequires: desktop-file-utils BuildRequires: eclipse-swt BuildRequires: fdupes +%if 0%{?suse_version} <= 1320 BuildRequires: fluidsynth-devel +%endif BuildRequires: jack-audio-connection-kit-devel BuildRequires: java-devel >= 1.7 BuildRequires: javapackages-tools @@ -96,10 +102,12 @@ echo "path.tuxguitar-editor-utils=../TuxGuitar-editor-utils/tuxguitar-editor-utils.jar" \ >> TuxGuitar-jsa/build.properties # Use fluidsynth by default +%if 0%{?suse_version} <= 1320 sed "s/tuxguitar-fluidsynth.enabled=false/tuxguitar-fluidsynth.enabled=true/" \ -i build-scripts/common-resources/common-linux/dist/tuxguitar-plugin-settings.cfg sed -re "s/midi.port=.*$/midi.port=tuxguitar-fluidsynth_\/usr\/share\/sounds\/sf2\/FluidR3_GM.sf2/" \ -i build-scripts/common-resources/common-linux/dist/tuxguitar.cfg +%endif # Update URL sed "s/www.tuxguitar.com.ar/www.tuxguitar.pw/" -i TuxGuitar/dist/about_description.dist # Remove duplicated files @@ -110,15 +118,23 @@ %build # Plugins to build: +%if 0%{?suse_version} <= 1320 PLUGINS="alsa ascii browser-ftp compat converter fluidsynth gervill gm-settings gpx gtp \ image jack jsa lilypond midi musicxml oss ptb svg tef tray tuner viewer" - +%else +#remove "fluidsynth" +PLUGINS="alsa ascii browser-ftp compat converter gervill gm-settings gpx gtp \ + image jack jsa lilypond midi musicxml oss ptb svg tef tray tuner viewer" +%endif # FIXME: "pdf" plugin requires itext, but even after adding itext 1.4 from Education repo: # error: package com.itextpdf.text does not exist # JNI's to build +%if 0%{?suse_version} <= 1320 JNIS="alsa fluidsynth jack oss" - +%else +JNIS="alsa jack oss" +%endif LIBSUFFIX=$(echo %{_lib}|sed 's|lib||') # to pass to ant: