On 06/27/18 00:29, Jon Trulson wrote:
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...
Well, I've just tested it again.
You are right that OpenBSD 6 and FreeBSD 11 don't need it. But the older
definitely need it. And NetBSD also needs it independent from the version.
I think the better way is to get rid of makedepend. Then we can also remove
the X11 link.
And by the way, this removal isn't a code change. It's just a description
in the wiki.
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?
Of course they do. GCC support is broken at the moment for FreeBSD and
OpenBSD.
But I have a patch in preparation. I was just running out of time due to
my VM problems.
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
--
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