[packages/gnome-todo] - updated to 41.0 - removed outdated doc-build patch, gtk-doc documentation is not included in this
qboosh
qboosh at pld-linux.org
Thu Sep 16 20:45:18 CEST 2021
commit 43da95782dadb912c8740392ed574a7d4b9f2ea9
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Thu Sep 16 20:49:55 2021 +0200
- updated to 41.0
- removed outdated doc-build patch, gtk-doc documentation is not included in this version
gnome-todo-doc-build.patch | 38 --------------------------------------
gnome-todo.spec | 15 +++++++--------
2 files changed, 7 insertions(+), 46 deletions(-)
---
diff --git a/gnome-todo.spec b/gnome-todo.spec
index e29c371..3260163 100644
--- a/gnome-todo.spec
+++ b/gnome-todo.spec
@@ -1,17 +1,16 @@
#
# Conditional build:
-%bcond_without apidocs # gtk-doc based API documentation
+%bcond_with apidocs # gtk-doc based API documentation [missing in 41.0]
Summary: GNOME To Do - application to manage your personal tasks
Summary(pl.UTF-8): GNOME To Do - aplikacja do zarządzania osobistymi zadaniami
Name: gnome-todo
-Version: 40.1
+Version: 41.0
Release: 1
License: GPL v3+
Group: X11/Applications
-Source0: https://download.gnome.org/sources/gnome-todo/40/%{name}-%{version}.tar.xz
-# Source0-md5: deae69c8866ff5adb96607955ab45e73
-Patch0: %{name}-doc-build.patch
+Source0: https://download.gnome.org/sources/gnome-todo/41/%{name}-%{version}.tar.xz
+# Source0-md5: 606b3f54e9f3676ee017a4f02e11948a
URL: https://wiki.gnome.org/Apps/Todo
BuildRequires: evolution-data-server-devel >= 3.33.2
BuildRequires: gettext-tools >= 0.19.8
@@ -23,7 +22,7 @@ BuildRequires: gtk4-devel >= 4.0
BuildRequires: libadwaita-devel
BuildRequires: libpeas-devel >= 1.17
BuildRequires: libportal-devel >= 0.4
-BuildRequires: meson >= 0.41.0
+BuildRequires: meson >= 0.53.0
BuildRequires: ninja >= 1.5
BuildRequires: pkgconfig
BuildRequires: rpm-build >= 4.6
@@ -64,6 +63,7 @@ Requires: evolution-data-server-devel >= 3.33.2
Requires: glib2-devel >= 1:2.58.0
Requires: gtk4-devel >= 4.0
Requires: libpeas-devel >= 1.17
+{!?with_gtk_doc:Obsoletes: gnome-todo-apidocs < 41.0}
%description devel
This package provides header files required for GNOME To Do plugins
@@ -87,7 +87,6 @@ Dokumentacja API GNOME To Do.
%prep
%setup -q
-%patch0 -p1
%build
%meson build \
@@ -100,7 +99,7 @@ rm -rf $RPM_BUILD_ROOT
%ninja_install -C build
-%find_lang %{name}
+%find_lang %{name} --with-gnome
%clean
rm -rf $RPM_BUILD_ROOT
diff --git a/gnome-todo-doc-build.patch b/gnome-todo-doc-build.patch
deleted file mode 100644
index ffed241..0000000
--- a/gnome-todo-doc-build.patch
+++ /dev/null
@@ -1,38 +0,0 @@
---- gnome-todo-40.0/doc/reference/meson.build.orig 2021-05-04 00:30:03.530776300 +0200
-+++ gnome-todo-40.0/doc/reference/meson.build 2021-05-09 18:53:49.935089521 +0200
-@@ -3,6 +3,7 @@ subdir('xml')
- private_headers = [
- 'gtd-application.h',
- 'gtd-arrow-frame.h',
-+ 'gtd-command-bar.h',
- 'gtd-dnd-row.h',
- 'gtd-edit-pane.h',
- 'gtd-empty-list-widget.h',
-@@ -17,12 +18,18 @@ private_headers = [
- 'gtd-manager-protected.h',
- 'gtd-notification-widget.h',
- 'gtd-plugin-manager.h',
-+ 'gtd-plugin-todo-txt.h',
-+ 'gtd-plugin-todoist.h',
- 'gtd-provider-dialog.h',
- 'gtd-provider-popover.h',
- 'gtd-provider-row.h',
- 'gtd-provider-selector.h',
-+ 'gtd-provider-todo-txt.h',
-+ 'gtd-provider-todoist.h',
- 'gtd-resources.h',
- 'gtd-task-row.h',
-+ 'gtd-task-todo-txt.h',
-+ 'gtd-todoist-preferences-panel.h',
- 'gtd-types.h'
- ]
-
-@@ -45,7 +52,7 @@ glib_doc_path = join_paths(glib_prefix,
- gtk_prefix = gtk_dep.get_pkgconfig_variable('prefix')
- gtk_doc_path = join_paths(gtk_prefix, 'share', 'gtk-doc', 'html')
-
--doc_path = join_paths(gnome_todo_datadir, 'gtk-doc', 'html', meson.project_name())
-+doc_path = join_paths(gnome_todo_datadir, 'doc', 'gtk-doc', 'html', meson.project_name())
-
- gnome.gtkdoc(
- meson.project_name(),
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/gnome-todo.git/commitdiff/43da95782dadb912c8740392ed574a7d4b9f2ea9
More information about the pld-cvs-commit
mailing list