discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Changes I've been thinking of...


From: David Chisnall
Subject: Re: Changes I've been thinking of...
Date: Thu, 8 Oct 2009 12:00:34 +0100


On 8 Oct 2009, at 11:50, Richard Frith-Macdonald wrote:

- How does this allow a packager to install and remove defaults as part of package installation / uninstallation? Presumably you can use plmerge to install them (again, is this documented anywhere?), but how do you uninstall them?

This is a text property list ... a packager would manage it in exactly the same way as any other text file they install/uninstall with their packaging system. Probably something as simple as 'rm -rf /etc/GNUstep' when you are removing GNUstep from your system.

You misunderstand the question.  Here's a concrete example:

Camaelon, EtoileBehavior and EtoileMenu all provide appkit user bundles. They are each installed as separate packages. A person creating a package for them wants to make them default for every user. This requires:

1) When the package is installed, each needs to be added to the NSGlobalDomain GSUserAppKitBundles array.

2) When the package is uninstalled, each needs to be removed from the array.

Step 1 can, I believe, be accomplished with plmerge. How would you go about doing step 2?

David




reply via email to

[Prev in Thread] Current Thread [Next in Thread]