pkgsrc-WIP-changes archive

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

Package xterm 324



Module Name:	pkgsrc-wip
Committed By:	Pierre Pronchery <khorben%defora.org@localhost>
Pushed By:	khorben
Date:		Wed Mar 30 17:43:40 2016 +0200
Changeset:	3bf401b98c5f9c7575ebb0dc238b40b24df2c5c6

Added Files:
	xterm/DESCR
	xterm/Makefile
	xterm/PLIST
	xterm/distinfo
	xterm/options.mk

Log Message:
Package xterm 324

Patch #323 - 2016/03/07

 * updated appdata and desktop files to add keywords (report by Richard Hughes).
 * modify configure macro CF_POSIX_C_SOURCE to accommodate some systems, e.g., FreeBSD, which have separated their implementation specific preprocessor symbols from the POSIX ones, requiring both to be defined (report by Juha Nurmela).
 * change the directory to the current working dir of the child process in exec-formatted and exec-selectable actions (patch by Alexander Pohoyda).
 * correct typo in xterm.man (patch by Larry Hynes).
 * correct typo in ctlseqs.ms (report by Shriramana Sharma).
 * add feature to support XHTML and SVG screen dumps (patch by Jens Schweikhardt).
 * correct response to DECRQSS when terminal id is less than 400 (patch by Iwamoto Kouichi).

Patch #324 - 2016/03/10

 * updated configure macro CF_LD_RPATH_OPT from ncurses changes.
 * provide alternate fix for Juha Nurmela's report by turning on POSIX signals if _POSIX_C_SOURCE is at least one. This is done to improve the behavior if a direct child process receives a STOP signal.
 * revert change to CF_POSIX_C_SOURCE from patch #323 (reports by Ashish Shukla, Christian Weisgerber).

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=3bf401b98c5f9c7575ebb0dc238b40b24df2c5c6

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 xterm/DESCR      |  7 +++++++
 xterm/Makefile   | 64 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 xterm/PLIST      | 25 ++++++++++++++++++++++
 xterm/distinfo   |  6 ++++++
 xterm/options.mk | 51 ++++++++++++++++++++++++++++++++++++++++++++
 5 files changed, 153 insertions(+)

