aboutsummaryrefslogtreecommitdiffstats
path: root/main/librsvg
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2014-03-27 20:17:51 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2014-03-27 20:17:51 +0000
commit340eae927d546a3297155e7735cfa37a08f80387 (patch)
treecf054db1bc4422536d5d91907228480d0aa9cba2 /main/librsvg
parent244e12940f1105af79f93427ed201acc9cf188d6 (diff)
downloadaports-340eae927d546a3297155e7735cfa37a08f80387.tar.bz2
aports-340eae927d546a3297155e7735cfa37a08f80387.tar.xz
main/librsvg: upgrade to 2.40.2
Diffstat (limited to 'main/librsvg')
-rw-r--r--main/librsvg/APKBUILD17
-rw-r--r--main/librsvg/use-realpath.patch22
2 files changed, 5 insertions, 34 deletions
diff --git a/main/librsvg/APKBUILD b/main/librsvg/APKBUILD
index b10f9d5f2e..e9db456f35 100644
--- a/main/librsvg/APKBUILD
+++ b/main/librsvg/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=librsvg
-pkgver=2.40.1
-pkgrel=1
+pkgver=2.40.2
+pkgrel=0
pkgdesc="SAX-based renderer for SVG files into a GdkPixbuf"
url="http://librsvg.sourceforge.net/"
arch="all"
@@ -12,7 +12,6 @@ makedepends="gtk+-dev libcroco-dev libgsf-dev bzip2-dev
gobject-introspection-dev"
install=
source="http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz
- use-realpath.patch
"
depends_dev="glib-dev gtk+-dev cairo-dev libcroco-dev libgsf-dev"
@@ -36,10 +35,7 @@ build() {
--host=$CHOST \
--prefix=/usr \
--libexecdir=/usr/lib/$pkgname \
- --with-croco \
--disable-static \
- --disable-mozilla-plugin \
- --with-svgz \
|| return 1
make || return 1
}
@@ -51,9 +47,6 @@ package() {
find "$pkgdir" -name '*.la' -delete
}
-md5sums="a31eb5d66c3fe94d888a6b17a287ea42 librsvg-2.40.1.tar.xz
-2f27fcd4f65e3008fe768d7e804302e6 use-realpath.patch"
-sha256sums="8813b4fe776d5e7acbce28bacbaed30ccb0cec3734eb3632c711a16ebe2961d7 librsvg-2.40.1.tar.xz
-aea02613f4d24e580535314a5df01d08a178d6083b38217ec7bcac3613a1ea34 use-realpath.patch"
-sha512sums="fe84430a7be4bb70c47745acb40628a806f066e4d4322c0fb90a77aa2bb7a41d8235e4055ab09cb166deb44a07781166146aa5c1a8508de9ad6f8e2686a32a49 librsvg-2.40.1.tar.xz
-478179932e8b71b1495530b1cb9a89ff1f1fbb1c3109440021667ee101e7059cf60cd84328aa4bcc826938ecbbae79585e42feea646103c8ff9bd951b0d9bb89 use-realpath.patch"
+md5sums="acdecdb9f08f3bf662a68bf7dafb8b82 librsvg-2.40.2.tar.xz"
+sha256sums="48049b643294636df7de1a4b997414d699666f5dc44776945c218a257d2a291c librsvg-2.40.2.tar.xz"
+sha512sums="ecb144f8f02240f44edc4baf372477d6a8436abfcabad0e9fdce9cd629ace819f14d0c8174d9522b4cc63429031a1ecb611bbdabbdb432ec3f211cf331208f84 librsvg-2.40.2.tar.xz"
diff --git a/main/librsvg/use-realpath.patch b/main/librsvg/use-realpath.patch
deleted file mode 100644
index 5e2588a9e2..0000000000
--- a/main/librsvg/use-realpath.patch
+++ /dev/null
@@ -1,22 +0,0 @@
---- librsvg-2.39.0.orig/rsvg-base.c
-+++ librsvg-2.39.0/rsvg-base.c
-@@ -2190,8 +2190,7 @@
- dir = g_file_get_path (base);
- g_object_unref (base);
-
-- /* FIXME portability */
-- cdir = canonicalize_file_name (dir);
-+ cdir = realpath (dir, NULL);
- g_free (dir);
- if (cdir == NULL)
- goto deny;
-@@ -2200,8 +2199,7 @@
- if (path == NULL)
- goto deny;
-
-- /* FIXME portability */
-- cpath = canonicalize_file_name (path);
-+ cpath = realpath (path, NULL);
- g_free (path);
-
- if (cpath == NULL)