tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

"Native" X on Mac OS X



Hello,

   I gave <subj> a quick shot (by installing XQuartz as recommended by
Apple), and encountered two issues.

   pkgtools/x11-links tries to probe Xquartz by calling "Xquartz
-version". However, that option does not generate any output in the
version I use (XQuartz 2.7.4), so xorg-version.mk outputs a warning, and
the version is never set.

   Next to the Xquartz binary is Xorg, which can be called with
-version, and which then outputs:

-----------------------------
X.Org X Server 1.13.0
Release Date: 2012-09-05
X Protocol Version 11, Revision 0
Build Operating System: Darwin 12.0 x86_64
Current Operating System: Darwin farrah 12.2.1 Darwin Kernel Version
12.2.1: Thu Oct 18 16:32:48 PDT 2012;
root:xnu-2050.20.9~2/RELEASE_X86_64 x86_64
Build Date: 27 September 2012  03:02:53PM

Current version of pixman: 0.26.2
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
-----------------------------

   I'm not sure if "X.org Release" version (as awked in x11-version.mk)
is the same thing as "X.Org X Server" version.


   Next I tried building a few X applications despite the warnings, and
one big stumbling block is that cairo fails (though this is unrelated to
the version issue):

-----------------------------
[---]
checking X11/extensions/Xrender.h presence... no
checking for X11/extensions/Xrender.h... no
checking for XRenderCreateLinearGradient... no
checking for XRenderCreateRadialGradient... no
checking for XRenderCreateConicalGradient... no
checking whether cairo's Xlib Xrender surface backend feature could be
enabled... no (requires  http://freedesktop.org/Software/xlibs)
configure: error:  Xlib Xrender surface backend feature could not be enabled
*** Error code 1

Stop.
bmake: stopped in /Users/jan/pkgsrc/graphics/cairo
WARNING: *** Please consider adding c++ to USE_LANGUAGES in the package
Makefile.
*** Error code 1

Stop.
-----------------------------

   To those with some X/cairo-Fu: How complicated does this look to fix?
Is there any point in trying to get this to work?


$ uname -a
Darwin farrah 12.2.1 Darwin Kernel Version 12.2.1: Thu Oct 18 16:32:48
PDT 2012; root:xnu-2050.20.9~2/RELEASE_X86_64 x86_64
farrah:cairo jan$


-- 
Kind regards,
Jan Danielsson



Home | Main Index | Thread Index | Old Index