From cc04ae5baebfec2d92c0a9b0fdcd6390129a1e58 Mon Sep 17 00:00:00 2001 From: drochner Date: Thu, 14 Mar 2013 18:47:29 +0000 Subject: add lasem, a library for rendering SVG and Mathml, from jihbed per pkgsrc-wip --- graphics/Makefile | 3 ++- graphics/lasem/DESCR | 5 ++++ graphics/lasem/Makefile | 28 +++++++++++++++++++ graphics/lasem/PLIST | 60 +++++++++++++++++++++++++++++++++++++++++ graphics/lasem/buildlink3.mk | 20 ++++++++++++++ graphics/lasem/distinfo | 6 +++++ graphics/lasem/patches/patch-ab | 21 +++++++++++++++ 7 files changed, 142 insertions(+), 1 deletion(-) create mode 100644 graphics/lasem/DESCR create mode 100644 graphics/lasem/Makefile create mode 100644 graphics/lasem/PLIST create mode 100644 graphics/lasem/buildlink3.mk create mode 100644 graphics/lasem/distinfo create mode 100644 graphics/lasem/patches/patch-ab (limited to 'graphics') diff --git a/graphics/Makefile b/graphics/Makefile index 02b87783a7b..132bb747597 100644 --- a/graphics/Makefile +++ b/graphics/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.647 2013/03/04 23:11:43 khorben Exp $ +# $NetBSD: Makefile,v 1.648 2013/03/14 18:47:29 drochner Exp $ # COMMENT= Graphics tools and libraries @@ -250,6 +250,7 @@ SUBDIR+= kphotools SUBDIR+= kruler SUBDIR+= ksaneplugin SUBDIR+= ksnapshot +SUBDIR+= lasem SUBDIR+= lcms SUBDIR+= lcms2 SUBDIR+= lensfun 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 -- cgit v1.2.3