pkgsrc-Changes archive

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

CVS commit: pkgsrc/graphics/librsvg



Module Name:    pkgsrc
Committed By:   wiz
Date:           Mon Jan 26 21:32:00 UTC 2026

Modified Files:
        pkgsrc/graphics/librsvg: Makefile PLIST
Added Files:
        pkgsrc/graphics/librsvg: options.mk

Log Message:
librsvg: make API documentation installation optional

and turn it off by default, to avoid py-gi-docgen dependency.

Bump PKGREVISION.


To generate a diff of this commit:
cvs rdiff -u -r1.179 -r1.180 pkgsrc/graphics/librsvg/Makefile
cvs rdiff -u -r1.24 -r1.25 pkgsrc/graphics/librsvg/PLIST
cvs rdiff -u -r0 -r1.1 pkgsrc/graphics/librsvg/options.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/graphics/librsvg/Makefile
diff -u pkgsrc/graphics/librsvg/Makefile:1.179 pkgsrc/graphics/librsvg/Makefile:1.180
--- pkgsrc/graphics/librsvg/Makefile:1.179      Wed Jan  7 08:47:23 2026
+++ pkgsrc/graphics/librsvg/Makefile    Mon Jan 26 21:32:00 2026
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.179 2026/01/07 08:47:23 wiz Exp $
+# $NetBSD: Makefile,v 1.180 2026/01/26 21:32:00 wiz Exp $
 
 DISTNAME=      librsvg-2.60.1
-PKGREVISION=   1
+PKGREVISION=   2
 CATEGORIES=    graphics gnome
 MASTER_SITES=  ${MASTER_SITE_GNOME:=sources/librsvg/${PKGVERSION_NOREV:R}/}
 EXTRACT_SUFX=  .tar.xz
@@ -11,10 +11,6 @@ HOMEPAGE=    https://wiki.gnome.org/LibRsvg
 COMMENT=       SVG library for GNOME
 LICENSE=       gnu-lgpl-v2.1
 
-# Requires rst2man to generate rsvg-convert.1
-TOOL_DEPENDS+= ${PYPKGPREFIX}-docutils-[0-9]*:../../textproc/py-docutils
-# Requires gi-docgen to generate HTML format API documentation
-TOOL_DEPENDS+= ${PYPKGPREFIX}-gi-docgen>=2022.1nb1:../../devel/py-gi-docgen
 TOOL_DEPENDS+= cargo-c>=0.9.19:../../devel/cargo-c
 
 USE_LANGUAGES= c c++
@@ -41,14 +37,16 @@ SUBST_SED.rst2man=  -e 's,rst2man.py,rst2
 
 .include "../../mk/bsd.prefs.mk"
 
-post-install:
 .if ${OPSYS} == "Darwin"
+post-install:
        install_name_tool                       \
          -change @rpath/librsvg-2.2.dylib      \
          ${PREFIX}/lib/librsvg-2.2.dylib       \
          ${DESTDIR}${PREFIX}/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader_svg.dylib
 .endif
 
+.include "options.mk"
+
 .include "cargo-depends.mk"
 
 .include "../../devel/meson/build.mk"

Index: pkgsrc/graphics/librsvg/PLIST
diff -u pkgsrc/graphics/librsvg/PLIST:1.24 pkgsrc/graphics/librsvg/PLIST:1.25
--- pkgsrc/graphics/librsvg/PLIST:1.24  Fri Dec 27 08:47:57 2024
+++ pkgsrc/graphics/librsvg/PLIST       Mon Jan 26 21:32:00 2026
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.24 2024/12/27 08:47:57 wiz Exp $
+@comment $NetBSD: PLIST,v 1.25 2026/01/26 21:32:00 wiz Exp $
 bin/rsvg-convert
 include/librsvg-2.0/librsvg/rsvg-cairo.h
 include/librsvg-2.0/librsvg/rsvg-features.h
