Received: by mail.netbsd.org (Postfix, from userid 605) id 1424F84DB9; Tue, 3 Oct 2017 14:59:10 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 9C98A84D66 for ; Tue, 3 Oct 2017 14:59:09 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id x729Crkhbg8B for ; Tue, 3 Oct 2017 14:59:09 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id E488D84D04 for ; Tue, 3 Oct 2017 14:59:08 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id C90B5FBC7; Tue, 3 Oct 2017 14:59:08 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1507042748158070" MIME-Version: 1.0 Date: Tue, 3 Oct 2017 14:59:08 +0000 From: "Thomas Klausner" Subject: CVS commit: pkgsrc/print/fig2dev To: pkgsrc-changes@NetBSD.org Reply-To: wiz@netbsd.org X-Mailer: log_accum Message-Id: <20171003145908.C90B5FBC7@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1507042748158070 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: wiz Date: Tue Oct 3 14:59:08 UTC 2017 Added Files: pkgsrc/print/fig2dev: DESCR Makefile PLIST distinfo pkgsrc/print/fig2dev/patches: patch-fig2dev_dev_readjpg.c patch-fig2dev_fig2dev.c Log Message: print/fig2dev: import fig2dev-3.2.6a You need the fig2dev program in addition to xfig to be complete. Xfig saves figures in its own, proprietary .fig format. The fig2dev program allows you to print and export figures. Fig2dev translates the .fig files to various languages and formats such as PostScript, png, jpeg, pstricks, tikz, etc. To generate a diff of this commit: cvs rdiff -u -r0 -r1.1 pkgsrc/print/fig2dev/DESCR \ pkgsrc/print/fig2dev/Makefile pkgsrc/print/fig2dev/PLIST \ pkgsrc/print/fig2dev/distinfo cvs rdiff -u -r0 -r1.1 \ pkgsrc/print/fig2dev/patches/patch-fig2dev_dev_readjpg.c \ pkgsrc/print/fig2dev/patches/patch-fig2dev_fig2dev.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1507042748158070 Content-Disposition: inline Content-Length: 6231 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Added files: Index: pkgsrc/print/fig2dev/DESCR diff -u /dev/null pkgsrc/print/fig2dev/DESCR:1.1 --- /dev/null Tue Oct 3 14:59:08 2017 +++ pkgsrc/print/fig2dev/DESCR Tue Oct 3 14:59:08 2017 @@ -0,0 +1,5 @@ +You need the fig2dev program in addition to xfig to be complete. +Xfig saves figures in its own, proprietary .fig format. The fig2dev +program allows you to print and export figures. Fig2dev translates +the .fig files to various languages and formats such as PostScript, +png, jpeg, pstricks, tikz, etc. Index: pkgsrc/print/fig2dev/Makefile diff -u /dev/null pkgsrc/print/fig2dev/Makefile:1.1 --- /dev/null Tue Oct 3 14:59:08 2017 +++ pkgsrc/print/fig2dev/Makefile Tue Oct 3 14:59:08 2017 @@ -0,0 +1,17 @@ +# $NetBSD: Makefile,v 1.1 2017/10/03 14:59:08 wiz Exp $ + +DISTNAME= fig2dev-3.2.6a +CATEGORIES= graphics print +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=mcj/} +EXTRACT_SUFX= .tar.xz + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://mcj.sourceforge.net/ +COMMENT= Convert .fig files to graphical or printable formats + +GNU_CONFIGURE= yes + +.include "../../graphics/png/buildlink3.mk" +.include "../../converters/libiconv/buildlink3.mk" +.include "../../x11/libXpm/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" Index: pkgsrc/print/fig2dev/PLIST diff -u /dev/null pkgsrc/print/fig2dev/PLIST:1.1 --- /dev/null Tue Oct 3 14:59:08 2017 +++ pkgsrc/print/fig2dev/PLIST Tue Oct 3 14:59:08 2017 @@ -0,0 +1,76 @@ +@comment $NetBSD: PLIST,v 1.1 2017/10/03 14:59:08 wiz Exp $ +bin/fig2dev +bin/fig2ps2tex +bin/pic2tpic +man/man1/fig2dev.1 +man/man1/fig2ps2tex.1 +man/man1/pic2tpic.1 +share/fig2dev/bitmaps/bricks.bmp +share/fig2dev/bitmaps/circles.bmp +share/fig2dev/bitmaps/crosshatch.bmp +share/fig2dev/bitmaps/crosshatch30.bmp +share/fig2dev/bitmaps/crosshatch45.bmp +share/fig2dev/bitmaps/dash.bmp +share/fig2dev/bitmaps/dashDot.bmp +share/fig2dev/bitmaps/dashDotDot.bmp +share/fig2dev/bitmaps/dashDotDotDot.bmp +share/fig2dev/bitmaps/dot.bmp +share/fig2dev/bitmaps/fishscales.bmp +share/fig2dev/bitmaps/hexagons.bmp +share/fig2dev/bitmaps/horiz_saw.bmp +share/fig2dev/bitmaps/horizontal.bmp +share/fig2dev/bitmaps/left30.bmp +share/fig2dev/bitmaps/left45.bmp +share/fig2dev/bitmaps/leftshingle.bmp +share/fig2dev/bitmaps/octagons.bmp +share/fig2dev/bitmaps/p13.bmp +share/fig2dev/bitmaps/right30.bmp +share/fig2dev/bitmaps/right45.bmp +share/fig2dev/bitmaps/rightshingle.bmp +share/fig2dev/bitmaps/small_fishscales.bmp +share/fig2dev/bitmaps/sp0.bmp +share/fig2dev/bitmaps/sp1.bmp +share/fig2dev/bitmaps/sp10.bmp +share/fig2dev/bitmaps/sp11.bmp +share/fig2dev/bitmaps/sp12.bmp +share/fig2dev/bitmaps/sp13.bmp +share/fig2dev/bitmaps/sp14.bmp +share/fig2dev/bitmaps/sp15.bmp +share/fig2dev/bitmaps/sp16.bmp +share/fig2dev/bitmaps/sp17.bmp +share/fig2dev/bitmaps/sp18.bmp +share/fig2dev/bitmaps/sp19.bmp +share/fig2dev/bitmaps/sp2.bmp +share/fig2dev/bitmaps/sp20.bmp +share/fig2dev/bitmaps/sp3.bmp +share/fig2dev/bitmaps/sp4.bmp +share/fig2dev/bitmaps/sp5.bmp +share/fig2dev/bitmaps/sp6.bmp +share/fig2dev/bitmaps/sp7.bmp +share/fig2dev/bitmaps/sp8.bmp +share/fig2dev/bitmaps/sp9.bmp +share/fig2dev/bitmaps/vert_bricks.bmp +share/fig2dev/bitmaps/vert_leftshingle.bmp +share/fig2dev/bitmaps/vert_rightshingle.bmp +share/fig2dev/bitmaps/vert_saw.bmp +share/fig2dev/bitmaps/vertical.bmp +share/fig2dev/i18n/cs_CZ.ps +share/fig2dev/i18n/hr_HR.ps +share/fig2dev/i18n/hu_HU.ps +share/fig2dev/i18n/ja.ps +share/fig2dev/i18n/ja_JP.EUC.ps +share/fig2dev/i18n/ja_JP.eucJP.ps +share/fig2dev/i18n/ja_JP.ps +share/fig2dev/i18n/ja_JP.ujis.ps +share/fig2dev/i18n/japanese.ps +share/fig2dev/i18n/ko.ps +share/fig2dev/i18n/ko_KR.EUC.ps +share/fig2dev/i18n/ko_KR.eucKR.ps +share/fig2dev/i18n/ko_KR.ps +share/fig2dev/i18n/korean.ps +share/fig2dev/i18n/pl_PL.ps +share/fig2dev/i18n/ro_RO.ps +share/fig2dev/i18n/ru_RU.KOI8-R.ps +share/fig2dev/i18n/sk_SK.ps +share/fig2dev/i18n/sl_SI.ps +share/fig2dev/rgb.txt Index: pkgsrc/print/fig2dev/distinfo diff -u /dev/null pkgsrc/print/fig2dev/distinfo:1.1 --- /dev/null Tue Oct 3 14:59:08 2017 +++ pkgsrc/print/fig2dev/distinfo Tue Oct 3 14:59:08 2017 @@ -0,0 +1,8 @@ +$NetBSD: distinfo,v 1.1 2017/10/03 14:59:08 wiz Exp $ + +SHA1 (fig2dev-3.2.6a.tar.xz) = e09145435f3306010eb006f9d7e118fccf77cd2b +RMD160 (fig2dev-3.2.6a.tar.xz) = 0498c32afdd4df51a54d513d1de8f9cc00997bf8 +SHA512 (fig2dev-3.2.6a.tar.xz) = 082c4d75c66187dc2bd7f3a50b6e117f03f495030fa89d6f70270e15b8f00647a94365e10797c5b1889b4ed1400d3fa6f4a3821e744c79b4483403a930e7d77f +Size (fig2dev-3.2.6a.tar.xz) = 507820 bytes +SHA1 (patch-fig2dev_dev_readjpg.c) = 081406fef50395eefd770eae9e34c56078dcc36d +SHA1 (patch-fig2dev_fig2dev.c) = c2c28917b000839b3be996bf7adceaa693d07010 Index: pkgsrc/print/fig2dev/patches/patch-fig2dev_dev_readjpg.c diff -u /dev/null pkgsrc/print/fig2dev/patches/patch-fig2dev_dev_readjpg.c:1.1 --- /dev/null Tue Oct 3 14:59:08 2017 +++ pkgsrc/print/fig2dev/patches/patch-fig2dev_dev_readjpg.c Tue Oct 3 14:59:08 2017 @@ -0,0 +1,16 @@ +$NetBSD: patch-fig2dev_dev_readjpg.c,v 1.1 2017/10/03 14:59:08 wiz Exp $ + +NetBSD defines _setmode, but is not Windows. + +--- fig2dev/dev/readjpg.c.orig 2017-01-07 22:04:22.000000000 +0000 ++++ fig2dev/dev/readjpg.c +@@ -39,6 +39,9 @@ + #include "object.h" /* does #include */ + #include "psimage.h" + #include "creationdate.h" ++#ifdef __NetBSD__ ++#undef HAVE__SETMODE ++#endif + #ifdef HAVE__SETMODE /* see fig2dev.c */ + #include + #include Index: pkgsrc/print/fig2dev/patches/patch-fig2dev_fig2dev.c diff -u /dev/null pkgsrc/print/fig2dev/patches/patch-fig2dev_fig2dev.c:1.1 --- /dev/null Tue Oct 3 14:59:08 2017 +++ pkgsrc/print/fig2dev/patches/patch-fig2dev_fig2dev.c Tue Oct 3 14:59:08 2017 @@ -0,0 +1,16 @@ +$NetBSD: patch-fig2dev_fig2dev.c,v 1.1 2017/10/03 14:59:08 wiz Exp $ + +NetBSD defines _setmode, but is not Windows. + +--- fig2dev/fig2dev.c.orig 2017-01-04 11:04:09.000000000 +0000 ++++ fig2dev/fig2dev.c +@@ -37,6 +37,9 @@ + #include + #include "bool.h" + #include ++#ifdef __NetBSD__ ++#undef HAVE__SETMODE ++#endif + /* setmode() exists on DOS/Windows. It sets file mode to text or binary. + * setmode() is declared in , O_BINARY is declared in . */ + #ifdef HAVE__SETMODE --_----------=_1507042748158070--