Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Package request: Muse Sounds Manager #216432

Closed
colin-heffernan opened this issue Feb 15, 2023 · 14 comments · Fixed by #341856
Closed

Package request: Muse Sounds Manager #216432

colin-heffernan opened this issue Feb 15, 2023 · 14 comments · Fixed by #341856

Comments

@colin-heffernan
Copy link
Contributor

colin-heffernan commented Feb 15, 2023

Project description
Muse Hub allows for the installation of MuseSounds, a high-quality selection of sounds for MuseScore. MuseScore already exists within the Nixpkgs repo, so having access to MuseSounds would be incredibly useful to MuseScore users using Nix.

Metadata

Notes
Muse Hub also acts as an installer for MuseScore, Audacity, and other apps, which may conflict with Nix's model. I am unsure of how feasible this all is, but I would like to be able to take advantage of MuseSounds on NixOS if at all possible.

EDIT
Muse Hub on Linux only provides MuseSounds, so please disregard the previous note. However, MuseSounds is installed in /srv, not within the home folder.

@Soliprem
Copy link

I second this, but I don't know how to write a nixos package at all. I'll add, though, that if installing in /srv is a problem, that directory can be changed (potentially by default, but not having it installed I can't check which file would have to be edited

@adam248
Copy link
Contributor

adam248 commented May 1, 2023

Looking at AUR for Arch they seem to use this URL for the src of the build:
https://pub-c7a32e5b5d834ec9aeef400105452a42.r2.dev/Muse_Hub.deb

When I went to the musehub site and tried to download the linux version of MuseHub I got the same URL:
https://pub-c7a32e5b5d834ec9aeef400105452a42.r2.dev/Muse_Hub.deb

  • The main problem with this URL is that the file doesn't change it's name with a version update (so checksum/hashing is going to be an issue.) (aka, can't pin down a version)
  • A second issue is that it appears to need to run a service as root user, which may cause some problems as well.

I will try and contact MuseHub and ask if they can have each version available as well for easier packaging in linux.
... to be continued...

@adam248
Copy link
Contributor

adam248 commented May 1, 2023

oh, just found a comment detailing a manual build on Fedora...
https://musescore.org/en/node/336003#comment-1148388
Worth a read if you need to know how MuseHub works under the hood.

@adam248
Copy link
Contributor

adam248 commented May 1, 2023

found their beta release URL:
https://pub-c7a32e5b5d834ec9aeef400105452a42.r2.dev/Muse_Hub_Beta.deb

@adam248
Copy link
Contributor

adam248 commented Dec 21, 2023

It appears that MuseHub is no longer releasing for Linux.
See the website here: https://www.musehub.com/
However, they have changed the name to Muse Sounds Manager BETA, so they are making it clear that this app for Linux is only for Muse Sounds and not MuseHub.
This change might make it easier to package for NixOS??? hopium!

@Hachem-H
Copy link

Hachem-H commented Jan 4, 2024

any updates perhaps?

@colin-heffernan colin-heffernan changed the title Package request: Muse Hub Package request: Muse Sounds Manager Jan 5, 2024
@colin-heffernan
Copy link
Contributor Author

any updates perhaps?

Since source code is not provided AFAIK, the deb/rpm would have to be unpacked and repacked, and even then it may not work. In other words, I don't know how possible it is. I guess this issue is just to see if anyone else knows.

@thilobillerbeck
Copy link
Contributor

thilobillerbeck commented Feb 13, 2024

A solution I found to use an archived version of the app from arhive.org, this is kind of a hack but works for now.

I wrote a flake which packages Muse Sounds Manager based on the rpm package. You can find it here. Testing is greatly appreciated. If this turns out to work, I may also PR this into nixpkgs:

https://github.com/thilobillerbeck/muse-sounds-manager-nix

@ShawkMusic
Copy link

A solution I found to use an archived version of the app from arhive.org, this is kind of a hack but works for now.

I wrote a flake which packages Muse Sounds Manager based on the rpm package. You can find it here. Testing is greatly appreciated. If this turns out to work, I may also PR this into nixpkgs:

https://github.com/thilobillerbeck/muse-sounds-manager-nix

How do I install this on my system? I'm new to NixOS and don't entirely understand what a flake is or how to use it

@BasilYes
Copy link

A solution I found to use an archived version of the app from arhive.org, this is kind of a hack but works for now.
I wrote a flake which packages Muse Sounds Manager based on the rpm package. You can find it here. Testing is greatly appreciated. If this turns out to work, I may also PR this into nixpkgs:
https://github.com/thilobillerbeck/muse-sounds-manager-nix

How do I install this on my system? I'm new to NixOS and don't entirely understand what a flake is or how to use it

@ShawkMusic here guide for you

@adam248
Copy link
Contributor

adam248 commented Sep 14, 2024

@vandenoever
@doronbehar

Hi, just notifying the maintainers of the Nix Musescore package that someone has made a flake that packages Muse Sounds Manager for NixOS.

https://github.com/thilobillerbeck/muse-sounds-manager-nix

I might be able to package it myself but not right now. Maybe you two could be able to do it as you already maintain Musescore?

Thanks

@adam248
Copy link
Contributor

adam248 commented Sep 15, 2024

@colin-heffernan @Soliprem @Hachem-H @thilobillerbeck @ShawkMusic @BasilYes

please help this pull request #341856
by either 👍 or by testing/reviewing the code.

let's get this finished!

@doronbehar
Copy link
Contributor

As mentioned in this #341856 (comment) comment, due to the issues described in #318210 I am a bit hesitant in merging such a package, as it seem to have the potential to break Musescore . I will test again though when the PR is slightly more mature.

@orivej
Copy link
Contributor

orivej commented Sep 15, 2024

If MuseScore becomes unreliable after using muse-sounds-manager (which is not the case for me), the solution is to delete ~/.local/share/MuseSampler/ (NB: MuseSampler, not MuseScore). If you want to restore it back, just launch muse-sounds-manager again, it will immediately recreate it (and print |INFO|Muse.Common.Interop.ServiceCore|Installing MuseSampler to the console).

orivej added a commit to orivej/nixpkgs that referenced this issue Sep 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

9 participants