From owner-svn-ports-all@freebsd.org Sun Jun 3 00:21:50 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 04688FD5775; Sun, 3 Jun 2018 00:21:50 +0000 (UTC) (envelope-from cpm@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 941E182F18; Sun, 3 Jun 2018 00:21:49 +0000 (UTC) (envelope-from cpm@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 76F97170A9; Sun, 3 Jun 2018 00:21:49 +0000 (UTC) (envelope-from cpm@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w530LnBS092768; Sun, 3 Jun 2018 00:21:49 GMT (envelope-from cpm@FreeBSD.org) Received: (from cpm@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w530LlDh092761; Sun, 3 Jun 2018 00:21:47 GMT (envelope-from cpm@FreeBSD.org) Message-Id: <201806030021.w530LlDh092761@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: cpm set sender to cpm@FreeBSD.org using -f From: "Carlos J. Puga Medina" Date: Sun, 3 Jun 2018 00:21:47 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r471436 - in head/shells: . bicon bicon/files X-SVN-Group: ports-head X-SVN-Commit-Author: cpm X-SVN-Commit-Paths: in head/shells: . bicon bicon/files X-SVN-Commit-Revision: 471436 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Jun 2018 00:21:50 -0000 Author: cpm Date: Sun Jun 3 00:21:47 2018 New Revision: 471436 URL: https://svnweb.freebsd.org/changeset/ports/471436 Log: New port shells/bicon BiCon, short for Bidirectional-Console, is a tool which allows the usage of Arabic on Linux/Unix consoles or terminal emulators with basic Unicode rendering support, like gnome-terminal, xterm, or PuTTY. WWW: https://www.arabeyes.org/Bicon Added: head/shells/bicon/ head/shells/bicon/Makefile (contents, props changed) head/shells/bicon/distinfo (contents, props changed) head/shells/bicon/files/ head/shells/bicon/files/patch-bicon_pty__spawn.c (contents, props changed) head/shells/bicon/files/patch-font_Makefile.am (contents, props changed) head/shells/bicon/files/patch-font_fonts.mk (contents, props changed) head/shells/bicon/pkg-descr (contents, props changed) head/shells/bicon/pkg-plist (contents, props changed) Modified: head/shells/Makefile Modified: head/shells/Makefile ============================================================================== --- head/shells/Makefile Sun Jun 3 00:04:31 2018 (r471435) +++ head/shells/Makefile Sun Jun 3 00:21:47 2018 (r471436) @@ -8,6 +8,7 @@ SUBDIR += bash-completion SUBDIR += bash-static SUBDIR += bashc + SUBDIR += bicon SUBDIR += ch SUBDIR += dash SUBDIR += envy Added: head/shells/bicon/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/shells/bicon/Makefile Sun Jun 3 00:21:47 2018 (r471436) @@ -0,0 +1,35 @@ +# Created by: Carlos Jacobo Puga Medina +# $FreeBSD$ + +PORTNAME= bicon +PORTVERSION= 0.5 +CATEGORIES= shells + +MAINTAINER= cpm@FreeBSD.org +COMMENT= Bidirectional text console + +LICENSE= LGPL21 +LICENSE_FILE= ${WRKSRC}/COPYING + +LIB_DEPENDS= libfribidi.so:converters/fribidi + +USES= autoreconf libtool pathfix pkgconfig shebangfix +SHEBANG_FILES= bin/bicon.in \ + font/bicon-bdf2psf.pl +USE_LDCONFIG= yes + +GNU_CONFIGURE= yes +INSTALL_TARGET= install-strip + +USE_GITHUB= yes +GH_ACCOUNT= behdad + +PORTDOCS= AUTHORS HISTORY HISTORY.farsi NEWS README THANKS TODO + +OPTIONS_DEFINE= DOCS + +post-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} + +.include Added: head/shells/bicon/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/shells/bicon/distinfo Sun Jun 3 00:21:47 2018 (r471436) @@ -0,0 +1,3 @@ +TIMESTAMP = 1527952811 +SHA256 (behdad-bicon-0.5_GH0.tar.gz) = 268a95b548b8f66289ae4e0869b977ad22044e542b29f14c7f92b52af6345c29 +SIZE (behdad-bicon-0.5_GH0.tar.gz) = 128158 Added: head/shells/bicon/files/patch-bicon_pty__spawn.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/shells/bicon/files/patch-bicon_pty__spawn.c Sun Jun 3 00:21:47 2018 (r471436) @@ -0,0 +1,42 @@ +--- bicon/pty_spawn.c.orig 2015-08-20 10:07:00 UTC ++++ bicon/pty_spawn.c +@@ -13,7 +13,13 @@ namely the PSF License Agreement For Python 2.2.3 + #include + #include + #include ++#ifdef __linux__ + #include ++#endif ++#ifdef __FreeBSD__ ++#include ++#include ++#endif + #include + #include + #include +@@ -119,7 +125,7 @@ _copy ( + { + if (errno == EINTR && !done) + continue; +- return; ++ return 0; + } + if (0 == ret) + { +@@ -150,14 +156,14 @@ _copy ( + { + count = _xread (master_read, master_fd, buf, sizeof (buf)); + if (count == -1) +- return; ++ return 0; + _xwrite (1, buf, count); + } + if (FD_ISSET (0, &rfds)) + { + count = _xread (stdin_read, 0, buf, sizeof (buf)); + if (count == -1) +- return; ++ return 0; + _xwrite (master_fd, buf, count); + } + /* Set timeout, such that if things are steady, we update cwd Added: head/shells/bicon/files/patch-font_Makefile.am ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/shells/bicon/files/patch-font_Makefile.am Sun Jun 3 00:21:47 2018 (r471436) @@ -0,0 +1,44 @@ +--- font/Makefile.am.orig 2018-06-02 15:24:33 UTC ++++ font/Makefile.am +@@ -1,27 +1,20 @@ + include fonts.mk + +-ALL_CONSOLE_FONTS_PSFU_GZ = $(ALL_CONSOLE_FONTS_PSFU:=.gz) +- + fontdir = $(pkgdatadir)/font +-dist_font_DATA = $(ALL_CONSOLE_FONTS_PSFU_GZ) $(BDF) + noinst_DATA = $(ALL_CONSOLE_FONTS_SFM) + + EXTRA_DIST = $(ALL_SUBSFMS) bicon-bdf2psf.pl + + BDF2PSF = $(srcdir)/bicon-bdf2psf.pl + +-CLEANFILES = *.sfm *.psf *.psfu *.psfu.gz *.tmp ++CLEANFILES = *.sfm *.tmp + +-SUFFIXES = .bdf .bdf-maintain .sfm -ltr.sfm .psf -ltr.psf .psfu .psfu.gz ++SUFFIXES = .bdf .bdf-maintain .sfm -ltr.sfm + + # Note: I replaced the non-portable rules below with old suffix way to make + # them portable. But unfortunately this way the dependancies like %.psf: $(BDF) + # do not work anymore :(. Perhaps a check for GNU make should happen... + +-# %.psfu.gz: %.psfu +-.psfu.psfu.gz: +- gzip --best -c $< > $@ +- + # %-set-names: %.bdf + .bdf.bdf-maintain: + $(srcdir)/bdf_set_names $< > $<.tmp && mv -f $<.tmp $< +@@ -37,11 +30,6 @@ SUFFIXES = .bdf .bdf-maintain .sfm -ltr.sfm .psf -ltr. + # %-ltr.sfm: %.sfm + .sfm-ltr.sfm: + $(LN_S) $< $@ +- +-# %.psfu: %.psf %.sfm +-.psf.psfu: +- $(MAKE) $(AM_MAKEFLAGS) $*.sfm +- psfaddtable $*.psf $*.sfm $*.psfu + + bicon-8x16-512.sfm: bicon-ascii.sub-sfm bicon-arabic.sub-sfm bicon-nomarks.sub-sfm + cat $^ > $@ Added: head/shells/bicon/files/patch-font_fonts.mk ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/shells/bicon/files/patch-font_fonts.mk Sun Jun 3 00:21:47 2018 (r471436) @@ -0,0 +1,10 @@ +--- font/fonts.mk.orig 2018-06-02 15:26:11 UTC ++++ font/fonts.mk +@@ -5,7 +5,6 @@ ALL_CONSOLE_FONTS = \ + bicon-8x16-512-marks-ltr + + ALL_CONSOLE_FONTS_SFM = $(ALL_CONSOLE_FONTS:=.sfm) +-ALL_CONSOLE_FONTS_PSFU = $(ALL_CONSOLE_FONTS:=.psfu) + + ALL_SUBSFMS = \ + bicon-ascii.sub-sfm \ Added: head/shells/bicon/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/shells/bicon/pkg-descr Sun Jun 3 00:21:47 2018 (r471436) @@ -0,0 +1,5 @@ +BiCon, short for Bidirectional-Console, is a tool which allows the usage +of Arabic on Linux/Unix consoles or terminal emulators with basic Unicode +rendering support, like gnome-terminal, xterm, or PuTTY. + +WWW: https://www.arabeyes.org/Bicon Added: head/shells/bicon/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/shells/bicon/pkg-plist Sun Jun 3 00:21:47 2018 (r471436) @@ -0,0 +1,41 @@ +bin/bicon +bin/bicon.bin +include/bicon/bconsole.h +include/bicon/bconsole_ligature.h +include/bicon/bconsole_log2con.h +include/bicon/bjoining.h +include/bicon/bjoining_charprop.h +include/bicon/bjoining_compose.h +include/bicon/bjoining_log2cuni.h +include/bicon/bjoining_vis2cuni.h +include/bicon/bjoining_ye.h +lib/bicon/libbconsole.a +lib/bicon/libbconsole.so +lib/bicon/libbconsole.so.0 +lib/bicon/libbconsole.so.0.0.0 +lib/bicon/libbjoining.a +lib/bicon/libbjoining.so +lib/bicon/libbjoining.so.0 +lib/bicon/libbjoining.so.0.0.0 +libdata/pkgconfig/bicon.pc +man/man1/bicon.1.gz +man/man1/bicon.bin.1.gz +%%DATADIR%%/keymap/ae.map.gz +%%DATADIR%%/keymap/arabic.map.gz +%%DATADIR%%/keymap/bh.map.gz +%%DATADIR%%/keymap/dz.map.gz +%%DATADIR%%/keymap/eg.map.gz +%%DATADIR%%/keymap/iq.map.gz +%%DATADIR%%/keymap/ir.map.gz +%%DATADIR%%/keymap/jo.map.gz +%%DATADIR%%/keymap/kw.map.gz +%%DATADIR%%/keymap/lb.map.gz +%%DATADIR%%/keymap/ly.map.gz +%%DATADIR%%/keymap/ma.map.gz +%%DATADIR%%/keymap/om.map.gz +%%DATADIR%%/keymap/qa.map.gz +%%DATADIR%%/keymap/sa.map.gz +%%DATADIR%%/keymap/sd.map.gz +%%DATADIR%%/keymap/sy.map.gz +%%DATADIR%%/keymap/tn.map.gz +%%DATADIR%%/keymap/ye.map.gz