pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/print/fig2dev print/fig2dev: import fig2dev-3.2.6a



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b1e939990130
branches:  trunk
changeset: 369730:b1e939990130
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Tue Oct 03 14:59:08 2017 +0000

description:
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.

diffstat:

 print/fig2dev/DESCR                               |   5 +
 print/fig2dev/Makefile                            |  17 +++++
 print/fig2dev/PLIST                               |  76 +++++++++++++++++++++++
 print/fig2dev/distinfo                            |   8 ++
 print/fig2dev/patches/patch-fig2dev_dev_readjpg.c |  16 ++++
 print/fig2dev/patches/patch-fig2dev_fig2dev.c     |  16 ++++
 6 files changed, 138 insertions(+), 0 deletions(-)

diffs (162 lines):

diff -r 44f97430471f -r b1e939990130 print/fig2dev/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/print/fig2dev/DESCR       Tue Oct 03 14:59:08 2017 +0000
@@ -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.
diff -r 44f97430471f -r b1e939990130 print/fig2dev/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/print/fig2dev/Makefile    Tue Oct 03 14:59:08 2017 +0000
@@ -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@localhost
+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"
diff -r 44f97430471f -r b1e939990130 print/fig2dev/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/print/fig2dev/PLIST       Tue Oct 03 14:59:08 2017 +0000
@@ -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
diff -r 44f97430471f -r b1e939990130 print/fig2dev/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/print/fig2dev/distinfo    Tue Oct 03 14:59:08 2017 +0000
@@ -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
diff -r 44f97430471f -r b1e939990130 print/fig2dev/patches/patch-fig2dev_dev_readjpg.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/print/fig2dev/patches/patch-fig2dev_dev_readjpg.c Tue Oct 03 14:59:08 2017 +0000
@@ -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 <X11/xpm.h> */
+ #include "psimage.h"
+ #include "creationdate.h"
++#ifdef __NetBSD__
++#undef HAVE__SETMODE
++#endif
+ #ifdef HAVE__SETMODE  /* see fig2dev.c */
+ #include <io.h>
+ #include <fcntl.h>
diff -r 44f97430471f -r b1e939990130 print/fig2dev/patches/patch-fig2dev_fig2dev.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/print/fig2dev/patches/patch-fig2dev_fig2dev.c     Tue Oct 03 14:59:08 2017 +0000
@@ -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 <string.h>
+ #include "bool.h"
+ #include <locale.h>
++#ifdef __NetBSD__
++#undef HAVE__SETMODE
++#endif
+ /* setmode() exists on DOS/Windows. It sets file mode to text or binary.
+  * setmode() is declared in <io.h>, O_BINARY is declared in <fcntl.h>. */
+ #ifdef HAVE__SETMODE



Home | Main Index | Thread Index | Old Index