[librsvg: 1/2] Remove obsolete, uninstalled tools/ directory
- From: Federico Mena Quintero <federico src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librsvg: 1/2] Remove obsolete, uninstalled tools/ directory
- Date: Fri, 23 Oct 2020 23:10:38 +0000 (UTC)
commit 13c0fbfa7a96f5d53ba35ead07c0b1707a86548c
Author: Federico Mena Quintero <federico gnome org>
Date: Fri Oct 23 13:26:35 2020 -0500
Remove obsolete, uninstalled tools/ directory
There were two remaining things here:
* rsvg-dimensions - Use rsvg_handle_get_dimensions() and
get_dimensions_sub() and print out the results.
* test-performance - create a GTimer, render a document, print the
timings.
None of those tools got installed; they were for internal use only.
Rsvg-dimensions is obsolete now that librsvg has moved to an "SVG is
really scalable" model, and the API takes in a viewport to render in.
Test-performance is better done in bulk, like rsvg-bench:
https://gitlab.gnome.org/federico/rsvg-bench
(We may want to fold rsvg-bench into librsvg soon...)
Makefile.am | 2 +-
configure.ac | 19 -----
tools/Makefile.am | 38 ----------
tools/rsvg-dimensions.c | 149 --------------------------------------
tools/rsvg-tools-main.c | 181 -----------------------------------------------
tools/rsvg-tools-main.h | 28 --------
tools/test-performance.c | 29 --------
7 files changed, 1 insertion(+), 445 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index 87dfb66c..814c6b9d 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,4 +1,4 @@
-SUBDIRS = . gdk-pixbuf-loader tests tools doc win32 po
+SUBDIRS = . gdk-pixbuf-loader tests doc win32 po
NULL =
diff --git a/configure.ac b/configure.ac
index d3bfa667..d557fb36 100644
--- a/configure.ac
+++ b/configure.ac
@@ -263,23 +263,6 @@ AC_SUBST([GDK_PIXBUF_PREFIX],[$($PKG_CONFIG --variable=prefix gdk-pixbuf-2.0)])
AC_SUBST([GTK_PREFIX],[$($PKG_CONFIG --variable=prefix gdk-pixbuf-2.0)])
AC_SUBST([CAIRO_PREFIX],[$($PKG_CONFIG --variable=prefix cairo)])
-dnl ===========================================================================
-dnl Do we build the miscellaneous tools provided with librsvg ?
-
-AC_ARG_ENABLE(tools,
- AC_HELP_STRING([--disable-tools],
- [do not build miscellaneous tools [default=no]]),
- [build_misc_tools=$enableval],
- [build_misc_tools=yes])
-
-AC_MSG_CHECKING(whether to build miscellaneous tools)
-if test "x$build_misc_tools" = "xyes" ; then
- AC_MSG_RESULT(yes)
-else
- AC_MSG_RESULT(no)
-fi
-AM_CONDITIONAL([BUILD_MISC_TOOLS], [test "x$build_misc_tools" = "xyes"])
-
dnl ===========================================================================
dnl Specify --enable-debug to make a development release. By default,
dnl we build in public release mode.
@@ -385,7 +368,6 @@ Makefile
librsvg-zip
gdk-pixbuf-loader/Makefile
tests/Makefile
-tools/Makefile
doc/Makefile
doc/version.xml
win32/Makefile
@@ -416,6 +398,5 @@ librsvg-$VERSION
Build introspectable bindings: ${found_introspection}
Build Vala bindings: ${enable_vala}
Build GdkPixbuf loader: ${enable_pixbuf_loader}
- Build miscellaneous tools: ${build_misc_tools}
Build HTML documentation: ${enable_gtk_doc}
"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]