Gentoo Archives: gentoo-commits

From: Matt Turner <mattst88@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-office/planner/
Date: Sat, 29 Oct 2022 18:34:10
Message-Id: 1667068438.c5531bd06b0408bac631274ae20ce9b320a50226.mattst88@gentoo
1 commit: c5531bd06b0408bac631274ae20ce9b320a50226
2 Author: Pascal Jäger <pascal.jaeger <AT> leimstift <DOT> de>
3 AuthorDate: Sat Oct 15 17:13:36 2022 +0000
4 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
5 CommitDate: Sat Oct 29 18:33:58 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5531bd0
7
8 app-office/planner: disable eds, fix QA
9
10 Closes: https://bugs.gentoo.org/814152
11 Closes: https://bugs.gentoo.org/784086
12 Signed-off-by: Pascal Jäger <pascal.jaeger <AT> leimstift.de>
13 Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
14
15 .../planner/planner-0.14.6_p20130520-r3.ebuild | 66 ++++++++++++++++++++++
16 1 file changed, 66 insertions(+)
17
18 diff --git a/app-office/planner/planner-0.14.6_p20130520-r3.ebuild b/app-office/planner/planner-0.14.6_p20130520-r3.ebuild
19 new file mode 100644
20 index 000000000000..a7e96491e139
21 --- /dev/null
22 +++ b/app-office/planner/planner-0.14.6_p20130520-r3.ebuild
23 @@ -0,0 +1,66 @@
24 +# Copyright 1999-2022 Gentoo Authors
25 +# Distributed under the terms of the GNU General Public License v2
26 +
27 +EAPI=8
28 +
29 +inherit gnome2
30 +
31 +DESCRIPTION="Project manager for Gnome"
32 +HOMEPAGE="https://wiki.gnome.org/Apps/Planner"
33 +if [[ "${PV}" == "9999" ]] ; then
34 + EGIT_REPO_URI="https://gitlab.gnome.org/World/planner.git"
35 + inherit git-r3
36 + SRC_URI=""
37 +else
38 + SRC_URI="https://dev.gentoo.org/~eva/distfiles/${PN}/${P}.tar.xz"
39 + KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86"
40 +fi
41 +
42 +SLOT="0"
43 +LICENSE="GPL-2"
44 +
45 +IUSE="examples"
46 +
47 +RDEPEND="
48 + >=dev-libs/glib-2.6:2
49 + >=x11-libs/gtk+-2.24:2
50 + >=gnome-base/gconf-2.10:2
51 + >=gnome-base/libgnomecanvas-2.10
52 + >=gnome-base/libglade-2.4:2.0
53 + >=dev-libs/libxml2-2.6.27:2
54 + >=dev-libs/libxslt-1.1.23
55 +"
56 +DEPEND="${RDEPEND}"
57 +
58 +BDEPEND="
59 + dev-util/gtk-doc-am
60 + app-text/docbook-xml-dtd:4.1.2
61 + >=dev-util/intltool-0.35.5
62 + gnome-base/gnome-common
63 + virtual/pkgconfig
64 + app-text/rarian
65 +"
66 +
67 +S="${WORKDIR}/${PN}-0.14.6"
68 +src_configure() {
69 + # FIXME: disable eds backend for now, it fails, upstream bug #654005
70 + # FIXME: disable eds for now, bug #784086
71 + # We need to set compile-warnings to a different value as it doesn't use
72 + # standard macro: https://bugzilla.gnome.org/703067
73 + gnome2_src_configure \
74 + --disable-python \
75 + --disable-python-plugin \
76 + --disable-eds \
77 + --disable-eds-backend \
78 + --with-database=no \
79 + --disable-update-mimedb \
80 + --enable-compile-warnings=yes
81 +}
82 +
83 +src_install() {
84 + gnome2_src_install
85 + mv "${ED}"/usr/share/doc/planner "${ED}"/usr/share/doc/${PF} || die
86 + if ! use examples; then
87 + rm -rf "${D}/usr/share/doc/${PF}/examples"
88 + fi
89 +}