> NSLog(@"duplicate app (%@) at '%@' and '%@'",
>    name, oldPath, newPath);
> continue;

oldPath is the existing entry, newPath is the just-found entry. Hence,
based on your output, the application in the local domain will be used for
purposes of make_services.

The order depends on what the following function will return:

>  enumerator = [NSSearchPathForDirectoriesInDomains(
>    NSAllApplicationsDirectory, NSAllDomainsMask, YES) objectEnumerator];

As I don't have code checked out under the current OS, I resorted to a
web-based code search service to try to find the function implementation,
but my search-fu is currently betraying me ;-)

On Sun, Apr 19, 2015 at 12:21 AM, Lars Sonchocky-Helldorf <
[email protected]> wrote:

> 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?
>
>
> regards,
>
>         Lars
> _______________________________________________
> Discuss-gnustep mailing list
> [email protected]
> https://lists.gnu.org/mailman/listinfo/discuss-gnustep
>
_______________________________________________
Discuss-gnustep mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnustep

Reply via email to