Subject: pkg/19433: Enable Xft2 support in Mozilla and Phoenix (optionally)
To: None <gnats-bugs@gnats.netbsd.org>
From: Eric Gillespie <epg@pretzelnet.org>
List: netbsd-bugs
Date: 12/17/2002 20:40:49
>Number: 19433
>Category: pkg
>Synopsis: Enable Xft2 support in Mozilla and Phoenix (optionally)
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Tue Dec 17 17:41:02 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:
>Release: NetBSD 1.6
>Organization:
>Environment:
System: NetBSD wundagore.pretzelnet.org 1.6 NetBSD 1.6 ($Id: WUNDAGORE 435 2002-10-02 02:08:24Z epg $) #4: Sun Nov 24 15:22:10 EST 2002 epg@wundagore.pretzelnet.org:/usr/src/sys/arch/i386/compile/WUNDAGORE i386
Architecture: i386
Machine: i386
>Description:
Now that we have Xft2 in pkgsrc, it is possible to build Mozilla and
Phoenix with Xft support. I tested this with both browsers, and it
works great.
Index: mk/bsd.pkg.defaults.mk
===================================================================
RCS file: /cvsroot/pkgsrc/mk/bsd.pkg.defaults.mk,v
retrieving revision 1.112
diff -a -u -r1.112 bsd.pkg.defaults.mk
--- mk/bsd.pkg.defaults.mk 2002/12/07 21:23:25 1.112
+++ mk/bsd.pkg.defaults.mk 2002/12/18 01:36:45
@@ -985,6 +985,11 @@
# Possible: any
# Default: majordom
+MOZILLA_USE_XFT?= NO
+# Used by mozilla packages to enable Xft support where available.
+# Possible: YES, NO
+# Default: NO
+
MPLAYER_USE_REALMEDIA?= NO
# Used by mplayer to enable realmedia support by using the realplayer
# libraries. Note that this only works on i386 and also adds a
Index: www/mozilla/Makefile.common
===================================================================
RCS file: /cvsroot/pkgsrc/www/mozilla/Makefile.common,v
retrieving revision 1.6
diff -a -u -r1.6 Makefile.common
--- www/mozilla/Makefile.common 2002/12/04 15:20:27 1.6
+++ www/mozilla/Makefile.common 2002/12/18 01:36:45
@@ -114,5 +114,10 @@
CONFIGURE_ARGS+= --with-pthreads
.endif
+.if ${MOZILLA_USE_XFT} == "YES"
+CONFIGURE_ARGS+= --enable-xft
+.include "../../fonts/Xft2/buildlink2.mk"
+.endif
+
.include "../../mk/autoconf.mk"
.include "../../mk/bsd.pkg.mk"
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: