Nightly Builds for Ubuntu via PPA
Allow me to introduce a new series of nightly builds specifically targeted at Ubuntu! The new nightly builds currently work on Ubuntu 15.04 and the upcoming 15.10, though sadly not on older versions of Ubuntu at the moment. (The nightlies probably also work on recent Debian releases and other related distributions like Mint, let me know how you get on in the comments!)
The nightly builds are available via a dedicated nightly PPA on the MuseScore Maintainers' Launchpad page. Please report any new bugs you find via the issue tracker here on MuseScore.org. Always do a quick search to see if someone else has reported the bug first. In the report, please mention your OS, the fact that you were using a nightly build, and the revision number (given in the "About" dialog).
Why have nightly builds?
There are two main reasons:
1. USER TESTING - if you find a bug in a normal MuseScore release you can use the Nightly Build to see whether it has been fixed before you report it. You can also use it to test new features and provide feedback.
2. AUTOMATED BUILD TESTING - nightly builds are produced on virtual machines running the same operating system as the build is intended for (i.e. Ubuntu). I am alerted by email if the code fails to build. If the code worked fine one day but it fails to build the next day then I can isolate the problem almost immediately. Without the automated builds we wouldn't find out about system-specific problems until much later and it would be harder to find the cause of the problem.
WARNINGS
All the usual advice applies (no warranty, make regular backups, be careful, etc.) and, since nightlies are based on code in active development, a few extra warnings also apply:
- INCOMPATIBLE SCORES - do not expect scores created with a nightly build to work with past or future releases of MuseScore, or even with the next nightly build!
- UNTESTED CODE - all nightly builds undergo various automatic checks, but they have not been checked by a human. Expect to find bugs!
- MISSING FEATURES - features present in a nightly build might not make it into the final MuseScore release.
For these reasons, please do not use a nightly build as you regular score editor. Keep a normal copy of MuseScore installed for regular use. The nightlies have been specifically designed to run alongside a normal copy of MuseScore without conflicts (but again, no guarantees!).
Installing the Nightly Build
1. Add the PPA
sudo add-apt-repository ppa:mscore-ubuntu/mscore-nightly
2. Install the nightly build
sudo apt-get update sudo apt-get install musescore-nightly
Using the Nightly Build
1. From the command line
You can use either of these commands:
mscore-nightly musescore-nightly
2. From the Unity Laucher (or Applications menu or similar in Gnome, KDE or XFCE)
Simply click on the nightly launcher icon - it should be near the normal MuseScore icon.
(Note: MuseScore has used the white icon since v2.0.2 so the two icons might be the same on your system. Trust the text under the logo, not the logo itself!)
Updating the Nightly Build
A new nightly build is made available every day MuseScore's code changes on Github. You system should perform the update automatically, but you can force an update to happen immediately using:
sudo apt-get update sudo apt-get upgrade
Of course, nothing will change if no updates are available.
Restoring factory default settings
If the nightly build breaks after an update try restoring factory default settings:
mscore-nightly -F
Only report a bug if the problem persists after a Factory Reset.
Removing the Nightly Build
1. Uninstalling
sudo apt-get remove --purge musescore-nightly
The nightly build should be gone now and it won't update or reinstall again unless you tell it to.
2. Removing the PPA
You don't have to remove the PPA, all removing it does is save you a few milliseconds whenever you update your package lists. However, if you do remove it you can add it again easily enough. To remove:
sudo add-apt-repository --remove ppa:mscore-ubuntu/mscore-nightly
Thanks to...
bodhi.zazen for his help getting me started with packaging for Debian & Ubuntu.
Toby Smithe for helping get the nightlies on the MuseScore Maintainers' Launchpad page.
robert leleu, pako, underquark and tiagovaz for providing early feedback on the nightlies.
lasconic for his support with making the necessary changes to the code to enable nightlies.
Comments
nightly installs just fine for me on a Lubuntu 15.04 x86-64 machine. Thanks!
In reply to nightly installs just fine by ericfontainejazz
Great! Thanks for letting me know.
In reply to Great! Thanks for letting me by shoogle
@Shoogle if you have more good feedback, you can update the download page for nightlies https://musescore.org/en/download#Nightly-versions. We can also change the nightly page. Is there any value for Robert Leleu to keep doing his builds?
In reply to @Shoogle if you have more by [DELETED] 5
@lasconic Thanks very much, I'll send you a PM to confirm one or two details I'm not sure about. In my opinion Robert's builds are probably not necessary any more. I believe he was compiling them on his own PC at home, so he might welcome the reduction in his energy bills ;)
In reply to @Shoogle if you have more by [DELETED] 5
Leleu's nightlies are useful for linux users on non-ubuntu distros. I used to use them a lot when testing 2.0 on my arch linux machine.
UPADTE: I just tried download the .deb from https://launchpad.net/~mscore-ubuntu/+archive/ubuntu/mscore-nightly/+pa… on my arch linux machine and I am able to open the .deb in archive manager and navigate to /./usr/bin/ in the archieve and then manually extract mscore-nightly executable and it runs fine. So I suppose that is a workable workaround for arch linux users.
It would also suppress some headaches when upgrading the system....
Out of curiosity. What would be required to make the PPA work for 14.10 and 14.04 ? Knowing that MuseScore 2.0.0 is available for these versions https://launchpad.net/~mscore-ubuntu/+archive/ubuntu/mscore-stable
In reply to Out of curiosity. What would by [DELETED] 5
The dependencies (possibly only Qt?) are not satisfied in pre-15.04 versions of Ubuntu. Looking at Toby's packages it seems he had to package Qt himself to get it to work on 14.04 and 14.10. It's possible that I can borrow his Qt packages and it will work, at least for the time being until the dependencies change. That shouldn't be too hard so I will look into it now.
Long term I would like to support all versions of Ubuntu that are supported by Canonical, but this would mean maintaining my own packages of any unmet dependencies which is not something I have time for right now. But there may be another way...
As you know, there is a workaround for getting 2.0.2 on Ubuntu 15.04 if you manually add the 15.10 repository. Similarly, 14.10 and 14.04 users could manually download and extract the DEB files from my 15.XX nightlies and they *may* work if a recent Qt is also manually installed somewhere in $PATH. I'm not totally sure about this though.
UPDATE: Nightly Builds now available for Ubuntu 14.04 and 14.10!
Ubuntus older than 15.04 don't include the necessary Qt packages to build or run MuseScore, but on Ubuntu 14.04 and 14.10 you can borrow the Qt packages from Toby Smithe's existing MuseScore 2.0.0 packages. To do this, simply make sure you have the stable PPA installed as well as the nightly PPA:
Of course, if you have MuseScore 2.0.0 then you probably already have the stable PPA installed!
Please note: this not a permanent solution. At some point the dependencies will change and new Qt packages will have to be built, as is the case for every Linux distribution.
(Launchpad has reported the 14.04 build to be successful, but I don't have a copy of 14.04 to test it. It would be helpful if someone who does could verify that the new packages actually work. Thanks!)
In reply to UPDATE: Nightly Builds now by shoogle
I just installed the 14.04 nightly on my computer running Linux Mint 17.1 Rebecca without any problems. It seems to work! Awesome! Thanks a lot for making this possible, shoogle!
Mint 17.1 is using the same package base as Ubuntu 14.04 so it will probably work in Ubuntu as well.
In reply to I just installed the 14.04 by p.daniel
Great! Thanks very much.
In reply to Great! Thanks very much. by shoogle
Awesome! Now, what would be great is to have the stable PPA updated to MuseScore 2.0.2.
In reply to Awesome! Now, what would be by [DELETED] 5
Well it looks like Christmas arrived a bit earlier this year...
Here is a build of MuseScore 2.0.2 I've made from the Wily (Ubuntu 15.10) package that should work with Ubuntu 14.04. It's in my personal PPA for test packages. If a few people could give it a try I would be very grateful. If it works then I will update the stable PPA.
https://launchpad.net/~shoogle/+archive/ubuntu/test-ppa
(instructions on that page. Obviously you must replace "<package>" with "musescore".)
Notes:
mscore -F
before reporting it broken.In reply to Well it looks like Christmas by shoogle
I cannot install this on my Mint machine. The musescore package depends on "qml-module-qtquick-layouts" but there is no installation candidate for this package.
In reply to I cannot install this on my by p.daniel
Did you try "sudo apt-get upgrade"? Can you try "sudo apt-get install musescore" instead, even if you already have musescore installed. The dependencies have changed so an upgrade might not do it.
In reply to Did you try "sudo apt-get by shoogle
I gave it another try. Uninstalling the old musescore 2.0.0 package, and after that I did:
glacier ~ # apt-get install musescore
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
musescore : Depends: qml-module-qtquick-controls but it is not installable
Depends: qml-module-qtquick-layouts but it is not installable
E: Unable to correct problems, you have held broken packages.
Actually it seems that two packages are missing.
In reply to I gave it another try. by p.daniel
I've built packages for the two missing Qt components. If you could try again that would be great.
Note: When building these I accidentally packaged Qt 5.4 instead of Qt 5.3. I deleted the 5.4 package but apt-get might think it is still there.
Thanks for your help with this BTW! At some point I will have to make some LiveUSBs of older distros so that I can test these myself.
EDIT: That long "install" command should all be on one line.
In reply to I've built packages for the by shoogle
It worked!
Thanks for making the 14.04 packages!
In reply to It worked! Thanks for making by p.daniel
Thanks for the feedback. MuseScore 2.0.2 is now available from the Launchpad PPA. See: https://musescore.org/en/node/75936
Please remove my Test PPA from your system if you haven't already.