termux-packages/packages/librsvg/no-pixbuf-loaders-cache.patch

38 lines
1.9 KiB
Diff

diff -uNr librsvg-2.46.4/gdk-pixbuf-loader/Makefile.am librsvg-2.46.4.mod/gdk-pixbuf-loader/Makefile.am
--- librsvg-2.46.4/gdk-pixbuf-loader/Makefile.am 2019-08-22 10:39:24.000000000 +0300
+++ librsvg-2.46.4.mod/gdk-pixbuf-loader/Makefile.am 2020-01-13 23:51:44.231919334 +0200
@@ -47,10 +47,7 @@
$(AM_LDFLAGS)
rsvg_loader_LDADD = \
$(GDK_PIXBUF_LIBS)
-EXTRA_rsvg_loader_DEPENDENCIES = libpixbufloader-svg.la gdk-pixbuf-loaders
-
-gdk-pixbuf-loaders: Makefile
- $(AM_V_GEN) ( $(GDK_PIXBUF_QUERYLOADERS) ./libpixbufloader-svg.la && $(GDK_PIXBUF_QUERYLOADERS)) > gdk-pixbuf.loaders 2>/dev/null
+EXTRA_rsvg_loader_DEPENDENCIES = libpixbufloader-svg.la
if CROSS_COMPILING
RUN_QUERY_LOADER_TEST=false
diff -uNr librsvg-2.46.4/gdk-pixbuf-loader/Makefile.in librsvg-2.46.4.mod/gdk-pixbuf-loader/Makefile.in
--- librsvg-2.46.4/gdk-pixbuf-loader/Makefile.in 2019-11-21 18:53:18.000000000 +0200
+++ librsvg-2.46.4.mod/gdk-pixbuf-loader/Makefile.in 2020-01-13 23:52:08.176024176 +0200
@@ -483,7 +483,7 @@
@ENABLE_PIXBUF_LOADER_TRUE@rsvg_loader_LDADD = \
@ENABLE_PIXBUF_LOADER_TRUE@ $(GDK_PIXBUF_LIBS)
-@ENABLE_PIXBUF_LOADER_TRUE@EXTRA_rsvg_loader_DEPENDENCIES = libpixbufloader-svg.la gdk-pixbuf-loaders
+@ENABLE_PIXBUF_LOADER_TRUE@EXTRA_rsvg_loader_DEPENDENCIES = libpixbufloader-svg.la
@CROSS_COMPILING_FALSE@@ENABLE_PIXBUF_LOADER_TRUE@RUN_QUERY_LOADER_TEST = test -z "$(DESTDIR)"
@CROSS_COMPILING_TRUE@@ENABLE_PIXBUF_LOADER_TRUE@RUN_QUERY_LOADER_TEST = false
@ENABLE_PIXBUF_LOADER_TRUE@thumbnailerdir = $(datadir)/thumbnailers/
@@ -894,9 +894,6 @@
.PRECIOUS: Makefile
-@ENABLE_PIXBUF_LOADER_TRUE@gdk-pixbuf-loaders: Makefile
-@ENABLE_PIXBUF_LOADER_TRUE@ $(AM_V_GEN) ( $(GDK_PIXBUF_QUERYLOADERS) ./libpixbufloader-svg.la && $(GDK_PIXBUF_QUERYLOADERS)) > gdk-pixbuf.loaders 2>/dev/null
-
# The following bit is stolen from gdk-pixbuf/gdk-pixbuf/Makefile.am:
#
# Running this if cross compiling or if DESTDIR is set is going to