Hi,
Patrick Cardona wrote:
Sorry for the very newbie question, but I could not find the way to do
it in all the documentation I could read.
If someone would to organize the Local 'Applications' Folder with
categorized subfolders like: 'Utilities', 'Games', 'DevTools', and so on:
1) Is there any existing hierarchy or naming convention already
documented? I know it exists on MacOS. What is within GNUstep
Filesystem? In that case, could some subfolders be themed with a
specific icon?
Actually, I am not aware of Application subfolders. On Apple I just see
Utilities usually and it appears as a standard folder.
Developer stuff is moved by Apple from release to release.
They need to be supported by NSSearchPathDirectory.
As of current Apple doc, I see these relevant:
NSDemoApplicationDirectory
NSAdminApplicationDirectory
NSDeveloperApplicationDirectory
I don't think GS supports them in install and will just use the System
vs Local domain distinguishing "system/official" stuff from Demo/tools/etc
I see nothing akin of Games or similar.
In case there would, GWorkspace and Themes could be extended to support
them.
As of know, only the Application folder itself is themable and the
System containing it, compared to Local, which is just plain.
Or maybe everything is there, I am outdated and Thematic & GWorkspace
needs an update?
2) What would be the correct way to apply such a sub-hierarchy?
- If we use a command 'mv --recursive' with an '.app' folder, and then
run 'make_services', is it enough?
- Or should it be a --prefix or a kind of install target arg to add
when we do 'sudo -E make install'?
In theory an Application can be just drag-and dropped from a folder to
another (just "mv" the directory. mv is always recursive if it handles a
directory).
Then if it is complex and contains linked stuff, I don't know. I suppose
it depends from the local set up at the end and if there are linker
difficulties, since GNUstep "fakes" Bundles
Riccardo