public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Alexandre Restovtsev" <tetromino@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/gnome:master commit in: x11-libs/gtk+/files/, x11-libs/gtk+/
Date: Mon, 17 Oct 2011 19:10:26 +0000 (UTC)	[thread overview]
Message-ID: <32b0eb364f75bb849c3902f6a44df8f9d3f14eab.tetromino@gentoo> (raw)

commit:     32b0eb364f75bb849c3902f6a44df8f9d3f14eab
Author:     Alexandre Rostovtsev <tetromino <AT> gmail <DOT> com>
AuthorDate: Mon Oct 17 16:59:56 2011 +0000
Commit:     Alexandre Restovtsev <tetromino <AT> gmail <DOT> com>
CommitDate: Mon Oct 17 19:07:05 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=32b0eb36

x11-libs/gtk+: 3.2.0 → 3.2.1

Bump with numerous accessibility- and osx-related fixes.

Disable /TreeView/scrolling/after-realize/constant-height/path-995
and bug-111500 tests; see bug #384855 and
https://bugzilla.gnome.org/show_bug.cgi?id=660931)

Add missing selectors.errors file (needed for the css parser test).

Disable reftests (many of them fail when building from portage, but
strangely enough succeed when building from my home directory; need to
investigate why).

Disable a11y picker test (result depends on the look of
GtkFileChooserButton, which in turn depends on the list of mounted
filesystems).

---
 x11-libs/gtk+/files/gtk+-3.2.1-failing-tests.patch |   25 ++++++++++++++++++++
 x11-libs/gtk+/files/gtk+-3.2.1-selector.errors     |    1 +
 .../gtk+/{gtk+-3.2.0.ebuild => gtk+-3.2.1.ebuild}  |   16 ++++++++++++
 x11-libs/gtk+/gtk+-9999.ebuild                     |   16 ++++++++++++
 4 files changed, 58 insertions(+), 0 deletions(-)

