Bug 273965 - audio/musescore request for audio/musescore3 legacy version
Summary: audio/musescore request for audio/musescore3 legacy version
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Adriaan de Groot
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-09-20 12:04 UTC by Keith White
Modified: 2024-02-27 19:07 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (adridg)


Attachments
audio/musescore3 "new" files (47.60 KB, patch)
2023-09-20 12:06 UTC, Keith White
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Keith White 2023-09-20 12:04:32 UTC
Among other changes, musescore4 and musescore3 make different layout decisions.  It might be useful to have a musescore3 port available to aid transition.

I'll attach a patch for a new port based on the previous musescore-3.6.1 port that:

o adds a audio/musescore3 port
o bumps the version to 3.6.2
o changes the build mode to Release
o changes the soundfont download to a DISTFILE
o renames executable and man pages to mscore3/musescore3
o adds "(legacy version)" to COMMENT

I supposed a "DEPRECATED" could also be added, but this is not in the patch.

Both audio/musescore and audio/musescore3 may be installed concurrently.
Comment 1 Keith White 2023-09-20 12:06:57 UTC
Created attachment 245050 [details]
audio/musescore3 "new" files

The files needed to add the audio/musescore3 port.  Tested in poudriere on CURRENT.
Comment 2 Adriaan de Groot freebsd_committer freebsd_triage 2024-02-06 21:55:27 UTC
Thanks. The patch looks good overall. I tweaked it a bit to install icons as mscore3.png and the desktop file as mscore3.desktop, but that's because the musescore4 installation **didn't** include those, and it should.
Comment 3 commit-hook freebsd_committer freebsd_triage 2024-02-27 18:41:01 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=8de7c0df73811438b5f49cad2d7bdba490f811d1

commit 8de7c0df73811438b5f49cad2d7bdba490f811d1
Author:     Adriaan de Groot <adridg@FreeBSD.org>
AuthorDate: 2024-02-05 20:51:54 +0000
Commit:     Adriaan de Groot <adridg@FreeBSD.org>
CommitDate: 2024-02-27 18:40:50 +0000

    audio/musescore3: re-introduce version 3

    Version 3 of MuseScore was, well, the decently Open-Source version of
    MuseScore. It also does engraving somewhat differently from version 4,
    and some folks prefer that.

    PR:             273965
    Provided by:    Keith White

 audio/Makefile                                     |   1 +
 audio/musescore3/Makefile (new)                    |  88 ++++++
 audio/musescore3/distinfo (new)                    |   5 +
 audio/musescore3/files/mscore3.desktop (new)       |  19 ++
 audio/musescore3/files/patch-CMakeLists.txt (new)  |  97 ++++++
 .../files/patch-aeolus_CMakeLists.txt (new)        |  18 ++
 audio/musescore3/files/patch-all.h (new)           |  27 ++
 .../files/patch-audio_CMakeLists.txt (new)         |  11 +
 .../files/patch-audio_drivers_alsa.cpp (new)       |  10 +
 .../files/patch-audio_drivers_alsamidi.h (new)     |  11 +
 .../files/patch-audio_drivers_mididriver.cpp (new) |  18 ++
 .../files/patch-audiofile_CMakeLists.txt (new)     |  11 +
 .../files/patch-avsomr_CMakeLists.txt (new)        |  11 +
 .../files/patch-awl_CMakeLists.txt (new)           |  20 ++
 .../files/patch-bww2mxml_CMakeLists.txt (new)      |  11 +
 .../files/patch-effects_CMakeLists.txt (new)       |  11 +
 .../files/patch-fonttools_CMakeLists.txt (new)     |  11 +
 .../files/patch-importexport_CMakeLists.txt (new)  |  11 +
 .../files/patch-libmscore_CMakeLists.txt (new)     |  11 +
 .../files/patch-main_CMakeLists.txt (new)          |  59 ++++
 .../files/patch-miditools_CMakeLists.txt (new)     |  20 ++
 .../files/patch-mscore_CMakeLists.txt (new)        |  70 +++++
 .../files/patch-mtest_CMakeLists.txt (new)         |  18 ++
 .../files/patch-omr_CMakeLists.txt (new)           |  11 +
 .../patch-thirdparty_beatroot_CMakeLists.txt (new) |  17 +
 .../patch-thirdparty_ofqf_CMakeLists.txt (new)     |  11 +
 ...dparty_qt-google-analytics_ganalytics.cpp (new) |  11 +
 .../patch-thirdparty_qzip_CMakeLists.txt (new)     |  11 +
 .../patch-thirdparty_rtf2html_CMakeLists.txt (new) |  17 +
 ...h-thirdparty_singleapp_src_CMakeLists.txt (new) |  11 +
 audio/musescore3/pkg-descr (new)                   |  17 +
 audio/musescore3/pkg-plist (new)                   | 345 +++++++++++++++++++++
 32 files changed, 1020 insertions(+)
Comment 4 Adriaan de Groot freebsd_committer freebsd_triage 2024-02-27 19:07:58 UTC
I futzed with it a bit, I believe it does the right (MuseScore3) thing now. If you use it -- I only do so very rarely -- and there's issues with this version specifically, please file a new PR. And Keith, thanks for providing the restoration-patch.