pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/47246: Enable Xft support for x11/tk
>Number: 47246
>Category: pkg
>Synopsis: Enable Xft support for x11/tk
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Mon Nov 26 01:05:00 +0000 2012
>Originator: anthony.mallet%laas.fr@localhost
>Release: NetBSD 6.99.14
>Organization:
>Environment:
System: NetBSD ficus 6.99.14 NetBSD 6.99.14 (FICUS) #4: Sat Oct 20 12:05:29
CEST 2012 troot@ficus:/usr/obj/sys/arch/i386/compile/FICUS i386
Architecture: i386
Machine: i386
>Description:
tk>=8.5 has optional support for Xft. It can be activated just by adding the
libXft dependency in the package. (tk configure script does the rest).
See the attached path.
This results in much better looking interfaces :)
>How-To-Repeat:
>Fix:
Index: options.mk
===================================================================
RCS file: /cvsroot/pkgsrc/x11/tk/options.mk,v
retrieving revision 1.1
diff -u -r1.1 options.mk
--- options.mk 22 Aug 2012 22:05:05 -0000 1.1
+++ options.mk 26 Nov 2012 00:41:14 -0000
@@ -1,8 +1,8 @@
# $NetBSD: options.mk,v 1.1 2012/08/22 22:05:05 marino Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.tk
-PKG_SUPPORTED_OPTIONS= threads debug
-PKG_SUGGESTED_OPTIONS= threads
+PKG_SUPPORTED_OPTIONS= threads debug xft2
+PKG_SUGGESTED_OPTIONS= threads xft2
.include "../../mk/bsd.prefs.mk"
.include "../../mk/bsd.options.mk"
@@ -17,3 +17,10 @@
.else
CONFIGURE_ARGS+= --disable-threads
.endif
+
+.if !empty(PKG_OPTIONS:Mxft2)
+CONFIGURE_ARGS+= --enable-xft
+. include "../../x11/libXft/buildlink3.mk"
+.else
+CONFIGURE_ARGS+= --disable-xft
+.endif
>Unformatted:
Home |
Main Index |
Thread Index |
Old Index