parent
065c01f417
commit
bbb7b29b5c
@ -1 +0,0 @@
|
||||
DIST PackageKit-1.1.5.tar.xz 1418292 SHA256 50f448ced5b460bd79ba0c97e9fe080153eaeecad909eee108284e3f5fc7b70c SHA512 ecc6a4d39caa0a7ea2047f52f95980b23e61ae200e27559326f03302b1c0d798f9cbae53fcf2d397dca3d54e52f143e2e7aa4e3f0b2df8c39e53bd2993e86154 WHIRLPOOL d21df70793d316ffd045f9c4b06f0e31015cf659e9f3679cd96dbdaf3acf22e030446030f2c5a589f87b351b8a191dda7614bb63462a9e1017bb9ae11fcfdbf8
|
@ -1,26 +0,0 @@
|
||||
From ee2dfacb275e8145c7ae1ba8da86779054adf902 Mon Sep 17 00:00:00 2001
|
||||
From: Fabio Erculiani <lxnay@sabayon.org>
|
||||
Date: Fri, 6 Dec 2013 07:40:15 +0100
|
||||
Subject: [PATCH] entropy: PackageKitEntropyClient.output API update
|
||||
|
||||
---
|
||||
backends/entropy/entropyBackend.py | 3 ++-
|
||||
1 file changed, 2 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/backends/entropy/entropyBackend.py b/backends/entropy/entropyBackend.py
|
||||
index 57b6c59..bec8ef6 100755
|
||||
--- a/backends/entropy/entropyBackend.py
|
||||
+++ b/backends/entropy/entropyBackend.py
|
||||
@@ -776,7 +776,8 @@ class PackageKitEntropyClient(Client):
|
||||
def init_singleton(self):
|
||||
Client.init_singleton(self, url_fetcher = PkUrlFetcher)
|
||||
|
||||
- def output(self, text, header = "", footer = "", back = False,
|
||||
+ @classmethod
|
||||
+ def output(cls, text, header = "", footer = "", back = False,
|
||||
importance = 0, level = "info", count = None, percent = False):
|
||||
"""
|
||||
Reimplemented from entropy.output.TextInterface.
|
||||
--
|
||||
1.8.4.4
|
||||
|
@ -1,12 +0,0 @@
|
||||
Index: PackageKit-0.8.12/src/org.freedesktop.PackageKit.xml
|
||||
===================================================================
|
||||
--- PackageKit-0.8.12.orig/src/org.freedesktop.PackageKit.xml
|
||||
+++ PackageKit-0.8.12/src/org.freedesktop.PackageKit.xml
|
||||
@@ -317,6 +317,7 @@
|
||||
|
||||
<!--*****************************************************************************************-->
|
||||
<method name="GetPackageHistory">
|
||||
+ <annotation name="org.qtproject.QtDBus.QtTypeName.Out0" value="QVariant"/>
|
||||
<doc:doc>
|
||||
<doc:description>
|
||||
<doc:para>
|
@ -1,13 +0,0 @@
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index 3e8d301..7ba7f4b 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -361,7 +361,7 @@ AC_ARG_ENABLE(browser_plugin, AS_HELP_STRING([--enable-browser-plugin],[Build br
|
||||
enable_browser_plugin=$enableval,enable_browser_plugin=yes)
|
||||
if test x$enable_browser_plugin = xyes; then
|
||||
PKG_CHECK_MODULES(PK_BROWSER_PLUGIN, \
|
||||
- mozilla-plugin >= 8.0 \
|
||||
+ npapi-sdk \
|
||||
gio-unix-2.0 \
|
||||
nspr >= 4.8 \
|
||||
cairo \
|
@ -1,15 +0,0 @@
|
||||
--- a/src/~Makefile.am 2016-06-29 10:59:14.178918032 +0200
|
||||
+++ b/src/Makefile.am 2016-06-29 11:02:50.739929627 +0200
|
||||
@@ -175,11 +175,7 @@ pk_self_test_CFLAGS = \
|
||||
TESTS = pk-self-test
|
||||
|
||||
install-data-hook:
|
||||
- if test -w $(DESTDIR)$(prefix)/; then \
|
||||
- mkdir -p $(DESTDIR)$(localstatedir)/cache/PackageKit/downloads; \
|
||||
- mkdir -p $(DESTDIR)$(localstatedir)/cache/PackageKit/metadata; \
|
||||
- mkdir -p $(DESTDIR)$(localstatedir)/log; \
|
||||
- fi
|
||||
+
|
||||
|
||||
clean-local:
|
||||
rm -f *~
|
@ -1,117 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="6"
|
||||
|
||||
# PackageKit supports 3.2+, but entropy and portage backends are untested
|
||||
# Future note: use --enable-python3
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
VALA_USE_DEPEND="vapigen"
|
||||
|
||||
inherit bash-completion-r1 multilib python-single-r1 systemd vala xdg
|
||||
|
||||
MY_PN="PackageKit"
|
||||
MY_P=${MY_PN}-${PV}
|
||||
|
||||
DESCRIPTION="Manage packages in a secure way using a cross-distro and cross-architecture API"
|
||||
HOMEPAGE="http://www.packagekit.org/"
|
||||
SRC_URI="https://www.freedesktop.org/software/${MY_PN}/releases/${MY_P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0/18"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~mips ~ppc ~ppc64 ~x86"
|
||||
IUSE="connman cron command-not-found +introspection networkmanager entropy systemd test vala"
|
||||
REQUIRED_USE="
|
||||
${PYTHON_REQUIRED_USE}
|
||||
vala? ( introspection )
|
||||
"
|
||||
|
||||
# While not strictly needed, consolekit is the alternative to systemd-login
|
||||
# to get current session's user.
|
||||
COMMON_DEPEND="
|
||||
>=app-shells/bash-completion-2
|
||||
dev-db/sqlite:3
|
||||
>=dev-libs/dbus-glib-0.74
|
||||
>=dev-libs/glib-2.46.0:2[${PYTHON_USEDEP}]
|
||||
>=sys-auth/polkit-0.98
|
||||
>=sys-apps/dbus-1.3.0
|
||||
${PYTHON_DEPS}
|
||||
connman? ( net-misc/connman )
|
||||
introspection? ( >=dev-libs/gobject-introspection-0.9.9:= )
|
||||
networkmanager? ( >=net-misc/networkmanager-0.6.4:= )
|
||||
systemd? ( >=sys-apps/systemd-204 )
|
||||
"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
>=dev-cpp/glibmm-2.4
|
||||
dev-libs/libxslt[${PYTHON_USEDEP}]
|
||||
>=dev-util/gtk-doc-am-1.11
|
||||
>=dev-util/intltool-0.35.0
|
||||
sys-devel/gettext
|
||||
virtual/pkgconfig
|
||||
vala? ( $(vala_depend) )
|
||||
"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
>=app-portage/layman-2[${PYTHON_USEDEP}]
|
||||
>=sys-apps/portage-2.2[${PYTHON_USEDEP}]
|
||||
entropy? ( >=sys-apps/entropy-234[${PYTHON_USEDEP}] )
|
||||
!systemd? ( sys-auth/consolekit )
|
||||
"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
src_prepare() {
|
||||
# Fixes QA Notices:
|
||||
# - https://github.com/gentoo/gentoo/pull/1760
|
||||
# - https://github.com/hughsie/PackageKit/issues/143
|
||||
eapply "${FILESDIR}"/${PN}-1.1.1-cache-qafix.patch
|
||||
|
||||
# Disable unittests not working with portage backend
|
||||
# console: requires terminal input
|
||||
sed -e 's:^\(.*/packagekit-glib2/control\)://\1:' \
|
||||
-e 's:^\(.*/packagekit-glib2/transaction-list\)://\1:' \
|
||||
-e 's:^\(.*/packagekit-glib2/client"\)://\1:' \
|
||||
-e 's:^\(.*/packagekit-glib2/package-sack\)://\1:' \
|
||||
-e 's:^\(.*/packagekit-glib2/task\)://\1:' \
|
||||
-e 's:^\(.*/packagekit-glib2/console\)://\1:' \
|
||||
-i lib/packagekit-glib2/pk-test-daemon.c || die
|
||||
sed -e 's:^\(.*/packagekit/spawn\)://\1:' \
|
||||
-e 's:^\(.*/packagekit/transaction-db\)://\1:' \
|
||||
-e 's:^\(.*/packagekit/backend\)://\1:' \
|
||||
-i src/pk-self-test.c || die
|
||||
|
||||
eapply_user
|
||||
use vala && vala_src_prepare
|
||||
xdg_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--disable-gstreamer-plugin \
|
||||
--disable-gtk-doc \
|
||||
--disable-gtk-module \
|
||||
--disable-schemas-compile \
|
||||
--disable-static \
|
||||
--enable-bash-completion \
|
||||
--enable-man-pages \
|
||||
--enable-nls \
|
||||
--enable-portage \
|
||||
--localstatedir=/var \
|
||||
$(use_enable command-not-found) \
|
||||
$(use_enable connman) \
|
||||
$(use_enable cron) \
|
||||
$(use_enable entropy) \
|
||||
$(use_enable introspection) \
|
||||
$(use_enable networkmanager) \
|
||||
$(use_enable systemd) \
|
||||
$(use_enable test daemon-tests) \
|
||||
$(use_enable test local) \
|
||||
$(use_enable vala) \
|
||||
--with-systemdsystemunitdir="$(systemd_get_systemunitdir)"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
prune_libtool_files --all
|
||||
|
||||
dodoc AUTHORS ChangeLog MAINTAINERS NEWS README
|
||||
}
|
Loading…
Reference in new issue