summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMart Raudsepp <leio@gentoo.org>2023-01-18 22:43:43 +0200
committerMart Raudsepp <leio@gentoo.org>2023-01-18 22:45:21 +0200
commit5c0ec70e210381cdc447bef4343b9555102ca7d1 (patch)
treeabb4bc3f23af7b6983d31d5fa79878588f6b0b72 /app-office/planner
parentgnome-extra/gnome-software: raise flatpak dep for libsoup:3 compat (diff)
downloadgentoo-5c0ec70e210381cdc447bef4343b9555102ca7d1.tar.gz
gentoo-5c0ec70e210381cdc447bef4343b9555102ca7d1.tar.bz2
gentoo-5c0ec70e210381cdc447bef4343b9555102ca7d1.zip
app-office/planner: add 0.14.91
Closes: https://bugs.gentoo.org/873853 Signed-off-by: Mart Raudsepp <leio@gentoo.org>
Diffstat (limited to 'app-office/planner')
-rw-r--r--app-office/planner/Manifest2
-rw-r--r--app-office/planner/metadata.xml2
-rw-r--r--app-office/planner/planner-0.14.6_p20130520-r3.ebuild66
-rw-r--r--app-office/planner/planner-0.14.91.ebuild62
-rw-r--r--app-office/planner/planner-9999.ebuild19
5 files changed, 69 insertions, 82 deletions
diff --git a/app-office/planner/Manifest b/app-office/planner/Manifest
index 60df289726b9..86d2cf5d35c4 100644
--- a/app-office/planner/Manifest
+++ b/app-office/planner/Manifest
@@ -1 +1 @@
-DIST planner-0.14.6_p20130520.tar.xz 4200624 BLAKE2B 4dd3965a3091fe69d9ac125745f7d3ac54cbe1d81f794c0dded02c0983867d2469848af7f74f1eb745a2e2c42c79be7955d6790f0b263faa5ee821bc28c6a339 SHA512 d658b68c96742340a06a9e96d7910f70fb296cb7a19cc335afdcbec01b36326b1574522155cf19fec012363e1e4d4120c35e1319c699613833be2eb0fa999024
+DIST planner-0.14.91.tar.xz 3887084 BLAKE2B 7719ead3f9794aa29ec67f8bfd9e3d7b7541d79542befe767c2f41381a9c62493790df314e940731cf5deefb6ac4dcece67623fc5ae8d8b792b0c95793682b39 SHA512 579ad60d3282124f9cf954163c27feaa1d505ce3135b3d668e1fe0ca036d7e7290bbd3a6d9c30f32a77594c5d60988feee670266c34c0a8b9240510609ab46e2
diff --git a/app-office/planner/metadata.xml b/app-office/planner/metadata.xml
index 2f8642fe363a..b22cc2c2f2e8 100644
--- a/app-office/planner/metadata.xml
+++ b/app-office/planner/metadata.xml
@@ -6,7 +6,7 @@
<name>Gentoo GNOME Desktop</name>
</maintainer>
<use>
- <flag name="libgda">Database/GDA support</flag>
+ <flag name="libgda">PostgreSQL support via <pkg>gnome-extra/libgda</pkg></flag>
</use>
<upstream>
<remote-id type="gnome-gitlab">World/planner</remote-id>
diff --git a/app-office/planner/planner-0.14.6_p20130520-r3.ebuild b/app-office/planner/planner-0.14.6_p20130520-r3.ebuild
deleted file mode 100644
index 2604b71025a6..000000000000
--- a/app-office/planner/planner-0.14.6_p20130520-r3.ebuild
+++ /dev/null
@@ -1,66 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit gnome2
-
-DESCRIPTION="Project manager for Gnome"
-HOMEPAGE="https://wiki.gnome.org/Apps/Planner"
-if [[ "${PV}" == "9999" ]] ; then
- EGIT_REPO_URI="https://gitlab.gnome.org/World/planner.git"
- inherit git-r3
- SRC_URI=""
-else
- SRC_URI="https://dev.gentoo.org/~eva/distfiles/${PN}/${P}.tar.xz"
- KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86"
-fi
-
-SLOT="0"
-LICENSE="GPL-2"
-
-IUSE="examples"
-
-RDEPEND="
- >=dev-libs/glib-2.6:2
- >=x11-libs/gtk+-2.24:2
- >=gnome-base/gconf-2.10:2
- >=gnome-base/libgnomecanvas-2.10
- >=gnome-base/libglade-2.4:2.0
- >=dev-libs/libxml2-2.6.27:2
- >=dev-libs/libxslt-1.1.23
-"
-DEPEND="${RDEPEND}"
-
-BDEPEND="
- dev-util/gtk-doc-am
- app-text/docbook-xml-dtd:4.1.2
- >=dev-util/intltool-0.35.5
- gnome-base/gnome-common
- virtual/pkgconfig
- app-text/rarian
-"
-
-S="${WORKDIR}/${PN}-0.14.6"
-src_configure() {
- # FIXME: disable eds backend for now, it fails, upstream bug #654005
- # FIXME: disable eds for now, bug #784086
- # We need to set compile-warnings to a different value as it doesn't use
- # standard macro: https://bugzilla.gnome.org/703067
- gnome2_src_configure \
- --disable-python \
- --disable-python-plugin \
- --disable-eds \
- --disable-eds-backend \
- --with-database=no \
- --disable-update-mimedb \
- --enable-compile-warnings=yes
-}
-
-src_install() {
- MAKEOPTS="${MAKEOPTS} -j1" gnome2_src_install
- mv "${ED}"/usr/share/doc/planner "${ED}"/usr/share/doc/${PF} || die
- if ! use examples; then
- rm -rf "${D}/usr/share/doc/${PF}/examples"
- fi
-}
diff --git a/app-office/planner/planner-0.14.91.ebuild b/app-office/planner/planner-0.14.91.ebuild
new file mode 100644
index 000000000000..291f2d01973f
--- /dev/null
+++ b/app-office/planner/planner-0.14.91.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit gnome.org gnome2-utils meson xdg
+
+DESCRIPTION="Project manager for Gnome"
+HOMEPAGE="https://wiki.gnome.org/Apps/Planner"
+if [[ "${PV}" == "9999" ]] ; then
+ EGIT_REPO_URI="https://gitlab.gnome.org/World/planner.git"
+ inherit git-r3
+ SRC_URI=""
+else
+ KEYWORDS="~amd64"
+fi
+
+SLOT="0"
+LICENSE="GPL-2+"
+IUSE="examples libgda"
+
+RDEPEND="
+ >=dev-libs/glib-2.56:2
+ >=x11-libs/gtk+-3.22:3
+ >=dev-libs/libxml2-2.6.27:2
+ >=dev-libs/libxslt-1.1.23
+ libgda? ( >=gnome-extra/libgda-1.0:5 )
+"
+DEPEND="${RDEPEND}"
+
+BDEPEND="
+ virtual/pkgconfig
+ sys-devel/gettext
+"
+
+src_configure() {
+ local emesonargs=(
+ $(meson_feature libgda database-gda)
+ -Deds=disabled # Doesn't provide much value, not very tested
+ $(meson_use examples)
+ -Dgtk_doc=false # Only for a private library
+ -Dsimple-priority-scheduling=false # experimental
+ )
+ meson_src_configure
+}
+
+src_install() {
+ meson_src_install
+ if use examples; then
+ mv "${ED}"/usr/share/doc/planner "${ED}"/usr/share/doc/${PF} || die
+ fi
+}
+
+pkg_postinst() {
+ xdg_pkg_postinst
+ gnome2_schemas_update
+}
+
+pkg_postrm() {
+ xdg_pkg_postrm
+ gnome2_schemas_update
+}
diff --git a/app-office/planner/planner-9999.ebuild b/app-office/planner/planner-9999.ebuild
index 6643bdc69e13..291f2d01973f 100644
--- a/app-office/planner/planner-9999.ebuild
+++ b/app-office/planner/planner-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -17,7 +17,7 @@ fi
SLOT="0"
LICENSE="GPL-2+"
-IUSE="examples gtk-doc libgda" # eds
+IUSE="examples libgda"
RDEPEND="
>=dev-libs/glib-2.56:2
@@ -26,17 +26,9 @@ RDEPEND="
>=dev-libs/libxslt-1.1.23
libgda? ( >=gnome-extra/libgda-1.0:5 )
"
- # eds support is broken for now
- # eds? (
- # >=gnome-extra/evolution-data-server-3.6:=
- # )
DEPEND="${RDEPEND}"
BDEPEND="
- gtk-doc? (
- dev-util/gtk-doc
- app-text/docbook-xml-dtd:4.1.2
- )
virtual/pkgconfig
sys-devel/gettext
"
@@ -44,11 +36,10 @@ BDEPEND="
src_configure() {
local emesonargs=(
$(meson_feature libgda database-gda)
- # $(meson_feature eds)
- -Deds=disabled # upstream says it's broken
+ -Deds=disabled # Doesn't provide much value, not very tested
$(meson_use examples)
- $(meson_use gtk-doc gtk_doc)
- -Dsimple-priority-scheduling=false # upstream says it's experimental
+ -Dgtk_doc=false # Only for a private library
+ -Dsimple-priority-scheduling=false # experimental
)
meson_src_configure
}