pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/librsvg-c graphics/librsvg-c: re-import librs...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3cb1a78688c2
branches:  trunk
changeset: 334491:3cb1a78688c2
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Wed May 29 12:34:52 2019 +0000

description:
graphics/librsvg-c: re-import librsvg-2.40.20nb4 (previously in graphics/librsvg)

librsvg is Raph's scalable vector graphics library.  It provides support for
SVG graphics, and is used by the GNOME desktop.

This package provides the librsvg library as well as some addons -- a pixbuf
loader and a theme engine -- for the GTK+ toolkit.

This package provides the older 2.40.x branch of librsvg that is written
in plain C.

diffstat:

 graphics/librsvg-c/DESCR                     |   8 +++
 graphics/librsvg-c/Makefile                  |  61 ++++++++++++++++++++++++++++
 graphics/librsvg-c/PLIST                     |  41 ++++++++++++++++++
 graphics/librsvg-c/distinfo                  |   7 +++
 graphics/librsvg-c/patches/patch-test-driver |  15 ++++++
 5 files changed, 132 insertions(+), 0 deletions(-)

diffs (152 lines):

diff -r eae2982f5b32 -r 3cb1a78688c2 graphics/librsvg-c/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/librsvg-c/DESCR  Wed May 29 12:34:52 2019 +0000
@@ -0,0 +1,8 @@
+librsvg is Raph's scalable vector graphics library.  It provides support for
+SVG graphics, and is used by the GNOME desktop.
+
+This package provides the librsvg library as well as some addons -- a pixbuf
+loader and a theme engine -- for the GTK+ toolkit.
+
+This package provides the older 2.40.x branch of librsvg that is written
+in plain C.
diff -r eae2982f5b32 -r 3cb1a78688c2 graphics/librsvg-c/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/librsvg-c/Makefile       Wed May 29 12:34:52 2019 +0000
@@ -0,0 +1,61 @@
+# $NetBSD: Makefile,v 1.1 2019/05/29 12:34:52 wiz Exp $
+
+DISTNAME=      librsvg-2.40.20
+PKGREVISION=   4
+CATEGORIES=    graphics gnome
+MASTER_SITES=  ${MASTER_SITE_GNOME:=sources/librsvg/${PKGVERSION_NOREV:R}/}
+EXTRACT_SUFX=  .tar.xz
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://wiki.gnome.org/LibRsvg
+COMMENT=       SVG library for GNOME (2.40.xx branch, C only)
+LICENSE=       gnu-lgpl-v2
+
+CONFLICTS+=    librsvg2-gtk-[0-9]* librsvg2-[0-9]*
+
+USE_LIBTOOL=           yes
+USE_TOOLS+=            pkg-config gmake
+USE_LANGUAGES+=                c c++
+GNU_CONFIGURE=         yes
+CONFIGURE_ARGS+=       --disable-tools
+CONFIGURE_ARGS+=       --enable-Bsymbolic=auto
+
+PKGCONFIG_OVERRIDE=    librsvg.pc.in
+
+TEST_TARGET=           check
+
+CONFIGURE_ARGS.Darwin+=        --disable-Bsymbolic
+
+PKG_OPTIONS_VAR=       PKG_OPTIONS.librsvg
+PKG_SUPPORTED_OPTIONS= introspection
+PKG_SUGGESTED_OPTIONS= introspection
+.include "../../mk/bsd.options.mk"
+
+PLIST_VARS+=   introspection
+
+.if !empty(PKG_OPTIONS:Mintrospection)
+PLIST.introspection=   yes
+CONFIGURE_ARGS+=       --enable-introspection
+BUILDLINK_DEPMETHOD.gobject-introspection+=    build
+.include "../../devel/gobject-introspection/buildlink3.mk"
+.else
+CONFIGURE_ARGS+=       --disable-introspection
+.endif
+
+BUILDLINK_API_DEPENDS.glib2+=  glib2>=2.24.0
+.include "../../devel/glib2/buildlink3.mk"
+BUILDLINK_API_DEPENDS.pango+=  pango>=1.38
+.include "../../devel/pango/buildlink3.mk"
+.include "../../fonts/fontconfig/buildlink3.mk"
+BUILDLINK_API_DEPENDS.cairo+=  cairo>=1.2.0
+.include "../../graphics/cairo/buildlink3.mk"
+BUILDLINK_DEPMETHOD.cairo-gobject+=    build
+.include "../../graphics/cairo-gobject/buildlink3.mk"
+.include "../../graphics/freetype2/buildlink3.mk"
+.include "../../graphics/gdk-pixbuf2/loaders.mk"
+BUILDLINK_API_DEPENDS.libcroco+=       libcroco>=0.6.1
+.include "../../textproc/libcroco/buildlink3.mk"
+BUILDLINK_API_DEPENDS.libxml2+=        libxml2>=2.9
+.include "../../textproc/libxml2/buildlink3.mk"
+.include "../../graphics/gdk-pixbuf2/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r eae2982f5b32 -r 3cb1a78688c2 graphics/librsvg-c/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/librsvg-c/PLIST  Wed May 29 12:34:52 2019 +0000
@@ -0,0 +1,41 @@
+@comment $NetBSD: PLIST,v 1.1 2019/05/29 12:34:52 wiz Exp $
+bin/rsvg-convert
+include/librsvg-2.0/librsvg/librsvg-enum-types.h
+include/librsvg-2.0/librsvg/librsvg-features.h
+include/librsvg-2.0/librsvg/rsvg-cairo.h
+include/librsvg-2.0/librsvg/rsvg.h
+lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.la
+${PLIST.introspection}lib/girepository-1.0/Rsvg-2.0.typelib
+lib/librsvg-2.la
+lib/pkgconfig/librsvg-2.0.pc
+man/man1/rsvg-convert.1
+${PLIST.introspection}share/gir-1.0/Rsvg-2.0.gir
+share/gtk-doc/html/rsvg-2.0/RsvgHandle.html
+share/gtk-doc/html/rsvg-2.0/annotation-glossary.html
+share/gtk-doc/html/rsvg-2.0/api-index-2-14.html
+share/gtk-doc/html/rsvg-2.0/api-index-2-22.html
+share/gtk-doc/html/rsvg-2.0/api-index-2-32.html
+share/gtk-doc/html/rsvg-2.0/api-index-2-36.html
+share/gtk-doc/html/rsvg-2.0/api-index-2-4.html
+share/gtk-doc/html/rsvg-2.0/api-index-2-8.html
+share/gtk-doc/html/rsvg-2.0/api-index-2-9.html
+share/gtk-doc/html/rsvg-2.0/api-index-deprecated.html
+share/gtk-doc/html/rsvg-2.0/api-index-full.html
+share/gtk-doc/html/rsvg-2.0/home.png
+share/gtk-doc/html/rsvg-2.0/index.html
+share/gtk-doc/html/rsvg-2.0/left-insensitive.png
+share/gtk-doc/html/rsvg-2.0/left.png
+share/gtk-doc/html/rsvg-2.0/licence.html
+share/gtk-doc/html/rsvg-2.0/object-tree.html
+share/gtk-doc/html/rsvg-2.0/right-insensitive.png
+share/gtk-doc/html/rsvg-2.0/right.png
+share/gtk-doc/html/rsvg-2.0/rsvg-2.0.devhelp2
+share/gtk-doc/html/rsvg-2.0/rsvg-Using-RSVG-with-GIO.html
+share/gtk-doc/html/rsvg-2.0/rsvg-Using-RSVG-with-GdkPixbuf.html
+share/gtk-doc/html/rsvg-2.0/rsvg-Using-RSVG-with-cairo.html
+share/gtk-doc/html/rsvg-2.0/rsvg-Version-check-and-feature-tests.html
+share/gtk-doc/html/rsvg-2.0/rsvg.html
+share/gtk-doc/html/rsvg-2.0/style.css
+share/gtk-doc/html/rsvg-2.0/up-insensitive.png
+share/gtk-doc/html/rsvg-2.0/up.png
+share/thumbnailers/librsvg.thumbnailer
diff -r eae2982f5b32 -r 3cb1a78688c2 graphics/librsvg-c/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/librsvg-c/distinfo       Wed May 29 12:34:52 2019 +0000
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2019/05/29 12:34:52 wiz Exp $
+
+SHA1 (librsvg-2.40.20.tar.xz) = 244441b0f83ea8b3888cea2e9337eed3426f0149
+RMD160 (librsvg-2.40.20.tar.xz) = e697e1220779f77e81a890718ef5cda5b5e6b740
+SHA512 (librsvg-2.40.20.tar.xz) = cdd8224deb4c3786e29f48ed02c32ed9dff5cb15aba574a5ef845801ad3669cfcc3eedb9d359c22213dc7a29de24c363248825adad5877c40abf73b3688ff12f
+Size (librsvg-2.40.20.tar.xz) = 1796376 bytes
+SHA1 (patch-test-driver) = 802362f69cc54ce59483715f4c943d629a1680a7
diff -r eae2982f5b32 -r 3cb1a78688c2 graphics/librsvg-c/patches/patch-test-driver
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/librsvg-c/patches/patch-test-driver      Wed May 29 12:34:52 2019 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-test-driver,v 1.1 2019/05/29 12:34:52 wiz Exp $
+
+Fix unportable test(1) operator.
+
+--- test-driver.orig   2017-07-20 01:11:47.000000000 +0000
++++ test-driver
+@@ -59,7 +59,7 @@ enable_hard_errors=yes
+ while test $# -gt 1; do
+  arg=${1%=*}
+  val=${1#*=}
+- if [ $arg == $val ]; then
++ if [ $arg = $val ]; then
+    val=$2
+    shift
+  fi



Home | Main Index | Thread Index | Old Index