summaryrefslogtreecommitdiff
path: root/devel/atk
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2011-07-18 12:02:02 +0000
committertron <tron@pkgsrc.org>2011-07-18 12:02:02 +0000
commit5a9b6e5a5e0f0165c5fff8fcf0c5856098688de1 (patch)
tree80a784586996707a6bff04e889c7b7b3346a7af3 /devel/atk
parentda5fa74507d7ae2f86ff10b7bda39fc9fb178cef (diff)
downloadpkgsrc-5a9b6e5a5e0f0165c5fff8fcf0c5856098688de1.tar.gz
Use patch provided by the ATK maintainers to fix GNOME bug 654767. Tested
under NetBSD/amd64 5.1_STABLE and Mac OS 10.6.8. Bump package revision because the shared library version was increased.
Diffstat (limited to 'devel/atk')
-rw-r--r--devel/atk/Makefile4
-rw-r--r--devel/atk/distinfo5
-rw-r--r--devel/atk/patches/patch-aa32
-rw-r--r--devel/atk/patches/patch-ab27
4 files changed, 54 insertions, 14 deletions
diff --git a/devel/atk/Makefile b/devel/atk/Makefile
index 222efcf49e4..4c98a235dda 100644
--- a/devel/atk/Makefile
+++ b/devel/atk/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.77 2011/07/17 12:04:26 tron Exp $
+# $NetBSD: Makefile,v 1.78 2011/07/18 12:02:02 tron Exp $
DISTNAME= atk-2.0.1
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/atk/2.0/}
EXTRACT_SUFX= .tar.bz2
diff --git a/devel/atk/distinfo b/devel/atk/distinfo
index e7f73d74124..d5c12723edb 100644
--- a/devel/atk/distinfo
+++ b/devel/atk/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.39 2011/07/17 12:04:26 tron Exp $
+$NetBSD: distinfo,v 1.40 2011/07/18 12:02:02 tron Exp $
SHA1 (atk-2.0.1.tar.bz2) = f830ff27590e4dd486ebe6538e2b03484faee10a
RMD160 (atk-2.0.1.tar.bz2) = 8161a41614bcd13d82b90ae654b24437a165d2c9
Size (atk-2.0.1.tar.bz2) = 734314 bytes
-SHA1 (patch-aa) = fbbcde090aae72ef996bfeee87b9d2075059cdd0
+SHA1 (patch-aa) = 87889d513b380b8475e8e2190ff9a2fb6a2e59cb
+SHA1 (patch-ab) = 3b58e35cc51a8d49dd7cfc044547add33611183e
diff --git a/devel/atk/patches/patch-aa b/devel/atk/patches/patch-aa
index 71d93cbb2fb..9760e15dede 100644
--- a/devel/atk/patches/patch-aa
+++ b/devel/atk/patches/patch-aa
@@ -1,18 +1,30 @@
-$NetBSD: patch-aa,v 1.6 2011/07/17 12:04:27 tron Exp $
+$NetBSD: patch-aa,v 1.7 2011/07/18 12:02:02 tron Exp $
-Work around shared library version problems which cause a version number
-downgrade that e.g. break Mac OS X. Details are available here:
+Fix broken shared library version number. Patch taken from here:
https://bugzilla.gnome.org/show_bug.cgi?id=654767
---- configure.orig 2011-06-13 17:34:43.000000000 +0100
-+++ configure 2011-07-17 12:57:10.000000000 +0100
-@@ -2971,7 +2971,7 @@
+--- configure.ac.orig 2011-06-13 17:18:30.000000000 +0100
++++ configure.ac 2011-07-18 12:43:20.000000000 +0100
+@@ -21,17 +21,18 @@
+ m4_define([atk_version],
+ [atk_major_version.atk_minor_version.atk_micro_version])
+-dnl The X.Y in -latk-X.Y line. This is expected to stay 1.0 until Atk 2.
++dnl The X.Y in -latk-X.Y line. This is expected to stay 1.0 until Atk 3.
+ m4_define([atk_api_version], [1.0])
+ dnl Number of releases since we've added interfaces
+ m4_define([atk_interface_age], [1])
--LT_VERSION_INFO=10:1:10
-+LT_VERSION_INFO=3210:1:3210
- LT_CURRENT_MINUS_AGE=0
-
++dnl binary_age includes major version as ATK 2 is still fully API and ABI compatible
+ m4_define([atk_binary_age],
+- [m4_eval(100 * atk_minor_version + 10 + atk_micro_version)])
++ [m4_eval(10000 * atk_major_version + 100 * atk_minor_version + 10 + atk_micro_version)])
+ m4_define([lt_current],
+- [m4_eval(100 * atk_minor_version + 10 + atk_micro_version - atk_interface_age)])
++ [m4_eval(10000 * atk_major_version + 100 * atk_minor_version + 10 + atk_micro_version - atk_interface_age)])
+ m4_define([lt_revision], [atk_interface_age])
+ m4_define([lt_age], [m4_eval(atk_binary_age - atk_interface_age)])
+ m4_define([lt_version_info], [lt_current:lt_revision:lt_age])
diff --git a/devel/atk/patches/patch-ab b/devel/atk/patches/patch-ab
new file mode 100644
index 00000000000..316889ce9db
--- /dev/null
+++ b/devel/atk/patches/patch-ab
@@ -0,0 +1,27 @@
+$NetBSD: patch-ab,v 1.6 2011/07/18 12:02:02 tron Exp $
+
+Fix broken shared library version number. Create with "autoreconf" after
+applying "patch-aa". Please look here for more details:
+
+https://bugzilla.gnome.org/show_bug.cgi?id=654767
+
+--- configure.orig 2011-06-13 17:34:43.000000000 +0100
++++ configure 2011-07-18 12:44:14.000000000 +0100
+@@ -2961,7 +2961,7 @@
+ ATK_VERSION=2.0.1
+ ATK_API_VERSION=1.0
+ ATK_INTERFACE_AGE=1
+-ATK_BINARY_AGE=11
++ATK_BINARY_AGE=20011
+
+
+
+@@ -2971,7 +2971,7 @@
+
+
+
+-LT_VERSION_INFO=10:1:10
++LT_VERSION_INFO=20010:1:20010
+ LT_CURRENT_MINUS_AGE=0
+
+