From c1140fbdfb3b00e8489150780b79ac4844476a4e Mon Sep 17 00:00:00 2001 From: Pacho Ramos Date: Sat, 23 Jun 2018 10:07:12 +0200 Subject: [PATCH] features/selinux/package.mask: gnome-abrt needs new abrt --- app-admin/gnome-abrt/gnome-abrt-1.2.6.ebuild | 67 ++++++++++++++++++++ app-admin/gnome-abrt/metadata.xml | 11 ++++ profiles/features/selinux/package.mask | 1 + 3 files changed, 79 insertions(+) create mode 100644 app-admin/gnome-abrt/gnome-abrt-1.2.6.ebuild create mode 100644 app-admin/gnome-abrt/metadata.xml diff --git a/app-admin/gnome-abrt/gnome-abrt-1.2.6.ebuild b/app-admin/gnome-abrt/gnome-abrt-1.2.6.ebuild new file mode 100644 index 000000000000..5121f602279e --- /dev/null +++ b/app-admin/gnome-abrt/gnome-abrt-1.2.6.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python3_{4,5,6} ) + +inherit autotools gnome2-utils python-single-r1 + +DESCRIPTION="A utility for viewing problems that have occurred with the system" +HOMEPAGE="https://github.com/abrt/abrt/wiki/ABRT-Project" +SRC_URI="https://github.com/abrt/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +IUSE="" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND="${PYTHON_DEPS} + x11-libs/gtk+:3 + >=dev-libs/libreport-2.0.20[python] + >=app-admin/abrt-2.10.10-r1 + dev-python/pygobject:3 + x11-libs/libX11 + >=dev-python/pyxdg-0.19 +" +DEPEND="${RDEPEND} + app-text/asciidoc + app-text/xmlto + >=dev-util/intltool-0.35.0 + virtual/pkgconfig + >=sys-devel/gettext-0.17 +" + +PATCHES=( + # From Fedora (fixed in next release) + "${FILESDIR}"/0001-Remove-Expert-mode-and-the-remaining-Analyze-code.patch +) + +src_prepare() { + default + ./gen-version > gnome-abrt-version || die + eautoreconf +} + +src_configure() { + myeconfargs=( + --localstatedir="${EPREFIX}/var" + --with-nopylint + ) + + econf "${myeconfargs[@]}" +} + +src_install() { + default + find "${D}" -name '*.la' -delete || die +} + +pkg_postinst() { + gnome2_icon_cache_update +} + +pkg_postrm() { + gnome2_icon_cache_update +} diff --git a/app-admin/gnome-abrt/metadata.xml b/app-admin/gnome-abrt/metadata.xml new file mode 100644 index 000000000000..fec665753243 --- /dev/null +++ b/app-admin/gnome-abrt/metadata.xml @@ -0,0 +1,11 @@ + + + + + gnome@gentoo.org + Gentoo GNOME Desktop + + + abrt/gnome-abrt + + diff --git a/profiles/features/selinux/package.mask b/profiles/features/selinux/package.mask index cce0476c2e4f..c9535802b6d9 100644 --- a/profiles/features/selinux/package.mask +++ b/profiles/features/selinux/package.mask @@ -39,4 +39,5 @@ sys-apps/dbus-broker # Gilles Dartiguelongue (24 May 2018) # Packages use systemd unconditionally for now >=app-admin/abrt-2.10 +app-admin/gnome-abrt >=dev-libs/libreport-2.9 -- 2.26.2