[packages/dconf] - updated to 0.38.0 - updated bash-completion patch

qboosh qboosh at pld-linux.org
Sun Sep 13 10:28:59 CEST 2020


commit b66952a39ebedeae4ed8bbedeabcb70c41e62cc3
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Sep 13 10:31:45 2020 +0200

    - updated to 0.38.0
    - updated bash-completion patch

 dconf-bash-completion.patch | 14 +++++++++-----
 dconf.spec                  |  8 ++++----
 2 files changed, 13 insertions(+), 9 deletions(-)
---
diff --git a/dconf.spec b/dconf.spec
index 6396a17..8db171d 100644
--- a/dconf.spec
+++ b/dconf.spec
@@ -6,14 +6,14 @@
 Summary:	Low-level configuration system
 Summary(pl.UTF-8):	Niskopoziomowy system konfiguracji
 Name:		dconf
-Version:	0.36.0
+Version:	0.38.0
 Release:	1
 License:	LGPL v2.1+
 Group:		Libraries
-Source0:	http://ftp.gnome.org/pub/GNOME/sources/dconf/0.36/%{name}-%{version}.tar.xz
-# Source0-md5:	1a50c988d9f0206f74a44f7c6d09cead
+Source0:	http://ftp.gnome.org/pub/GNOME/sources/dconf/0.38/%{name}-%{version}.tar.xz
+# Source0-md5:	716cf730995cf133c2c443556a66a50c
 Patch0:		%{name}-bash-completion.patch
-URL:		http://live.gnome.org/dconf
+URL:		https://wiki.gnome.org/Projects/dconf
 BuildRequires:	dbus-devel
 BuildRequires:	glib2-devel >= 1:2.44.0
 BuildRequires:	gtk-doc >= 1.15
diff --git a/dconf-bash-completion.patch b/dconf-bash-completion.patch
index 3334e62..12b45b5 100644
--- a/dconf-bash-completion.patch
+++ b/dconf-bash-completion.patch
@@ -5,17 +5,21 @@
 +option('bash_completion_dir', type: 'string', value: '')
  option('man', type: 'boolean', value: true, description: 'generate man pages')
  option('gtk_doc', type: 'boolean', value: false, description: 'use gtk-doc to build documentation')
---- dconf-0.30.1/meson.build.orig	2018-10-22 23:53:04.000000000 +0200
-+++ dconf-0.30.1/meson.build	2018-10-30 21:08:19.195238826 +0100
-@@ -52,8 +52,12 @@
+--- dconf-0.38.0/meson.build.orig	2020-09-13 10:26:21.295046156 +0200
++++ dconf-0.38.0/meson.build	2020-09-13 10:29:23.197394039 +0200
+@@ -50,12 +50,16 @@
  
  enable_bash_completion = get_option('bash_completion')
  if enable_bash_completion
 +  if get_option('bash_completion_dir') != ''
 +    completions_dir = get_option('bash_completion_dir')
 +  else
-   # FIXME: the `.pc` file is wrong because `completionsdir` should be relative to `datadir`, not `prefix`
-   completions_dir = dependency('bash-completion').get_pkgconfig_variable('completionsdir', define_variable: ['prefix', dconf_prefix])
+   bash_completion_dep = dependency('bash-completion')
+   completions_dir = bash_completion_dep.get_pkgconfig_variable(
+     'completionsdir',
+     # bash-completion 2.10 changed the substitutions
+     define_variable: bash_completion_dep.version().version_compare('>= 2.10') ? ['datadir', dconf_datadir] : ['prefix', dconf_prefix],
+   )
 +  endif
  endif
  
================================================================

---- gitweb:

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



More information about the pld-cvs-commit mailing list