public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Gilles Dartiguelongue" <eva@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/gnome:master commit in: gnome-extra/gnome-packagekit/
Date: Tue, 30 Oct 2012 21:11:00 +0000 (UTC)	[thread overview]
Message-ID: <1351631447.474a004b653823038aa407ef7554382aa2c51d59.eva@gentoo> (raw)

commit:     474a004b653823038aa407ef7554382aa2c51d59
Author:     Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 30 20:53:58 2012 +0000
Commit:     Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
CommitDate: Tue Oct 30 21:10:47 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=474a004b

gnome-extra/gnome-packagekit: 3.4.2 → 3.6.0

---
 .../gnome-packagekit/gnome-packagekit-3.6.0.ebuild |  113 ++++++++++++++++++++
 gnome-extra/gnome-packagekit/metadata.xml          |    9 ++
 2 files changed, 122 insertions(+), 0 deletions(-)

diff --git a/gnome-extra/gnome-packagekit/gnome-packagekit-3.6.0.ebuild b/gnome-extra/gnome-packagekit/gnome-packagekit-3.6.0.ebuild
new file mode 100644
index 0000000..478940d
--- /dev/null
+++ b/gnome-extra/gnome-packagekit/gnome-packagekit-3.6.0.ebuild
@@ -0,0 +1,113 @@
+# Copyright 1999-2012 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.4.2.ebuild,v 1.1 2012/05/19 22:57:05 tetromino Exp $
+
+EAPI="4"
+GCONF_DEBUG="no"
+PYTHON_DEPEND="2"
+
+inherit eutils gnome2 python virtualx
+
+DESCRIPTION="PackageKit client for the GNOME desktop"
+HOMEPAGE="http://www.packagekit.org/"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="nls systemd test udev"
+
+# gdk-pixbuf ised in gpk-animated-icon
+# pango used on gpk-common
+RDEPEND="
+	>=dev-libs/glib-2.32: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.7.2[udev]
+	>=app-admin/packagekit-gtk-0.7.2
+	>=media-libs/libcanberra-0.10[gtk3]
+	>=sys-apps/dbus-1.1.2
+	>=sys-power/upower-0.9.0
+
+	media-libs/fontconfig
+	x11-libs/libX11
+
+	systemd? ( >=sys-apps/systemd-42 )
+	!systemd? ( sys-auth/consolekit )
+	udev? ( >=sys-fs/udev-171[gudev] )
+"
+DEPEND="${RDEPEND}
+	app-text/docbook-sgml-utils
+	app-text/yelp-tools
+	>=dev-util/gtk-doc-am-1.9
+	>=dev-util/intltool-0.35
+	dev-libs/libxslt
+	sys-devel/gettext
+	virtual/pkgconfig
+"
+
+# NOTES:
+# app-text/docbook-sgml-utils required for man pages
+# app-text/gnome-doc-utils and dev-libs/libxslt required for gnome help files
+# gtk-doc is generating a useless file, don't need it
+
+# UPSTREAM:
+# misuse of CPPFLAGS/CXXFLAGS ?
+# see if tests can forget about display (use eclass for that ?)
+# intltool and gettext only with +nls
+
+pkg_setup() {
+	python_set_active_version 2
+	python_pkg_setup
+}
+
+src_prepare() {
+	DOCS="AUTHORS MAINTAINERS NEWS README TODO"
+	G2CONF="${G2CONF}
+		--localstatedir=/var
+		--enable-compile-warnings=yes
+		--enable-iso-c
+		--disable-schemas-compile
+		--disable-strict
+		$(use_enable nls)
+		$(use_enable systemd)
+		$(use_enable test tests)
+		$(use_enable udev gudev)"
+
+	# Regenerate marshalers for <glib-2.31 compat
+	rm -v src/gpk-marshal.{c,h} || die
+
+	# Disable stupid flags
+	sed -e '/CPPFLAGS="$CPPFLAGS -g"/d' -i configure.ac configure || die
+
+	gnome2_src_prepare
+	python_clean_py-compile_files
+
+	# * disable tests with graphical dialogs and that require packagekitd
+	#   to be run with the dummy backend
+	# * disable tests that fails every time packagekit developers make a
+	#   tiny change to headers
+	sed -e '/gpk_enum_test (test)/d' \
+		-e '/gpk_modal_dialog_test (test)/d' \
+		-e '/gpk_task_test (test)/d' \
+		-i src/gpk-self-test.c || die
+}
+
+src_test() {
+	unset DISPLAY
+	Xemake check
+}
+
+pkg_postinst() {
+	gnome2_pkg_postinst
+	python_need_rebuild
+	python_mod_optimize packagekit
+}
+
+pkg_postrm() {
+	gnome2_pkg_postrm
+	python_mod_cleanup packagekit
+}

diff --git a/gnome-extra/gnome-packagekit/metadata.xml b/gnome-extra/gnome-packagekit/metadata.xml
new file mode 100644
index 0000000..5978c40
--- /dev/null
+++ b/gnome-extra/gnome-packagekit/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+  <herd>gnome</herd>
+  <use>
+    <flag name="systemd">Use <pkg>sys-apps/systemd</pkg> instead of
+		<pkg>sys-auth/consolekit</pkg> for rebooting</flag>
+  </use>
+</pkgmetadata>


             reply	other threads:[~2012-10-30 21:11 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-30 21:11 Gilles Dartiguelongue [this message]
  -- strict thread matches above, loose matches on Subject: below --
2018-12-11 13:13 [gentoo-commits] proj/gnome:master commit in: gnome-extra/gnome-packagekit/ Gilles Dartiguelongue
2018-06-24 19:17 Gilles Dartiguelongue
2016-01-03 13:35 Gilles Dartiguelongue
2015-12-13 17:51 Gilles Dartiguelongue
2015-05-12  7:08 Gilles Dartiguelongue
2014-11-23 23:23 Gilles Dartiguelongue
2014-10-12 23:19 Gilles Dartiguelongue
2014-04-22 21:04 Gilles Dartiguelongue
2014-04-12 23:33 Gilles Dartiguelongue
2012-12-24  0:20 Gilles Dartiguelongue
2012-11-18 23:31 Gilles Dartiguelongue
2011-10-27 22:26 Alexandre Restovtsev
2011-10-26 21:02 Alexandre Restovtsev
2011-10-08  9:05 Gilles Dartiguelongue
2011-06-11  2:25 Nirbheek Chauhan
2011-05-28  4:51 Gilles Dartiguelongue
2011-05-08 17:36 Gilles Dartiguelongue
2011-04-05  0:57 Nirbheek Chauhan
2011-03-23  5:20 Nirbheek Chauhan
2011-03-23  5:20 Nirbheek Chauhan
2011-02-22 19:44 Nirbheek Chauhan
2011-02-18  8:47 Priit Laes
2011-02-16  0:48 Nirbheek Chauhan

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=1351631447.474a004b653823038aa407ef7554382aa2c51d59.eva@gentoo \
    --to=eva@gentoo.org \
    --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