diff options
author | Fabio Erculiani <lxnay@gentoo.org> | 2011-07-19 19:14:05 +0000 |
---|---|---|
committer | Fabio Erculiani <lxnay@gentoo.org> | 2011-07-19 19:14:05 +0000 |
commit | e55fc0a4522eb268da560c86d0437f9086747e77 (patch) | |
tree | cf1b02933ab1efbfa744c154b5554d86dd229ce2 /app-admin | |
parent | Version bump and remove old. (diff) | |
download | historical-e55fc0a4522eb268da560c86d0437f9086747e77.tar.gz historical-e55fc0a4522eb268da560c86d0437f9086747e77.tar.bz2 historical-e55fc0a4522eb268da560c86d0437f9086747e77.zip |
new ebuild
Package-Manager: portage-2.2.0_alpha37/cvs/Linux x86_64
Diffstat (limited to 'app-admin')
-rw-r--r-- | app-admin/packagekit-base/ChangeLog | 10 | ||||
-rw-r--r-- | app-admin/packagekit-base/metadata.xml | 25 | ||||
-rw-r--r-- | app-admin/packagekit-base/packagekit-base-0.6.16.ebuild | 173 | ||||
-rw-r--r-- | app-admin/packagekit-gtk/ChangeLog | 10 | ||||
-rw-r--r-- | app-admin/packagekit-gtk/metadata.xml | 12 | ||||
-rw-r--r-- | app-admin/packagekit-gtk/packagekit-gtk-0.6.16.ebuild | 64 | ||||
-rw-r--r-- | app-admin/packagekit-qt4/ChangeLog | 10 | ||||
-rw-r--r-- | app-admin/packagekit-qt4/metadata.xml | 12 | ||||
-rw-r--r-- | app-admin/packagekit-qt4/packagekit-qt4-0.6.16.ebuild | 65 | ||||
-rw-r--r-- | app-admin/packagekit/ChangeLog | 10 | ||||
-rw-r--r-- | app-admin/packagekit/metadata.xml | 12 | ||||
-rw-r--r-- | app-admin/packagekit/packagekit-0.6.16.ebuild | 22 |
12 files changed, 425 insertions, 0 deletions
diff --git a/app-admin/packagekit-base/ChangeLog b/app-admin/packagekit-base/ChangeLog new file mode 100644 index 000000000000..691d1d57e4f7 --- /dev/null +++ b/app-admin/packagekit-base/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for app-admin/packagekit-base +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-admin/packagekit-base/ChangeLog,v 1.1 2011/07/19 19:12:59 lxnay Exp $ + +*packagekit-base-0.6.16 (19 Jul 2011) + + 19 Jul 2011; Fabio Erculiani <lxnay@gentoo.org> + +packagekit-base-0.6.16.ebuild, +metadata.xml: + new ebuild + diff --git a/app-admin/packagekit-base/metadata.xml b/app-admin/packagekit-base/metadata.xml new file mode 100644 index 000000000000..1fab425e441a --- /dev/null +++ b/app-admin/packagekit-base/metadata.xml @@ -0,0 +1,25 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>no-herd</herd> + <maintainer> + <email>lxnay@gentoo.org</email> + <name>Fabio Erculiani</name> + </maintainer> + <use> + <flag name="connman">Add support for <pkg>net-misc/connman</pkg></flag> + <flag name="cron">Install cron script for auto-update</flag> + <flag name="entropy"> + Enable Entropy backend + </flag> + <flag name="introspection">Use <pkg>dev-libs/gobject-introspection</pkg> + Enable introspection + </flag> + <flag name="pm-utils"> + Add pm-utils (suspend/resume) functionalities + </flag> + <flag name="static-libs">Compile static archives</flag> + <flag name="udev">Add support for <pkg>sys-fs/udev</pkg></flag> + </use> +</pkgmetadata> + diff --git a/app-admin/packagekit-base/packagekit-base-0.6.16.ebuild b/app-admin/packagekit-base/packagekit-base-0.6.16.ebuild new file mode 100644 index 000000000000..8c12cf3c0349 --- /dev/null +++ b/app-admin/packagekit-base/packagekit-base-0.6.16.ebuild @@ -0,0 +1,173 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-admin/packagekit-base/packagekit-base-0.6.16.ebuild,v 1.1 2011/07/19 19:12:59 lxnay Exp $ + +EAPI="3" + +inherit eutils multilib python nsplugins bash-completion + +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="http://www.packagekit.org/releases/${MY_P}.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="connman cron doc +introspection networkmanager nsplugin pm-utils +policykit entropy static-libs test udev" + +CDEPEND="connman? ( net-misc/connman ) + introspection? ( >=dev-libs/gobject-introspection-0.9.8 ) + networkmanager? ( >=net-misc/networkmanager-0.6.4 ) + nsplugin? ( + dev-libs/nspr + x11-libs/cairo + >=x11-libs/gtk+-2.14.0:2 + x11-libs/pango + ) + policykit? ( >=sys-auth/polkit-0.94 ) + udev? ( || ( >=sys-fs/udev-171[gudev] >=sys-fs/udev-145[extras] ) ) + dev-db/sqlite:3 + >=dev-libs/dbus-glib-0.74 + >=dev-libs/glib-2.16.1:2 + >=sys-apps/dbus-1.3.0" +DEPEND="${CDEPEND} + doc? ( dev-util/gtk-doc ) + nsplugin? ( >=net-libs/xulrunner-1.9.1 ) + dev-libs/libxslt + >=dev-util/intltool-0.35.0 + dev-util/pkgconfig + sys-devel/gettext" + +RDEPEND="${CDEPEND} + entropy? ( >=sys-apps/entropy-1.0_rc27 ) + pm-utils? ( sys-power/pm-utils ) + >=app-portage/layman-1.2.3 + >=sys-apps/portage-2.1.9 + sys-auth/consolekit" + +APP_LINGUAS="as bg bn ca cs da de el en_GB es fi fr gu he hi hu it ja kn ko ml mr +ms nb nl or pa pl pt pt_BR ro ru sk sr sr@latin sv ta te th tr uk zh_CN zh_TW" +for X in ${APP_LINGUAS}; do + IUSE=" ${IUSE} linguas_${X}" +done + +S="${WORKDIR}/${MY_P}" +RESTRICT="test" # tests are failing atm + +# NOTES: +# do not use a specific user, useless and not more secure according to upstream +# doc is in the tarball and always installed +# mono doesn't install anything (RDEPEND dev-dotnet/gtk-sharp-gapi:2 +# (R)DEPEND dev-dotnet/glib-sharp:2 dev-lang/mono), upstream bug 23247 + +# UPSTREAM: +# documentation/website with --enable-doc-install +# failing tests + +src_configure() { + local myconf="" + + if use policykit; then + myconf+=" --with-security-framework=polkit" + else + myconf+=" --with-security-framework=dummy" + fi + + if [[ -z "${LINGUAS}" ]]; then + myconf+=" --disable-nls" + else + myconf+=" --enable-nls" + fi + + # localstatedir: for gentoo it's /var/lib but for $PN it's /var + # dep-tracking,option-check,libtool-lock,strict,local: obvious reasons + # command,debuginfo,gstreamer,service-packs: not supported by backend + + # NOTE: default backend is autodetected at runtime, also + if use entropy; then + myconf+=" --with-default-backend=entropy" + else + myconf+=" --with-default-backend=portage" + fi + econf \ + ${myconf} \ + --enable-introspection=no \ + --localstatedir=/var \ + --disable-dependency-tracking \ + --enable-option-checking \ + --enable-libtool-lock \ + --disable-strict \ + --disable-local \ + $(use_enable doc gtk-doc) \ + $(use_enable bash-completion command-not-found) \ + --disable-debuginfo-install \ + --disable-gstreamer-plugin \ + --disable-service-packs \ + --enable-man-pages \ + --enable-portage \ + $(use_enable entropy) \ + $(use_enable cron) \ + --disable-gtk-module \ + $(use_enable introspection) \ + $(use_enable networkmanager) \ + $(use_enable nsplugin browser-plugin) \ + $(use_enable pm-utils) \ + --disable-qt \ + $(use_enable static-libs static) \ + $(use_enable test tests) \ + $(use_enable udev device-rebind) +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + + dodoc AUTHORS MAINTAINERS NEWS README TODO || die "dodoc failed" + dodoc ChangeLog || die "dodoc failed" + + if use nsplugin; then + src_mv_plugins /usr/$(get_libdir)/mozilla/plugins + fi + + if ! use static-libs; then + find "${D}" -name *.la | xargs rm || die "removing .la files failed" + fi + + # Remove precompiled python modules, we handle byte compiling + rm -f "${D}/$(python_get_sitedir)"/${PN}*.py[co] + + dobashcompletion "${S}/contrib/pk-completion.bash" ${PN} + # Remove bashcomp file installed by build-system + rm -f "${D}/bash_completion.d/pk-completion.bash" + + # Remove unwanted PackageKit website stuff + rm -rf "${D}/usr/share/PackageKit/website" + +} + +pkg_postinst() { + python_mod_optimize ${PN/-base} + + if ! use policykit; then + ewarn "You are not using policykit, the daemon can't be considered as secure." + ewarn "All users will be able to do anything through ${MY_PN}." + ewarn "Please, consider rebuilding ${MY_PN} with policykit USE flag." + ewarn "THIS IS A SECURITY ISSUE." + echo + ebeep + epause 5 + fi + bash-completion_pkg_postinst +} + +pkg_prerm() { + einfo "Removing downloaded files with ${MY_PN}..." + [[ -d "${ROOT}"/var/cache/${MY_PN}/downloads/ ]] && \ + rm -rf /var/cache/PackageKit/downloads/* +} + +pkg_postrm() { + python_mod_cleanup ${PN/-base} +} diff --git a/app-admin/packagekit-gtk/ChangeLog b/app-admin/packagekit-gtk/ChangeLog new file mode 100644 index 000000000000..4b2dd8b34c48 --- /dev/null +++ b/app-admin/packagekit-gtk/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for app-admin/packagekit-gtk +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-admin/packagekit-gtk/ChangeLog,v 1.1 2011/07/19 19:13:22 lxnay Exp $ + +*packagekit-gtk-0.6.16 (19 Jul 2011) + + 19 Jul 2011; Fabio Erculiani <lxnay@gentoo.org> + +packagekit-gtk-0.6.16.ebuild, +metadata.xml: + new ebuild + diff --git a/app-admin/packagekit-gtk/metadata.xml b/app-admin/packagekit-gtk/metadata.xml new file mode 100644 index 000000000000..32dc8aeaad49 --- /dev/null +++ b/app-admin/packagekit-gtk/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>no-herd</herd> + <maintainer> + <email>lxnay@gentoo.org</email> + <name>Fabio Erculiani</name> + </maintainer> + <use> + </use> +</pkgmetadata> + diff --git a/app-admin/packagekit-gtk/packagekit-gtk-0.6.16.ebuild b/app-admin/packagekit-gtk/packagekit-gtk-0.6.16.ebuild new file mode 100644 index 000000000000..bfe7d7a047f9 --- /dev/null +++ b/app-admin/packagekit-gtk/packagekit-gtk-0.6.16.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-admin/packagekit-gtk/packagekit-gtk-0.6.16.ebuild,v 1.1 2011/07/19 19:13:22 lxnay Exp $ + +EAPI="3" + +inherit eutils base + +MY_PN="PackageKit" +MY_P=${MY_PN}-${PV} + +DESCRIPTION="GTK+ PackageKit backend library" +HOMEPAGE="http://www.packagekit.org/" +SRC_URI="http://www.packagekit.org/releases/${MY_P}.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="dev-libs/dbus-glib + media-libs/fontconfig + >=x11-libs/gtk+-2.14.0:2 + x11-libs/pango + ~app-admin/packagekit-base-${PV}" +DEPEND="${RDEPEND} dev-util/pkgconfig" + +S="${WORKDIR}/${MY_P}" + +src_configure() { + econf \ + --localstatedir=/var \ + --enable-introspection=no \ + --disable-dependency-tracking \ + --enable-option-checking \ + --enable-libtool-lock \ + --disable-strict \ + --disable-local \ + --disable-gtk-doc \ + --disable-command-not-found \ + --disable-debuginfo-install \ + --disable-gstreamer-plugin \ + --disable-service-packs \ + --disable-managed \ + --disable-man-pages \ + --disable-cron \ + --enable-gtk-module \ + --disable-networkmanager \ + --disable-browser-plugin \ + --disable-pm-utils \ + --disable-device-rebind \ + --disable-tests \ + --disable-qt +} + +src_compile() { + cd "${S}"/contrib/gtk-module || die + emake || die "emake install failed" +} + +src_install() { + cd "${S}"/contrib/gtk-module || die + emake DESTDIR="${D}" install || die "emake install failed" +} diff --git a/app-admin/packagekit-qt4/ChangeLog b/app-admin/packagekit-qt4/ChangeLog new file mode 100644 index 000000000000..a6a53cbf680d --- /dev/null +++ b/app-admin/packagekit-qt4/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for app-admin/packagekit-qt4 +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-admin/packagekit-qt4/ChangeLog,v 1.1 2011/07/19 19:13:43 lxnay Exp $ + +*packagekit-qt4-0.6.16 (19 Jul 2011) + + 19 Jul 2011; Fabio Erculiani <lxnay@gentoo.org> + +packagekit-qt4-0.6.16.ebuild, +metadata.xml: + new ebuild + diff --git a/app-admin/packagekit-qt4/metadata.xml b/app-admin/packagekit-qt4/metadata.xml new file mode 100644 index 000000000000..32dc8aeaad49 --- /dev/null +++ b/app-admin/packagekit-qt4/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>no-herd</herd> + <maintainer> + <email>lxnay@gentoo.org</email> + <name>Fabio Erculiani</name> + </maintainer> + <use> + </use> +</pkgmetadata> + diff --git a/app-admin/packagekit-qt4/packagekit-qt4-0.6.16.ebuild b/app-admin/packagekit-qt4/packagekit-qt4-0.6.16.ebuild new file mode 100644 index 000000000000..3645c3a6aec6 --- /dev/null +++ b/app-admin/packagekit-qt4/packagekit-qt4-0.6.16.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-admin/packagekit-qt4/packagekit-qt4-0.6.16.ebuild,v 1.1 2011/07/19 19:13:43 lxnay Exp $ + +EAPI="3" + +inherit eutils base + +MY_PN="PackageKit" +MY_P=${MY_PN}-${PV} + +DESCRIPTION="Qt4 PackageKit backend library" +HOMEPAGE="http://www.packagekit.org/" +SRC_URI="http://www.packagekit.org/releases/${MY_P}.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=">=x11-libs/qt-core-4.4.0 + >=x11-libs/qt-dbus-4.4.0 + >=x11-libs/qt-sql-4.4.0 + ~app-admin/packagekit-base-${PV}" +DEPEND="${RDEPEND} + dev-libs/libxslt + dev-util/pkgconfig" + +S="${WORKDIR}/${MY_P}" + +src_configure() { + econf \ + --enable-introspection=no \ + --localstatedir=/var \ + --disable-dependency-tracking \ + --enable-option-checking \ + --enable-libtool-lock \ + --disable-strict \ + --disable-local \ + --disable-gtk-doc \ + --disable-command-not-found \ + --disable-debuginfo-install \ + --disable-gstreamer-plugin \ + --disable-service-packs \ + --disable-managed \ + --disable-man-pages \ + --disable-cron \ + --disable-gtk-module \ + --disable-networkmanager \ + --disable-browser-plugin \ + --disable-pm-utils \ + --disable-device-rebind \ + --disable-tests \ + --enable-qt +} + +src_compile() { + cd "${S}"/lib/packagekit-qt || die + emake || die "emake install failed" +} + +src_install() { + cd "${S}"/lib/packagekit-qt || die + emake DESTDIR="${D}" install || die "emake install failed" +} diff --git a/app-admin/packagekit/ChangeLog b/app-admin/packagekit/ChangeLog new file mode 100644 index 000000000000..7ce0be5333b6 --- /dev/null +++ b/app-admin/packagekit/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for app-admin/packagekit +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-admin/packagekit/ChangeLog,v 1.1 2011/07/19 19:14:05 lxnay Exp $ + +*packagekit-0.6.16 (19 Jul 2011) + + 19 Jul 2011; Fabio Erculiani <lxnay@gentoo.org> +packagekit-0.6.16.ebuild, + +metadata.xml: + new ebuild + diff --git a/app-admin/packagekit/metadata.xml b/app-admin/packagekit/metadata.xml new file mode 100644 index 000000000000..32dc8aeaad49 --- /dev/null +++ b/app-admin/packagekit/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>no-herd</herd> + <maintainer> + <email>lxnay@gentoo.org</email> + <name>Fabio Erculiani</name> + </maintainer> + <use> + </use> +</pkgmetadata> + diff --git a/app-admin/packagekit/packagekit-0.6.16.ebuild b/app-admin/packagekit/packagekit-0.6.16.ebuild new file mode 100644 index 000000000000..fb1347b569de --- /dev/null +++ b/app-admin/packagekit/packagekit-0.6.16.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-admin/packagekit/packagekit-0.6.16.ebuild,v 1.1 2011/07/19 19:14:05 lxnay Exp $ + +EAPI="3" + +MY_PN="PackageKit" +MY_P=${MY_PN}-${PV} + +DESCRIPTION="PackageKit Package Manager interface (meta package)" +HOMEPAGE="http://www.packagekit.org/" +SRC_URI="" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="gtk qt4" + +RDEPEND="gtk? ( ~app-admin/packagekit-gtk-${PV} ) + qt4? ( ~app-admin/packagekit-qt4-${PV} )" + +DEPEND="${RDEPEND}" |