Patchwork [3/4] librsvg: upgrade to 2.40.1

login
register
mail settings
Submitter Ross Burton
Date Nov. 26, 2013, 7:49 p.m.
Message ID <1385495362-20784-3-git-send-email-ross.burton@intel.com>
Download mbox | patch
Permalink /patch/62441/
State Accepted
Commit 48e196157225ca54320edb8a943e553bb4e2992e
Headers show

Comments

Ross Burton - Nov. 26, 2013, 7:49 p.m.
Signed-off-by: Ross Burton <ross.burton@intel.com>
---
 meta/recipes-gnome/librsvg/librsvg/local-m4.patch  |   32 --------------------
 .../{librsvg_2.40.0.bb => librsvg_2.40.1.bb}       |   17 +++++------
 2 files changed, 8 insertions(+), 41 deletions(-)
 delete mode 100644 meta/recipes-gnome/librsvg/librsvg/local-m4.patch
 rename meta/recipes-gnome/librsvg/{librsvg_2.40.0.bb => librsvg_2.40.1.bb} (78%)

Patch

diff --git a/meta/recipes-gnome/librsvg/librsvg/local-m4.patch b/meta/recipes-gnome/librsvg/librsvg/local-m4.patch
deleted file mode 100644
index e523076..0000000
--- a/meta/recipes-gnome/librsvg/librsvg/local-m4.patch
+++ /dev/null
@@ -1,32 +0,0 @@ 
-This patch is required to make autoreconf use the local macros (so that it can
-autoreconf without vala being installed).
-
-Upstream-Status: Backport
-Signed-off-by: Ross Burton <ross.burton@intel.com>
-
-From 6c3b8eee243204678574e162b7d480f6f83b71e6 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Germ=C3=A1n=20Poo-Caama=C3=B1o?= <gpoo@gnome.org>
-Date: Tue, 29 Oct 2013 13:05:39 -0700
-Subject: [PATCH] build: Use local macros to detect vala
-
-Fixes build when vala < 0.19 is present.
----
- Makefile.am |    2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/Makefile.am b/Makefile.am
-index d95f008..e881100 100644
---- a/Makefile.am
-+++ b/Makefile.am
-@@ -3,7 +3,7 @@ SUBDIRS = . gdk-pixbuf-loader tests tools doc
- NULL =
- BUILT_SOURCES =
- 
--ACLOCAL_AMFLAGS = ${ACLOCAL_FLAGS}
-+ACLOCAL_AMFLAGS = ${ACLOCAL_FLAGS} -I m4
- 
- lib_LTLIBRARIES = librsvg-@RSVG_API_MAJOR_VERSION@.la
- 
--- 
-1.7.10.4
-
diff --git a/meta/recipes-gnome/librsvg/librsvg_2.40.0.bb b/meta/recipes-gnome/librsvg/librsvg_2.40.1.bb
similarity index 78%
rename from meta/recipes-gnome/librsvg/librsvg_2.40.0.bb
rename to meta/recipes-gnome/librsvg/librsvg_2.40.1.bb
index de262f0..4fc0e72 100644
--- a/meta/recipes-gnome/librsvg/librsvg_2.40.0.bb
+++ b/meta/recipes-gnome/librsvg/librsvg_2.40.1.bb
@@ -15,11 +15,10 @@  inherit autotools pkgconfig gnomebase gtk-doc pixbufcache
 GNOME_COMPRESS_TYPE = "xz"
 
 SRC_URI += "file://gtk-option.patch \
-            file://local-m4.patch \
             file://vapigen.m4"
 
-SRC_URI[archive.md5sum] = "e16a84e9a86a18e5ca6ba95c512db6c6"
-SRC_URI[archive.sha256sum] = "8f7db31df235813dbd035888035cf862d682e7cc5706c4e7ec05750d3f64a2f9"
+SRC_URI[archive.md5sum] = "a31eb5d66c3fe94d888a6b17a287ea42"
+SRC_URI[archive.sha256sum] = "8813b4fe776d5e7acbce28bacbaed30ccb0cec3734eb3632c711a16ebe2961d7"
 
 EXTRA_OECONF = "--disable-introspection --disable-vala"
 
@@ -29,13 +28,13 @@  PACKAGECONFIG[gdkpixbuf] = "--enable-pixbuf-loader,--disable-pixbuf-loader,gdk-p
 # GTK+ test application (rsvg-view)
 PACKAGECONFIG[gtk] = "--with-gtk3,--without-gtk3,gtk+3"
 
-# 2.40.1 should ship the tarball with local m4 macros, but until then drop a
-# vapigen in there so we don't need to build vala to configure.
+# The tarball doesn't ship with macros, so drop a vapigen in there so we don't
+# need to build vala to configure.
 do_configure_prepend() {
-	if test ! -e ${S}/m4/vapigen.m4; then
-		mkdir --parents ${S}/m4
-		mv ${WORKDIR}/vapigen.m4 ${S}/m4/
-	fi
+       if test ! -e ${S}/m4/vapigen.m4; then
+               mkdir --parents ${S}/m4
+               mv ${WORKDIR}/vapigen.m4 ${S}/m4/
+       fi
 }
 
 do_install_append() {