Subject: meta-pkgs/XFree86 changes.
To: None <tech-pkg@NetBSD.org>
From: Juan RP <juan@xtraeme.unixbsd.org>
List: tech-pkg
Date: 03/02/2004 21:06:15
--Signature=_Tue__2_Mar_2004_21_06_15_+0100_aZZ=G3_JgOn6ZQBG
Content-Type: text/plain; charset=US-ASCII
Content-Disposition: inline
Content-Transfer-Encoding: 7bit


Hi all!

There was some problems when using the XFree86 packages from
pkgsrc, because we were using x11-links and the symlinks are not
created correctly when X11BASE != /usr/X11R6. With the
upgrade to 4.4.0, we want to avoid this, and use the XFree86-libs buildlink
instead. So I've created the final patch to register the XFree86-libs
dependency on all packages that uses buildlink[23], USE_IMAKE and USE_X11
without using buildlink.

XFree86 packages will be updated soon, and the main changes for pkgsrc
are the following:

	o USE_X11BASE not used anymore.
	o x11-links dependency not needed anymore as well.
	o Now we are using all required libraries from pkgsrc, except Mesa.
	o No need to use xpkgwedge anymore, because our X11BASE is inside
	   the pkgsrc hier (${PREFIX}/X11R6).
	o Will work on FreeBSD/NetBSD/Linux (x86) at least.

For example, my xterm binary looks like this:

/usr/pkg/X11R6/bin/xterm:
         -lz.0 => /usr/lib/libz.so.0
         -lfreetype.9 => /usr/pkg/lib/libfreetype.so.9
         -lexpat.4 => /usr/pkg/lib/libexpat.so.4
         -lfontconfig.1 => /usr/pkg/lib/libfontconfig.so.1
         -lX11.6 => /usr/pkg/X11R6/lib/libX11.so.6
         -lXrender.1 => /usr/pkg/lib/libXrender.so.1
         -lXft.2 => /usr/pkg/lib/libXft.so.2
         -lICE.6 => /usr/pkg/X11R6/lib/libICE.so.6
         -lSM.6 => /usr/pkg/X11R6/lib/libSM.so.6
         -lXt.6 => /usr/pkg/X11R6/lib/libXt.so.6
         -lXext.6 => /usr/pkg/X11R6/lib/libXext.so.6
         -lXmu.6 => /usr/pkg/X11R6/lib/libXmu.so.6
         -lXpm.4 => /usr/pkg/X11R6/lib/libXpm.so.4
         -lXaw.7 => /usr/pkg/X11R6/lib/libXaw.so.7
         -ltermcap.0 => /usr/lib/libtermcap.so.0
         -lutil.7 => /usr/lib/libutil.so.7
         -lc.12 => /usr/lib/libc.so.12

And the final patch is here: 
http://xtraeme.unixbsd.org:81/patches/blnk.diff

Please anyone could review this patch? 

Thanks,

-- 
	Juan RP <juan@xtraeme.unixbsd.org>

--Signature=_Tue__2_Mar_2004_21_06_15_+0100_aZZ=G3_JgOn6ZQBG
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (NetBSD)

iD8DBQFAROk3ypkLYVDran0RAvBeAKCpJ96JvGepgurB0RrMgHSe2VeIVQCfTryK
mOM+HuW+Q3XPu1DMZjWFZVg=
=hVLk
-----END PGP SIGNATURE-----

--Signature=_Tue__2_Mar_2004_21_06_15_+0100_aZZ=G3_JgOn6ZQBG--