On 03/01/2010 06:48 AM, Dave Plater wrote:
> On 03/01/2010 02:36 AM, D. Michael McIntyre wrote:
>> On Sunday 28 February 2010, Dave Plater wrote:
>>> Sorry if the way I worded the message caused offense.
>> And sorry I came off grouchy this morning. I was trying not to sound grouchy,
>> but I didn't succeed.
>>> the user is presented with buttons in the file open dialog that don't point
>>> to any examples or templates.
>> What's *supposed* to happen is the first time you do something (I forget
>> exactly what, possibly just starting Rosegarden) you're supposed to get a
>> local copy at the path referred to by the buttons.
>> This *does* happen in unadulterated project source. I tested removing
>> ~/.local/share, verifying that it was gone, then running Rosegarden, and all
>> the local copies of the assorted data files came back.
>> So I guess what's happening is you've broken our resource bundling system, and
>> in the process you've broken the mechanism that was supposed to un-bundle a
>> copy of these resources to the individual user's $HOME.
>> So at a glance it looks like you can rewrite
>> ResourceFinder::unbundleResource(), or you can do something like your first
>> patch, and our OpenSUSE users (and Fedora too, it looks like) are all just
>> going to have to experience a different Rosegarden from everyone else.
>> Or maybe before it's over, all distros everywhere will force their package
>> maintainers to hack apart our source and break our bundling system.
>> I have to say this is one issue where I'm not willing to change the way the
>> official project source works, and package maintainers will just have to do
>> whatever they have to do to comply with their own requirements. I'm generally
>> very amenable to working with all of you to try to make your life easier, but
>> not this time.
> Ok now you're starting to help me fix this. I will explore
> ResourceFinder::unbundleResource() to find out where rosegarden expects
> to find these files and if they are somewhere where the rpm is capable
> of placing them, I will put them there and all will be well.
> Dave P
I've removed the patch, deleted $HOME/rosegarden and
$HOME/.local/share/rosegarden and installed rosegarden. Although the
console output indicates that rosegarden has found all the files in
/usr/share/rosegarden/examples, templates and library the file open
dialog doesn't have any examples or templates and none are copied over
to ~/.local/share/rosegarden. I'm worried because I haven't a midi
device to see if "library" is actually usable.