[gimp] build/win: Upgrade librsvg to 2.40.2
- From: Michael Henning <mhenning src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] build/win: Upgrade librsvg to 2.40.2
- Date: Mon, 18 Aug 2014 15:26:24 +0000 (UTC)
commit 601f6af69bae800c6f73857b15d72f1e30a9b86b
Author: Michael Henning <drawoc darkrefraction com>
Date: Mon Aug 18 11:23:43 2014 -0400
build/win: Upgrade librsvg to 2.40.2
build/windows/jhbuild/misclibs.moduleset | 7 ++--
.../jhbuild/patches/librsvg-bug710163.patch | 36 ++++++++++++++++++++
2 files changed, 40 insertions(+), 3 deletions(-)
---
diff --git a/build/windows/jhbuild/misclibs.moduleset b/build/windows/jhbuild/misclibs.moduleset
index 0499c94..c719043 100644
--- a/build/windows/jhbuild/misclibs.moduleset
+++ b/build/windows/jhbuild/misclibs.moduleset
@@ -29,9 +29,10 @@
</autotools>
<autotools id="librsvg" autogen-sh="configure">
- <branch version="2.37.0" repo="gnome.org"
- module="librsvg/2.37/librsvg-2.37.0.tar.xz"
- hash="sha256:06c57dbcb29369d147b4e6ff4257c42ae5120c504c30fb567a27034ee30fd835">
+ <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>
<dependencies>
<dep package="glib2"/>
diff --git a/build/windows/jhbuild/patches/librsvg-bug710163.patch
b/build/windows/jhbuild/patches/librsvg-bug710163.patch
new file mode 100644
index 0000000..f430328
--- /dev/null
+++ b/build/windows/jhbuild/patches/librsvg-bug710163.patch
@@ -0,0 +1,36 @@
+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
+
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]