[packages/gnome-todo] - added meson patch (fix enums generation); release 3 (evolution 3.46.x)
qboosh
qboosh at pld-linux.org
Tue May 30 18:29:05 CEST 2023
commit 525803ca2bbc93f912db1db1eb4bdf95536c5c31
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Tue May 30 18:31:39 2023 +0200
- added meson patch (fix enums generation); release 3 (evolution 3.46.x)
gnome-todo-meson.patch | 53 ++++++++++++++++++++++++++++++++++++++++++++++++++
gnome-todo.spec | 4 +++-
2 files changed, 56 insertions(+), 1 deletion(-)
---
diff --git a/gnome-todo.spec b/gnome-todo.spec
index 1de0fb3..e6a7677 100644
--- a/gnome-todo.spec
+++ b/gnome-todo.spec
@@ -6,12 +6,13 @@ 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: 41.0
-Release: 2
+Release: 3
License: GPL v3+
Group: X11/Applications
Source0: https://download.gnome.org/sources/gnome-todo/41/%{name}-%{version}.tar.xz
# Source0-md5: 606b3f54e9f3676ee017a4f02e11948a
Patch0: %{name}-libportal.patch
+Patch1: %{name}-meson.patch
URL: https://wiki.gnome.org/Apps/Todo
BuildRequires: evolution-data-server-devel >= 3.33.2
BuildRequires: gettext-tools >= 0.19.8
@@ -89,6 +90,7 @@ Dokumentacja API GNOME To Do.
%prep
%setup -q
%patch0 -p1
+%patch1 -p1
%build
%meson build \
diff --git a/gnome-todo-meson.patch b/gnome-todo-meson.patch
new file mode 100644
index 0000000..9916f28
--- /dev/null
+++ b/gnome-todo-meson.patch
@@ -0,0 +1,53 @@
+--- gnome-todo-41.0/src/meson.build.orig 2021-09-16 19:48:29.552873400 +0200
++++ gnome-todo-41.0/src/meson.build 2023-05-30 18:28:16.358310543 +0200
+@@ -16,6 +16,25 @@ vcs_identifier_h = declare_dependency(so
+
+ gnome_todo_deps += vcs_identifier_h
+
++#########
++# Enums #
++#########
++
++enum_headers = files(
++ join_paths('animation', 'gtd-animation-enums.h'),
++)
++
++enum_types = 'gtd-enum-types'
++
++gtd_enum_types = gnome.mkenums(
++ enum_types,
++ sources: enum_headers,
++ c_template: enum_types + '.c.template',
++ h_template: enum_types + '.h.template'
++)
++
++sources += gtd_enum_types
++
+ ###########
+ # Plugins #
+ ###########
+@@ -43,24 +62,6 @@ gtd_deps = gnome_todo_deps + [
+ ]
+
+
+-#########
+-# Enums #
+-#########
+-
+-enum_headers = files(
+- join_paths('animation', 'gtd-animation-enums.h'),
+-)
+-
+-enum_types = 'gtd-enum-types'
+-
+-sources += gnome.mkenums(
+- enum_types,
+- sources: enum_headers,
+- c_template: enum_types + '.c.template',
+- h_template: enum_types + '.h.template'
+-)
+-
+-
+ ################
+ # Header files #
+ ################
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/gnome-todo.git/commitdiff/525803ca2bbc93f912db1db1eb4bdf95536c5c31
More information about the pld-cvs-commit
mailing list