diff options
author | Alexandre Rostovtsev <tetromino@gentoo.org> | 2011-11-22 20:30:11 +0000 |
---|---|---|
committer | Alexandre Rostovtsev <tetromino@gentoo.org> | 2011-11-22 20:30:11 +0000 |
commit | 275ade12ec3f2b2ea7e95d2e963be6162eda1528 (patch) | |
tree | c332a4bffd740cd1d6224dc4c3adb7c1fe5fddec /gnome-extra | |
parent | added self as maintainer (diff) | |
download | gentoo-2-275ade12ec3f2b2ea7e95d2e963be6162eda1528.tar.gz gentoo-2-275ade12ec3f2b2ea7e95d2e963be6162eda1528.tar.bz2 gentoo-2-275ade12ec3f2b2ea7e95d2e963be6162eda1528.zip |
Bump to 3.2.1 from the gnome overlay; drop old. Notable changes: UI improvements. Enable tests that can be reasonably run on a gentoo system.
(Portage version: 2.2.0_alpha76/cvs/Linux x86_64)
Diffstat (limited to 'gnome-extra')
-rw-r--r-- | gnome-extra/gnome-packagekit/ChangeLog | 10 | ||||
-rw-r--r-- | gnome-extra/gnome-packagekit/files/gnome-packagekit-3.1.90-tests.patch | 32 | ||||
-rw-r--r-- | gnome-extra/gnome-packagekit/gnome-packagekit-3.2.1.ebuild (renamed from gnome-extra/gnome-packagekit/gnome-packagekit-3.0.3.ebuild) | 22 |
3 files changed, 53 insertions, 11 deletions
diff --git a/gnome-extra/gnome-packagekit/ChangeLog b/gnome-extra/gnome-packagekit/ChangeLog index 267a48387388..0c08ac6b85f5 100644 --- a/gnome-extra/gnome-packagekit/ChangeLog +++ b/gnome-extra/gnome-packagekit/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for gnome-extra/gnome-packagekit # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-packagekit/ChangeLog,v 1.2 2011/10/28 00:55:20 tetromino Exp $ +# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-packagekit/ChangeLog,v 1.3 2011/11/22 20:30:10 tetromino Exp $ + +*gnome-packagekit-3.2.1 (22 Nov 2011) + + 22 Nov 2011; Alexandre Rostovtsev <tetromino@gentoo.org> + -gnome-packagekit-3.0.3.ebuild, +files/gnome-packagekit-3.1.90-tests.patch, + +gnome-packagekit-3.2.1.ebuild: + Bump to 3.2.1 from the gnome overlay; drop old. Notable changes: UI + improvements. Enable tests that can be reasonably run on a gentoo system. 28 Oct 2011; Alexandre Rostovtsev <tetromino@gentoo.org> gnome-packagekit-3.0.3.ebuild: diff --git a/gnome-extra/gnome-packagekit/files/gnome-packagekit-3.1.90-tests.patch b/gnome-extra/gnome-packagekit/files/gnome-packagekit-3.1.90-tests.patch new file mode 100644 index 000000000000..ae6fcaa34bd3 --- /dev/null +++ b/gnome-extra/gnome-packagekit/files/gnome-packagekit-3.1.90-tests.patch @@ -0,0 +1,32 @@ +From 553df35a405fccd679bdb16e65c79deb84928865 Mon Sep 17 00:00:00 2001 +From: Alexandre Rostovtsev <tetromino@gmail.com> +Date: Wed, 7 Sep 2011 03:21:42 -0400 +Subject: [PATCH] Disable tests that cannot be run from portage + +Disable tests with modal dialogs and the tasks test that requires for +packagekit to preferentially use the dummy backend. +--- + src/gpk-self-test.c | 6 +++--- + 1 files changed, 3 insertions(+), 3 deletions(-) + +diff --git a/src/gpk-self-test.c b/src/gpk-self-test.c +index f12ce73..ba01649 100644 +--- a/src/gpk-self-test.c ++++ b/src/gpk-self-test.c +@@ -53,10 +53,10 @@ main (int argc, char **argv) + gpk_common_test (test); + // gpk_dbus_test (test); + gpk_language_test (test); +- gpk_error_test (test); ++// gpk_error_test (test); + // gpk_client_test (test); +- gpk_modal_dialog_test (test); +- gpk_task_test (test); ++// gpk_modal_dialog_test (test); ++// gpk_task_test (test); + + return egg_test_finish (test); + } +-- +1.7.6.1 + diff --git a/gnome-extra/gnome-packagekit/gnome-packagekit-3.0.3.ebuild b/gnome-extra/gnome-packagekit/gnome-packagekit-3.2.1.ebuild index 873c1ba7ace0..5e02d9888f31 100644 --- a/gnome-extra/gnome-packagekit/gnome-packagekit-3.0.3.ebuild +++ b/gnome-extra/gnome-packagekit/gnome-packagekit-3.2.1.ebuild @@ -1,8 +1,8 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-packagekit/gnome-packagekit-3.0.3.ebuild,v 1.2 2011/10/28 00:55:20 tetromino Exp $ +# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-packagekit/gnome-packagekit-3.2.1.ebuild,v 1.1 2011/11/22 20:30:10 tetromino Exp $ -EAPI="3" +EAPI="4" GCONF_DEBUG="no" PYTHON_DEPEND="2" @@ -16,15 +16,18 @@ SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="doc nls test udev" +# gdk-pixbuf ised in gpk-animated-icon +# pango used on gpk-common RDEPEND=" >=dev-libs/glib-2.25.9:2 + x11-libs/gdk-pixbuf:2 >=x11-libs/gtk+-2.91.0:3 >=x11-libs/libnotify-0.7.0 + x11-libs/pango >=dev-libs/dbus-glib-0.73 >=app-admin/packagekit-base-0.6.5[udev] >=app-admin/packagekit-gtk-0.6.5 - >=gnome-base/gnome-menus-2.24.1:0 >=media-libs/libcanberra-0.10[gtk3] >=sys-apps/dbus-1.1.2 >=sys-power/upower-0.9.0 @@ -42,12 +45,6 @@ DEPEND="${RDEPEND} sys-devel/gettext doc? ( >=dev-util/gtk-doc-1.9 )" -# Fails, recheck for next release -# (gpk-self-test:9412): GnomePackageKit-WARNING **: Unknown error -# FAILED [failed to get cannot-fetch-sources] -# FAIL: gpk-self-test -RESTRICT="test" - # NOTES: # app-text/docbook-sgml-utils required for man pages # app-text/gnome-doc-utils and dev-libs/libxslt required for gnome help files @@ -78,6 +75,7 @@ pkg_setup() { $(use_enable test tests) $(use_enable udev gudev)" python_set_active_version 2 + python_pkg_setup } src_prepare() { @@ -85,11 +83,15 @@ src_prepare() { # fix pyc/pyo generation ln -sfn $(type -P true) py-compile + + # disable tests with graphical dialogs and that require packagekitd to be + # run with the dummy backend + epatch "${FILESDIR}/${PN}-3.1.90-tests.patch" } src_test() { unset DISPLAY - Xemake check || die "make check failed" + Xemake check } pkg_postinst() { |