[packages/gnome-todo] Update to 3.26.1
megabajt
megabajt at pld-linux.org
Sun Oct 1 01:24:15 CEST 2017
commit 3ff25c44042a8aa1f6c5f79bd3444cff44a5adea
Author: Marcin Banasiak <marcin.banasiak at gmail.com>
Date: Sun Oct 1 01:23:21 2017 +0200
Update to 3.26.1
- added -doc-build.patch to fix build
gnome-todo-doc-build.patch | 23 +++++++++++++++++++++++
gnome-todo.spec | 31 +++++++++++++------------------
2 files changed, 36 insertions(+), 18 deletions(-)
---
diff --git a/gnome-todo.spec b/gnome-todo.spec
index c3ab2f5..a637e79 100644
--- a/gnome-todo.spec
+++ b/gnome-todo.spec
@@ -1,16 +1,15 @@
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.24.2
+Version: 3.26.1
Release: 1
License: GPL v3+
Group: X11/Applications
-Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-todo/3.24/%{name}-%{version}.tar.xz
-# Source0-md5: 1a7d49dd208d1342fa051b253022390e
+Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-todo/3.26/%{name}-%{version}.tar.xz
+# Source0-md5: 980ee007fe3826803f52b16ba1038542
+Patch0: %{name}-doc-build.patch
URL: https://wiki.gnome.org/Apps/Todo
BuildRequires: appstream-glib-devel
-BuildRequires: autoconf >= 2.69
-BuildRequires: automake >= 1:1.11.1
BuildRequires: evolution-data-server-devel >= 3.18.0
BuildRequires: gettext-tools >= 0.19.8
BuildRequires: glib2-devel >= 1:2.44.0
@@ -20,7 +19,7 @@ BuildRequires: gtk+3-devel >= 3.22.0
BuildRequires: gtk-doc >= 1.14
BuildRequires: libical-devel >= 0.43
BuildRequires: libpeas-devel >= 1.17
-BuildRequires: libtool >= 2:2.2.6
+BuildRequires: meson >= 0.41.0
BuildRequires: pkgconfig
BuildRequires: tar >= 1:1.22
BuildRequires: xz
@@ -80,24 +79,20 @@ Dokumentacja API GNOME To Do.
%prep
%setup -q
+%patch0 -p1
%build
-%{__libtoolize}
-%{__aclocal}
-%{__autoconf}
-%{__autoheader}
-%{__automake}
-%configure \
- --disable-silent-rules \
- --with-html-dir=%{_gtkdocdir}
+%meson build \
+ -Denable-gtk-doc=true
-%{__make}
+%ninja -C build
%install
rm -rf $RPM_BUILD_ROOT
-%{__make} install \
- DESTDIR=$RPM_BUILD_ROOT
+export LC_ALL=C.UTF-8
+DESTDIR=$RPM_BUILD_ROOT \
+%ninja -C build install
%find_lang %{name}
@@ -127,7 +122,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}/appdata/org.gnome.Todo.appdata.xml
+%{_datadir}/metainfo/org.gnome.Todo.metainfo.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
new file mode 100644
index 0000000..eb818a5
--- /dev/null
+++ b/gnome-todo-doc-build.patch
@@ -0,0 +1,23 @@
+--- 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,
+ 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(),
+ 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/3ff25c44042a8aa1f6c5f79bd3444cff44a5adea
More information about the pld-cvs-commit
mailing list