@@ -11,133 +11,133 @@ lib/librsvg-2.so
 lib/librsvg-2.so.2
 lib/librsvg-2.so.${PKGVERSION}
 lib/pkgconfig/librsvg-2.0.pc
-man/man1/rsvg-convert.1
-share/doc/Rsvg-2.0/RedHatDisplay-Black.woff
-share/doc/Rsvg-2.0/RedHatDisplay-Black.woff2
-share/doc/Rsvg-2.0/RedHatDisplay-BlackItalic.woff
-share/doc/Rsvg-2.0/RedHatDisplay-BlackItalic.woff2
-share/doc/Rsvg-2.0/RedHatDisplay-Bold.woff
-share/doc/Rsvg-2.0/RedHatDisplay-Bold.woff2
-share/doc/Rsvg-2.0/RedHatDisplay-BoldItalic.woff
-share/doc/Rsvg-2.0/RedHatDisplay-BoldItalic.woff2
-share/doc/Rsvg-2.0/RedHatDisplay-Italic.woff
-share/doc/Rsvg-2.0/RedHatDisplay-Italic.woff2
-share/doc/Rsvg-2.0/RedHatDisplay-Medium.woff
-share/doc/Rsvg-2.0/RedHatDisplay-Medium.woff2
-share/doc/Rsvg-2.0/RedHatDisplay-MediumItalic.woff
-share/doc/Rsvg-2.0/RedHatDisplay-MediumItalic.woff2
-share/doc/Rsvg-2.0/RedHatDisplay-Regular.woff
-share/doc/Rsvg-2.0/RedHatDisplay-Regular.woff2
-share/doc/Rsvg-2.0/RedHatText-Bold.woff
-share/doc/Rsvg-2.0/RedHatText-Bold.woff2
-share/doc/Rsvg-2.0/RedHatText-BoldItalic.woff
-share/doc/Rsvg-2.0/RedHatText-BoldItalic.woff2
-share/doc/Rsvg-2.0/RedHatText-Italic.woff
-share/doc/Rsvg-2.0/RedHatText-Italic.woff2
-share/doc/Rsvg-2.0/RedHatText-Medium.woff
-share/doc/Rsvg-2.0/RedHatText-Medium.woff2
-share/doc/Rsvg-2.0/RedHatText-MediumItalic.woff
-share/doc/Rsvg-2.0/RedHatText-MediumItalic.woff2
-share/doc/Rsvg-2.0/RedHatText-Regular.woff
-share/doc/Rsvg-2.0/RedHatText-Regular.woff2
-share/doc/Rsvg-2.0/Rsvg-2.0.devhelp2
-share/doc/Rsvg-2.0/SourceCodePro-It.ttf.woff
-share/doc/Rsvg-2.0/SourceCodePro-Regular.ttf.woff
-share/doc/Rsvg-2.0/SourceCodePro-Semibold.ttf.woff
-share/doc/Rsvg-2.0/callback.SizeFunc.html
-share/doc/Rsvg-2.0/class.Handle.html
-share/doc/Rsvg-2.0/classes_hierarchy.html
-share/doc/Rsvg-2.0/const.HAVE_CSS.html
-share/doc/Rsvg-2.0/const.HAVE_PIXBUF.html
-share/doc/Rsvg-2.0/const.HAVE_SVGZ.html
-share/doc/Rsvg-2.0/const.MAJOR_VERSION.html
-share/doc/Rsvg-2.0/const.MICRO_VERSION.html
-share/doc/Rsvg-2.0/const.MINOR_VERSION.html
-share/doc/Rsvg-2.0/const.VERSION.html
-share/doc/Rsvg-2.0/ctor.Handle.new.html
-share/doc/Rsvg-2.0/ctor.Handle.new_from_data.html
-share/doc/Rsvg-2.0/ctor.Handle.new_from_file.html
-share/doc/Rsvg-2.0/ctor.Handle.new_from_gfile_sync.html
-share/doc/Rsvg-2.0/ctor.Handle.new_from_stream_sync.html
-share/doc/Rsvg-2.0/ctor.Handle.new_with_flags.html
-share/doc/Rsvg-2.0/enum.Unit.html
-share/doc/Rsvg-2.0/error.Error.html
-share/doc/Rsvg-2.0/flags.HandleFlags.html
-share/doc/Rsvg-2.0/fonts.css
-share/doc/Rsvg-2.0/func.CHECK_FEATURE.html
-share/doc/Rsvg-2.0/func.CHECK_VERSION.html
-share/doc/Rsvg-2.0/func.DEPRECATED_FOR.html
-share/doc/Rsvg-2.0/func.cleanup.html
-share/doc/Rsvg-2.0/func.init.html
-share/doc/Rsvg-2.0/func.pixbuf_from_file.html
-share/doc/Rsvg-2.0/func.pixbuf_from_file_at_max_size.html
-share/doc/Rsvg-2.0/func.pixbuf_from_file_at_size.html
-share/doc/Rsvg-2.0/func.pixbuf_from_file_at_zoom.html
-share/doc/Rsvg-2.0/func.pixbuf_from_file_at_zoom_with_max.html
-share/doc/Rsvg-2.0/func.set_default_dpi.html
-share/doc/Rsvg-2.0/func.set_default_dpi_x_y.html
-share/doc/Rsvg-2.0/func.term.html
-share/doc/Rsvg-2.0/fzy.js
-share/doc/Rsvg-2.0/go-up-symbolic.png
-share/doc/Rsvg-2.0/index.html
-share/doc/Rsvg-2.0/index.json
-share/doc/Rsvg-2.0/librsvg-r.svg
-share/doc/Rsvg-2.0/main.js
-share/doc/Rsvg-2.0/method.Handle.close.html
-share/doc/Rsvg-2.0/method.Handle.free.html
-share/doc/Rsvg-2.0/method.Handle.get_base_uri.html
-share/doc/Rsvg-2.0/method.Handle.get_desc.html
-share/doc/Rsvg-2.0/method.Handle.get_dimensions.html
-share/doc/Rsvg-2.0/method.Handle.get_dimensions_sub.html
-share/doc/Rsvg-2.0/method.Handle.get_geometry_for_element.html
-share/doc/Rsvg-2.0/method.Handle.get_geometry_for_layer.html
-share/doc/Rsvg-2.0/method.Handle.get_intrinsic_dimensions.html
-share/doc/Rsvg-2.0/method.Handle.get_intrinsic_size_in_pixels.html
-share/doc/Rsvg-2.0/method.Handle.get_metadata.html
-share/doc/Rsvg-2.0/method.Handle.get_pixbuf.html
-share/doc/Rsvg-2.0/method.Handle.get_pixbuf_and_error.html
-share/doc/Rsvg-2.0/method.Handle.get_pixbuf_sub.html
-share/doc/Rsvg-2.0/method.Handle.get_position_sub.html
-share/doc/Rsvg-2.0/method.Handle.get_title.html
-share/doc/Rsvg-2.0/method.Handle.has_sub.html
-share/doc/Rsvg-2.0/method.Handle.internal_set_testing.html
-share/doc/Rsvg-2.0/method.Handle.read_stream_sync.html
-share/doc/Rsvg-2.0/method.Handle.render_cairo.html
-share/doc/Rsvg-2.0/method.Handle.render_cairo_sub.html
-share/doc/Rsvg-2.0/method.Handle.render_document.html
-share/doc/Rsvg-2.0/method.Handle.render_element.html
-share/doc/Rsvg-2.0/method.Handle.render_layer.html
-share/doc/Rsvg-2.0/method.Handle.set_base_gfile.html
-share/doc/Rsvg-2.0/method.Handle.set_base_uri.html
-share/doc/Rsvg-2.0/method.Handle.set_cancellable_for_rendering.html
-share/doc/Rsvg-2.0/method.Handle.set_dpi.html
-share/doc/Rsvg-2.0/method.Handle.set_dpi_x_y.html
-share/doc/Rsvg-2.0/method.Handle.set_size_callback.html
-share/doc/Rsvg-2.0/method.Handle.set_stylesheet.html
-share/doc/Rsvg-2.0/method.Handle.write.html
-share/doc/Rsvg-2.0/migrating.html
-share/doc/Rsvg-2.0/overview.html
-share/doc/Rsvg-2.0/property.Handle.base-uri.html
-share/doc/Rsvg-2.0/property.Handle.desc.html
-share/doc/Rsvg-2.0/property.Handle.dpi-x.html
-share/doc/Rsvg-2.0/property.Handle.dpi-y.html
-share/doc/Rsvg-2.0/property.Handle.em.html
-share/doc/Rsvg-2.0/property.Handle.ex.html
-share/doc/Rsvg-2.0/property.Handle.flags.html
-share/doc/Rsvg-2.0/property.Handle.height.html
-share/doc/Rsvg-2.0/property.Handle.metadata.html
-share/doc/Rsvg-2.0/property.Handle.title.html
-share/doc/Rsvg-2.0/property.Handle.width.html
-share/doc/Rsvg-2.0/recommendations.html
-share/doc/Rsvg-2.0/search.js
-share/doc/Rsvg-2.0/solarized-dark.css
-share/doc/Rsvg-2.0/solarized-light.css
-share/doc/Rsvg-2.0/struct.DimensionData.html
-share/doc/Rsvg-2.0/struct.Length.html
-share/doc/Rsvg-2.0/struct.PositionData.html
-share/doc/Rsvg-2.0/struct.Rectangle.html
-share/doc/Rsvg-2.0/style.css
-share/doc/Rsvg-2.0/type_func.Error.quark.html
-share/doc/Rsvg-2.0/urlmap.js
+${PLIST.doc}man/man1/rsvg-convert.1
+${PLIST.doc}share/doc/Rsvg-2.0/RedHatDisplay-Black.woff
+${PLIST.doc}share/doc/Rsvg-2.0/RedHatDisplay-Black.woff2
+${PLIST.doc}share/doc/Rsvg-2.0/RedHatDisplay-BlackItalic.woff
+${PLIST.doc}share/doc/Rsvg-2.0/RedHatDisplay-BlackItalic.woff2
+${PLIST.doc}share/doc/Rsvg-2.0/RedHatDisplay-Bold.woff
+${PLIST.doc}share/doc/Rsvg-2.0/RedHatDisplay-Bold.woff2
+${PLIST.doc}share/doc/Rsvg-2.0/RedHatDisplay-BoldItalic.woff
+${PLIST.doc}share/doc/Rsvg-2.0/RedHatDisplay-BoldItalic.woff2
+${PLIST.doc}share/doc/Rsvg-2.0/RedHatDisplay-Italic.woff
+${PLIST.doc}share/doc/Rsvg-2.0/RedHatDisplay-Italic.woff2
+${PLIST.doc}share/doc/Rsvg-2.0/RedHatDisplay-Medium.woff
+${PLIST.doc}share/doc/Rsvg-2.0/RedHatDisplay-Medium.woff2
+${PLIST.doc}share/doc/Rsvg-2.0/RedHatDisplay-MediumItalic.woff
+${PLIST.doc}share/doc/Rsvg-2.0/RedHatDisplay-MediumItalic.woff2
+${PLIST.doc}share/doc/Rsvg-2.0/RedHatDisplay-Regular.woff
+${PLIST.doc}share/doc/Rsvg-2.0/RedHatDisplay-Regular.woff2
+${PLIST.doc}share/doc/Rsvg-2.0/RedHatText-Bold.woff
+${PLIST.doc}share/doc/Rsvg-2.0/RedHatText-Bold.woff2
+${PLIST.doc}share/doc/Rsvg-2.0/RedHatText-BoldItalic.woff
+${PLIST.doc}share/doc/Rsvg-2.0/RedHatText-BoldItalic.woff2
+${PLIST.doc}share/doc/Rsvg-2.0/RedHatText-Italic.woff
+${PLIST.doc}share/doc/Rsvg-2.0/RedHatText-Italic.woff2
+${PLIST.doc}share/doc/Rsvg-2.0/RedHatText-Medium.woff
+${PLIST.doc}share/doc/Rsvg-2.0/RedHatText-Medium.woff2
+${PLIST.doc}share/doc/Rsvg-2.0/RedHatText-MediumItalic.woff
+${PLIST.doc}share/doc/Rsvg-2.0/RedHatText-MediumItalic.woff2
+${PLIST.doc}share/doc/Rsvg-2.0/RedHatText-Regular.woff
+${PLIST.doc}share/doc/Rsvg-2.0/RedHatText-Regular.woff2
+${PLIST.doc}share/doc/Rsvg-2.0/Rsvg-2.0.devhelp2
+${PLIST.doc}share/doc/Rsvg-2.0/SourceCodePro-It.ttf.woff
+${PLIST.doc}share/doc/Rsvg-2.0/SourceCodePro-Regular.ttf.woff
+${PLIST.doc}share/doc/Rsvg-2.0/SourceCodePro-Semibold.ttf.woff
+${PLIST.doc}share/doc/Rsvg-2.0/callback.SizeFunc.html
+${PLIST.doc}share/doc/Rsvg-2.0/class.Handle.html
+${PLIST.doc}share/doc/Rsvg-2.0/classes_hierarchy.html
+${PLIST.doc}share/doc/Rsvg-2.0/const.HAVE_CSS.html
+${PLIST.doc}share/doc/Rsvg-2.0/const.HAVE_PIXBUF.html
+${PLIST.doc}share/doc/Rsvg-2.0/const.HAVE_SVGZ.html
+${PLIST.doc}share/doc/Rsvg-2.0/const.MAJOR_VERSION.html
+${PLIST.doc}share/doc/Rsvg-2.0/const.MICRO_VERSION.html
+${PLIST.doc}share/doc/Rsvg-2.0/const.MINOR_VERSION.html
+${PLIST.doc}share/doc/Rsvg-2.0/const.VERSION.html
+${PLIST.doc}share/doc/Rsvg-2.0/ctor.Handle.new.html
+${PLIST.doc}share/doc/Rsvg-2.0/ctor.Handle.new_from_data.html
+${PLIST.doc}share/doc/Rsvg-2.0/ctor.Handle.new_from_file.html
+${PLIST.doc}share/doc/Rsvg-2.0/ctor.Handle.new_from_gfile_sync.html
+${PLIST.doc}share/doc/Rsvg-2.0/ctor.Handle.new_from_stream_sync.html
+${PLIST.doc}share/doc/Rsvg-2.0/ctor.Handle.new_with_flags.html
+${PLIST.doc}share/doc/Rsvg-2.0/enum.Unit.html
+${PLIST.doc}share/doc/Rsvg-2.0/error.Error.html
+${PLIST.doc}share/doc/Rsvg-2.0/flags.HandleFlags.html
+${PLIST.doc}share/doc/Rsvg-2.0/fonts.css
+${PLIST.doc}share/doc/Rsvg-2.0/func.CHECK_FEATURE.html
+${PLIST.doc}share/doc/Rsvg-2.0/func.CHECK_VERSION.html
+${PLIST.doc}share/doc/Rsvg-2.0/func.DEPRECATED_FOR.html
+${PLIST.doc}share/doc/Rsvg-2.0/func.cleanup.html
+${PLIST.doc}share/doc/Rsvg-2.0/func.init.html
+${PLIST.doc}share/doc/Rsvg-2.0/func.pixbuf_from_file.html
+${PLIST.doc}share/doc/Rsvg-2.0/func.pixbuf_from_file_at_max_size.html
+${PLIST.doc}share/doc/Rsvg-2.0/func.pixbuf_from_file_at_size.html
+${PLIST.doc}share/doc/Rsvg-2.0/func.pixbuf_from_file_at_zoom.html
+${PLIST.doc}share/doc/Rsvg-2.0/func.pixbuf_from_file_at_zoom_with_max.html
+${PLIST.doc}share/doc/Rsvg-2.0/func.set_default_dpi.html
+${PLIST.doc}share/doc/Rsvg-2.0/func.set_default_dpi_x_y.html
+${PLIST.doc}share/doc/Rsvg-2.0/func.term.html
+${PLIST.doc}share/doc/Rsvg-2.0/fzy.js
+${PLIST.doc}share/doc/Rsvg-2.0/go-up-symbolic.png
+${PLIST.doc}share/doc/Rsvg-2.0/index.html
+${PLIST.doc}share/doc/Rsvg-2.0/index.json
+${PLIST.doc}share/doc/Rsvg-2.0/librsvg-r.svg
+${PLIST.doc}share/doc/Rsvg-2.0/main.js
+${PLIST.doc}share/doc/Rsvg-2.0/method.Handle.close.html
+${PLIST.doc}share/doc/Rsvg-2.0/method.Handle.free.html
+${PLIST.doc}share/doc/Rsvg-2.0/method.Handle.get_base_uri.html
+${PLIST.doc}share/doc/Rsvg-2.0/method.Handle.get_desc.html
+${PLIST.doc}share/doc/Rsvg-2.0/method.Handle.get_dimensions.html
+${PLIST.doc}share/doc/Rsvg-2.0/method.Handle.get_dimensions_sub.html
+${PLIST.doc}share/doc/Rsvg-2.0/method.Handle.get_geometry_for_element.html
+${PLIST.doc}share/doc/Rsvg-2.0/method.Handle.get_geometry_for_layer.html
+${PLIST.doc}share/doc/Rsvg-2.0/method.Handle.get_intrinsic_dimensions.html
+${PLIST.doc}share/doc/Rsvg-2.0/method.Handle.get_intrinsic_size_in_pixels.html
+${PLIST.doc}share/doc/Rsvg-2.0/method.Handle.get_metadata.html
+${PLIST.doc}share/doc/Rsvg-2.0/method.Handle.get_pixbuf.html
+${PLIST.doc}share/doc/Rsvg-2.0/method.Handle.get_pixbuf_and_error.html
+${PLIST.doc}share/doc/Rsvg-2.0/method.Handle.get_pixbuf_sub.html
+${PLIST.doc}share/doc/Rsvg-2.0/method.Handle.get_position_sub.html
+${PLIST.doc}share/doc/Rsvg-2.0/method.Handle.get_title.html
+${PLIST.doc}share/doc/Rsvg-2.0/method.Handle.has_sub.html
+${PLIST.doc}share/doc/Rsvg-2.0/method.Handle.internal_set_testing.html
+${PLIST.doc}share/doc/Rsvg-2.0/method.Handle.read_stream_sync.html
+${PLIST.doc}share/doc/Rsvg-2.0/method.Handle.render_cairo.html
+${PLIST.doc}share/doc/Rsvg-2.0/method.Handle.render_cairo_sub.html
+${PLIST.doc}share/doc/Rsvg-2.0/method.Handle.render_document.html
+${PLIST.doc}share/doc/Rsvg-2.0/method.Handle.render_element.html
+${PLIST.doc}share/doc/Rsvg-2.0/method.Handle.render_layer.html
+${PLIST.doc}share/doc/Rsvg-2.0/method.Handle.set_base_gfile.html
+${PLIST.doc}share/doc/Rsvg-2.0/method.Handle.set_base_uri.html
+${PLIST.doc}share/doc/Rsvg-2.0/method.Handle.set_cancellable_for_rendering.html
+${PLIST.doc}share/doc/Rsvg-2.0/method.Handle.set_dpi.html
+${PLIST.doc}share/doc/Rsvg-2.0/method.Handle.set_dpi_x_y.html
+${PLIST.doc}share/doc/Rsvg-2.0/method.Handle.set_size_callback.html
+${PLIST.doc}share/doc/Rsvg-2.0/method.Handle.set_stylesheet.html
+${PLIST.doc}share/doc/Rsvg-2.0/method.Handle.write.html
+${PLIST.doc}share/doc/Rsvg-2.0/migrating.html
+${PLIST.doc}share/doc/Rsvg-2.0/overview.html
+${PLIST.doc}share/doc/Rsvg-2.0/property.Handle.base-uri.html
+${PLIST.doc}share/doc/Rsvg-2.0/property.Handle.desc.html
+${PLIST.doc}share/doc/Rsvg-2.0/property.Handle.dpi-x.html
+${PLIST.doc}share/doc/Rsvg-2.0/property.Handle.dpi-y.html
+${PLIST.doc}share/doc/Rsvg-2.0/property.Handle.em.html
+${PLIST.doc}share/doc/Rsvg-2.0/property.Handle.ex.html
+${PLIST.doc}share/doc/Rsvg-2.0/property.Handle.flags.html
+${PLIST.doc}share/doc/Rsvg-2.0/property.Handle.height.html
+${PLIST.doc}share/doc/Rsvg-2.0/property.Handle.metadata.html
+${PLIST.doc}share/doc/Rsvg-2.0/property.Handle.title.html
+${PLIST.doc}share/doc/Rsvg-2.0/property.Handle.width.html
+${PLIST.doc}share/doc/Rsvg-2.0/recommendations.html
+${PLIST.doc}share/doc/Rsvg-2.0/search.js
+${PLIST.doc}share/doc/Rsvg-2.0/solarized-dark.css
+${PLIST.doc}share/doc/Rsvg-2.0/solarized-light.css
+${PLIST.doc}share/doc/Rsvg-2.0/struct.DimensionData.html
+${PLIST.doc}share/doc/Rsvg-2.0/struct.Length.html
+${PLIST.doc}share/doc/Rsvg-2.0/struct.PositionData.html
+${PLIST.doc}share/doc/Rsvg-2.0/struct.Rectangle.html
+${PLIST.doc}share/doc/Rsvg-2.0/style.css
+${PLIST.doc}share/doc/Rsvg-2.0/type_func.Error.quark.html
+${PLIST.doc}share/doc/Rsvg-2.0/urlmap.js
 share/gir-1.0/Rsvg-2.0.gir
 share/thumbnailers/librsvg.thumbnailer

