> Question ad Apple/Mac (Darwin)
> 
> CMakeLists.txt overrules the CMake default and explicitly installs to "set 
> (CMAKE_INSTALL_PREFIX $ENV{HOME}/Applications/ooRexx${ORX_MAJOR}" (cf. 
> CMakeLists.txt, line # 247. This means that no system wide installation of 
> ooRexx is done.
> 
> Question 2 (Apple question): should the default installation be to 
> /usr/local, such that by default a system wide installation takes place like 
> on Linux?
> 
Dear Rony,

Personally I think /usr/local would be illogical for macOS (DARWIN). On macOS 
there is no need to „install“ ooRexx 5. Thanks to Enrico it can run from 
anywhere without any installation step. For this reason I think it would make 
sense to treat it as any other „App“ on macOS.

The current agreement is to put the ooRexx 5 package in the users Applications 
directory ~/Applications (in my case in /Users/po/Applications), this comes 
with some disadvantages:
(i) the user may need to create ~/Applications (it is not there on a pristine 
system)
(ii) the user need to amend the path
(iii) the installation is for that one user only.
(iv) to uninstall ooRexx the path needs to be restored again

My proposal would be to put the installation in /Applications, where virtually 
all applications reside that are installed by the user. This would mean that 
all disadvantages (i)-(iv) would go away automatically.

It would further provide a well recognized method of installing/uninstalling, a 
simple drag&drop to the garbage bin would be sufficient to remove every trace 
of ooRexx. Since /Applications is already in the path also the man pages work 
as expected.

I have already made a post-build script (driven by Cmake) that produces a dmg 
installer that looks exactly like the installers provided by any regular „app“, 
with the familiar drag&drop functionality, also including the documentation, 
license etc. If there is an interest I can show a mockup (I do not have access 
to the real thing from where I am now). 

> Oorexx-devel mailing list
> 
> Oorexx-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/oorexx-devel

_______________________________________________
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel

Reply via email to