summaryrefslogtreecommitdiff
path: root/graphics/lasem
diff options
context:
space:
mode:
authordrochner <drochner>2013-03-14 18:47:29 +0000
committerdrochner <drochner>2013-03-14 18:47:29 +0000
commit7b3be630f8ac1a494cf683eaa8c6e72396e5998d (patch)
tree2677164052a6ea5cbe987ce77ce11723165bd37b /graphics/lasem
parent18f30c517f551625c990c4e3429f961c506c386b (diff)
downloadpkgsrc-7b3be630f8ac1a494cf683eaa8c6e72396e5998d.tar.gz
add lasem, a library for rendering SVG and Mathml, from jihbed
per pkgsrc-wip
Diffstat (limited to 'graphics/lasem')
-rw-r--r--graphics/lasem/DESCR5
-rw-r--r--graphics/lasem/Makefile28
-rw-r--r--graphics/lasem/PLIST60
-rw-r--r--graphics/lasem/buildlink3.mk20
-rw-r--r--graphics/lasem/distinfo6
-rw-r--r--graphics/lasem/patches/patch-ab21
6 files changed, 140 insertions, 0 deletions
diff --git a/graphics/lasem/DESCR b/graphics/lasem/DESCR
new file mode 100644
index 00000000000..f90ba181965
--- /dev/null
+++ b/graphics/lasem/DESCR
@@ -0,0 +1,5 @@
+Lasem is a library for rendering SVG and Mathml, implementing a DOM like
+API. It's based on GObject and use Pango and Cairo for the rendering.
+Included in the package, there is a simple application, lasemrender,
+which is able to convert a Mathml, a latex math or a SVG file to either
+a PNG, PDF or SVG image.
diff --git a/graphics/lasem/Makefile b/graphics/lasem/Makefile
new file mode 100644
index 00000000000..baf056fefe5
--- /dev/null
+++ b/graphics/lasem/Makefile
@@ -0,0 +1,28 @@
+# $NetBSD: Makefile,v 1.1 2013/03/14 18:47:29 drochner Exp $
+#
+
+DISTNAME= lasem-0.4.1
+CATEGORIES= graphics gnome
+MASTER_SITES= ftp://ftp.gnome.org/pub/gnome/sources/lasem/0.4/
+EXTRACT_SUFX= .tar.xz
+
+MAINTAINER= pkgsrc.gnome@gmail.com
+HOMEPAGE= https://live.gnome.org/Lasem
+COMMENT= Lasem is a library for rendering SVG and Mathml
+LICENSE= gnu-gpl-v2
+
+GNU_CONFIGURE= yes
+USE_LIBTOOL= yes
+USE_TOOLS+= pkg-config bison intltool flex gmake
+TEST_TARGET= check
+
+PKGCONFIG_OVERRIDE+= lasem.pc.in
+
+.include "../../devel/glib2/buildlink3.mk"
+BUILDLINK_API_DEPENDS.pango+= pango>=1.6.0
+.include "../../devel/pango/buildlink3.mk"
+BUILDLINK_API_DEPENDS.cairo+= cairo>=1.0.0nb2
+.include "../../graphics/cairo/buildlink3.mk"
+.include "../../graphics/gdk-pixbuf2/buildlink3.mk"
+.include "../../textproc/libxml2/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/graphics/lasem/PLIST b/graphics/lasem/PLIST
new file mode 100644
index 00000000000..ddf9e3f8a45
--- /dev/null
+++ b/graphics/lasem/PLIST
@@ -0,0 +1,60 @@
+@comment $NetBSD: PLIST,v 1.1 2013/03/14 18:47:29 drochner Exp $
+bin/lasem-render-0.4
+include/lasem-0.4/lsm.h
+include/lasem-0.4/lsmattributes.h
+include/lasem-0.4/lsmcairo.h
+include/lasem-0.4/lsmdebug.h
+include/lasem-0.4/lsmdom.h
+include/lasem-0.4/lsmdomcharacterdata.h
+include/lasem-0.4/lsmdomdocument.h
+include/lasem-0.4/lsmdomdocumentfragment.h
+include/lasem-0.4/lsmdomelement.h
+include/lasem-0.4/lsmdomentities.h
+include/lasem-0.4/lsmdomenumtypes.h
+include/lasem-0.4/lsmdomimplementation.h
+include/lasem-0.4/lsmdomnamednodemap.h
+include/lasem-0.4/lsmdomnode.h
+include/lasem-0.4/lsmdomnodelist.h
+include/lasem-0.4/lsmdomparser.h
+include/lasem-0.4/lsmdomtext.h
+include/lasem-0.4/lsmdomtypes.h
+include/lasem-0.4/lsmdomview.h
+include/lasem-0.4/lsmproperties.h
+include/lasem-0.4/lsmstr.h
+include/lasem-0.4/lsmtraits.h
+include/lasem-0.4/lsmtypes.h
+include/lasem-0.4/lsmutils.h
+lib/liblasem-0.4.la
+lib/pkgconfig/lasem-0.4.pc
+share/doc/lasem-0.4/AUTHORS
+share/doc/lasem-0.4/COPYING
+share/doc/lasem-0.4/README
+share/gtk-doc/html/lasem-0.4/LsmDomCharacterData.html
+share/gtk-doc/html/lasem-0.4/LsmDomDocument.html
+share/gtk-doc/html/lasem-0.4/LsmDomElement.html
+share/gtk-doc/html/lasem-0.4/LsmDomNode.html
+share/gtk-doc/html/lasem-0.4/LsmDomText.html
+share/gtk-doc/html/lasem-0.4/LsmDomView.html
+share/gtk-doc/html/lasem-0.4/annotation-glossary.html
+share/gtk-doc/html/lasem-0.4/api-index-full.html
+share/gtk-doc/html/lasem-0.4/aravis-reference.html
+share/gtk-doc/html/lasem-0.4/ch03.html
+share/gtk-doc/html/lasem-0.4/home.png
+share/gtk-doc/html/lasem-0.4/index.html
+share/gtk-doc/html/lasem-0.4/index.sgml
+share/gtk-doc/html/lasem-0.4/lasem-0.4.devhelp2
+share/gtk-doc/html/lasem-0.4/lasem-LsmDomDocumentFragment.html
+share/gtk-doc/html/lasem-0.4/lasem-LsmDomNamedNodeMap.html
+share/gtk-doc/html/lasem-0.4/lasem-LsmDomNodeList.html
+share/gtk-doc/html/lasem-0.4/lasem-building.html
+share/gtk-doc/html/lasem-0.4/lasem-fonts.html
+share/gtk-doc/html/lasem-0.4/lasem-overview.html
+share/gtk-doc/html/lasem-0.4/left.png
+share/gtk-doc/html/lasem-0.4/object-tree.html
+share/gtk-doc/html/lasem-0.4/right.png
+share/gtk-doc/html/lasem-0.4/style.css
+share/gtk-doc/html/lasem-0.4/up.png
+share/locale/de/LC_MESSAGES/lasem-0.4.mo
+share/locale/fr/LC_MESSAGES/lasem-0.4.mo
+share/locale/pl/LC_MESSAGES/lasem-0.4.mo
+share/locale/sv/LC_MESSAGES/lasem-0.4.mo
diff --git a/graphics/lasem/buildlink3.mk b/graphics/lasem/buildlink3.mk
new file mode 100644
index 00000000000..f1a4854a4dd
--- /dev/null
+++ b/graphics/lasem/buildlink3.mk
@@ -0,0 +1,20 @@
+# $NetBSD: buildlink3.mk,v 1.1 2013/03/14 18:47:29 drochner Exp $
+
+BUILDLINK_TREE+= lasem
+
+.if !defined(LASEM_BUILDLINK3_MK)
+LASEM_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.lasem+= lasem>=0.2.0
+BUILDLINK_ABI_DEPENDS.lasem?= lasem>=0.2.0nb1
+BUILDLINK_PKGSRCDIR.lasem?= ../../graphics/lasem
+
+.include "../../devel/glib2/buildlink3.mk"
+.include "../../devel/pango/buildlink3.mk"
+.include "../../graphics/cairo/buildlink3.mk"
+.include "../../textproc/libxml2/buildlink3.mk"
+.include "../../graphics/gdk-pixbuf2/buildlink3.mk"
+
+.endif # LASEM_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -lasem
diff --git a/graphics/lasem/distinfo b/graphics/lasem/distinfo
new file mode 100644
index 00000000000..0e0c29f70a9
--- /dev/null
+++ b/graphics/lasem/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2013/03/14 18:47:29 drochner Exp $
+
+SHA1 (lasem-0.4.1.tar.xz) = 6731a881e7b78922ad8e56113e019e155defc4a5
+RMD160 (lasem-0.4.1.tar.xz) = 3baa89704242017a796f0b5e291f5f2f0cf1f3dc
+Size (lasem-0.4.1.tar.xz) = 454164 bytes
+SHA1 (patch-ab) = a43a8c1792bf0a3b5fe1791fe763f35eca121b22
diff --git a/graphics/lasem/patches/patch-ab b/graphics/lasem/patches/patch-ab
new file mode 100644
index 00000000000..3d409023ff9
--- /dev/null
+++ b/graphics/lasem/patches/patch-ab
@@ -0,0 +1,21 @@
+$NetBSD: patch-ab,v 1.1 2013/03/14 18:47:30 drochner Exp $
+
+--- Makefile.in.orig 2012-12-03 16:21:17.000000000 +0000
++++ Makefile.in
+@@ -356,14 +356,11 @@ TEST_PROGS =
+ ACLOCAL_AMFLAGS = -I m4
+ DISTCHECK_CONFIGURE_FLAGS = --enable-introspection --enable-gtk-doc
+ SUBDIRS = itex2mml src tests po docs
+-lasemdocdir = ${prefix}/doc/lasem-@LASEM_API_VERSION@
++lasemdocdir = ${prefix}/share/doc/lasem-@LASEM_API_VERSION@
+ lasemdoc_DATA = \
+ README \
+ COPYING \
+- ChangeLog \
+- AUTHORS \
+- INSTALL \
+- NEWS
++ AUTHORS
+
+ EXTRA_DIST = $(lasemdoc_DATA) m4/introspection.m4
+ pkgconfigdir = $(libdir)/pkgconfig