Subject: [alpine-aports] [PATCH] main/gtk+2.0: upgrade to 2.24.28

From: Sören Tempel <[email-masked]>
Date: Thu, 13 Aug 2015 18:40:54 +0200

Also include SVG support.
---
 main/gtk+2.0/APKBUILD | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/main/gtk+2.0/APKBUILD b/main/gtk+2.0/APKBUILD
index 843556b..87269d9 100644
--- a/main/gtk+2.0/APKBUILD
+++ b/main/gtk+2.0/APKBUILD
@@ -1,6 +1,6 @@
 # Maintainer: Natanael Copa <[email-masked]>
 pkgname=gtk+2.0
-pkgver=2.24.25
+pkgver=2.24.28
 pkgrel=0
 subpkg=gtk-update-icon-cache
 pkgdesc="The GTK+ Toolkit (v2)"
@@ -24,6 +24,7 @@ depends_dev="
 	intltool
 	libxdamage-dev
 	pango-dev
+	librsvg-dev
 	"
 # we add hicolor-icon-theme because the subpackage gtk-update-icon-cache
 # needs it. We need to force hicolor-icon-cache to be built before gtk+.2.0
@@ -107,12 +108,12 @@ icon_cache() {
 	mv "$pkgdir"/usr/bin/"$subpkg" "$subpkgdir"/usr/bin || return 1
 }
 
-md5sums="612350704dd3aacb95355a4981930c6f  gtk+-2.24.25.tar.xz
+md5sums="bfacf87b2ea67e4e5c7866a9003e6526  gtk+-2.24.28.tar.xz
 22355df723f6ca358e30e6b8f0baace5  xid-collision-debug.patch
 b1f61a42b2fa3c54eb2e0d6c130a0f0a  gtk2-fixdso.patch"
-sha256sums="38af1020cb8ff3d10dda2c8807f11e92af9d2fa4045de61c62eedb7fbc7ea5b3  gtk+-2.24.25.tar.xz
+sha256sums="b2c6441e98bc5232e5f9bba6965075dcf580a8726398f7374d39f90b88ed4656  gtk+-2.24.28.tar.xz
 d758bb93e59df15a4ea7732cf984d1c3c19dff67c94b957575efea132b8fe558  xid-collision-debug.patch
 609c20a1a3ca09ad3a3aa5186743d858e930edd9d775a3bf59c9716b54771b5d  gtk2-fixdso.patch"
-sha512sums="e102eabbd86e9e697402b4d915172dd3838374b7b8a16b95369ed602228857a013fdba7b6b8d742f925ff8d340b63a90b56c1ddbd4405d8dc454144c705ac08d  gtk+-2.24.25.tar.xz
+sha512sums="86d563645ca70c1e14afd4b38d925f496e596cbf6181f2e95310f58c2f4152aaecc559e3c513e6d405fcf48d8d413d59a9d72782216529c1280bd8e1947d7760  gtk+-2.24.28.tar.xz
 89e3223c86731a76b12d39245f1ec4cf8b4860ab1d11d74a10e5deb0db302f20b4bb5d9034da1d8aeb96369dbdeddcdd2f28943270dc501476c694562b960159  xid-collision-debug.patch
 95f28633a5164a2a9fec45ee1aa80bd1c07e0c5a7ac8d770b9c74af0909b7286b823eb634aa384cad609dc8799d2e6c9e8392c2732b9093076fdf94b4f6878b7  gtk2-fixdso.patch"
-- 
2.5.0

---
Unsubscribe:  [email-masked]
Help:         [email-masked]
---

---

From: Natanael Copa <[email-masked]>
Date: Thu, 13 Aug 2015 21:14:23 +0200

On Thu, 13 Aug 2015 18:40:54 +0200

> Also include SVG support.

This introduces a circular dependency since librsvg needs gtk to build.

Maybe we need to have a gtk2-bootstrap apkbuild which builds gtk
without librsvg, let librsvg build with gtk2-bootstrap and finally
build gtk2 with librsvg?

Exactly what in gtk2 needs/uses SVG?

-nc

---

---

From: Natanael Copa <[email-masked]>
Date: Thu, 13 Aug 2015 21:34:00 +0200

> Also include SVG support.
...
>  # needs it. We need to force hicolor-icon-cache to be built before gtk+.2.0

I could not find anything that indicates that gtk+2.0 looks for
librsvg. nor was anything linked against librsvg after it was built.

The librsvg package does build a libpixbufloader-svg.so though.

librsvg should not be a build time dependency for gtk.

I did update it to 2.24.28. thanks

-nc

---