app-admin/gnome-abrt: Re-introduce the GUI for abrt
authorPacho Ramos <pacho@gentoo.org>
Sat, 23 Jun 2018 08:08:15 +0000 (10:08 +0200)
committerPacho Ramos <pacho@gentoo.org>
Sat, 23 Jun 2018 08:08:15 +0000 (10:08 +0200)
Package-Manager: Portage-2.3.40, Repoman-2.3.9

app-admin/gnome-abrt/Manifest [new file with mode: 0644]
app-admin/gnome-abrt/gnome-abrt-1.2.6.ebuild [new file with mode: 0644]
app-admin/gnome-abrt/metadata.xml [new file with mode: 0644]

diff --git a/app-admin/gnome-abrt/Manifest b/app-admin/gnome-abrt/Manifest
new file mode 100644 (file)
index 0000000..571b8de
--- /dev/null
@@ -0,0 +1 @@
+DIST gnome-abrt-1.2.6.tar.gz 340308 BLAKE2B 5221fe43fd72fe8798f2c11275863e6936e616632641448c53dd24118d3b6b808fc373fe98b8775f1f1c58820c06195a665f6d417c95eaa7cc333cd7660b2d0b SHA512 12bcdeefa481b7caa04da046ee11d6adc9fd582b32f709d79a2d94cf61ca02643edd418cd9257c0f732a30aa5714fe83a282a4c794ff4260ddad038f7721ff2c
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 (file)
index 0000000..5121f60
--- /dev/null
@@ -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 (file)
index 0000000..fec6657
--- /dev/null
@@ -0,0 +1,11 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+       <maintainer type="project">
+               <email>gnome@gentoo.org</email>
+               <name>Gentoo GNOME Desktop</name>
+       </maintainer>
+       <upstream>
+               <remote-id type="github">abrt/gnome-abrt</remote-id>
+       </upstream>
+</pkgmetadata>