2010-11-08 16:19:59 +00:00
|
|
|
#
|
2011-05-21 16:11:05 +00:00
|
|
|
# spec file for package rosegarden
|
2010-11-08 16:19:59 +00:00
|
|
|
#
|
2021-12-01 11:29:38 +00:00
|
|
|
# Copyright (c) 2021 SUSE LLC
|
2010-11-08 16:19:59 +00:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2021-12-01 11:29:38 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2011-12-02 19:17:11 +00:00
|
|
|
#
|
2010-11-08 16:19:59 +00:00
|
|
|
|
2021-12-01 11:29:38 +00:00
|
|
|
|
2010-11-08 16:19:59 +00:00
|
|
|
Name: rosegarden
|
2021-11-30 11:11:14 +00:00
|
|
|
Version: 21.06.1
|
2013-04-28 07:54:34 +00:00
|
|
|
Release: 0
|
Accepting request 863941 from home:dirkmueller:branches:multimedia:apps
- update to 20.12:
* Fix QPainterPath compilation error (r15845)
* Fixed several SysEx-related bugs in the Event editor (r15853)
* SysEx load now remembers the last used path.
* SysEx load now strips the F0/F7 bytes from the file when reading.
* SysEx save now remembers the last used path.
* SysEx save now fills in the FileDialog fields correctly.
* SysEx save now adds the F0/F7 bytes to the data before saving.
* Event Editor: Fix garbage on SysEx load error (r15855)
* Event Parameter Dialog: Fix incorrect window title (r15857)
* Fix length of notes added in percussion matrix (r15870)
* Fix compilation error with Qt < 5.8 (r15872, r15896, others)
* Fix issues with ALSA port name matching at file load (r15875,
r15879, r15893-r15895, r15906, r15909)
* Fix "&" in device name renders file unreadable. Bug #1586. (r15886)
* Matrix editor: Fix control rulers not appearing. Bug #1543.
(r15887)
* Event editor: Fix crashes when editing (r15899, r15902, r15903)
* Reduce connection check interval to 1 second (r15912)
* Fix external controller port not working (r15915, r15916, r15919,
r15927, r15929)
* Fix ALSA timer selection persistence (r15936)
* Fix disabled button text color (r15938)
* Fix plugins not found (r15947)
* Send proper CCs out the external controller port for motorized
control surfaces. Bug #1587. (r15952, r15954)
* Fix unwanted CCs going out with old files. Feature #482. (r15961)
* Fix slow load time with many segments. Bug #1589. (r16026)
* Enable/Disable external controller port in the preferences (r15932,
r15946, others)
OBS-URL: https://build.opensuse.org/request/show/863941
OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/rosegarden?expand=0&rev=86
2021-01-18 05:25:15 +00:00
|
|
|
License: GPL-2.0-or-later
|
2021-11-30 11:11:14 +00:00
|
|
|
Summary: Midi, Audio And Notation Editor
|
2021-12-01 11:29:38 +00:00
|
|
|
URL: http://www.rosegardenmusic.com/
|
2013-04-28 07:54:34 +00:00
|
|
|
Group: Productivity/Multimedia/Sound/Midi
|
2021-12-01 11:02:17 +00:00
|
|
|
# https://downloads.sourceforge.net/project/rosegarden/rosegarden/21.06/rosegarden-21.06.1.tar.bz2
|
|
|
|
Source0: rosegarden-21.06.1.tar.xz
|
2013-04-28 07:54:34 +00:00
|
|
|
Source1: %{name}.xpm
|
|
|
|
Source2: %{name}.1
|
2016-10-16 10:40:43 +00:00
|
|
|
# PATCH-FIX-OPENSUSE davejplater@gmail.com This patch fixes the file search paths for examples, templates and midi driver libraries.
|
2013-04-28 07:54:34 +00:00
|
|
|
Patch1: rosegarden-10.10-filepaths.patch
|
2016-10-16 10:40:43 +00:00
|
|
|
# PATCH-FIX-OPENSUSE ledest@gmail.com fix bashisms in scripts
|
2014-12-25 07:13:23 +00:00
|
|
|
Patch2: rosegarden-14.02-fix-bashisms.patch
|
2021-12-01 11:02:17 +00:00
|
|
|
# PATCH-FIX-OPENSUSE port scripts/sf2rg.py to Python 3
|
|
|
|
Patch3: scripts-sf2rg-python3.patch
|
2011-12-02 19:17:11 +00:00
|
|
|
BuildRequires: alsa-devel
|
2016-03-20 07:00:38 +00:00
|
|
|
BuildRequires: cmake >= 2.8.12
|
2011-12-02 19:17:11 +00:00
|
|
|
BuildRequires: dssi-devel
|
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: fftw3-devel
|
2016-03-03 08:46:36 +00:00
|
|
|
BuildRequires: gcc-c++
|
2011-12-02 19:17:11 +00:00
|
|
|
BuildRequires: hicolor-icon-theme
|
|
|
|
BuildRequires: ladspa-devel
|
|
|
|
BuildRequires: libjack-devel
|
|
|
|
BuildRequires: liblo-devel
|
|
|
|
BuildRequires: liblrdf-devel
|
|
|
|
BuildRequires: libsamplerate-devel
|
|
|
|
BuildRequires: libsndfile-devel
|
2020-06-03 13:29:54 +00:00
|
|
|
BuildRequires: lilypond-fonts-common >= 2.20
|
2011-12-02 19:17:11 +00:00
|
|
|
BuildRequires: lirc-devel
|
2021-11-30 11:11:14 +00:00
|
|
|
BuildRequires: pkg-config
|
2021-12-01 11:29:38 +00:00
|
|
|
BuildRequires: cmake(Qt5LinguistTools)
|
|
|
|
BuildRequires: pkgconfig(Qt5Core)
|
|
|
|
BuildRequires: pkgconfig(Qt5Gui)
|
|
|
|
BuildRequires: pkgconfig(Qt5Network)
|
|
|
|
BuildRequires: pkgconfig(Qt5PrintSupport)
|
|
|
|
BuildRequires: pkgconfig(Qt5Test)
|
|
|
|
BuildRequires: pkgconfig(Qt5Widgets)
|
|
|
|
BuildRequires: pkgconfig(Qt5Xml)
|
2016-03-03 08:46:36 +00:00
|
|
|
#BuildRequires: pkgconfig(libxml++-2.6)
|
2011-12-02 19:17:11 +00:00
|
|
|
BuildRequires: shared-mime-info
|
|
|
|
BuildRequires: update-desktop-files
|
2013-04-28 07:54:34 +00:00
|
|
|
BuildRequires: pkgconfig(libxml-2.0)
|
|
|
|
Requires: dssi
|
|
|
|
Requires: ladspa
|
2016-03-21 10:01:29 +00:00
|
|
|
Requires: ladspa-swh-plugins
|
2020-05-08 13:59:02 +00:00
|
|
|
Requires: lilypond-fonts-common >= 2.20
|
2021-12-01 11:29:38 +00:00
|
|
|
Requires: xsynth-dssi
|
|
|
|
Recommends: fluidsynth-dssi
|
2021-11-30 11:11:14 +00:00
|
|
|
Recommends: jack
|
Accepting request 863941 from home:dirkmueller:branches:multimedia:apps
- update to 20.12:
* Fix QPainterPath compilation error (r15845)
* Fixed several SysEx-related bugs in the Event editor (r15853)
* SysEx load now remembers the last used path.
* SysEx load now strips the F0/F7 bytes from the file when reading.
* SysEx save now remembers the last used path.
* SysEx save now fills in the FileDialog fields correctly.
* SysEx save now adds the F0/F7 bytes to the data before saving.
* Event Editor: Fix garbage on SysEx load error (r15855)
* Event Parameter Dialog: Fix incorrect window title (r15857)
* Fix length of notes added in percussion matrix (r15870)
* Fix compilation error with Qt < 5.8 (r15872, r15896, others)
* Fix issues with ALSA port name matching at file load (r15875,
r15879, r15893-r15895, r15906, r15909)
* Fix "&" in device name renders file unreadable. Bug #1586. (r15886)
* Matrix editor: Fix control rulers not appearing. Bug #1543.
(r15887)
* Event editor: Fix crashes when editing (r15899, r15902, r15903)
* Reduce connection check interval to 1 second (r15912)
* Fix external controller port not working (r15915, r15916, r15919,
r15927, r15929)
* Fix ALSA timer selection persistence (r15936)
* Fix disabled button text color (r15938)
* Fix plugins not found (r15947)
* Send proper CCs out the external controller port for motorized
control surfaces. Bug #1587. (r15952, r15954)
* Fix unwanted CCs going out with old files. Feature #482. (r15961)
* Fix slow load time with many segments. Bug #1589. (r16026)
* Enable/Disable external controller port in the preferences (r15932,
r15946, others)
OBS-URL: https://build.opensuse.org/request/show/863941
OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/rosegarden?expand=0&rev=86
2021-01-18 05:25:15 +00:00
|
|
|
Recommends: qsynth
|
2021-11-30 11:11:14 +00:00
|
|
|
Icon: rosegarden.xpm
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
ExcludeArch: i586 i686
|
2010-11-08 16:19:59 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
Rosegarden is a well-rounded audio and MIDI sequencer,
|
|
|
|
score editor, and general-purpose music composition and
|
|
|
|
editing environment. Rosegarden is an easy-to-learn,
|
|
|
|
attractive application that runs on Linux, ideal for
|
|
|
|
composers, musicians, music students, and small studio or
|
|
|
|
home recording environments.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
2020-06-03 13:29:54 +00:00
|
|
|
%autopatch -p1
|
|
|
|
|
2016-03-03 08:46:36 +00:00
|
|
|
# When we build svn we need to execute bootstrap.sh
|
|
|
|
#sh bootstrap.sh
|
2021-11-30 11:11:14 +00:00
|
|
|
for i in `grep -rl "/usr/bin/env python"`;do sed -i '1s/^#!.*/#!\/usr\/bin\/python3/' ${i} ;done
|
|
|
|
for i in `grep -rl "/usr/bin/python"`;do sed -i '1s/^#!.*/#!\/usr\/bin\/python3/' ${i} ;done
|
2010-11-08 16:19:59 +00:00
|
|
|
|
|
|
|
%build
|
2016-03-20 07:00:38 +00:00
|
|
|
#export DEBUG_LADSPA
|
|
|
|
#export QTDIR=/usr/
|
2010-11-08 16:19:59 +00:00
|
|
|
export CFLAGS="%{optflags} -fno-strict-aliasing -ggdb"
|
|
|
|
export CXXFLAGS="$CFLAGS"
|
|
|
|
# -fmessage-length=0 -O2 -fno-strict-aliasing -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables
|
2016-03-03 08:46:36 +00:00
|
|
|
# Now uses cmake
|
|
|
|
#%%configure --enable-debug --localedir=%%{_datadir}/%%{name}/locale/
|
2016-03-20 07:00:38 +00:00
|
|
|
%cmake \
|
|
|
|
-DCMAKE_INSTALL_LOCALEDIR:PATH=%{_datadir}/locale/
|
|
|
|
|
2017-08-28 05:12:56 +00:00
|
|
|
#make svnheader
|
2021-11-30 11:11:14 +00:00
|
|
|
make %{?_smp_mflags}
|
2010-11-08 16:19:59 +00:00
|
|
|
|
|
|
|
%install
|
2011-05-21 16:11:05 +00:00
|
|
|
mkdir -p %{buildroot}%{_datadir}/%{name}/scripts
|
|
|
|
cp -p scripts/* %{buildroot}%{_datadir}/%{name}/scripts/
|
|
|
|
cp -r data/* %{buildroot}%{_datadir}/%{name}/
|
2010-11-08 16:19:59 +00:00
|
|
|
|
2016-03-03 08:46:36 +00:00
|
|
|
pushd build
|
2013-04-28 07:54:34 +00:00
|
|
|
%make_install
|
2016-03-03 08:46:36 +00:00
|
|
|
popd
|
2011-05-21 16:11:05 +00:00
|
|
|
rm -rf %{buildroot}%{_datadir}/%{name}/desktop
|
|
|
|
rm -rf %{buildroot}%{_datadir}/%{name}/mime
|
|
|
|
rm -f %{buildroot}%{_datadir}/%{name}/*.cpp
|
|
|
|
rm -f %{buildroot}%{_datadir}/%{name}/*.o
|
|
|
|
chmod 755 %{buildroot}%{_datadir}/%{name}/scripts/*
|
|
|
|
chmod 644 %{buildroot}%{_datadir}/%{name}/scripts/lircrc.rosegarden
|
|
|
|
chmod 644 %{buildroot}%{_datadir}/%{name}/scripts/README
|
|
|
|
chmod 644 %{buildroot}%{_datadir}/%{name}/scripts/color-list
|
2016-03-03 08:46:36 +00:00
|
|
|
#chmod 644 %%{buildroot}%%{_datadir}/%%{name}/scripts/simple-makefile
|
|
|
|
rm -f %{buildroot}%{_datadir}/%{name}/scripts/svn-to-hg-and-git.sh
|
2021-11-30 11:11:14 +00:00
|
|
|
pushd %{buildroot}%{_datadir}/%{name}/scripts
|
|
|
|
sed -i '1s/^#!.*/#!\/usr\/bin\/python/' sf2rg.py
|
|
|
|
popd
|
2013-04-28 07:54:34 +00:00
|
|
|
install -D -m 0644 "%{SOURCE1}" "%{buildroot}%{_datadir}/pixmaps/%{name}.xpm"
|
2018-01-19 14:45:07 +00:00
|
|
|
%suse_update_desktop_file %{buildroot}/%{_datadir}/applications/com.rosegardenmusic.%{name}.desktop
|
2010-11-08 16:19:59 +00:00
|
|
|
#This is a man page made by help2man to satisfy factories hunger for one /usr/bin/ one man page.
|
2011-05-21 16:11:05 +00:00
|
|
|
mkdir -p %{buildroot}%{_mandir}/man1
|
2013-04-28 07:54:34 +00:00
|
|
|
install -D -m 0644 "%{SOURCE2}" "%{buildroot}%{_mandir}/man1/"
|
2016-03-03 08:46:36 +00:00
|
|
|
%fdupes -s %{buildroot}%{_datadir}/
|
2010-11-08 16:19:59 +00:00
|
|
|
|
|
|
|
%files
|
2021-11-30 11:11:14 +00:00
|
|
|
%defattr(-,root,root)
|
2018-09-04 11:58:12 +00:00
|
|
|
%doc AUTHORS README
|
|
|
|
%license COPYING
|
2018-01-19 14:45:07 +00:00
|
|
|
%dir %{_datadir}/metainfo
|
2011-05-21 16:11:05 +00:00
|
|
|
%dir %{_datadir}/%{name}/
|
|
|
|
%dir %{_datadir}/%{name}/autoload
|
|
|
|
%dir %{_datadir}/%{name}/chords
|
|
|
|
%dir %{_datadir}/%{name}/examples
|
|
|
|
%dir %{_datadir}/%{name}/fonts
|
|
|
|
%dir %{_datadir}/%{name}/library
|
|
|
|
%dir %{_datadir}/%{name}/locale
|
|
|
|
%dir %{_datadir}/%{name}/profile
|
|
|
|
%dir %{_datadir}/%{name}/scripts
|
|
|
|
%dir %{_datadir}/%{name}/styles
|
|
|
|
%dir %{_datadir}/%{name}/templates
|
|
|
|
%dir %{_datadir}/%{name}/templates
|
2010-11-08 16:19:59 +00:00
|
|
|
%{_datadir}/icons/hicolor/*
|
2011-05-21 16:11:05 +00:00
|
|
|
%{_datadir}/pixmaps/%{name}.xpm
|
2018-01-19 14:45:07 +00:00
|
|
|
%{_datadir}/applications/com.rosegardenmusic.%{name}.desktop
|
|
|
|
%{_datadir}/metainfo/%{name}.appdata.xml
|
2011-05-21 16:11:05 +00:00
|
|
|
%{_bindir}/%{name}
|
2018-12-18 11:03:05 +00:00
|
|
|
%{_libdir}/lib%{name}private.so
|
2011-02-04 12:17:55 +00:00
|
|
|
%{_mandir}/man1/*
|
2011-05-21 16:11:05 +00:00
|
|
|
%{_datadir}/%{name}/*
|
|
|
|
%{_datadir}/%{name}/presets/*
|
|
|
|
%{_datadir}/%{name}/pixmaps/*
|
|
|
|
%{_datadir}/%{name}/autoload/*
|
|
|
|
%{_datadir}/%{name}/chords/*
|
|
|
|
%{_datadir}/%{name}/examples/*
|
|
|
|
%{_datadir}/%{name}/fonts/*
|
|
|
|
%{_datadir}/%{name}/library/*
|
|
|
|
%{_datadir}/%{name}/locale/*
|
|
|
|
%{_datadir}/%{name}/profile/*
|
|
|
|
%{_datadir}/%{name}/scripts/*
|
|
|
|
%{_datadir}/%{name}/styles/*
|
|
|
|
%{_datadir}/%{name}/templates/*
|
|
|
|
%{_datadir}/mime/packages/%{name}.xml
|
2010-11-08 16:19:59 +00:00
|
|
|
|
|
|
|
%changelog
|