[packages/gnome-todo] Update to 3.28.0

megabajt megabajt at pld-linux.org
Tue Mar 20 20:21:06 CET 2018


commit 0d2a60f9dfbde6ab04524e4e557d0059147ea4e9
Author: Marcin Banasiak <marcin.banasiak at gmail.com>
Date:   Tue Mar 20 20:20:23 2018 +0100

    Update to 3.28.0

 gnome-todo-doc-build.patch | 13 +------------
 gnome-todo.spec            | 18 ++++++++----------
 2 files changed, 9 insertions(+), 22 deletions(-)
---
diff --git a/gnome-todo.spec b/gnome-todo.spec
index a637e79..740a998 100644
--- a/gnome-todo.spec
+++ b/gnome-todo.spec
@@ -1,12 +1,12 @@
 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:	3.26.1
+Version:	3.28.0
 Release:	1
 License:	GPL v3+
 Group:		X11/Applications
-Source0:	http://ftp.gnome.org/pub/GNOME/sources/gnome-todo/3.26/%{name}-%{version}.tar.xz
-# Source0-md5:	980ee007fe3826803f52b16ba1038542
+Source0:	http://ftp.gnome.org/pub/GNOME/sources/gnome-todo/3.28/%{name}-%{version}.tar.xz
+# Source0-md5:	9c62a4e87766ffbeabea874b0817b0ad
 Patch0:		%{name}-doc-build.patch
 URL:		https://wiki.gnome.org/Apps/Todo
 BuildRequires:	appstream-glib-devel
@@ -83,16 +83,14 @@ Dokumentacja API GNOME To Do.
 
 %build
 %meson build \
-	-Denable-gtk-doc=true
+	-Dgtk_doc=true
 
-%ninja -C build
+%meson_build -C build
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-export LC_ALL=C.UTF-8
-DESTDIR=$RPM_BUILD_ROOT \
-%ninja -C build install
+%meson_install -C build
 
 %find_lang %{name}
 
@@ -109,7 +107,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %files -f %{name}.lang
 %defattr(644,root,root,755)
-%doc AUTHORS NEWS README
+%doc AUTHORS CONTRIBUTING.md HACKING.md NEWS README.md
 %attr(755,root,root) %{_bindir}/gnome-todo
 %dir %{_libdir}/gnome-todo
 %dir %{_libdir}/gnome-todo/plugins
@@ -122,7 +120,7 @@ rm -rf $RPM_BUILD_ROOT
 %dir %{_libdir}/gnome-todo/plugins/unscheduled-panel/unscheduled-panel
 %{_libdir}/gnome-todo/plugins/unscheduled-panel/unscheduled-panel/*.py
 %{_libdir}/girepository-1.0/Gtd-1.0.typelib
-%{_datadir}/metainfo/org.gnome.Todo.metainfo.xml
+%{_datadir}/metainfo/org.gnome.Todo.appdata.xml
 %{_datadir}/dbus-1/services/org.gnome.Todo.service
 %{_datadir}/glib-2.0/schemas/org.gnome.todo.background.gschema.xml
 %{_datadir}/glib-2.0/schemas/org.gnome.todo.txt.gschema.xml
diff --git a/gnome-todo-doc-build.patch b/gnome-todo-doc-build.patch
index eb818a5..0877122 100644
--- a/gnome-todo-doc-build.patch
+++ b/gnome-todo-doc-build.patch
@@ -1,6 +1,6 @@
 --- gnome-todo-3.26.1/doc/reference/meson.build.docfix	2017-10-01 00:46:25.032986025 +0200
 +++ gnome-todo-3.26.1/doc/reference/meson.build	2017-10-01 01:21:20.642918268 +0200
-@@ -48,17 +48,17 @@ glib_doc_path = join_paths(glib_prefix,
+@@ -48,8 +48,8 @@ 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')
  
@@ -10,14 +10,3 @@
  gnome.gtkdoc(
    meson.project_name(),
            main_sgml: meson.project_name() + '-docs.sgml',
--            src_dir: src_inc,
-+            src_dir: join_paths(meson.source_root(), 'src'),
-        dependencies: libgtd_dep,
-           mkdb_args: [ '--sgml-mode', '--output-format=xml' ],
-         html_assets: html_images,
-             install: true,
--        install_dir: doc_path
-+        install_dir: doc_path,
-   gobject_typesfile: meson.project_name() + '.types',
-           scan_args: [
-     '--rebuild-types',
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/gnome-todo.git/commitdiff/0d2a60f9dfbde6ab04524e4e557d0059147ea4e9



More information about the pld-cvs-commit mailing list