diffs:
diff --git a/xterm/DESCR b/xterm/DESCR
new file mode 100644
index 0000000..70b8dbb
--- /dev/null
+++ b/xterm/DESCR
@@ -0,0 +1,7 @@
+The xterm program is a terminal emulator for the X Window System.  It provides
+DEC VT102 and Tektronix 4014 compatible terminals for programs that can't use
+the window system directly.
+
+This version implements ISO/ANSI colors using the "new" color model
+(i.e., background color erase). It also implements most of the control
+sequences for VT220.
diff --git a/xterm/Makefile b/xterm/Makefile
new file mode 100644
index 0000000..883939f
--- /dev/null
+++ b/xterm/Makefile
@@ -0,0 +1,64 @@
+# $NetBSD$
+
+DISTNAME=	xterm-324
+CATEGORIES=	x11
+MASTER_SITES=	ftp://invisible-island.net/xterm/ \
+		http://www.sfr-fresh.com/unix/misc/
+EXTRACT_SUFX=	.tgz
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	http://dickey.his.com/xterm/xterm.html
+COMMENT=	Latest terminal emulator for the X Window System
+LICENSE=	x11
+
+GNU_CONFIGURE=		yes
+USE_TOOLS+=		tbl pkg-config
+
+WRKSRC=			${WRKDIR}/${PKGNAME_NOREV}
+
+CONFIGURE_ARGS+=	--enable-88-color
+CONFIGURE_ARGS+=	--enable-256-color
+CONFIGURE_ARGS+=	--enable-paste64
+CONFIGURE_ARGS+=	--enable-readline-mouse
+
+CONFIGURE_ARGS.standard=# empty
+CONFIGURE_ARGS.3d=	--with-Xaw3d
+CONFIGURE_ARGS.xpm=	--with-Xaw3d
+CONFIGURE_ARGS.neXtaw=	--with-neXtaw
+CONFIGURE_ARGS+=	${${CONFIGURE_ARGS.${XAW_TYPE}}:L}
+
+INSTALLATION_DIRS=	share/applications
+
+.include "../../mk/bsd.prefs.mk"
+
+.if ${X11_TYPE} == "modular"
+CONFIGURE_ARGS+=	--disable-imake
+CONFIGURE_ARGS+=	--enable-narrowproto
+.endif
+
+.if exists(/usr/include/wchar.h)
+CONFIGURE_ARGS+=	--enable-wide-chars
+.endif
+
+.include "../../x11/libX11/buildlink3.mk"
+.include "../../x11/libXt/buildlink3.mk"
+###
+### For detection of XKB bell extension.
+###
+BUILDLINK_DEPMETHOD.libxkbfile?=	build
+.include "../../x11/libxkbfile/buildlink3.mk"
+
+post-install:
+	${INSTALL_DATA} ${WRKSRC}/xterm.desktop \
+		${DESTDIR}${PREFIX}/share/applications && \
+	${INSTALL_DATA} ${WRKSRC}/uxterm.desktop \
+		${DESTDIR}${PREFIX}/share/applications
+	cd ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 && tbl xterm.1 \
+		> xterm.1.tbl && mv xterm.1.tbl xterm.1
+
+.include "options.mk"
+
+.include "../../mk/curses.buildlink3.mk"
+.include "../../sysutils/desktop-file-utils/desktopdb.mk"
+.include "../../mk/xaw.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/xterm/PLIST b/xterm/PLIST
new file mode 100644
index 0000000..9085ac0
--- /dev/null
+++ b/xterm/PLIST
@@ -0,0 +1,25 @@
+@comment $NetBSD: PLIST,v 1.9 2012/10/10 13:50:56 wiz Exp $
+bin/koi8rxterm
+bin/resize
+bin/uxterm
+bin/xterm
+lib/X11/app-defaults/KOI8RXTerm
+lib/X11/app-defaults/KOI8RXTerm-color
+lib/X11/app-defaults/UXTerm
+lib/X11/app-defaults/UXTerm-color
+lib/X11/app-defaults/XTerm
+lib/X11/app-defaults/XTerm-color
+man/man1/koi8rxterm.1
+man/man1/resize.1
+man/man1/uxterm.1
+man/man1/xterm.1
+share/applications/uxterm.desktop
+share/applications/xterm.desktop
+share/pixmaps/filled-xterm_32x32.xpm
+share/pixmaps/filled-xterm_48x48.xpm
+share/pixmaps/mini.xterm_32x32.xpm
+share/pixmaps/mini.xterm_48x48.xpm
+share/pixmaps/xterm-color_32x32.xpm
+share/pixmaps/xterm-color_48x48.xpm
+share/pixmaps/xterm_32x32.xpm
+share/pixmaps/xterm_48x48.xpm
diff --git a/xterm/distinfo b/xterm/distinfo
new file mode 100644
index 0000000..44fbc61
--- /dev/null
+++ b/xterm/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (xterm-324.tgz) = eb12025627f5d9aeedaf252e7fc5dd9c30fee0d6
+RMD160 (xterm-324.tgz) = 4c7c3446830b183327b969dbc982e3ee2e56e160
+SHA512 (xterm-324.tgz) = f6f2518a11eec6e41afb10ca4ec298c566b1fc5c3b3c4c4d533311b3f64ec04c2bc692798e75bbd34382cb64eca9b21ee4b05438c4d18486046d3c710c586626
+Size (xterm-324.tgz) = 1235312 bytes
diff --git a/xterm/options.mk b/xterm/options.mk
new file mode 100644
index 0000000..f008b70
--- /dev/null
+++ b/xterm/options.mk
@@ -0,0 +1,51 @@
+# $NetBSD: options.mk,v 1.14 2013/07/11 11:44:07 wiz Exp $
+
+PKG_OPTIONS_VAR=		PKG_OPTIONS.xterm
+PKG_SUPPORTED_OPTIONS=		debug pcre freetype luit xpm xterm-toolbar
+PKG_SUGGESTED_OPTIONS=		freetype luit xpm
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mdebug)
+CONFIGURE_ARGS+=	--enable-trace
+CONFIGURE_ARGS+=	--enable-warnings
+.elif defined(PKG_DEVELOPER) && !empty(PKG_DEVELOPER:M[Yy][Ee][Ss])
+CONFIGURE_ARGS+=	--enable-warnings
+.endif
+
+.if !empty(PKG_OPTIONS:Mfreetype)
+CONFIGURE_ARGS+=	--enable-freetype
+.  include "../../x11/libXft/buildlink3.mk"
+.else
+CONFIGURE_ARGS+= --disable-freetype
+.endif
+###
+### XXX The configure test checks for pcreposix_regcomp in libpcreposix.
+###	However, there is no such function [insofar as I can tell].
+###	Moreover, libc's regex(3) functions are weak-aliased to those
+###     within libc's namespace, so we should have no problems.
+###
+.if !empty(PKG_OPTIONS:Mpcre)
+CONFIGURE_ARGS+=	--with-pcre
+CONFIGURE_ENV+=		ac_cv_lib_pcreposix_pcreposix_regcomp=yes
+.  include "../../devel/pcre/buildlink3.mk"
+.endif
+
+.if !empty(PKG_OPTIONS:Mluit)
+DEPENDS+=	luit-[0-9]*:../../x11/luit
+CONFIGURE_ARGS+=	--enable-luit --enable-mini-luit
+.else
+CONFIGURE_ARGS+=	--disable-luit --disable-mini-luit
+.endif
+
+.if !empty(PKG_OPTIONS:Mxpm)
+### nothing
+.else
+CONFIGURE_ARGS+=	--without-xpm
+.endif
+
+.if !empty(PKG_OPTIONS:Mxterm-toolbar)
+CONFIGURE_ARGS+=	--enable-toolbar
+.else
+CONFIGURE_ARGS+=	--disable-toolbar
+.endif


Home | Main Index | Thread Index | Old Index