mirror of
https://gitlab.gnome.org/GNOME/gimp.git
synced 2025-07-03 17:33:25 +00:00
build/win: Upgrade librsvg to 2.40.9
This commit is contained in:
parent
0b900239d5
commit
ab869ab35f
2 changed files with 3 additions and 40 deletions
|
@ -29,10 +29,9 @@
|
|||
</autotools>
|
||||
|
||||
<autotools id="librsvg" autogen-sh="configure">
|
||||
<branch version="2.40.2" repo="gnome.org"
|
||||
module="librsvg/2.40/librsvg-2.40.2.tar.xz"
|
||||
hash="sha256:48049b643294636df7de1a4b997414d699666f5dc44776945c218a257d2a291c">
|
||||
<patch file="librsvg-bug710163.patch" strip="1"/>
|
||||
<branch version="2.40.9" repo="gnome.org"
|
||||
module="librsvg/2.40/librsvg-2.40.9.tar.xz"
|
||||
hash="sha256:13964c5d35357552b47d365c34215eee0a63bf0e6059b689f048648c6bf5f43a">
|
||||
</branch>
|
||||
<dependencies>
|
||||
<dep package="glib2"/>
|
||||
|
|
|
@ -1,36 +0,0 @@
|
|||
From 189b430d382eacfd2b9cf64be1464dfcb913b8a7 Mon Sep 17 00:00:00 2001
|
||||
From: Chun-wei Fan <fanchunwei@src.gnome.org>
|
||||
Date: Mon, 18 Aug 2014 12:27:28 +0800
|
||||
Subject: [PATCH] rsvg-base.c: Have realpath() Work On Windows
|
||||
|
||||
Use _fullpath() on Windows to do the job for realpath() as realpath() does
|
||||
not exist on Windows.
|
||||
|
||||
https://bugzilla.gnome.org/show_bug.cgi?id=710163
|
||||
---
|
||||
rsvg-base.c | 9 +++++++++
|
||||
1 file changed, 9 insertions(+)
|
||||
|
||||
diff --git a/rsvg-base.c b/rsvg-base.c
|
||||
index 683d607..e3818d7 100644
|
||||
--- a/rsvg-base.c
|
||||
+++ b/rsvg-base.c
|
||||
@@ -58,6 +58,15 @@
|
||||
#include "rsvg-xml.h"
|
||||
|
||||
/*
|
||||
+ * XXX: Perhaps do a GIO-based implementation for
|
||||
+ * realpath() or use gnulib implementation for this
|
||||
+ * https://bugzilla.gnome.org/show_bug.cgi?id=710163
|
||||
+ */
|
||||
+#ifdef G_OS_WIN32
|
||||
+#define realpath(a,b) _fullpath(b,a,_MAX_PATH)
|
||||
+#endif
|
||||
+
|
||||
+/*
|
||||
* This is configurable at runtime
|
||||
*/
|
||||
#define RSVG_DEFAULT_DPI_X 90.0
|
||||
--
|
||||
1.8.3.msysgit.0
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue