[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / x11 / xterm

File: [cvs.NetBSD.org] / pkgsrc / x11 / xterm / Makefile (download)

Revision 1.115, Mon Jun 19 20:24:37 2017 UTC (2 years, 4 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2017Q2-base, pkgsrc-2017Q2
Changes since 1.114: +2 -2 lines

Updated xterm to 329.

                            Patch #329 - 2017/06/12

     * add  control  sequences  for  reading  the Sixel and ReGIS graphics
       sizes (suggested by Ben Wong).
     * add  a  workaround  for  wcwidth  returning -1 for characters which
       should have been printable (FreeBSD #219800).
     * fix a bug in font initialization from patch #328 (FreeBSD #219800).
     * fix  a special case in HideCursor which assigned a bold font to the
       slot  used  for  normal  font  in changes for italics in patch #307
       (Debian #858304).
     * updates for ReGIS (Ross Combs):
          + Strings  specified  with  no  command  are used as "comments".
            Print these in the log when tracing.
          + Catch  attempts  to use "alternate display" mode (AKA "blink")
            from the GIGI, but do not implement it.
          + The  T(M)  command  should only multiply the height by 10, not
            20.
          + Make  the  S(E)  command reset more state than just the screen
            contents.
          + Remove two rotation variables which were only being printed.
          + Numerous minor fixes and comment updates in the R command.
          + Unknown R command option names trigger an empty response.
          + Fix  the  output  position after printing rotated text (it was
            missing the the sign before).
          + Fix  the  position  change  with pixelvectors and rotated text
            (the rotation transform was not being applied).
          + Update  the TODO list and remove a verification FIXME (slanted
            text positioning is correct as is).
          + Emulate  the  approximately  1.4x  enlargement  for text which
            isn't rotated at right angles.
          + Only  update the color planes specified in the plane mask (the
            W command's F option).
     * fix  a  bug  introduced by the changes to font information in patch
       #328.   When  processing  the  "checkfont"  option  of  the  locale
       resource,  the  program  referred  to the request data, to an array
       which  was  only  allocated  in  the new/result widget (report by H
       Merijn Brand).
     * fix  a  missing assignment initialization to make the utf8 resource
       control  whether  escape sequences to enable/disable UTF-8 mode are
       allowed.

# $NetBSD: Makefile,v 1.115 2017/06/19 20:24:37 wiz Exp $

DISTNAME=	xterm-329
CATEGORIES=	x11
MASTER_SITES=	ftp://invisible-island.net/xterm/
EXTRACT_SUFX=	.tgz

MAINTAINER=	pkgsrc-users@NetBSD.org
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 "../../mk/termcap.buildlink3.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../mk/xaw.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"