diff --git a/x11-libs/gtk+/files/gtk+-3.2.1-failing-tests.patch b/x11-libs/gtk+/files/gtk+-3.2.1-failing-tests.patch
new file mode 100644
index 0000000..ca7c896
--- /dev/null
+++ b/x11-libs/gtk+/files/gtk+-3.2.1-failing-tests.patch
@@ -0,0 +1,25 @@
+Skip failing tests. See bug #384855 and https://bugzilla.gnome.org/show_bug.cgi?id=660931
+
+diff --git a/gtk/tests/treeview-scrolling.c b/gtk/tests/treeview-scrolling.c
+index 63bf429..0f8bafd 100644
+--- a/gtk/tests/treeview-scrolling.c
++++ b/gtk/tests/treeview-scrolling.c
+@@ -1300,7 +1300,6 @@ add_tests (gboolean mixed,
+ 	add_test ("750", mixed, test_type, use_align, row_align, setup, scroll_func);
+ 	add_test ("990", mixed, test_type, use_align, row_align, setup, scroll_func);
+ 	add_test ("991", mixed, test_type, use_align, row_align, setup, scroll_func);
+-	add_test ("995", mixed, test_type, use_align, row_align, setup, scroll_func);
+ 	add_test ("997", mixed, test_type, use_align, row_align, setup, scroll_func);
+ 	add_test ("999", mixed, test_type, use_align, row_align, setup, scroll_func);
+ }
+@@ -1491,10 +1490,6 @@ main (int argc, char **argv)
+ 		    ScrollFixture, NULL,
+ 		    scroll_fixture_tree_setup, test_bug93584,
+ 		    scroll_fixture_teardown);
+-	g_test_add ("/TreeView/scrolling/specific/bug-111500",
+-		    ScrollFixture, NULL,
+-		    scroll_fixture_tree_setup, test_bug111500,
+-		    scroll_fixture_teardown);
+ 	g_test_add ("/TreeView/scrolling/specific/bug-111500-mixed",
+ 		    ScrollFixture, NULL,
+ 		    scroll_fixture_mixed_tree_setup, test_bug111500_mixed,

diff --git a/x11-libs/gtk+/files/gtk+-3.2.1-selector.errors b/x11-libs/gtk+/files/gtk+-3.2.1-selector.errors
new file mode 100644
index 0000000..42cc16e
--- /dev/null
+++ b/x11-libs/gtk+/files/gtk+-3.2.1-selector.errors
@@ -0,0 +1 @@
+selector.css:201: error: GTK_CSS_PROVIDER_ERROR_SYNTAX

diff --git a/x11-libs/gtk+/gtk+-3.2.0.ebuild b/x11-libs/gtk+/gtk+-3.2.1.ebuild
similarity index 89%
rename from x11-libs/gtk+/gtk+-3.2.0.ebuild
rename to x11-libs/gtk+/gtk+-3.2.1.ebuild
index 0cfe730..d2495e8 100644
--- a/x11-libs/gtk+/gtk+-3.2.0.ebuild
+++ b/x11-libs/gtk+/gtk+-3.2.1.ebuild
@@ -99,6 +99,22 @@ src_prepare() {
 	sed '\%/recent-manager/add%,/recent_manager_purge/ d' \
 		-i gtk/tests/recentmanager.c || die "sed 2 failed"
 
+	# Missing file, required for tests; https://bugzilla.gnome.org/show_bug.cgi?id=662024
+	cp "${FILESDIR}/${PN}-3.2.1-selector.errors" \
+		tests/css/parser/selector.errors || die "cp failed"
+
+	# FIXME: multiple reftests fail when run from portage (but succeed when
+	# run from a manual compile in a temp directory)
+	sed -e 's:\(SUBDIRS.*\)reftests:\1:' \
+		-i tests/Makefile.* || die "sed 3 failed"
+
+	# Test results depend on the list of mounted filesystems!
+	rm tests/a11y/pickers.{ui,txt} || die "rm failed"
+
+	# Failing treeview scrolling tests; bug #384855,
+	# https://bugzilla.gnome.org/show_bug.cgi?id=660931
+	epatch "${FILESDIR}/${PN}-3.2.1-failing-tests.patch"
+
 	if ! use test; then
 		# don't waste time building tests
 		strip_builddir SRC_SUBDIRS tests Makefile.am

diff --git a/x11-libs/gtk+/gtk+-9999.ebuild b/x11-libs/gtk+/gtk+-9999.ebuild
index 0cfe730..d2495e8 100644
--- a/x11-libs/gtk+/gtk+-9999.ebuild
+++ b/x11-libs/gtk+/gtk+-9999.ebuild
@@ -99,6 +99,22 @@ src_prepare() {
 	sed '\%/recent-manager/add%,/recent_manager_purge/ d' \
 		-i gtk/tests/recentmanager.c || die "sed 2 failed"
 
+	# Missing file, required for tests; https://bugzilla.gnome.org/show_bug.cgi?id=662024
+	cp "${FILESDIR}/${PN}-3.2.1-selector.errors" \
+		tests/css/parser/selector.errors || die "cp failed"
+
+	# FIXME: multiple reftests fail when run from portage (but succeed when
+	# run from a manual compile in a temp directory)
+	sed -e 's:\(SUBDIRS.*\)reftests:\1:' \
+		-i tests/Makefile.* || die "sed 3 failed"
+
+	# Test results depend on the list of mounted filesystems!
+	rm tests/a11y/pickers.{ui,txt} || die "rm failed"
+
+	# Failing treeview scrolling tests; bug #384855,
+	# https://bugzilla.gnome.org/show_bug.cgi?id=660931
+	epatch "${FILESDIR}/${PN}-3.2.1-failing-tests.patch"
+
 	if ! use test; then
 		# don't waste time building tests
 		strip_builddir SRC_SUBDIRS tests Makefile.am



             reply	other threads:[~2011-10-17 19:10 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-17 19:10 Alexandre Restovtsev [this message]
  -- strict thread matches above, loose matches on Subject: below --
2019-01-18 21:07 [gentoo-commits] proj/gnome:master commit in: x11-libs/gtk+/files/, x11-libs/gtk+/ Mart Raudsepp
2014-11-30 15:52 Remi Cardona
2014-04-20 18:17 Gilles Dartiguelongue
2012-08-10  5:31 Priit Laes
2012-08-05 13:34 Priit Laes
2012-03-15 15:55 Alexandre Restovtsev
2012-02-26 21:19 Alexandre Restovtsev
2011-03-29  8:35 Nirbheek Chauhan
2011-03-09 11:34 Nirbheek Chauhan
2011-02-25  9:39 Priit Laes

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=32b0eb364f75bb849c3902f6a44df8f9d3f14eab.tetromino@gentoo \
    --to=tetromino@gmail.com \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox