[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: AC_PATH_XTRA vs modular xorg

Toshio Kuratomi wrote:
Does AC_PATH_XTRA (an autoconf macro used in configure.ac to figure out
X library and include paths) cause problems with modular xorg?  From the
autoconf info page it looks like it uses xmkmf to work its magic.  Is
this information current?  If so, this would leave me with several

1) BuildRequire: imake  This will bring in xmkmf so that AC_PATH_XTRA
will work.  Since xmkmf and imake are on the way out and pkgconfig is on
the way in, this doesn't seem like the right thing to do.

2) In the package's spec, use:
   %configure --x-includes/x-libraries=<pkg-config output>
This seems to be driving in the right direction but isn't suitable for
sending upstream.

3) Modify the configure.ac to use pkg-config.  In order to go upstream,
this would need some sort of conditional in order to do a traditional
AC_PATH_X type check in case of older X releases.

Have other people run into this type of problem in their packages yet?
Any pointers to a better way of handling it?

Modular Xorg does not use imake or xmkmf for any part of its development
or build process.

imake/xmkmf and related utilities and config files are provided in X11R7
solely for the use of 3rd party legacy software which hasn't yet
transitioned to the world of GNU autotools.  Keep in mind though, that
the focus is on autotools in the X.Org community nowadays, and the imake
config files supplied in X11R7 are not very useable without a lot of
distribution level customization and tweaking.  Also, imake is
considered to be deprecated nowadays by X.Org, so it is very highly
likely to bitrot very very quickly over the next year or so.

As such, all developers out there are encouraged to transition any
software projects from the imake system, to GNU autotools, or some other
alternative buildsystem, as imake is officially an "unmaintained"
quantity now.

Within a year or two, it won't be surprising to see imake becoming
completely non-functional, however that's just my own personal opinion.
I could be completely wrong, and maybe we'll see a hoard of feverish
Motif developers come out of the woodwork and take over the imake
system or something.  ;o)

Anyhow, I just thought I'd share that, and jump on the opportunity
to both inform developers of the bleak future of imake, and to
encourage early transition to alternatives while the time is ripe.

Hope this is useful...

Mike A. Harris  *  Open Source Advocate  *  http://mharris.ca
                      Proud Canadian.

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]