summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMart Raudsepp <leio@gentoo.org>2007-07-08 23:19:09 +0000
committerMart Raudsepp <leio@gentoo.org>2007-07-08 23:19:09 +0000
commitc4bb3ea7fc8d913354c585f20e661fd8b50e3956 (patch)
tree5ec9c4f99f3aa7e2f342acd86d67911941d3722b /gnome-extra
parentPass -j1 to install. (diff)
downloadhistorical-c4bb3ea7fc8d913354c585f20e661fd8b50e3956.tar.gz
historical-c4bb3ea7fc8d913354c585f20e661fd8b50e3956.tar.bz2
historical-c4bb3ea7fc8d913354c585f20e661fd8b50e3956.zip
Fix a couple of memory leaks, one of which can result in applications leaking hundreds of megabytes of memory in the matter of a day with lots of typing and assistive technology being enabled.
Package-Manager: portage-2.1.3_rc6
Diffstat (limited to 'gnome-extra')
-rw-r--r--gnome-extra/at-spi/ChangeLog11
-rw-r--r--gnome-extra/at-spi/Manifest33
-rw-r--r--gnome-extra/at-spi/at-spi-1.18.1-r1.ebuild55
-rw-r--r--gnome-extra/at-spi/files/at-spi-1.18.0-ior-leak.patch19
-rw-r--r--gnome-extra/at-spi/files/at-spi-1.18.1-focus-tracker-leak.patch17
-rw-r--r--gnome-extra/at-spi/files/digest-at-spi-1.18.1-r13
6 files changed, 133 insertions, 5 deletions
diff --git a/gnome-extra/at-spi/ChangeLog b/gnome-extra/at-spi/ChangeLog
index d676cf8423f6..5f78e76fafd8 100644
--- a/gnome-extra/at-spi/ChangeLog
+++ b/gnome-extra/at-spi/ChangeLog
@@ -1,6 +1,15 @@
# ChangeLog for gnome-extra/at-spi
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/gnome-extra/at-spi/ChangeLog,v 1.143 2007/07/05 16:51:21 uberlord Exp $
+# $Header: /var/cvsroot/gentoo-x86/gnome-extra/at-spi/ChangeLog,v 1.144 2007/07/08 23:19:09 leio Exp $
+
+*at-spi-1.18.1-r1 (08 Jul 2007)
+
+ 08 Jul 2007; Mart Raudsepp <leio@gentoo.org>
+ +files/at-spi-1.18.0-ior-leak.patch,
+ +files/at-spi-1.18.1-focus-tracker-leak.patch, +at-spi-1.18.1-r1.ebuild:
+ Fix a couple of memory leaks, one of which can result in applications
+ leaking hundreds of megabytes of memory in the matter of a day with lots of
+ typing and assistive technology being enabled.
05 Jul 2007; Roy Marples <uberlord@gentoo.org> at-spi-1.18.1.ebuild:
Keyworded ~x86-fbsd.
diff --git a/gnome-extra/at-spi/Manifest b/gnome-extra/at-spi/Manifest
index 2e7005a927db..46dd86590bc5 100644
--- a/gnome-extra/at-spi/Manifest
+++ b/gnome-extra/at-spi/Manifest
@@ -1,3 +1,14 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+AUX at-spi-1.18.0-ior-leak.patch 912 RMD160 73083d6f327f7e4da72f55333c4beab36e0ade34 SHA1 1a995a4690b0469fc286c06cdf9e10b9e24b9191 SHA256 0b0516e2a74b1946c067c6d9e09f24696ad4101550493ea56ebe20944176fa87
+MD5 8cdc3ea869f32d558a688eee6c8285cb files/at-spi-1.18.0-ior-leak.patch 912
+RMD160 73083d6f327f7e4da72f55333c4beab36e0ade34 files/at-spi-1.18.0-ior-leak.patch 912
+SHA256 0b0516e2a74b1946c067c6d9e09f24696ad4101550493ea56ebe20944176fa87 files/at-spi-1.18.0-ior-leak.patch 912
+AUX at-spi-1.18.1-focus-tracker-leak.patch 462 RMD160 34ce0f1550910826b1c731f83333b1abc10f2a1b SHA1 2e71d480e5e935520e04b1057627438936e86310 SHA256 b5ff55809300956236ebc4432b64763882ab13c8660b5406c2b71ee14f53771c
+MD5 ddbea94b9cc99c0086f554132e32d66a files/at-spi-1.18.1-focus-tracker-leak.patch 462
+RMD160 34ce0f1550910826b1c731f83333b1abc10f2a1b files/at-spi-1.18.1-focus-tracker-leak.patch 462
+SHA256 b5ff55809300956236ebc4432b64763882ab13c8660b5406c2b71ee14f53771c files/at-spi-1.18.1-focus-tracker-leak.patch 462
AUX at-spi-1.7.12-tests.patch 3269 RMD160 351e5af3c656ad19609541ec9393ed3394599de0 SHA1 83288df820420517eae25cc2c9854f0dac25cb81 SHA256 5f2f861395576a07ddac1fed5b975620a887f16bb6266407a9ac6f4870bceb38
MD5 d138d17f12280bb64adee7bfe79ff374 files/at-spi-1.7.12-tests.patch 3269
RMD160 351e5af3c656ad19609541ec9393ed3394599de0 files/at-spi-1.7.12-tests.patch 3269
@@ -10,6 +21,10 @@ EBUILD at-spi-1.18.0.ebuild 1142 RMD160 7dac23207964808b721082458d8bda0376eecc7d
MD5 525ba63a20ece8421cf793afc550f509 at-spi-1.18.0.ebuild 1142
RMD160 7dac23207964808b721082458d8bda0376eecc7d at-spi-1.18.0.ebuild 1142
SHA256 9838c65497a9b1f7163285b6c5ee64cae3442cd1aa3eb081f1427598d5f9a708 at-spi-1.18.0.ebuild 1142
+EBUILD at-spi-1.18.1-r1.ebuild 1257 RMD160 6ea5c744c566102250e97d570f752daae93bec44 SHA1 536d55dab594c6598848715ae9a360739e960c7e SHA256 3273914b42ff7b3dac682106130cdcc46db9b0a580fe58573923d54d5dcf829c
+MD5 3390c4e03f568e3ca18e820b41f25e55 at-spi-1.18.1-r1.ebuild 1257
+RMD160 6ea5c744c566102250e97d570f752daae93bec44 at-spi-1.18.1-r1.ebuild 1257
+SHA256 3273914b42ff7b3dac682106130cdcc46db9b0a580fe58573923d54d5dcf829c at-spi-1.18.1-r1.ebuild 1257
EBUILD at-spi-1.18.1.ebuild 1156 RMD160 f4465b0ea4a22d29430095e2b4f9c549ba5ebf7c SHA1 f46dfbbc6f9a9228646bad02446d579202b21a62 SHA256 830739759eaa48223d2a5536bf1b887a87c6a1e1048ac2863955ab6f0aa96d21
MD5 e0e486f38d38bddc60b02c9787f918d0 at-spi-1.18.1.ebuild 1156
RMD160 f4465b0ea4a22d29430095e2b4f9c549ba5ebf7c at-spi-1.18.1.ebuild 1156
@@ -22,10 +37,10 @@ EBUILD at-spi-1.7.12.ebuild 1121 RMD160 dcbcb07b2b44f69fb583f34a60a0f4fc0226c72d
MD5 27aec418e310577c4ec80db5ae075ad5 at-spi-1.7.12.ebuild 1121
RMD160 dcbcb07b2b44f69fb583f34a60a0f4fc0226c72d at-spi-1.7.12.ebuild 1121
SHA256 18e24150e9570000ba5e7f33341277d12e72a002a73eeefac130addd86138238 at-spi-1.7.12.ebuild 1121
-MISC ChangeLog 16029 RMD160 536a7436eb8007882cc5976dc5516f3f5864073b SHA1 23b5c323a3c8bc07849d44f60ccd17e6a6c3b619 SHA256 ead6206917885139a3b5a31805edc345af2b0ca80e388c93087091adb6ba361f
-MD5 922c0d6e26d95f685bdd20073cc53adf ChangeLog 16029
-RMD160 536a7436eb8007882cc5976dc5516f3f5864073b ChangeLog 16029
-SHA256 ead6206917885139a3b5a31805edc345af2b0ca80e388c93087091adb6ba361f ChangeLog 16029
+MISC ChangeLog 16419 RMD160 7bff0fca6b68634fb5c6f421346b433207138f26 SHA1 4a5b676f92b951f99aa69cbbfb1aec5f397ceb70 SHA256 d6bbcfdf5a8aa8b5dfdf41de20903de60d56ac344e62c597b0c24de2231e1f68
+MD5 fb650a11259823eb6e782cd56365923d ChangeLog 16419
+RMD160 7bff0fca6b68634fb5c6f421346b433207138f26 ChangeLog 16419
+SHA256 d6bbcfdf5a8aa8b5dfdf41de20903de60d56ac344e62c597b0c24de2231e1f68 ChangeLog 16419
MISC metadata.xml 172 RMD160 6901d426a49e26089e240a7a4f990204e08c15a1 SHA1 2a33de77ba2f0f4fdedeed148abdad125b78f996 SHA256 f14db6f3dc189eb3e4a3478d7c1bead86fe077d0c756b8426b64f7fc0d42d228
MD5 5253659a4a0e45baa9f1788dcb705895 metadata.xml 172
RMD160 6901d426a49e26089e240a7a4f990204e08c15a1 metadata.xml 172
@@ -36,9 +51,19 @@ SHA256 8b12d3be68efd86afaaa1054964f89c76e1e47f4afb5fe37db7ee9409b912152 files/di
MD5 bbfd0c4332f18a5e028a7d8be65aab73 files/digest-at-spi-1.18.1 244
RMD160 4cd0ee9ad7e35bd0d03f56f1a10f12aa4def1ac6 files/digest-at-spi-1.18.1 244
SHA256 817730fb506e75795a79cfffa5eb14c9ed5d4a3f996fac699035912d42e04f62 files/digest-at-spi-1.18.1 244
+MD5 bbfd0c4332f18a5e028a7d8be65aab73 files/digest-at-spi-1.18.1-r1 244
+RMD160 4cd0ee9ad7e35bd0d03f56f1a10f12aa4def1ac6 files/digest-at-spi-1.18.1-r1 244
+SHA256 817730fb506e75795a79cfffa5eb14c9ed5d4a3f996fac699035912d42e04f62 files/digest-at-spi-1.18.1-r1 244
MD5 60e5ce30bb03129017aa3835ea744f67 files/digest-at-spi-1.7.10 244
RMD160 e62f23385d300070eaa07d39243d2384a76eea38 files/digest-at-spi-1.7.10 244
SHA256 292aee4118c0294007abbaef6bc60b5a2ee669216d0a20151fad09e0edd7f7a9 files/digest-at-spi-1.7.10 244
MD5 c52a248cc7684897a32c603edeabf4e2 files/digest-at-spi-1.7.12 244
RMD160 b2a51a68d237af99c31ebb8fe726a2b2b93f0476 files/digest-at-spi-1.7.12 244
SHA256 bd09bf4cefbbc958aa1771edcbf524c420e68ea6ed82a775cd85faab2bc67648 files/digest-at-spi-1.7.12 244
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.5 (GNU/Linux)
+
+iD8DBQFGkXDjkeYb6olFHJcRAlXmAJ0QYWpIzl8V1vE0oDVMYQlKYKSNbwCgzO8T
+e8E6B4SK9+/hgMwW4dQk0eo=
+=Lm0+
+-----END PGP SIGNATURE-----
diff --git a/gnome-extra/at-spi/at-spi-1.18.1-r1.ebuild b/gnome-extra/at-spi/at-spi-1.18.1-r1.ebuild
new file mode 100644
index 000000000000..9573ac0cc4ae
--- /dev/null
+++ b/gnome-extra/at-spi/at-spi-1.18.1-r1.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/gnome-extra/at-spi/at-spi-1.18.1-r1.ebuild,v 1.1 2007/07/08 23:19:09 leio Exp $
+
+WANT_AUTOMAKE="1.9"
+
+inherit virtualx autotools eutils gnome2
+
+DESCRIPTION="The Gnome Accessibility Toolkit"
+HOMEPAGE="http://developer.gnome.org/projects/gap/"
+
+LICENSE="LGPL-2"
+SLOT="1"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+IUSE="doc"
+
+RDEPEND=">=dev-libs/atk-1.17
+ >=x11-libs/gtk+-2.10.0
+ >=gnome-base/gail-1.9.0
+ >=gnome-base/libbonobo-1.107
+ >=gnome-base/orbit-2
+ dev-libs/popt
+
+ x11-libs/libICE
+ x11-libs/libSM
+ x11-libs/libX11
+ x11-libs/libXi
+ x11-libs/libXtst"
+
+DEPEND="${RDEPEND}
+ >=dev-util/pkgconfig-0.9
+ >=dev-util/intltool-0.35
+ doc? ( >=dev-util/gtk-doc-1 )
+
+ x11-libs/libXt
+ x11-proto/xextproto
+ x11-proto/inputproto
+ x11-proto/xproto"
+
+DOCS="AUTHORS ChangeLog NEWS README TODO"
+
+src_unpack() {
+ gnome2_src_unpack
+
+ epatch "${FILESDIR}"/${PN}-1.7.12-tests.patch
+ epatch "${FILESDIR}/${PN}-1.18.0-ior-leak.patch"
+ epatch "${FILESDIR}/${P}-focus-tracker-leak.patch"
+
+ cp aclocal.m4 old_macros.m4
+ AT_M4DIR="." eautoreconf
+}
+
+src_test() {
+ Xmake check || die "Testing phase failed"
+}
diff --git a/gnome-extra/at-spi/files/at-spi-1.18.0-ior-leak.patch b/gnome-extra/at-spi/files/at-spi-1.18.0-ior-leak.patch
new file mode 100644
index 000000000000..6b62cff48c6e
--- /dev/null
+++ b/gnome-extra/at-spi/files/at-spi-1.18.0-ior-leak.patch
@@ -0,0 +1,19 @@
+Patch from http://cvs.fedora.redhat.com/viewcvs/rpms/at-spi/F-7/at-spi-1.18.0-ior-leak.patch?rev=1.1&view=auto
+to not have to duplicate efforts on just including the functional patch and leaving out the whitespace changes at
+upstream http://svn.gnome.org/viewcvs/at-spi/trunk/atk-bridge/bridge.c?r1=903&r2=902&pathrev=903
+
+--- at-spi-1.18.0/atk-bridge/bridge.c.ior-leak 2007-04-09 13:34:13.000000000 +0200
++++ at-spi-1.18.0/atk-bridge/bridge.c 2007-04-09 13:35:35.000000000 +0200
+@@ -420,9 +420,11 @@
+ /* XXX: This presumes that the registry has successfully restarted itself already...*/
+ ior = (char *) spi_atk_bridge_get_registry_ior ();
+
+- if (ior != NULL)
++ if (ior != NULL) {
+ registry = CORBA_ORB_string_to_object (bonobo_activation_orb_get (),
+ ior, &ev);
++ XFree (ior);
++ }
+ else {
+ g_warning ("IOR not set.");
+ registry = CORBA_OBJECT_NIL;
diff --git a/gnome-extra/at-spi/files/at-spi-1.18.1-focus-tracker-leak.patch b/gnome-extra/at-spi/files/at-spi-1.18.1-focus-tracker-leak.patch
new file mode 100644
index 000000000000..6e7392d1ca14
--- /dev/null
+++ b/gnome-extra/at-spi/files/at-spi-1.18.1-focus-tracker-leak.patch
@@ -0,0 +1,17 @@
+Patch from http://svn.gnome.org/viewcvs/at-spi/trunk/atk-bridge/bridge.c?r1=902&r2=901&pathrev=902
+to fix a memory leak in spi_atk_bridge_focus_tracker codepath
+
+--- trunk/atk-bridge/bridge.c 2007/04/09 08:34:50 901
++++ trunk/atk-bridge/bridge.c 2007/04/12 07:06:38 902
+@@ -714,7 +714,10 @@
+ registry_died = TRUE;
+
+ bonobo_object_unref (source);
+-
++
++ if (e.any_data._release)
++ CORBA_free (e.any_data._value);
++
+ CORBA_exception_free (&ev);
+ }
+
diff --git a/gnome-extra/at-spi/files/digest-at-spi-1.18.1-r1 b/gnome-extra/at-spi/files/digest-at-spi-1.18.1-r1
new file mode 100644
index 000000000000..86b90c17028b
--- /dev/null
+++ b/gnome-extra/at-spi/files/digest-at-spi-1.18.1-r1
@@ -0,0 +1,3 @@
+MD5 46c531204df5d39f7e83822372b0ce69 at-spi-1.18.1.tar.bz2 780306
+RMD160 c5e60314414124388d025dc85effb5d9adf5d2b9 at-spi-1.18.1.tar.bz2 780306
+SHA256 3b0be3207eb5cf4b1c1666b1dcd341ac914802b5404defb812e3b2aa9e78e7aa at-spi-1.18.1.tar.bz2 780306