]> git.pld-linux.org Git - packages/dconf.git/commitdiff
- updated to 0.38.0 auto/th/dconf-0.38.0-1
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 13 Sep 2020 08:31:45 +0000 (10:31 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Sun, 13 Sep 2020 08:31:45 +0000 (10:31 +0200)
- updated bash-completion patch

dconf-bash-completion.patch
dconf.spec

index 3334e6214f252875e87392ce0819c2332ca61c7a..12b45b591f1004b19223f6a03a5f13e160c2d927 100644 (file)
@@ -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
  
index 6396a17b6d7da18398d0b620e43f1e852e1aae38..8db171df8e9f18cb55db92622ed78a28e06bcbb8 100644 (file)
@@ -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
This page took 0.112799 seconds and 4 git commands to generate.