pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/x11/xterm Update to version #229. Too many changes to...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/844c47944f16
branches:  trunk
changeset: 533376:844c47944f16
user:      bjs <bjs%pkgsrc.org@localhost>
date:      Mon Sep 17 06:36:21 2007 +0000

description:
Update to version #229.  Too many changes to list here; please see
${WRKSRC}/xterm.log.html.  Additionally, the pkgsrc-specific
changes are:

-- Add an "xterm-toolbar" option and add it to PKG_DEFAULT_OPTIONS.  Now
   we may all enjoy pull-down menus.

-- In the ${X11_TYPE} == "modular" case, add --disable-imake and
   --enable-narrowproto to CONFIGURE_ARGS.  The latter fixes [possible]
   problems with Xaw scrollbars.

-- Add USE_DIRS+=xdg-1.4 to handle newly-provided xterm pixmaps.

-- Add build-time dependency on x11/libxkbfile to pull in XKB extension
   headers, e.g. ${X11BASE}/include/X11/extensions/XKBbells.h.  The XKB
   bell extension should now be properly detected and supported.

-  Add "pcre" option, thereby supporting devel/pcre as xterm's regex
   library.

Changes ok'd (more or less) by joerg@ and tested by me.  For more detail
wrt: rationale for --enable-narrowproto and/or libxkbfile dependency,
please contact me.

diffstat:

 x11/xterm/Makefile   |  15 +++++++++++++--
 x11/xterm/PLIST      |   9 ++++++++-
 x11/xterm/distinfo   |   8 ++++----
 x11/xterm/options.mk |  14 +++++++++++---
 4 files changed, 36 insertions(+), 10 deletions(-)

diffs (101 lines):

diff -r a2aab6e65171 -r 844c47944f16 x11/xterm/Makefile
--- a/x11/xterm/Makefile        Mon Sep 17 04:42:25 2007 +0000
+++ b/x11/xterm/Makefile        Mon Sep 17 06:36:21 2007 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.35 2007/03/18 16:02:09 yyamano Exp $
+# $NetBSD: Makefile,v 1.36 2007/09/17 06:36:21 bjs Exp $
 
-DISTNAME=      xterm-224
+DISTNAME=      xterm-229
 CATEGORIES=    x11
 MASTER_SITES=  ftp://invisible-island.net/xterm/
 EXTRACT_SUFX=  .tgz
@@ -12,10 +12,15 @@
 PKG_DESTDIR_SUPPORT=   user-destdir
 
 GNU_CONFIGURE= yes
+USE_DIRS+=     xdg-1.4
 WRKSRC=                ${WRKDIR}/${PKGNAME_NOREV}
 
 .include "../../mk/bsd.prefs.mk"
 
+.if ${X11_TYPE} == "modular"
+CONFIGURE_ARGS+= --disable-imake --enable-narrowproto
+.endif
+
 .if exists(/usr/include/wchar.h)
 CONFIGURE_ARGS+= --enable-wide-chars
 .endif
@@ -47,4 +52,10 @@
 .include "../../x11/libX11/buildlink3.mk"
 .include "../../x11/libXaw/buildlink3.mk"
 .include "../../x11/libXt/buildlink3.mk"
+###
+### For detection of XKB bell extension.
+###
+BUILDLINK_DEPMETHOD.libxkbfile?=       build
+.include "../../x11/libxkbfile/buildlink3.mk"
+
 .include "../../mk/bsd.pkg.mk"
diff -r a2aab6e65171 -r 844c47944f16 x11/xterm/PLIST
--- a/x11/xterm/PLIST   Mon Sep 17 04:42:25 2007 +0000
+++ b/x11/xterm/PLIST   Mon Sep 17 06:36:21 2007 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2004/05/14 11:24:49 grant Exp $
+@comment $NetBSD: PLIST,v 1.3 2007/09/17 06:36:21 bjs Exp $
 bin/resize
 bin/uxterm
 bin/xterm
@@ -7,3 +7,10 @@
 lib/X11/app-defaults/XTerm-color
 man/man1/resize.1
 man/man1/xterm.1
+share/pixmaps/xterm-color_32x32.xpm
+share/pixmaps/xterm-color_48x48.xpm
+share/pixmaps/xterm_32x32.xpm
+share/pixmaps/xterm_48x48.xpm
+@comment in xdg-dirs: @dirrm share/pixmaps
+@comment @dirrm lib/X11/app-defaults
+@comment @dirrm lib/X11
diff -r a2aab6e65171 -r 844c47944f16 x11/xterm/distinfo
--- a/x11/xterm/distinfo        Mon Sep 17 04:42:25 2007 +0000
+++ b/x11/xterm/distinfo        Mon Sep 17 06:36:21 2007 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.21 2007/03/13 11:14:26 drochner Exp $
+$NetBSD: distinfo,v 1.22 2007/09/17 06:36:21 bjs Exp $
 
-SHA1 (xterm-224.tgz) = 60573ad30682f023540ae05124cad6e10a0f9b74
-RMD160 (xterm-224.tgz) = eb99a70707aa5f0750a117b6196a56d233dc6572
-Size (xterm-224.tgz) = 811925 bytes
+SHA1 (xterm-229.tgz) = 483fef795ebee83c513f9a72373d9d16366163d0
+RMD160 (xterm-229.tgz) = 9ff9bd32536817cbb2498a172459428d417f1fa3
+Size (xterm-229.tgz) = 841542 bytes
diff -r a2aab6e65171 -r 844c47944f16 x11/xterm/options.mk
--- a/x11/xterm/options.mk      Mon Sep 17 04:42:25 2007 +0000
+++ b/x11/xterm/options.mk      Mon Sep 17 06:36:21 2007 +0000
@@ -1,10 +1,10 @@
-# $NetBSD: options.mk,v 1.4 2006/12/15 20:33:06 joerg Exp $
+# $NetBSD: options.mk,v 1.5 2007/09/17 06:36:21 bjs Exp $
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.xterm
-PKG_SUPPORTED_OPTIONS= xterm-luit freetype
+PKG_SUPPORTED_OPTIONS= pcre xterm-luit freetype xterm-toolbar
 PKG_OPTIONS_OPTIONAL_GROUPS=   color
 PKG_OPTIONS_GROUP.color=       xterm-88color xterm-256color
-PKG_SUGGESTED_OPTIONS= xterm-256color xterm-luit
+PKG_SUGGESTED_OPTIONS= xterm-256color xterm-luit xterm-toolbar
 
 .include "../../mk/bsd.options.mk"
 
@@ -26,3 +26,11 @@
 .include "../../x11/libXft/buildlink3.mk"
 .endif
 
+.if !empty(PKG_OPTIONS:Mxterm-toolbar)
+CONFIGURE_ARGS+= --enable-toolbar
+.endif
+
+.if !empty(PKG_OPTIONS:Mpcre)
+CONFIGURE_ARGS+= --with-pcre
+.  include "../../devel/pcre/buildlink3.mk"
+.endif



Home | Main Index | Thread Index | Old Index