On Monday, May 07, 2012, Andy wrote: > Hi, I'm in the process of packaging rosegarden 11.11.42 for Redhat EL6 and > clones (Centos 6, Scientific Linux 6) but whilst doing so I have been > looking at how other distros did it and found a major discrepancy among > them.
I'm in the middle of putting the 12.04 release out the door, so you might want to wait just a little bit. It should be out within a few hours. > I found that OpenSuse, Mandriva, Mageia include those sub-dirs, while > Debian, Ubuntu and Fedora don't include them. This is pretty much between you and your packaging gods. The way Rosegarden is designed, if you compile a stock tarball, all the data files (translations, example files, icons, etc.) are bundled into the rosegarden binary, and those of them that need to be on a disk somewhere (eg. example files) are unpacked to the user's home directory at runtime. The only icons we install to $PREFIX are those needed for MIME types, so Rosegarden files appear with the correct icons in graphical file browsers. Once a user has installed one version somewhere to get those icons available to the system, they can build and run any number of different versions right there in the directory where they compiled them, with no need to install anything again. This allows users to experiment with newer versions or Subverion builds while their installed Rosegarden is tucked safely out of harm's way, and it eliminates all the old problems with conflicting data files and other mayhem that used to discourage such experimentation. We really like this new bundling scheme, but some distros find this practice is simply against their religion. Several distros patch Rosegarden to eliminate the bundling, and they install all the data files to system locations. That's why you see some distros that install all those files, and some that don't. What you do just depends on what rules your distro has. If it's one of the pedantic ones that insists on destroying the resource bundle, then you'll have to do whatever they want. If they don't force you to do this, then your job is very easy. There isn't much to package with Rosegarden these days. Good luck in either case! -- D. Michael McIntyre ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Rosegarden-devel mailing list [email protected] - use the link below to unsubscribe https://lists.sourceforge.net/lists/listinfo/rosegarden-devel
