On 06/26/2018 03:03 PM, Ulrich Wilkens wrote:
On 06/13/18 07:22, Ulrich Wilkens wrote:
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.
I have now finished the test of the patch. It runs fine on all platforms.
Unfortunately site.def and sun.cf have changed in the meantime.
So I'm afraid it won't apply anymore.
@Matthew: Can you recreate the patch?
Thanks a lot for doing this. The site.def is probably just the locale
changes I did for linux.
The link imports/x11/include/Xm can be removed. It's not needed anymore.
But the link imports/x11/include/X11 is still needed by BSDs and Suns.
Its removal might be something for later.
I have removed these links for both X11 and Motif on BSD (>= 6.x only)
and FreeBSD (>= 11.x only) and they build fine without them...
I would think this should work on the older BSD's as well, though
obviously I have not tested them since I don't have them - hence the
strict checks for fbsd >= 11.x and obsd >= 6.x.
Did you change these OS version checks to see if they would work
properly on older versions as well?
And sorry for the long delay of the test. I had big trouble with my VMs.
They crashed and froze randomly. But it's now solved.
No problem. :) Thanks for checking them. Also, you had mentioned in an
earlier post that my changes regarding warnings on the BSD's might break
things... I am guessing they didn't?
Anyway, thanks!
-jon
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
--
Jon Trulson
"Fire all weapons and open a hailing frequency for my victory yodle."
- Zapp Brannigan
------------------------------------------------------------------------------
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