summaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2020-08-06 23:52:48 +0000
committerjoerg <joerg@pkgsrc.org>2020-08-06 23:52:48 +0000
commit540efbfecd50f38d48f83cfedf8b221f193376b3 (patch)
treef6ae35897d47245a2d4eee2e895dd5ec15d5ebd7 /print
parent4f6ae9e717ff9e418c1e803285d5dda8a817d1e7 (diff)
downloadpkgsrc-540efbfecd50f38d48f83cfedf8b221f193376b3.tar.gz
Add sile-0.10.9:
SILE is a typesetting system; its job is to produce beautiful printed documents. Conceptually, SILE is similar to TeX - from which it borrows some concepts and even syntax and algorithms - but the similarities end there. Rather than being a derivative of the TeX family SILE is a new typesetting and layout engine written from the ground up using modern technologies and borrowing some ideas from graphical systems such as InDesign.
Diffstat (limited to 'print')
-rw-r--r--print/sile/DESCR7
-rw-r--r--print/sile/Makefile52
-rw-r--r--print/sile/PLIST280
-rw-r--r--print/sile/distinfo8
-rw-r--r--print/sile/patches/patch-configure15
-rw-r--r--print/sile/patches/patch-src_Makefile.in24
6 files changed, 386 insertions, 0 deletions
diff --git a/print/sile/DESCR b/print/sile/DESCR
new file mode 100644
index 00000000000..b61934fe919
--- /dev/null
+++ b/print/sile/DESCR
@@ -0,0 +1,7 @@
+SILE is a typesetting system; its job is to produce beautiful printed
+documents. Conceptually, SILE is similar to TeX - from which it borrows
+some concepts and even syntax and algorithms - but the similarities end
+there. Rather than being a derivative of the TeX family SILE is a new
+typesetting and layout engine written from the ground up using modern
+technologies and borrowing some ideas from graphical systems such as
+InDesign.
diff --git a/print/sile/Makefile b/print/sile/Makefile
new file mode 100644
index 00000000000..33946764995
--- /dev/null
+++ b/print/sile/Makefile
@@ -0,0 +1,52 @@
+# $NetBSD: Makefile,v 1.1 2020/08/06 23:52:48 joerg Exp $
+
+DISTNAME= sile-0.10.9
+CATEGORIES= print
+MASTER_SITES= ${MASTER_SITE_GITHUB:=sile-typesetter/}
+GITHUB_PROJECT= sile
+GITHUB_RELEASE= v${PKGVERSION_NOREV}
+EXTRACT_SUFX= .tar.xz
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= https://sile-typesetter.org/
+COMMENT= Modern Layout Engine with Lua based scripting
+LICENSE= mit
+
+DEPENDS+= ${LUA_PKGPREFIX}-zlib-[0-9]*:../../archivers/lua-zlib
+DEPENDS+= ${LUA_PKGPREFIX}-bit32-[0-9]*:../../devel/lua-bit32
+DEPENDS+= ${LUA_PKGPREFIX}-cliargs-[0-9]*:../../devel/lua-cliargs
+DEPENDS+= ${LUA_PKGPREFIX}-compat53-[0-9]*:../../devel/lua-compat53
+DEPENDS+= ${LUA_PKGPREFIX}-epnf-[0-9]*:../../devel/lua-epnf
+DEPENDS+= ${LUA_PKGPREFIX}-filesystem-[0-9]*:../../devel/lua-filesystem
+DEPENDS+= ${LUA_PKGPREFIX}-linenoise-[0-9]*:../../devel/lua-linenoise
+DEPENDS+= ${LUA_PKGPREFIX}-lpeg-[0-9]*:../../devel/lua-lpeg
+DEPENDS+= ${LUA_PKGPREFIX}-penlight-[0-9]*:../../devel/lua-penlight
+DEPENDS+= ${LUA_PKGPREFIX}-repl-[0-9]*:../../devel/lua-repl
+DEPENDS+= ${LUA_PKGPREFIX}-stdlib-[0-9]*:../../devel/lua-stdlib
+DEPENDS+= ${LUA_PKGPREFIX}-vstruct-[0-9]*:../../devel/lua-vstruct
+DEPENDS+= ${LUA_PKGPREFIX}-cassowary-[0-9]*:../../math/lua-cassowary
+DEPENDS+= ${LUA_PKGPREFIX}-socket-[0-9]*:../../net/lua-socket
+DEPENDS+= ${LUA_PKGPREFIX}-sec-[0-9]*:../../security/lua-sec
+DEPENDS+= ${LUA_PKGPREFIX}-expat-[0-9]*:../../textproc/lua-expat
+DEPENDS+= ${LUA_PKGPREFIX}-cosmo-[0-9]*:../../textproc/lua-cosmo
+
+# Tests require additional font downloads
+#USE_TOOLS+= perl:test
+#TEST_TARGET= test
+
+GNU_CONFIGURE= yes
+USE_LIBTOOL= yes
+USE_TOOLS+= pkg-config gmake
+
+CONFIGURE_ARGS+= LUA=${PREFIX}/bin/lua5.3
+CONFIGURE_ARGS+= --with-system-luarocks
+
+.include "../../fonts/fontconfig/buildlink3.mk"
+.include "../../fonts/harfbuzz/buildlink3.mk"
+.include "../../graphics/freetype2/buildlink3.mk"
+.include "../../graphics/png/buildlink3.mk"
+.include "../../lang/lua/buildlink3.mk"
+.include "../../security/openssl/buildlink3.mk"
+.include "../../textproc/expat/buildlink3.mk"
+.include "../../textproc/icu/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/print/sile/PLIST b/print/sile/PLIST
new file mode 100644
index 00000000000..121c6cb832a
--- /dev/null
+++ b/print/sile/PLIST
@@ -0,0 +1,280 @@
+@comment $NetBSD: PLIST,v 1.1 2020/08/06 23:52:48 joerg Exp $
+bin/sile
+include/libtexpdf/agl.h
+include/libtexpdf/bmpimage.h
+include/libtexpdf/cff.h
+include/libtexpdf/cff_dict.h
+include/libtexpdf/cff_limits.h
+include/libtexpdf/cff_stdstr.h
+include/libtexpdf/cff_types.h
+include/libtexpdf/cid.h
+include/libtexpdf/cid_basefont.h
+include/libtexpdf/cid_p.h
+include/libtexpdf/cidtype0.h
+include/libtexpdf/cidtype2.h
+include/libtexpdf/cmap.h
+include/libtexpdf/cmap_p.h
+include/libtexpdf/cmap_read.h
+include/libtexpdf/cmap_write.h
+include/libtexpdf/cs_type2.h
+include/libtexpdf/dpxcrypt.h
+include/libtexpdf/dpxfile.h
+include/libtexpdf/dpxutil.h
+include/libtexpdf/epdf.h
+include/libtexpdf/error.h
+include/libtexpdf/fontmap.h
+include/libtexpdf/jp2image.h
+include/libtexpdf/jpegimage.h
+include/libtexpdf/libtexpdf.h
+include/libtexpdf/mem.h
+include/libtexpdf/mfileio.h
+include/libtexpdf/numbers.h
+include/libtexpdf/otl_conf.h
+include/libtexpdf/otl_opt.h
+include/libtexpdf/pdfcolor.h
+include/libtexpdf/pdfdev.h
+include/libtexpdf/pdfdoc.h
+include/libtexpdf/pdfdraw.h
+include/libtexpdf/pdfencoding.h
+include/libtexpdf/pdfencrypt.h
+include/libtexpdf/pdffont.h
+include/libtexpdf/pdflimits.h
+include/libtexpdf/pdfnames.h
+include/libtexpdf/pdfobj.h
+include/libtexpdf/pdfparse.h
+include/libtexpdf/pdfresource.h
+include/libtexpdf/pdftypes.h
+include/libtexpdf/pdfximage.h
+include/libtexpdf/pkfont.h
+include/libtexpdf/pngimage.h
+include/libtexpdf/pst.h
+include/libtexpdf/pst_obj.h
+include/libtexpdf/sfnt.h
+include/libtexpdf/subfont.h
+include/libtexpdf/t1_char.h
+include/libtexpdf/t1_load.h
+include/libtexpdf/tfm.h
+include/libtexpdf/truetype.h
+include/libtexpdf/tt_aux.h
+include/libtexpdf/tt_cmap.h
+include/libtexpdf/tt_glyf.h
+include/libtexpdf/tt_gsub.h
+include/libtexpdf/tt_post.h
+include/libtexpdf/tt_table.h
+include/libtexpdf/type0.h
+include/libtexpdf/type1.h
+include/libtexpdf/type1c.h
+include/libtexpdf/unicode.h
+lib/libtexpdf.la
+lib/sile/fontmetrics.la
+lib/sile/justenoughfontconfig.la
+lib/sile/justenoughharfbuzz.la
+lib/sile/justenoughicu.la
+lib/sile/justenoughlibtexpdf.la
+lib/sile/svg.la
+man/man1/sile.1
+share/doc/sile/CHANGELOG.md
+share/doc/sile/README.md
+share/sile/classes/bible.lua
+share/sile/classes/book.lua
+share/sile/classes/diglot.lua
+share/sile/classes/docbook.lua
+share/sile/classes/docbook.sil
+share/sile/classes/jbook.lua
+share/sile/classes/jplain.lua
+share/sile/classes/letter.lua
+share/sile/classes/markdown.lua
+share/sile/classes/pecha.lua
+share/sile/classes/plain.lua
+share/sile/classes/triglot.lua
+share/sile/core/base-shaper.lua
+share/sile/core/baseclass.lua
+share/sile/core/break.lua
+share/sile/core/cairo-output.lua
+share/sile/core/colorparser.lua
+share/sile/core/debug-output.lua
+share/sile/core/dummy-output.lua
+share/sile/core/font.lua
+share/sile/core/fontmanager.lua
+share/sile/core/frame.lua
+share/sile/core/frameparser.lua
+share/sile/core/harfbuzz-shaper.lua
+share/sile/core/hyphenator-liang.lua
+share/sile/core/inputs-common.lua
+share/sile/core/inputs-texlike.lua
+share/sile/core/inputs-xml.lua
+share/sile/core/languages.lua
+share/sile/core/length.lua
+share/sile/core/libtexpdf-output.lua
+share/sile/core/makedeps.lua
+share/sile/core/measurement.lua
+share/sile/core/nodefactory.lua
+share/sile/core/opentype-parser.lua
+share/sile/core/packagemanager.lua
+share/sile/core/pagebuilder.lua
+share/sile/core/pango-shaper.lua
+share/sile/core/papersize.lua
+share/sile/core/parserbits.lua
+share/sile/core/podofo-output.lua
+share/sile/core/settings.lua
+share/sile/core/sile.lua
+share/sile/core/text-output.lua
+share/sile/core/tracestack.lua
+share/sile/core/typesetter.lua
+share/sile/core/units.lua
+share/sile/core/utilities.lua
+share/sile/languages/af.lua
+share/sile/languages/am.lua
+share/sile/languages/ar.lua
+share/sile/languages/as.lua
+share/sile/languages/bg.lua
+share/sile/languages/bn.lua
+share/sile/languages/ca.lua
+share/sile/languages/cs.lua
+share/sile/languages/cy.lua
+share/sile/languages/da.lua
+share/sile/languages/de.lua
+share/sile/languages/el-monoton.lua
+share/sile/languages/el-polyton.lua
+share/sile/languages/el.lua
+share/sile/languages/en.lua
+share/sile/languages/eo.lua
+share/sile/languages/es.lua
+share/sile/languages/et.lua
+share/sile/languages/eu.lua
+share/sile/languages/fi.lua
+share/sile/languages/fr.lua
+share/sile/languages/ga.lua
+share/sile/languages/gu.lua
+share/sile/languages/hi.lua
+share/sile/languages/hr.lua
+share/sile/languages/hu.lua
+share/sile/languages/id.lua
+share/sile/languages/is.lua
+share/sile/languages/it.lua
+share/sile/languages/ja.lua
+share/sile/languages/jv.lua
+share/sile/languages/ka.lua
+share/sile/languages/kn.lua
+share/sile/languages/la.lua
+share/sile/languages/lt.lua
+share/sile/languages/lv.lua
+share/sile/languages/ml.lua
+share/sile/languages/mr.lua
+share/sile/languages/my.lua
+share/sile/languages/nl.lua
+share/sile/languages/no.lua
+share/sile/languages/or.lua
+share/sile/languages/pa.lua
+share/sile/languages/pl.lua
+share/sile/languages/pt.lua
+share/sile/languages/rm.lua
+share/sile/languages/ro.lua
+share/sile/languages/ru.lua
+share/sile/languages/sa.lua
+share/sile/languages/sk.lua
+share/sile/languages/sl.lua
+share/sile/languages/sr.lua
+share/sile/languages/sv.lua
+share/sile/languages/ta.lua
+share/sile/languages/th.lua
+share/sile/languages/tk.lua
+share/sile/languages/tr.lua
+share/sile/languages/ug.lua
+share/sile/languages/uk.lua
+share/sile/languages/und.lua
+share/sile/languages/unicode.lua
+share/sile/lua-libraries/bitshim.lua
+share/sile/lua-libraries/char-def.lua
+share/sile/lua-libraries/imagesize.lua
+share/sile/lua-libraries/imagesize/format/bmp.lua
+share/sile/lua-libraries/imagesize/format/gif.lua
+share/sile/lua-libraries/imagesize/format/jpeg.lua
+share/sile/lua-libraries/imagesize/format/mng.lua
+share/sile/lua-libraries/imagesize/format/pcd.lua
+share/sile/lua-libraries/imagesize/format/png.lua
+share/sile/lua-libraries/imagesize/format/pnm.lua
+share/sile/lua-libraries/imagesize/format/psd.lua
+share/sile/lua-libraries/imagesize/format/swf.lua
+share/sile/lua-libraries/imagesize/format/tiff.lua
+share/sile/lua-libraries/imagesize/format/xbm.lua
+share/sile/lua-libraries/imagesize/format/xcf.lua
+share/sile/lua-libraries/imagesize/format/xpm.lua
+share/sile/lua-libraries/imagesize/util.lua
+share/sile/lua-libraries/lomwithpos.lua
+share/sile/lua-libraries/lunamark.lua
+share/sile/lua-libraries/lunamark/entities.lua
+share/sile/lua-libraries/lunamark/reader.lua
+share/sile/lua-libraries/lunamark/reader/markdown.lua
+share/sile/lua-libraries/lunamark/util.lua
+share/sile/lua-libraries/lunamark/writer.lua
+share/sile/lua-libraries/lunamark/writer/ast.lua
+share/sile/lua-libraries/lunamark/writer/context.lua
+share/sile/lua-libraries/lunamark/writer/docbook.lua
+share/sile/lua-libraries/lunamark/writer/dzslides.lua
+share/sile/lua-libraries/lunamark/writer/generic.lua
+share/sile/lua-libraries/lunamark/writer/groff.lua
+share/sile/lua-libraries/lunamark/writer/html.lua
+share/sile/lua-libraries/lunamark/writer/html5.lua
+share/sile/lua-libraries/lunamark/writer/latex.lua
+share/sile/lua-libraries/lunamark/writer/man.lua
+share/sile/lua-libraries/lunamark/writer/tex.lua
+share/sile/lua-libraries/lunamark/writer/xml.lua
+share/sile/packages/autodoc.lua
+share/sile/packages/background.lua
+share/sile/packages/balanced-frames.lua
+share/sile/packages/bibliography.lua
+share/sile/packages/bibstyles/chicago.lua
+share/sile/packages/bibtex.lua
+share/sile/packages/bidi.lua
+share/sile/packages/boustrophedon.lua
+share/sile/packages/break-firstfit.lua
+share/sile/packages/chapterverse.lua
+share/sile/packages/chordmode.lua
+share/sile/packages/color-fonts.lua
+share/sile/packages/color.lua
+share/sile/packages/converters.lua
+share/sile/packages/counters.lua
+share/sile/packages/cropmarks.lua
+share/sile/packages/date.lua
+share/sile/packages/debug.lua
+share/sile/packages/features.lua
+share/sile/packages/folio.lua
+share/sile/packages/font-fallback.lua
+share/sile/packages/footnotes.lua
+share/sile/packages/frametricks.lua
+share/sile/packages/grid.lua
+share/sile/packages/gutenberg.lua
+share/sile/packages/hanmenkyoshi.lua
+share/sile/packages/ifattop.lua
+share/sile/packages/image.lua
+share/sile/packages/indexer.lua
+share/sile/packages/infonode.lua
+share/sile/packages/inputfilter.lua
+share/sile/packages/insertions.lua
+share/sile/packages/leaders.lua
+share/sile/packages/linespacing.lua
+share/sile/packages/lorem.lua
+share/sile/packages/masters.lua
+share/sile/packages/pagebuilder-bestfit.lua
+share/sile/packages/pandoc.lua
+share/sile/packages/parallel.lua
+share/sile/packages/pdf.lua
+share/sile/packages/pdfstructure.lua
+share/sile/packages/pullquote.lua
+share/sile/packages/raiselower.lua
+share/sile/packages/rebox.lua
+share/sile/packages/rotate.lua
+share/sile/packages/ruby.lua
+share/sile/packages/rules.lua
+share/sile/packages/simpletable.lua
+share/sile/packages/specimen.lua
+share/sile/packages/svg.lua
+share/sile/packages/tableofcontents.lua
+share/sile/packages/tate.lua
+share/sile/packages/textcase.lua
+share/sile/packages/twoside.lua
+share/sile/packages/unichar.lua
+share/sile/packages/url.lua
+share/sile/packages/verbatim.lua
+share/sile/packages/xmltricks.lua
diff --git a/print/sile/distinfo b/print/sile/distinfo
new file mode 100644
index 00000000000..0a5e640e7fa
--- /dev/null
+++ b/print/sile/distinfo
@@ -0,0 +1,8 @@
+$NetBSD: distinfo,v 1.1 2020/08/06 23:52:48 joerg Exp $
+
+SHA1 (sile-0.10.9.tar.xz) = 7453f470b9daa88c9db0d4fe4f978e64bfa450c1
+RMD160 (sile-0.10.9.tar.xz) = 21ebf989cd4e1cd027cb3004cb446df21a8c3c2a
+SHA512 (sile-0.10.9.tar.xz) = 3e1e53129f3956c47125f594ed23e4a3713ba0799c07ce7bb93b1a416bb4bd96063e4cc5b7563f68d1fdf3140bade9e4890719dba4dff79ee4f3761754ddc593
+Size (sile-0.10.9.tar.xz) = 12072132 bytes
+SHA1 (patch-configure) = 05c5b47f66edee48dd4466187a777517eafef380
+SHA1 (patch-src_Makefile.in) = 875feda6a0feb1b5af01765f3037e9d061c457ce
diff --git a/print/sile/patches/patch-configure b/print/sile/patches/patch-configure
new file mode 100644
index 00000000000..c67fc760378
--- /dev/null
+++ b/print/sile/patches/patch-configure
@@ -0,0 +1,15 @@
+$NetBSD: patch-configure,v 1.1 2020/08/06 23:52:49 joerg Exp $
+
+Shell portability
+
+--- configure.orig 2020-08-04 23:01:08.814748461 +0000
++++ configure
+@@ -14608,7 +14608,7 @@ $as_echo "no" >&6; }
+ fi
+
+
+- test "x$HASLUAROCKS" == "xyes" || as_fn_error $? "luarocks is required" "$LINENO" 5
++ test "x$HASLUAROCKS" = "xyes" || as_fn_error $? "luarocks is required" "$LINENO" 5
+
+ fi
+
diff --git a/print/sile/patches/patch-src_Makefile.in b/print/sile/patches/patch-src_Makefile.in
new file mode 100644
index 00000000000..06d49aea089
--- /dev/null
+++ b/print/sile/patches/patch-src_Makefile.in
@@ -0,0 +1,24 @@
+$NetBSD: patch-src_Makefile.in,v 1.1 2020/08/06 23:52:49 joerg Exp $
+
+Fix libtool use.
+
+--- src/Makefile.in.orig 2020-08-04 23:14:15.897862556 +0000
++++ src/Makefile.in
+@@ -175,7 +175,7 @@ justenoughicu_la_LINK = $(LIBTOOL) $(AM_
+ $(justenoughicu_la_CFLAGS) $(CFLAGS) \
+ $(justenoughicu_la_LDFLAGS) $(LDFLAGS) -o $@
+ @SYSTEM_LIBTEXPDF_FALSE@am__DEPENDENCIES_3 = \
+-@SYSTEM_LIBTEXPDF_FALSE@ ../libtexpdf/.libs/libtexpdf.la
++@SYSTEM_LIBTEXPDF_FALSE@ ../libtexpdf/libtexpdf.la
+ justenoughlibtexpdf_la_DEPENDENCIES = $(am__DEPENDENCIES_3) \
+ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_2)
+ am_justenoughlibtexpdf_la_OBJECTS = \
+@@ -455,7 +455,7 @@ ACLOCAL_AMFLAGS = -I m4
+ @LINKLUA_TRUE@MY_LUA_LIB = $(LUA_LIB)
+ @LINKLUA_FALSE@UNDEFINED =
+ @LINKLUA_TRUE@UNDEFINED = -no-undefined
+-@SYSTEM_LIBTEXPDF_FALSE@LIBTEXPDF_LIB = ../libtexpdf/.libs/libtexpdf.la
++@SYSTEM_LIBTEXPDF_FALSE@LIBTEXPDF_LIB = ../libtexpdf/libtexpdf.la
+ @SYSTEM_LIBTEXPDF_TRUE@LIBTEXPDF_LIB = -ltexpdf
+ pkglib_LTLIBRARIES = justenoughharfbuzz.la justenoughlibtexpdf.la \
+ justenoughfontconfig.la fontmetrics.la svg.la $(am__append_1) \