summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Mair-Keimberger <mmk@levelnine.at>2021-06-01 19:26:20 +0200
committerMatt Turner <mattst88@gentoo.org>2021-06-01 12:01:30 -0700
commit18c54a1d8209aa7fef893c91fa4d1857d112bd9f (patch)
treeb8714475d5671cc825ae82eafd481179eaf6d2e6
parentgames-puzzle/swell-foop: remove unused patch(es) (diff)
downloadgentoo-18c54a1d8209aa7fef893c91fa4d1857d112bd9f.tar.gz
gentoo-18c54a1d8209aa7fef893c91fa4d1857d112bd9f.tar.bz2
gentoo-18c54a1d8209aa7fef893c91fa4d1857d112bd9f.zip
gnome-base/dconf: remove unused patch
Package-Manager: Portage-3.0.19, Repoman-3.0.3 Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at> Signed-off-by: Matt Turner <mattst88@gentoo.org>
-rw-r--r--gnome-base/dconf/files/0.30.1-bash-completion-dir.patch62
1 files changed, 0 insertions, 62 deletions
diff --git a/gnome-base/dconf/files/0.30.1-bash-completion-dir.patch b/gnome-base/dconf/files/0.30.1-bash-completion-dir.patch
deleted file mode 100644
index 5d256f7efec5..000000000000
--- a/gnome-base/dconf/files/0.30.1-bash-completion-dir.patch
+++ /dev/null
@@ -1,62 +0,0 @@
-From 012b92b115ed96cc66818adbd31557765078be65 Mon Sep 17 00:00:00 2001
-From: Mart Raudsepp <leio@gentoo.org>
-Date: Fri, 22 Feb 2019 22:06:18 +0200
-Subject: [PATCH] build: Allow passing bash-completion dir and have a generic
- fallback
-
-With autotools the installation path was just hardcoded to the usual
-location. In meson it was made to always check the path from
-bash-completion.pc, but some downstream might want to install the
-file without a bash-completion build-dep. Allow installing the
-completion file to a passed directory, and add back the fallback
-path if an explicit directory isn't passed and bash-completion
-package isn't found. This is also what the tracker project does.
----
- meson.build | 20 ++++++++++++++++----
- meson_options.txt | 2 +-
- 2 files changed, 17 insertions(+), 5 deletions(-)
-
-diff --git a/meson.build b/meson.build
-index aa87823..a74d5c7 100644
---- a/meson.build
-+++ b/meson.build
-@@ -48,10 +48,22 @@ glib_dep = dependency('glib-2.0', version: '>= 2.44.0')
- gio_module_dir = gio_dep.get_pkgconfig_variable('giomoduledir', define_variable: ['libdir', dconf_libdir])
- dbus_session_service_dir = dependency('dbus-1').get_pkgconfig_variable('session_bus_services_dir', define_variable: ['datadir', dconf_datadir])
-
--enable_bash_completion = get_option('bash_completion')
--if enable_bash_completion
-- # 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])
-+enable_bash_completion = false
-+if get_option('bash_completion_dir') == 'yes' or get_option('bash_completion_dir') == 'auto'
-+ bash_completion_package = dependency('bash-completion', required: false)
-+ if bash_completion_package.found()
-+ # FIXME: the `.pc` file is wrong because `completionsdir` should be relative to `datadir`, not `prefix`
-+ completions_dir = bash_completion_package.get_pkgconfig_variable('completionsdir',
-+ define_variable: [ 'prefix', dconf_prefix ])
-+ else
-+ completions_dir = join_paths(dconf_datadir, 'bash-completion', 'completions')
-+ endif
-+ enable_bash_completion = true
-+elif get_option('bash_completion_dir') == 'no' or get_option('bash_completion_dir') == ''
-+ enable_bash_completion = false
-+else
-+ enable_bash_completion = true
-+ completions_dir = get_option('bash_completion_dir')
- endif
-
- configure_file(
-diff --git a/meson_options.txt b/meson_options.txt
-index a2794ce..3ac4ede 100644
---- a/meson_options.txt
-+++ b/meson_options.txt
-@@ -1,4 +1,4 @@
--option('bash_completion', type: 'boolean', value: true, description: 'install bash completion files')
-+option('bash_completion_dir', type: 'string', value: 'yes', description: 'directory to install Bash completion files (or "yes" for default directory, "no" to disable installation)')
- option('man', type: 'boolean', value: true, description: 'generate man pages')
- option('gtk_doc', type: 'boolean', value: false, description: 'use gtk-doc to build documentation')
- option('vapi', type: 'boolean', value: true, description: 'install dconf client vapi')
---
-2.17.0
-