discuss-gnustep
[Top][All Lists]
Advanced

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

Re: duplicate apps (SYSTEM vs. LOCAL)


From: Lars Sonchocky-Helldorf
Subject: Re: duplicate apps (SYSTEM vs. LOCAL)
Date: Sun, 19 Apr 2015 16:48:24 +0200

Am 19.04.2015 um 15:45 schrieb Dr. H. Nikolaus Schaller:

> 
> Am 19.04.2015 um 01:21 schrieb Lars Sonchocky-Helldorf 
> <lars.sonchocky-helldorf@hamburg.de>:
> 
>> Hi,
>> 
>> I'm having a GNUstep installation where I installed released versions of 
>> GNUstep's libraries/frameworks and developer apps into the System Domain 
>> using FreeBSD's port system and after this installed SVN trunk versions of 
>> libobjc2, all of core (make, base, gui, back) and some developer apps into 
>> the Local Domain. 
>> 
>> When I now log in I get complaints about duplicate apps from GNUstep:
>> 
>> 2015-04-18 21:30:49.373 make_services[859:100116] No local time zone 
>> specified.
>> 2015-04-18 21:30:49.374 make_services[859:100116] Using time zone with 
>> absolute offset 0.
>> 2015-04-18 21:30:49.368 make_services[859:100116] duplicate app 
>> (GSSpeechServer.app) at 
>> '/usr/local/GNUstep/Local/Applications/GSSpeechServer.app' and 
>> '/usr/local/GNUstep/System/Applications/GSSpeechServer.app'
>> 2015-04-18 21:30:49.392 make_services[859:100116] duplicate app 
>> (ProjectCenter.app) at 
>> '/usr/local/GNUstep/Local/Applications/ProjectCenter.app' and 
>> '/usr/local/GNUstep/System/Applications/ProjectCenter.app'
>> 2015-04-18 21:30:49.392 make_services[859:100116] duplicate app (Gorm.app) 
>> at '/usr/local/GNUstep/Local/Applications/Gorm.app' and 
>> '/usr/local/GNUstep/System/Applications/Gorm.app'
>> 2015-04-18 21:30:49.398 make_services[859:100116] Ignoring entry 4294967295 
>> in /usr/local/GNUstep/System/Library/Services/GSspell.service -
>> {NSExecutable = GSspell; NSLanguages = (AmericanEnglish); NSSpellChecker = 
>> GNU; ServicePath = 
>> "/usr/local/GNUstep/System/Library/Services/GSspell.service"; }
>> 
>> 
>> my .profile includes the following lines:
>> 
>> . /usr/local/GNUstep/System/Library/Makefiles/GNUstep.sh
>> gdnc
>> gpbs
>> make_services
>> 
>> 
>> Is this a bug or a feature and what can I do to fix this?
> 
> It is a feature. Firstly, you can have multiple copies of an app-bundle.
> 
> Secondly, since you expect a double-click on a file to open the connected 
> application, there is make_services that sets up
> a mapping database from file extensions to applications.
> 
> If the same application (as defined by the identifier in the Info.plist) is 
> found twice, you will see this warning.
> 
> There is not much you can do to avoid this duplication. Except deleting 
> duplicates…
> But if they are really identical (except for file system tree location), it 
> does not matter.

Hi Nikolaus,

I did not know what those make_services were supposed to do. Thanks for the 
clarification!

I had a look at 
http://svn.gna.org/svn/gnustep/libs/base/trunk/Source/NSPathUtilities.m where 
the relevant function is implemented (NSSearchPathForDirectoriesInDomains()) 
and it looks correct to me. It starts the right copy of the application (which 
are not 100% identical, in System I have the last release, in Local I have the 
version from SVN trunk).

> 
> BR,
> Nikolaus

regards,

        Lars


reply via email to

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