On 06/13/18 01:12, Jon Trulson wrote:
I think I want a signoff from Ulrich on this - I have no way to test.
-jon


Well I can test the patch. But again it will need some time, because it
has to be done on all platforms.
And I'm afraid that these are some critical changes.


On 06/11/2018 10:49 PM, Matthew R. Trower wrote:
Jon Trulson <j...@radscan.com> writes:

On 06/08/2018 07:16 PM, Matthew R. Trower wrote:
As for the changes - if a locally compiled motif is required, and it's
customary to install that in /opt, then that's what the changes should
be in sun.cf.

BTW, do you distinguish in sun.cf between various
opensolaris/illuminos versions?
Nope; Sun is Sun.  We could start distinguishing, but I don't think we
need to, at least at this time.  A toggle for local Motif should be fine
--- maybe an option in host.def or site.def as that seems to be the
standard configuration method for such details.  Doing so would allow
Tribblix and SmartOS to use their modern system Motif, and OI Hipster to
potentially join the party at some later date, while providing support
for these older systems that require a local Motif.


Yeah, that's what I was getting at.  As automatic as possible is nice,
if you can manage it with the information available.

It should definitely be documented on the wiki for those that need to
make manual adjustments in order to build.

Alright, here's what I've got.

It flips the build over to UseInstalledMotif, retaining the necessary
stuff in imports/motif.  Then it gives linking priority to
MotifProjectRoot so that an legacy system Motif won't override it.

As far as use, an OpenSolaris/OpenIndiana user should be able to just
install their built Motif into /usr/X11 and be done (as that's the
default MotifProjectRoot on Sun systems).  You don't even need to
symlink imports/x11/include/Xm anymore.

If a user want to install Motif somewhere else (say /opt/motif), they
can just define MotifProjectRoot in host.def, and build as normal.  I
don't think installing Motif to /usr/X11 will cause conflict, but it's a
safer bet (and arguably more civilized) to use /opt or the like.  It's
really up to the system administrator...

Wiki should be updated to remove creation of that symlink and mention
MotifProjectRoot.


Lastly, this should all be platform-agnostic.  The only further work
required for other platforms to take advatage of it should be updating
TopMotifInclude (and possibly LdPreLib) in various .cf files; this
should probably be done, but I didn't want to disrupt defaults on other
systems that I can't currently test.


-- Matthew R. Trower



------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot



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




--
Ulrich Wilkens
Email: m...@uwilkens.de


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
cdesktopenv-devel mailing list
cdesktopenv-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel

Reply via email to