[packages/dconf] Update to 0.28.0

megabajt megabajt at pld-linux.org
Sun Mar 25 12:12:29 CEST 2018


commit 2ea30ac93cb8e2b92731b9101b5e7eb383ebcc56
Author: Marcin Banasiak <marcin.banasiak at gmail.com>
Date:   Sun Mar 25 12:11:37 2018 +0200

    Update to 0.28.0
    
    - added docs-build patch to fix apidocs install dir

 dconf-docs-build.patch | 11 +++++++++++
 dconf.spec             | 27 +++++++++++----------------
 2 files changed, 22 insertions(+), 16 deletions(-)
---
diff --git a/dconf.spec b/dconf.spec
index 96de528..aa28663 100644
--- a/dconf.spec
+++ b/dconf.spec
@@ -6,18 +6,18 @@
 Summary:	Low-level configuration system
 Summary(pl.UTF-8):	Niskopoziomowy system konfiguracji
 Name:		dconf
-Version:	0.26.0
+Version:	0.28.0
 Release:	1
 License:	LGPL v2+
 Group:		Libraries
-Source0:	http://ftp.gnome.org/pub/GNOME/sources/dconf/0.26/%{name}-%{version}.tar.xz
-# Source0-md5:	7fc3cb1cf22d904d8744bd12e9c9d3dd
+Source0:	http://ftp.gnome.org/pub/GNOME/sources/dconf/0.28/%{name}-%{version}.tar.xz
+# Source0-md5:	81faa8e68e5ea71ff0ee75050fc0759c
+Patch0:		%{name}-docs-build.patch
 URL:		http://live.gnome.org/dconf
-BuildRequires:	autoconf >= 2.50
-BuildRequires:	automake >= 1:1.11.2
 BuildRequires:	glib2-devel >= 1:2.44.0
 BuildRequires:	gtk-doc >= 1.15
 BuildRequires:	libxslt-progs
+BuildRequires:	meson >= 0.41.0
 BuildRequires:	rpmbuild(macros) >= 1.527
 BuildRequires:	tar >= 1:1.22
 # not needed atm., generated files are packaged
@@ -99,17 +99,13 @@ API dconf dla języka Vala.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
-%{__aclocal}
-%{__autoconf}
-%{__autoheader}
-%{__automake}
-%configure \
-	--with-html-dir=%{_gtkdocdir} \
-	%{__enable_disable apidocs gtk-doc} \
-	--disable-silent-rules
-%{__make}
+%meson build \
+	-Denable-gtk-doc=%{__true_false apidocs}
+
+%meson_build -C build
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -117,8 +113,7 @@ rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{_sysconfdir}/dconf/{db,profile}
 install -d $RPM_BUILD_ROOT%{_datadir}/dconf/profile
 
-%{__make} install \
-	DESTDIR=$RPM_BUILD_ROOT
+%meson_install -C build
 
 %{!?with_apidocs:rm -rf $RPM_BUILD_ROOT%{_gtkdocdir}}
 
diff --git a/dconf-docs-build.patch b/dconf-docs-build.patch
new file mode 100644
index 0000000..05f21b8
--- /dev/null
+++ b/dconf-docs-build.patch
@@ -0,0 +1,11 @@
+--- dconf-0.28.0/docs/meson.build.fixdocs	2018-03-25 12:03:46.721885301 +0200
++++ dconf-0.28.0/docs/meson.build	2018-03-25 12:03:55.765199113 +0200
+@@ -9,7 +9,7 @@ gnome.gtkdoc(
+   scan_args: '--rebuild-types',
+   gobject_typesfile: meson.project_name() + '.types',
+   install: true,
+-  install_dir: join_paths(dconf_datadir, 'gtk-doc', 'html', meson.project_name())
++  install_dir: join_paths(dconf_datadir, 'doc', 'gtk-doc', 'html', meson.project_name())
+ )
+ 
+ if get_option('enable-man')
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/dconf.git/commitdiff/2ea30ac93cb8e2b92731b9101b5e7eb383ebcc56



More information about the pld-cvs-commit mailing list