pkgsrc-Users archive

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

pkgsrc on Mac OS X now supports X11_TYPE=modular, please test it



Hi!

As subject says, you can now let pkgsrc manage your X11 installation on
Darwin. This includes support for building X11.app, the window manager
integration and OpenGL.

Why should you use this instead of X11_TYPE=native?
Possible reasons include:

- want newer X11 than MacOSForge provides
- don't want to manually install third party binaries
- want to target 64-bit ABI only
- want to apply local patches/bugfixes/security fixes

How to use:

1. Make sure 3rd party X11 is not installed
   (it should be safe to keep around but could cause conflicts)
2. Bootstrap new pkgsrc installation
3. set X11_TYPE=modular in mk.conf

4. Install these packages:

  meta-pkgs/modular-xorg-fonts
  x11/modular-xorg-xquartz

5. Manually install X11.app:

$ sudo mv /Applications/Utilities/X11.app \
   /Applications/Utilities/X11.app.bak
$ sudo ln -s /usr/pkg/Applications/Utilities/X11.app \
   /Applications/Utilities
$ echo "/usr/pkg/bin/xterm &" > ~/.xinitrc
$ echo /usr/pkg/bin/quartz-wm >> ~/.xinitrc

6. Verify that X11 is working:

$ /usr/pkg/bin/startx -- /usr/pkg/bin/Xquartz

(or just launch X11.app from finder)

The X11.app stuff, xinit defaults and modular-xorg meta packages could
be further improved but I'll leave that for someone who is more familiar
with the platform to fix.

Cheers,
-Tobias


Home | Main Index | Thread Index | Old Index