Discussion:
Move Beyond TWM project proposal
321eniluap
2014-06-19 11:41:19 UTC
Permalink
Hi,

I have been struggling with an attempt at changing the default Window
Manager in the cross-build setup. The Window Manager I am trying to add
both have configure scripts, which seem to be the problem, but I could be
wrong. I have also tried pre-running the configure script to no avail. I
have tried both Golem and Fluxbox. In would prefer to work with Golem, as
I think it is a better fit than some others I have looked at. Progress so
far: I have it integrated into my source tree well enough that it looks
for files that should be built by the Window Manager but it does not find
them.
Greg Troxel
2014-06-19 12:22:56 UTC
Permalink
Post by 321eniluap
I have been struggling with an attempt at changing the default Window
Manager in the cross-build setup. The Window Manager I am trying to add
both have configure scripts, which seem to be the problem, but I could be
wrong. I have also tried pre-running the configure script to no avail. I
have tried both Golem and Fluxbox.
Presumably your goal really is to integrate this into the base system
rather than using pkgsrc. It is definitely harder.

You will have to make sure that the new code depends only on things in
the base system.

The NetBSD cross system really doesn't use configure. Instead, there's
a BSD-style makefile to build the code from the sources. There are
lots of examples, including of course twm.

I'm not sure what you're asking, or if you're just giving a progress
report. Without publishing the code, it's hard for anyone to offer
suggestions.
a
matthew green
2014-06-24 07:59:05 UTC
Permalink
Post by 321eniluap
I have been struggling with an attempt at changing the default Window
Manager in the cross-build setup. The Window Manager I am trying to add
both have configure scripts, which seem to be the problem, but I could be
wrong. I have also tried pre-running the configure script to no avail. I
have tried both Golem and Fluxbox. In would prefer to work with Golem, as
I think it is a better fit than some others I have looked at. Progress so
far: I have it integrated into my source tree well enough that it looks
for files that should be built by the Window Manager but it does not find
them.
thanks for looking into this!

when we integrate a 3rd party package into the tree we typically
create reach-over makefiles that mirror what the packages' own
Makefile etc does. for many packages, configure does not actually
need to be run -- no config.h or other files are created. but often
they are needed, and in that case we typically commit the generated
files to the repository.

if you look at say, xsrc/external/mit/xman/... you'll find a package
that needs configure run for config.h. you'll notice the original
sources in the "dist" subdirectory. the Makefiles to actually build
are in the main "src" module, as src/external/mit/xorg/bin/xman/.
they find the sources in xsrc via the X11SRCDIR.xman variable as set
in src/share/mk/bsd.own.mk directory (look for just "xman".)

let mw know if you need more info.


.mrg.
321eniluap
2014-06-27 15:53:48 UTC
Permalink
Thank you for the responses. I will let you know if I make it far enough
to be of use to the community.
Post by matthew green
Post by 321eniluap
I have been struggling with an attempt at changing the default Window
Manager in the cross-build setup. The Window Manager I am trying to add
both have configure scripts, which seem to be the problem, but I could be
wrong. I have also tried pre-running the configure script to no avail.
I
Post by 321eniluap
have tried both Golem and Fluxbox. In would prefer to work with Golem,
as
Post by 321eniluap
I think it is a better fit than some others I have looked at. Progress
so
Post by 321eniluap
far: I have it integrated into my source tree well enough that it looks
for files that should be built by the Window Manager but it does not find
them.
thanks for looking into this!
when we integrate a 3rd party package into the tree we typically
create reach-over makefiles that mirror what the packages' own
Makefile etc does. for many packages, configure does not actually
need to be run -- no config.h or other files are created. but often
they are needed, and in that case we typically commit the generated
files to the repository.
if you look at say, xsrc/external/mit/xman/... you'll find a package
that needs configure run for config.h. you'll notice the original
sources in the "dist" subdirectory. the Makefiles to actually build
are in the main "src" module, as src/external/mit/xorg/bin/xman/.
they find the sources in xsrc via the X11SRCDIR.xman variable as set
in src/share/mk/bsd.own.mk directory (look for just "xman".)
let mw know if you need more info.
.mrg.
Loading...