rosegarden/rosegarden-fix-filepaths.patch
Dave Plater f2b53cad0b 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
2024-12-13 10:28:46 +00:00

35 lines
1.6 KiB
Diff

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