pkgsrc-Users archive

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

netbsd-5 switched to modular xorg



NetBSD 5 systems will now get modular xorg by default.

On all systems other than netbsd-5, there is no change.

If you are building from source, and you set X11_TYPE=modular so things
would build, you don't need to do anything, and you can remove that
setting.

If you are building from source and are using native X (no setting, or
=native), you can either set X11_TYPE=native to stay that way, or
rebuild everything that depends on X11.

If you are using binary packages, then the upcoming 2014Q3 binaries for
netbsd-5 will be built against modular xorg.  This may require a bit
more of a binary update with pkgin/nih than is typical.  On the plus
side, there should be about 1500 more packages available than in Q2.

X servers running from /usr/X11R7 will be unaffected by this.  The base
system xterm and so on will also work fine, using the base libs.  I've
been running a system this way for over a year, with no issues traceable
to X11_TYPE=modular.

--- Begin Message ---
Module Name:    pkgsrc
Committed By:   gdt
Date:           Tue Sep  2 16:13:27 UTC 2014

Modified Files:
        pkgsrc/mk/platform: NetBSD.mk

Log Message:
Default to X11_TYPE=modular on netbsd-5.

Base xsrc on netbsd-5 has not really worked with pkgsrc for a while,
because various programs need newer versions of various X pieces.  The
2014Q2 official bulk builds are missing about 1500 packages as a
result of this.  Therefore, switch to modular on netbsd-5 (as netbsd-4
has been for a very long time), which should result in more useful
binary packages for netbsd-5 for 2014Q3.

(There is a notion of updating netbsd-5 base xsrc to more modern xorg.
If that happens, and there's a 5.x formal release, and builds show
that pkgsrc with native succeeds on it, this can perhaps be flipped
back.  Odds are that's not going to happen, and it's overwhelmingly
unlikely to happen soon.)

Anyone who prefers to stay with native can set X11_TYPE=native in
mk.conf.

Note that this is about pkgsrc and specifically the default
dependencies for pkgsrc programs that use X11, so the native servers
are unaffected and can be run from /usr/X11R7, the same as they are
now, without any changes being necessary.  (This message is in fact
being typed on a system with a native server, native xterm and modular
libs for pkgsrc.)

Discussed on tech-pkg, tech-x11 multiple times over the last 6 months
or so, and specifically encouraged by wiz@.


To generate a diff of this commit:
cvs rdiff -u -r1.39 -r1.40 pkgsrc/mk/platform/NetBSD.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.


--- End Message ---

Attachment: pgpuhN7Jv4zMy.pgp
Description: PGP signature



Home | Main Index | Thread Index | Old Index