pkgsrc-Users archive

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

please test libX* xlibs replacements



Please test the Xrender, Xrandr, Xfixes, Xft2 and Xfixes (and maybe 
Xcomposite) replacements found in pkgsrc-wip.

To test, you may have to change includes or dependencies to use the new 
"libX*" version in wip/libX*. It depends on what you want to test; here is 
an example:

-.include "../../fonts/Xft2/buildlink3.mk"
-.include "../../x11/Xrender/buildlink3.mk"
+.include "../../wip/libXft/buildlink3.mk"
+.include "../../wip/libXrender/buildlink3.mk"

(If you ever get an error about Xft2 with the "2" and without the "lib" or 
other error about above old packages without the "lib", you may need to 
fix the dependencies and make clean and make again.)

I have used these for a long time. But now I tested on NetBSD/i386 3.0.1 
with native XFree86 (for gtk2, icewm and more).

Note that I didn't setup the builtin.mk or buildlink3.mk same as existing 
so may have problems.

Also I have one patch below at end of this email that may be needed for 
libXfixes on native but need to test some more.

Thanks,

Jeremy C. Reed

p.s. Thank you allbsd.org for providing a build system for testing for me.

p.p.s. If you want to test the modular xorg, that would be great too. Note 
that I haven't imported any servers yet, so would be libraries and clients 
only for now.

Index: x11/fixesproto/buildlink3.mk
===================================================================
RCS file: /a/cvsroot/pkgsrc/x11/fixesproto/buildlink3.mk,v
retrieving revision 1.4
diff -u -r1.4 buildlink3.mk
--- x11/fixesproto/buildlink3.mk        11 Jul 2006 14:42:04 -0000      1.4
+++ x11/fixesproto/buildlink3.mk        13 Oct 2006 15:15:52 -0000
@@ -27,6 +27,12 @@
 .include "../../x11/xextproto/buildlink3.mk"
 .include "../../x11/xproto/buildlink3.mk"
 
+.include "../../mk/bsd.prefs.mk"
+# Set these to bypass pkg-config check
+.if defined(X11_TYPE) && ${X11_TYPE} == "native"
+CONFIGURE_ENV+=        FIXESEXT_CFLAGS=-I${PREFIX}/include
+CONFIGURE_ENV+=        FIXESEXT_LIBS="-L${PREFIX}/lib"
+.endif
 
 BUILDLINK_DEPTH:=     ${BUILDLINK_DEPTH:S/+$//}
 



Home | Main Index | Thread Index | Old Index