Accepting request 1230768 from home:plater

- Renamed rosegarden-10.10-filepaths.patch to
  rosegarden-fix-filepaths.patch to prevent future confusion.
- enable LV2 beta support

OBS-URL: https://build.opensuse.org/request/show/1230768
OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/rosegarden?expand=0&rev=109
This commit is contained in:
Dave Plater 2024-12-13 10:28:46 +00:00 committed by Git OBS Bridge
parent 544f870929
commit f2b53cad0b
6 changed files with 111 additions and 34 deletions

View File

@ -1,28 +0,0 @@
Index: rosegarden-19.12/src/gui/widgets/FileDialog.cpp
===================================================================
--- rosegarden-19.12.orig/src/gui/widgets/FileDialog.cpp 2020-06-03 13:56:13.142007118 +0200
+++ rosegarden-19.12/src/gui/widgets/FileDialog.cpp 2020-06-03 13:56:27.638580234 +0200
@@ -56,8 +56,8 @@ FileDialog::FileDialog(QWidget *parent,
#else
QString home = QDesktopServices::storageLocation(QDesktopServices::HomeLocation);
#endif
- QString examples = home + "/.local/share/rosegarden/examples";
- QString templates = home + "/.local/share/rosegarden/templates";
+ QString examples = "/usr/share/rosegarden/examples";
+ QString templates = "/usr/share/rosegarden/templates";
QString rosegarden = home + "/rosegarden";
RG_DEBUG << "FileDialog::FileDialog(...)"
Index: rosegarden-19.12/src/gui/studio/BankEditorDialog.cpp
===================================================================
--- rosegarden-19.12.orig/src/gui/studio/BankEditorDialog.cpp 2020-06-03 13:56:13.142007118 +0200
+++ rosegarden-19.12/src/gui/studio/BankEditorDialog.cpp 2020-06-03 13:56:27.638580234 +0200
@@ -1553,7 +1553,7 @@ BankEditorDialog::slotImport()
#else
QString home = QUrl::fromLocalFile(QDesktopServices::storageLocation(QDesktopServices::HomeLocation)).path();
#endif
- QString deviceDir = home + "/.local/share/rosegarden/library";
+ QString deviceDir = "/usr/share/rosegarden/library";
QString url_str = FileDialog::getOpenFileName(this, tr("Import Banks from Device in File"), deviceDir,
tr("Rosegarden Device files") + " (*.rgd *.RGD)" + ";;" +

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:52502891b85af67821cfa0795c79bc7245058635d87071502ed892f2734be725
size 7892476

3
rosegarden-24.12.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7cff3bc3f2cb6186e6da906b31928741e25c4cbdba535ed0ebe02c6eb075f8b3
size 8014806

View File

@ -0,0 +1,34 @@
Index: b/src/gui/widgets/FileDialog.cpp
===================================================================
--- a/src/gui/widgets/FileDialog.cpp 2024-12-04 20:06:05.000000000 +0200
+++ b/src/gui/widgets/FileDialog.cpp 2024-12-13 12:11:44.128502164 +0200
@@ -58,8 +58,8 @@ FileDialog::FileDialog(QWidget *parent,
#else
QString home = QDesktopServices::storageLocation(QDesktopServices::HomeLocation);
#endif
- QString examples = home + "/.local/share/rosegarden/examples";
- QString templates = home + "/.local/share/rosegarden/templates";
+ QString examples = "/usr/share/rosegarden/examples";
+ QString templates = "/usr/share/rosegarden/templates";
QString rosegarden = home + "/rosegarden";
RG_DEBUG << "FileDialog::FileDialog(...)"
Index: b/src/gui/studio/BankEditorDialog.cpp
===================================================================
--- a/src/gui/studio/BankEditorDialog.cpp 2024-12-04 20:06:05.000000000 +0200
+++ b/src/gui/studio/BankEditorDialog.cpp 2024-12-13 12:15:02.991629973 +0200
@@ -1,4 +1,4 @@
-/* -*- c-basic-offset: 4 indent-tabs-mode: nil -*- vi:set ts=8 sts=4 sw=4: */
+f/* -*- c-basic-offset: 4 indent-tabs-mode: nil -*- vi:set ts=8 sts=4 sw=4: */
/*
Rosegarden
@@ -1216,7 +1216,7 @@ BankEditorDialog::slotImport()
const QString home = QUrl::fromLocalFile(QDesktopServices::storageLocation(QDesktopServices::HomeLocation)).path();
#endif
- const QString deviceDir = home + "/.local/share/rosegarden/library";
+ const QString deviceDir = home + "/usr/share/rosegarden/library";
QString urlString = FileDialog::getOpenFileName(
this, // parent

View File

@ -1,3 +1,74 @@
-------------------------------------------------------------------
Fri Dec 13 10:22:07 UTC 2024 - Dave Plater <davejplater@gmail.com>
- Renamed rosegarden-10.10-filepaths.patch to
rosegarden-fix-filepaths.patch to prevent future confusion.
-------------------------------------------------------------------
Thu Dec 5 00:23:45 UTC 2024 - Konstantin Voinov <kv@kott.no-ip.biz>
- enable LV2 beta support
- refresh rosegarden-10.10-filepaths.patch
- update .spec
- update to 24.12:
* Bug Fixes
* LV2: Fix link problem with no gtk2. [2e168f0d]
* LV2: Add lv2 check for GUI library ok. [9cb306b3]
* Manage MIDI Banks and Programs dialog now allows the same bank
* MSB/LSB to be used for percussion and non-percussion banks on
* the same device. Bug #1692.
* Fix wrong ports being assigned on file load. Bug #1687.
* [663099cc]
* Fix autoscroll and highlighting behavior with multiple segments
* on a track. Bug #1672.
* Fix missing scroll bar on Instrument Parameters Bank dropdown.
* Bug #1695. [295a2f7a]
* Fix "turn repeats into copies" misses last segment. Bug #1696.
* [afcf2f0e]
* Fix shortcut order ignored. Bug #1702. [b1272a6d]
* Fix unexpected cursor position when moving from note to note
* on a bar with a clef or time signature. Bug #1704. [215b9d27]
* Fix unexpected translation of bank and program names. Bug #1705.
* [6dbd6bcd]
* Fix unexpected Save As... directory. Feature #522. [15db9d10]
* Fix broken tempo line in tempo ruler after adding a time
* signature change. Bug #1706. [6a7ef89e]
* Fix "Modify MIDI Filters" dialog does not mark document as changed.
* Bug #1707. [4e505977]
* Fix LV2 sfizz plugin support. [8fce0614]
* Fix group box formatting issue in native/light theme. Bug #1678.
* [d2df6376]
* LV2: Fix crashes and locking related to atom buffers. [95b09722]
* [be37b31e]
* New Features
* Make MIDI File Division value configurable for Export.
* GH #9. [991e4839]
* WAV export of audio and soft synth tracks.
* File > Export > Export WAV File... [5b4d109e]
* Apply interpretations to more than one segment.
* Segment > Interpret... Feature #517. [b8a243a5]
* LV2 support has been promoted to beta. [a602850c]
* Advanced Looping has been promoted out of beta. [25bdbf69]
* General Improvements
* Manage MIDI Banks and Programs dialog is now full-featured and can
* be used to edit every aspect of an .rgd device file.
* Studio > Manage MIDI Devices > Banks...
* Tempo and Time Signature Editor has been rewritten and improved.
* Additional Contributions
* Korg-M3-Factory-ALL.rgd (Chuck Elliot)
* Korg-M1.rgd (Chuck Elliot)
* Updated Polish translation (Grzegorz Pruchniakowski)
* Updated Chinese translation (Icenowy Zheng)
* Yamaha-MM6-MM8.rgd (Icenowy Zheng)
* Yamaha-PSR-SX600.rgd (Huanyu Liu)
-------------------------------------------------------------------
Sun Jun 30 08:28:49 UTC 2024 - Dirk Müller <dmueller@suse.com>

View File

@ -16,10 +16,10 @@
#
%define vers 22.12
%define vers 24.12
Name: rosegarden
Version: 24.06
Version: 24.12
Release: 0
License: GPL-2.0-or-later
Summary: Midi, Audio And Notation Editor
@ -29,7 +29,7 @@ Source0: https://github.com/tedfelix/%{name}-official/archive/refs/tags/%
Source1: %{name}.xpm
Source2: %{name}.1
# PATCH-FIX-OPENSUSE davejplater@gmail.com This patch fixes the file search paths for examples, templates and midi driver libraries.
Patch1: rosegarden-10.10-filepaths.patch
Patch1: rosegarden-fix-filepaths.patch
# PATCH-FIX-OPENSUSE ledest@gmail.com fix bashisms in scripts
Patch2: rosegarden-14.02-fix-bashisms.patch
# PATCH-FIX-OPENSUSE port scripts/sf2rg.py to Python 3