Hello community, here is the log from the commit of package hydrogen for openSUSE:Factory checked in at 2018-03-07 10:40:05 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/hydrogen (Old) and /work/SRC/openSUSE:Factory/.hydrogen.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "hydrogen" Wed Mar 7 10:40:05 2018 rev:37 rq:583753 version:0.9.7 Changes: -------- --- /work/SRC/openSUSE:Factory/hydrogen/hydrogen.changes 2017-04-17 10:27:25.664727381 +0200 +++ /work/SRC/openSUSE:Factory/.hydrogen.new/hydrogen.changes 2018-03-07 10:40:11.706537303 +0100 @@ -1,0 +2,5 @@ +Wed Mar 7 06:22:36 UTC 2018 - [email protected] + +- Remove lash dependency and enable pulse audio support. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ hydrogen.spec ++++++ --- /var/tmp/diff_new_pack.lZ0St8/_old 2018-03-07 10:40:13.002490557 +0100 +++ /var/tmp/diff_new_pack.lZ0St8/_new 2018-03-07 10:40:13.002490557 +0100 @@ -1,7 +1,7 @@ # # spec file for package hydrogen # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -23,30 +23,36 @@ # this config option to ensure backwards compatibility with songs created under 0.9.5 which use # rubberband. Use the rubberband -cli package instead. %define librubberband 0 - Name: hydrogen -BuildRequires: alsa-devel +Version: 0.9.7 +Release: 0 +Summary: A Real-Time Drum Machine and Sequencer +# NOTE: Don't forget to update the libsuffix macro. +License: GPL-2.0+ +Group: Productivity/Multimedia/Sound/Midi +Url: http://www.hydrogen-music.org/ +Source0: %{name}-%{version}.tar.gz +Source1: h2cli.1 +Source2: COPYING +# Fixup the desktop file. +Patch0: hydrogen-0.9.6-desktop.patch +# Remove current date and time from sources. +Patch1: hydrogen-no-current-time.patch +# libhydrogencore has no soname and installs in _libexecdir +Patch2: hydrogen-0.9.6-lib64.patch +# PATCH-FIX-UPSTREAM hydrogen-gcc47.patch [email protected] -- Fix build with gcc 4.7. +Patch3: hydrogen-gcc47.patch BuildRequires: cmake BuildRequires: doxygen BuildRequires: fdupes -BuildRequires: flac-devel BuildRequires: gcc-c++ BuildRequires: help2man BuildRequires: hicolor-icon-theme BuildRequires: ladspa BuildRequires: ladspa-devel -BuildRequires: lash-devel -BuildRequires: libarchive-devel -BuildRequires: libjack-devel -BuildRequires: liblrdf-devel -BuildRequires: libqt4-devel -BuildRequires: libraptor-devel -BuildRequires: libsndfile-devel -BuildRequires: pkg-config -BuildRequires: portaudio-devel +BuildRequires: pkgconfig BuildRequires: update-desktop-files BuildRequires: util-linux -BuildRequires: zlib-devel BuildRequires: pkgconfig(Qt3Support) BuildRequires: pkgconfig(QtCLucene) BuildRequires: pkgconfig(QtCore) @@ -67,36 +73,27 @@ BuildRequires: pkgconfig(QtUiTools) BuildRequires: pkgconfig(QtXml) BuildRequires: pkgconfig(QtXmlPatterns) - +BuildRequires: pkgconfig(alsa) +BuildRequires: pkgconfig(flac) +BuildRequires: pkgconfig(flac++) +BuildRequires: pkgconfig(jack) +BuildRequires: pkgconfig(libarchive) +BuildRequires: pkgconfig(libpulse) +BuildRequires: pkgconfig(lrdf) +BuildRequires: pkgconfig(portaudio-2.0) +BuildRequires: pkgconfig(raptor2) +BuildRequires: pkgconfig(sndfile) +BuildRequires: pkgconfig(zlib) #%%if 0%%{?suse_version} <= 1140 #BuildRequires: libqt4-devel-doc-data #%%endif #pkgconfig(ladspa-1.13) %if 0%{?librubberband} == 1 -BuildRequires: librubberband-devel +BuildRequires: pkgconfig(rubberband) %else -Requires: rubberband-cli BuildRequires: rubberband-cli +Requires: rubberband-cli %endif -Summary: A Real-Time Drum Machine and Sequencer -# NOTE: Don't forget to update the libsuffix macro. -License: GPL-2.0+ -Group: Productivity/Multimedia/Sound/Midi -Version: 0.9.7 -Release: 0 -BuildRoot: %{_tmppath}/%{name}-%{version}-build -Url: http://www.hydrogen-music.org/ -Source0: %{name}-%{version}.tar.gz -Source1: h2cli.1 -Source2: COPYING -# Fixup the desktop file. -Patch0: hydrogen-0.9.6-desktop.patch -# Remove current date and time from sources. -Patch1: hydrogen-no-current-time.patch -# libhydrogencore has no soname and installs in _libexecdir -Patch2: hydrogen-0.9.6-lib64.patch -# PATCH-FIX-UPSTREAM hydrogen-gcc47.patch [email protected] -- Fix build with gcc 4.7. -Patch3: hydrogen-gcc47.patch %description Hydrogen is a software synthesizer which can be used alone, emulating @@ -141,7 +138,7 @@ %patch3 # copy licence with correct fsf address -install -m 0644 %{S:2} ./ +install -m 0644 %{SOURCE2} ./ %build @@ -155,7 +152,6 @@ -DWANT_SHARED:BOOL=on \ -DWANT_LIBARCHIVE:BOOL=on \ -DWANT_LRDF:BOOL=off \ - -DWANT_LASH:BOOL=on \ -DLADSPA_INCLUDE_DIR:PATH=%{_includedir} \ -DLADSPA_LIBRARIES:PATH=%{_libdir}/ladspa \ -DCMAKE_CURRENT_LIBRARY_DIR:PATH="%{_lib}" \ @@ -184,14 +180,14 @@ #export QTDIR=%%{_libdir}/qt4/ pushd Build -%makeinstall VERBOSE_MAKEFILE=1 +%make_install VERBOSE_MAKEFILE=1 # libhydrogen-core's internal SONAME = libhydrogen-core.so.0 so we provide a link. cd %{buildroot}%{_libdir} && ln -s libhydrogen-core.so.0.0.0 libhydrogen-core.so.0 popd # Install the h2cli man page created by help2man mkdir -p %{buildroot}%{_mandir}/man1 -install -pm 0644 %{S:1} %{buildroot}%{_mandir}/man1/ +install -pm 0644 %{SOURCE1} %{buildroot}%{_mandir}/man1/ # Move hydrogen man page to the correct directory mv %{buildroot}%{_prefix}/man/man1/hydrogen.1 %{buildroot}%{_mandir}/man1/ @@ -204,6 +200,7 @@ # Set executable bit on scripts in buildroot/_datadir/name/data/i18n for i in $(find %{buildroot}%{_datadir}/hydrogen/data/i18n -type f -perm 0644 -print0|xargs -0r grep -l '#!'); \ do chmod 0755 ${i}; done +rm -f %{buildroot}%{_datadir}/hydrogen/data/i18n/stats.py %fdupes -s %{buildroot}%{_datadir} @@ -221,29 +218,26 @@ %desktop_database_postun %files -f %{name}.lang -%defattr(-, root, root) %{_bindir}/* -%doc AUTHORS COPYING ChangeLog README.txt +%doc AUTHORS ChangeLog README.txt +%license COPYING %dir %{_datadir}/%{name}/* %dir %{_datadir}/%{name} %dir %{_datadir}/appdata -%{_mandir}/man1/hydrogen.1.gz -%{_mandir}/man1/h2cli.1.gz +%{_mandir}/man1/hydrogen.1%{ext_man} +%{_mandir}/man1/h2cli.1%{ext_man} %{_datadir}/%{name}/data/* %{_datadir}/appdata/%{name}.appdata.xml %{_datadir}/applications/%{name}.desktop %{_datadir}/icons/hicolor/scalable/apps/h2-icon.svg %post -n libhydrogen-core%{soversion} -p /sbin/ldconfig - %postun -n libhydrogen-core%{soversion} -p /sbin/ldconfig %files -n libhydrogen-core%{soversion} -%defattr(-, root, root) %{_libdir}/libhydrogen-core.so.%{soversion}* %files -n libhydrogen-core-devel -%defattr(-, root, root) %dir %{_includedir}/%{name} %{_includedir}/%{name}/* %{_libdir}/libhydrogen-core.so
