head 1.16; access; symbols pkgsrc-2023Q4:1.16.0.10 pkgsrc-2023Q4-base:1.16 pkgsrc-2023Q3:1.16.0.8 pkgsrc-2023Q3-base:1.16 pkgsrc-2023Q2:1.16.0.6 pkgsrc-2023Q2-base:1.16 pkgsrc-2023Q1:1.16.0.4 pkgsrc-2023Q1-base:1.16 pkgsrc-2022Q4:1.16.0.2 pkgsrc-2022Q4-base:1.16 pkgsrc-2022Q3:1.15.0.28 pkgsrc-2022Q3-base:1.15 pkgsrc-2022Q2:1.15.0.26 pkgsrc-2022Q2-base:1.15 pkgsrc-2022Q1:1.15.0.24 pkgsrc-2022Q1-base:1.15 pkgsrc-2021Q4:1.15.0.22 pkgsrc-2021Q4-base:1.15 pkgsrc-2021Q3:1.15.0.20 pkgsrc-2021Q3-base:1.15 pkgsrc-2021Q2:1.15.0.18 pkgsrc-2021Q2-base:1.15 pkgsrc-2021Q1:1.15.0.16 pkgsrc-2021Q1-base:1.15 pkgsrc-2020Q4:1.15.0.14 pkgsrc-2020Q4-base:1.15 pkgsrc-2020Q3:1.15.0.12 pkgsrc-2020Q3-base:1.15 pkgsrc-2020Q2:1.15.0.10 pkgsrc-2020Q2-base:1.15 pkgsrc-2020Q1:1.15.0.6 pkgsrc-2020Q1-base:1.15 pkgsrc-2019Q4:1.15.0.8 pkgsrc-2019Q4-base:1.15 pkgsrc-2019Q3:1.15.0.4 pkgsrc-2019Q3-base:1.15 pkgsrc-2019Q2:1.15.0.2 pkgsrc-2019Q2-base:1.15 pkgsrc-2019Q1:1.14.0.2 pkgsrc-2019Q1-base:1.14 pkgsrc-2018Q4:1.13.0.24 pkgsrc-2018Q4-base:1.13 pkgsrc-2018Q3:1.13.0.22 pkgsrc-2018Q3-base:1.13 pkgsrc-2018Q2:1.13.0.20 pkgsrc-2018Q2-base:1.13 pkgsrc-2018Q1:1.13.0.18 pkgsrc-2018Q1-base:1.13 pkgsrc-2017Q4:1.13.0.16 pkgsrc-2017Q4-base:1.13 pkgsrc-2017Q3:1.13.0.14 pkgsrc-2017Q3-base:1.13 pkgsrc-2017Q2:1.13.0.10 pkgsrc-2017Q2-base:1.13 pkgsrc-2017Q1:1.13.0.8 pkgsrc-2017Q1-base:1.13 pkgsrc-2016Q4:1.13.0.6 pkgsrc-2016Q4-base:1.13 pkgsrc-2016Q3:1.13.0.4 pkgsrc-2016Q3-base:1.13 pkgsrc-2016Q2:1.13.0.2 pkgsrc-2016Q2-base:1.13 pkgsrc-2016Q1:1.12.0.6 pkgsrc-2016Q1-base:1.12 pkgsrc-2015Q4:1.12.0.4 pkgsrc-2015Q4-base:1.12 pkgsrc-2015Q3:1.12.0.2 pkgsrc-2015Q3-base:1.12 pkgsrc-2015Q2:1.11.0.6 pkgsrc-2015Q2-base:1.11 pkgsrc-2015Q1:1.11.0.4 pkgsrc-2015Q1-base:1.11 pkgsrc-2014Q4:1.11.0.2 pkgsrc-2014Q4-base:1.11 pkgsrc-2014Q3:1.10.0.12 pkgsrc-2014Q3-base:1.10 pkgsrc-2014Q2:1.10.0.10 pkgsrc-2014Q2-base:1.10 pkgsrc-2014Q1:1.10.0.8 pkgsrc-2014Q1-base:1.10 pkgsrc-2013Q4:1.10.0.6 pkgsrc-2013Q4-base:1.10 pkgsrc-2013Q3:1.10.0.4 pkgsrc-2013Q3-base:1.10 pkgsrc-2013Q2:1.10.0.2 pkgsrc-2013Q2-base:1.10 pkgsrc-2013Q1:1.9.0.2 pkgsrc-2013Q1-base:1.9 pkgsrc-2012Q4:1.8.0.2 pkgsrc-2012Q4-base:1.8 pkgsrc-2012Q3:1.7.0.4 pkgsrc-2012Q3-base:1.7 pkgsrc-2012Q2:1.7.0.2 pkgsrc-2012Q2-base:1.7 pkgsrc-2012Q1:1.6.0.14 pkgsrc-2012Q1-base:1.6 pkgsrc-2011Q4:1.6.0.12 pkgsrc-2011Q4-base:1.6 pkgsrc-2011Q3:1.6.0.10 pkgsrc-2011Q3-base:1.6 pkgsrc-2011Q2:1.6.0.8 pkgsrc-2011Q2-base:1.6 pkgsrc-2011Q1:1.6.0.6 pkgsrc-2011Q1-base:1.6 pkgsrc-2010Q4:1.6.0.4 pkgsrc-2010Q4-base:1.6 pkgsrc-2010Q3:1.6.0.2 pkgsrc-2010Q3-base:1.6 pkgsrc-2010Q2:1.5.0.6 pkgsrc-2010Q2-base:1.5 pkgsrc-2010Q1:1.5.0.4 pkgsrc-2010Q1-base:1.5 pkgsrc-2009Q4:1.5.0.2 pkgsrc-2009Q4-base:1.5 pkgsrc-2009Q3:1.4.0.16 pkgsrc-2009Q3-base:1.4 pkgsrc-2009Q2:1.4.0.14 pkgsrc-2009Q2-base:1.4 pkgsrc-2009Q1:1.4.0.12 pkgsrc-2009Q1-base:1.4 pkgsrc-2008Q4:1.4.0.10 pkgsrc-2008Q4-base:1.4 pkgsrc-2008Q3:1.4.0.8 pkgsrc-2008Q3-base:1.4 cube-native-xorg:1.4.0.6 cube-native-xorg-base:1.4 pkgsrc-2008Q2:1.4.0.4 pkgsrc-2008Q2-base:1.4 cwrapper:1.4.0.2 pkgsrc-2008Q1:1.3.0.2 pkgsrc-2008Q1-base:1.3 pkgsrc-2007Q4:1.2.0.6 pkgsrc-2007Q4-base:1.2 pkgsrc-2007Q3:1.2.0.4 pkgsrc-2007Q3-base:1.2 pkgsrc-2007Q2:1.2.0.2 pkgsrc-2007Q2-base:1.2 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.16 date 2022.11.09.13.14.23; author joerg; state Exp; branches; next 1.15; commitid dN5ujJQiZbvcR11E; 1.15 date 2019.06.22.11.37.13; author nia; state Exp; branches; next 1.14; commitid RDjBVpPtlA8m3bsB; 1.14 date 2019.02.15.19.58.14; author wiz; state Exp; branches; next 1.13; commitid trLLqHy8NZUmUTbB; 1.13 date 2016.05.18.11.33.57; author wiz; state Exp; branches; next 1.12; commitid RvnTj1VbRkphmX6z; 1.12 date 2015.07.14.08.50.02; author wiz; state Exp; branches; next 1.11; commitid x7jSKWdMVjHTnety; 1.11 date 2014.12.07.17.25.30; author wiz; state Exp; branches; next 1.10; commitid A8vHWAKo1tw9h81y; 1.10 date 2013.05.26.20.08.54; author wiz; state Exp; branches; next 1.9; commitid CoDUBSiyTrVPabRw; 1.9 date 2013.03.15.23.25.20; author wiz; state Exp; branches; next 1.8; 1.8 date 2012.10.29.05.06.39; author asau; state Exp; branches; next 1.7; 1.7 date 2012.06.03.18.00.47; author wiz; state Exp; branches; next 1.6; 1.6 date 2010.09.10.19.15.54; author joerg; state Exp; branches; next 1.5; 1.5 date 2009.11.09.19.31.11; author tnn; state Exp; branches; next 1.4; 1.4 date 2008.05.24.21.45.19; author tnn; state Exp; branches; next 1.3; 1.3 date 2008.02.06.08.03.10; author bjs; state Exp; branches; next 1.2; 1.2 date 2007.06.19.09.39.11; author joerg; state Exp; branches; next 1.1; 1.1 date 2007.04.10.13.46.47; author joerg; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2007.04.10.13.46.47; author joerg; state Exp; branches; next ; desc @@ 1.16 log @Reset MAINTAINER @ text @# $NetBSD: Makefile,v 1.15 2019/06/22 11:37:13 nia Exp $ DISTNAME= luit-20190106 # check if this line needs changes when packaging newer snapshots PKGNAME= ${DISTNAME:S/-2/-2.0.2/} CATEGORIES= x11 MASTER_SITES= ftp://ftp.invisible-island.net/luit/ EXTRACT_SUFX= .tgz MAINTAINER= pkgsrc-users@@NetBSD.org HOMEPAGE= https://invisible-island.net/luit/ COMMENT= Locale and ISO 2022 support for Unicode terminals LICENSE= mit GNU_CONFIGURE= yes USE_TOOLS+= pkg-config CONFIGURE_ENV+= APP_MAN_SUFFIX=1 .include "../../converters/libiconv/buildlink3.mk" .include "../../x11/libX11/buildlink3.mk" .include "../../mk/bsd.pkg.mk" @ 1.15 log @Use https for all invisible-island.net HOMEPAGEs. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.14 2019/02/15 19:58:14 wiz Exp $ d10 1 a10 1 MAINTAINER= joerg@@NetBSD.org @ 1.14 log @luit: update to 2.0.20190106. Provided by Thomas Dickey in private email. 2019/01/06 • updated configure macros to work around a non-POSIX feature of BSDs. • add a dummy "check" rule to makefile for Arch packages. • add COPYING file for Arch packages. • use consistent wording for copyright notice in source-files. • update config.guess, config.sub 2018/12/11 • build-fixes/updates for cygwin to accommodate configure-macro changes. • updated configure macros: □ CF_CC_ENV_FLAGS, add check for preprocessor-options in $CFLAGS. □ CF_FUNC_GRANTPT, amend the posix_openpt vs grantpt change to work with BSDs □ CF_GNU_SOURCE, fixes a regression for Cygwin. The check for _DEFAULT_SOURCE should apply to "recent" Cygwin (since early 2016), and except for "NEWLIB" vs "GLIBC" in the test, acts the same if I pretend that "newlib" is the GNU C library. Without this, the check falls through to the _XOPEN_SOURCE test, which breaks the pseudoterminal checks for xterm. □ CF_LD_RPATH_OPT, suppress check if --disable-rpath is given. □ CF_XOPEN_SOURCE, add midnightbsd to special cases with freebsd • update config.guess, config.sub 2018/06/28 • modify configure script to avoid using OpenBSD's nonfunctional POSIX pseudoterminal interface. • add null-pointer checks for all strings printed in trace calls. • updated configure macros, deprecating use of _GNU_SOURCE symbol for DEFAULT_SOURCE, and preferring man2html over groff's html conversion. • update config.guess, config.sub @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.13 2016/05/18 11:33:57 wiz Exp $ d11 1 a11 1 HOMEPAGE= http://invisible-island.net/luit/ @ 1.13 log @Updated luit to 2.0.20160508. 2016/05/08 - adapt Solaris fix for C11 changes from xterm #325. modify parseArgs to check for a special case, e.g., from xterm, where a shell command that cannot be exec'd is passed as a single parameter. For that case, run the command via the shell. reset IEXTEN when turning off canonical mode, needed to make lnext control/V work consistently on BSD platforms (report/patch by Christian Weisgerber). updated configure macros: CF_FUNC_POLL add a fallback to checking with posix_openpt(), in case someone's running the configure script in batch mode. CF_LD_RPATH_OPT change FreeBSD to use -Wl,-rpath rather than -rpath option. According to FreeBSD #178732, either works since FreeBSD 4.x; however scons does not accept anything except the -Wl,-rpath form. CF_WITH_MAN2HTML use configured shell rather than /bin/sh CF_XOPEN_SOURCE add a case for OS/2 update config.guess, config.sub @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.12 2015/07/14 08:50:02 wiz Exp $ d3 1 a3 1 DISTNAME= luit-20160508 d7 1 a7 1 MASTER_SITES= ftp://invisible-island.net/luit/ @ 1.12 log @Update to 20150706: 2015/07/06 - • add configure option --with-man2html • updated configure macros, mostly formatting changes from xterm, etc. • update config.guess, config.sub @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.11 2014/12/07 17:25:30 wiz Exp $ d3 1 a3 1 DISTNAME= luit-20150706 @ 1.11 log @Update to 2.0.20141204: bluit (20141204) unstable; urgency=low * maintenance updates @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.10 2013/05/26 20:08:54 wiz Exp $ d3 1 a3 1 DISTNAME= luit-20141204 @ 1.10 log @Update to Thomas E. Dickey's version 2.0 of luit. History Luit was written by Juliusz Chroboczek for the XFree86 Project in 2001-2002. There were improvements and fixes by several people, in particular Tomohiro Kubota's extensions for CJK encodings. There was no maintainer for some time; I adopted it in 2006 to ensure that it continued to support xterm (details are listed in the luit.log.html file within the source). Besides the maintenance issue that attracted my attention in 2005 (untested changes to compiled-in file locations by Xorg hackers), Luit has had from the outset a technical issue: its associated font-encoding library. Juliusz Chroboczek used the font-encoding library to work around performance issues with direct use of iconv. This solution has proven to be a drawback: the font-encoding library is little used (other than by luit), and also lacks a maintainer. the font-encoding library does not provide the full range of encodings that iconv does. the Xorg configure scripting and other dependencies surrounding the library have been subject to uncontrolled growth. I solved the problem by implementing an efficient conversion using iconv. Luit still supports the font-encoding library if it is found by the configure script. If you choose, luit can easily be built using iconv. However, as of luit 2.0, the font-encoding library has been deprecated: Luit includes all of the relevant functionality for using the ".enc" files which are distributed separately. You may have these files as a separate package, e.g., "xfonts-encodings", or as part of "xfonts-x11-fonts-misc", "x11-font-encodings" or even "encodings". If you have trouble finding the package, look for a specific file such as adobe-standard.enc. The encoding files are rarely packaged with luit, and oddly enough are never made a package dependency. The only other use that I am aware of for the files is for the defunct xprint program. To see which ".enc" files luit may use, run luit -list-fontenc Here is sample output. The old version of luit can use only about a third of these encodings, i.e., big5.eten-0, big5hkscs-0, dec-special, gb18030.2000-0, gb18030.2000-1, gb2312.1980-0, gbk-0, ibm-cp437, ibm-cp850, ibm-cp852, ibm-cp866, iso8859-11, iso8859-13, iso8859-16, jisx0201.1976-0, jisx0208.1990-0, jisx0212.1990-0, ksc5601.1987-0, microsoft-cp1250, microsoft-cp1251, microsoft-cp1252, tcvn-0 With luit 2.0, the -encoding option permits you to use the remaining files (as well as any you may have customized): adobe-dingbats, adobe-standard, adobe-symbol, armscii-8, ascii-0, big5-0, big5.cp950-0, cns11643-1, cns11643-2, cns11643-3, gb18030-0, iso8859-6.16, iso8859-6.8x, jisx0208.1983-0, ksc5601.1992-3, ksx1001.1997-0, ksx1001.1998-0, ksx1001.1998-3, ksxjohab-1, microsoft-ansi, microsoft-cp1253, microsoft-cp1254, microsoft-cp1255, microsoft-cp1256, microsoft-cp1257, microsoft-cp1258, microsoft-win3.1, mulearabic-0, mulearabic-1, mulearabic-2, mulelao-1, sun.unicode.india-0, suneu-greek, tis620-0, tis620-2, tis620.2529-1, tis620.2533-0, tis620.2533-1, viscii1.1-1 Some of the ".enc" files are unused by the old luit because the font-encoding library has built-in tables of the ISO-8859-x encodings and a few others. With luit 2.0, you can make a list of the built-in tables as well as change luit's preference when looking in the font-encoding files, built-in tables and iconv tables. Luit 2.0 can use the data from iconv directly without relying upon external ".enc" files. The ".enc" files (and built-in tables) are preferred for performance reasons. Existing users of luit would complain about the loss of 1- or 2-tenths of a second for startup with CJK encodings. Really. Normally luit uses your locale settings to determine the corresponding character encoding. Use --list-iconv to see the available choices, e.g., luit -list-iconv Here is sample output on a suitably configured system. Your system may have fewer (locale support generally has been made more difficult to configure in systems geared toward novice developers such as Ubuntu). But the portable iconv implementation does support a wide range of encodings, and you may find additional encodings using iconv -l On the Debian system where I am writing this, that gives a list of 1168 encodings. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.9 2013/03/15 23:25:20 wiz Exp $ d3 1 a3 1 DISTNAME= luit-20130217 @ 1.9 log @Update HOMEPAGE to point to best maintained version. @ text @d1 1 a1 2 # $NetBSD: Makefile,v 1.8 2012/10/29 05:06:39 asau Exp $ # d3 3 a5 1 DISTNAME= luit-1.1.1 d7 2 a8 2 MASTER_SITES= ${MASTER_SITE_XORG:=app/} EXTRACT_SUFX= .tar.bz2 d20 1 a20 1 .include "../../fonts/libfontenc/buildlink3.mk" @ 1.8 log @Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.7 2012/06/03 18:00:47 wiz Exp $ d10 1 a10 1 HOMEPAGE= http://xorg.freedesktop.org/ @ 1.7 log @Update to 1.1.1. 1.1.1: This release includes portability fixes for various platforms, changes to resolve issues found static analysis and compiler warnings, and build configuration cleanups. 1.1.0: This release includes these changes from Thomas Dickey's luit-20100601: * add -alias option to allow override of locale.alias pathname. * improve fix waitForInput as suggested in Freedesktop #26383. * fix warnings from clang --analyze As well as many of the same build time & janitorial cleanups found in the other recent X.Org module releases. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.6 2010/09/10 19:15:54 joerg Exp $ a13 2 PKG_DESTDIR_SUPPORT= user-destdir @ 1.6 log @Update to luit-1.0.5: Fix poll bug and improve portability @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.5 2009/11/09 19:31:11 tnn Exp $ d4 1 a4 1 DISTNAME= luit-1.0.5 @ 1.5 log @Update to luit-1.0.4. Changes: luit: Convert platform #ifdefs to configure tests for functions & headers Add README with pointers to mailing lists, bugzilla, & git Migrate to xorg macros 1.3 & XORG_DEFAULT_OPTIONS Apple: Use secure tty Ansification and compile warning fixes. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.4 2008/05/24 21:45:19 tnn Exp $ d4 1 a4 1 DISTNAME= luit-1.0.4 d12 1 @ 1.4 log @Switch master site to MASTER_SITE_XORG. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.3 2008/02/06 08:03:10 bjs Exp $ d4 1 a4 1 DISTNAME= luit-1.0.3 @ 1.3 log @ Update to luit-1.0.3. Notable changes: * Define _XOPEN_SOURCE to 500 on linux * strdup() is only exposed by glibc headers if _XOPEN_SOURCE is defined to a value >= 500. * Replace malloc/strcpy pairs with strdup * Man page typo fixes * Fix sparse warnings: non-ANSI function declaration (missing void) * Fix many sparse warnings of Using plain integer as NULL pointer * Change luit_CFLAGS to AM_CFLAGS to make automake-1.10 happier * Fix typo in luit.man * Match luit locale.alias location to libX11 default Luit expects to find the locale.alias file in ${libdir}/X11/locale. However, libX11 installs the locale files in ${datadir}/X11/locale, by default. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.2 2007/06/19 09:39:11 joerg Exp $ d6 1 a6 1 MASTER_SITES= http://xorg.freedesktop.org/releases/individual/app/ @ 1.2 log @Fix man page section on Linux. from Ole Andre Rodlie on pkgsrc-users. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.1.1.1 2007/04/10 13:46:47 joerg Exp $ d4 1 a4 1 DISTNAME= luit-1.0.2 @ 1.1 log @Initial revision @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.1.1.1 2007/01/17 16:07:29 joerg Exp $ d18 2 @ 1.1.1.1 log @Import luit-1.0.2. This package provides luit, a filter to convert the output of arbitrary applications from a given locale's encoding into UTF-8 and terminal input from UTF-8 into the given locale's encoding. This is from the modular X.org X11 project. @ text @@