If we want to distribute Cabbage via Launchpad we’ll have to change all hard-coded paths inside the code. I’m talking about IntroScreen, opcodes.txt and Examples.
As a workaround I’ve managed to create a .deb using checkinstall. It doesn’t follow the traditional rules for placing files in Linux. Basically it places a Cabbage folder (equals to the CabbageBuild folder) inside /usr/local. Then it copies the .desktop files into /usr/share/applications/. I’ve checked and lilypond does something similar.
This .deb doesn’t have the Docs included because I can’t figure out what Docs/_book is.
It appears to work fine. We could refine the process and distribute these .deb packages through the Downloads page or the Forum. Of course it will be better if we could create proper .deb files in the future.
I had to put my name in the Maintainer’s field. I don’t think it’s fair because the Ubuntu Software Center displays the text as I was the creator of Cabbage. Would you like to create these .deb Rory?
The good thing is that newbies can install Cabbage using the Ubuntu software center or dpkg -i. Then you can remove with apt-get purge.
Let me know what do you think about this approach and test the .deb if you can. It’s a 64-bit installer and I used the development branch to build it. As you can’t use characters for the version’s text field I filled it with v1.0.4.