]> git.pld-linux.org Git - packages/gnome-todo.git/commitdiff
- updated to 41.0
authorJakub Bogusz <qboosh@pld-linux.org>
Thu, 16 Sep 2021 18:49:55 +0000 (20:49 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Thu, 16 Sep 2021 18:49:55 +0000 (20:49 +0200)
- removed outdated doc-build patch, gtk-doc documentation is not included in this version

gnome-todo-doc-build.patch [deleted file]
gnome-todo.spec

diff --git a/gnome-todo-doc-build.patch b/gnome-todo-doc-build.patch
deleted file mode 100644 (file)
index ffed241..0000000
+++ /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(),
index e29c371f46b0f50aa540653b4a86cefcf0f4d596..3260163ef58b6efb1291350ead68e18d79f9906e 100644 (file)
@@ -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
This page took 0.110534 seconds and 4 git commands to generate.