Added files:

Index: pkgsrc/graphics/librsvg/options.mk
diff -u /dev/null pkgsrc/graphics/librsvg/options.mk:1.1
--- /dev/null   Mon Jan 26 21:32:00 2026
+++ pkgsrc/graphics/librsvg/options.mk  Mon Jan 26 21:32:00 2026
@@ -0,0 +1,23 @@
+# $NetBSD: options.mk,v 1.1 2026/01/26 21:32:00 wiz Exp $
+
+PKG_OPTIONS_VAR=       PKG_OPTIONS.librsvg
+PKG_SUPPORTED_OPTIONS= doc
+PKG_SUGGESTED_OPTIONS=
+
+.include "../../mk/bsd.options.mk"
+
+PLIST_VARS+=           doc
+
+# Install API documentation
+.if !empty(PKG_OPTIONS:Mdoc)
+PLIST.doc=             yes
+# Requires rst2man to generate rsvg-convert.1
+TOOL_DEPENDS+=         ${PYPKGPREFIX}-docutils-[0-9]*:../../textproc/py-docutils
+# Requires gi-docgen to generate HTML format API documentation
+TOOL_DEPENDS+=         ${PYPKGPREFIX}-gi-docgen>=2022.1nb1:../../devel/py-gi-docgen
+PRINT_PLIST_AWK+=      { if (/^share\/doc/) $$0 = "$${PLIST.doc}" $$0 }
+PRINT_PLIST_AWK+=      { if (/^man\/man1\/rsvg-convert.1/) $$0 = "$${PLIST.doc}" $$0 }
+MESON_ARGS+=           -Ddocs=enabled
+.else
+MESON_ARGS+=           -Ddocs=disabled
+.endif



Home | Main Index | Thread Index | Old Index