]> git.pld-linux.org Git - packages/gnome-todo.git/commitdiff
Update to 3.26.1 auto/th/gnome-todo-3.26.1-1
authorMarcin Banasiak <marcin.banasiak@gmail.com>
Sat, 30 Sep 2017 23:23:21 +0000 (01:23 +0200)
committerMarcin Banasiak <marcin.banasiak@gmail.com>
Sat, 30 Sep 2017 23:23:21 +0000 (01:23 +0200)
- added -doc-build.patch to fix build

gnome-todo-doc-build.patch [new file with mode: 0644]
gnome-todo.spec

diff --git a/gnome-todo-doc-build.patch b/gnome-todo-doc-build.patch
new file mode 100644 (file)
index 0000000..eb818a5
--- /dev/null
@@ -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',
index c3ab2f58cd3e5e4260ebf3a30a90dc46e471b143..a637e7988ff961f1374ddf6c049c61ba7a00c214 100644 (file)
@@ -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
This page took 0.131104 seconds and 4 git commands to generate.