search for: completionsdir

Displaying 6 results from an estimated 6 matches for "completionsdir".

2018 Dec 07
2
[nbdkit PATCH] build: Allow 'make install' into non-root --prefix: bash-completion
...'/usr/share/bash-completion/completions' /usr/bin/install: cannot remove '/usr/share/bash-completion/completions/nbdkit': Permission denied The culprit? We use pkg-config to ask bash-completion where it would install user completion scripts. bash-completion.pc states: prefix=/usr completionsdir=${prefix}/share/bash-completion/completions but pkg-config --variable defaults to flattening the ${prefix} in our use of the PKG_CHECK_VAR() macro, which in turn means that './configure --prefix=$HOME/subdir' still uses an absolute path pointing to a root-owned directory (rather than one r...
2018 Dec 07
0
Re: [nbdkit PATCH] build: Allow 'make install' into non-root --prefix: bash-completion
...pletions' > /usr/bin/install: cannot remove '/usr/share/bash-completion/completions/nbdkit': Permission denied > > The culprit? We use pkg-config to ask bash-completion where it > would install user completion scripts. bash-completion.pc states: > > prefix=/usr > completionsdir=${prefix}/share/bash-completion/completions > > but pkg-config --variable defaults to flattening the ${prefix} > in our use of the PKG_CHECK_VAR() macro, which in turn means > that './configure --prefix=$HOME/subdir' still uses an absolute > path pointing to a root-owned dir...
2015 Feb 03
2
Re: make install ignoring PREFIX for bash_completion
...9;s a disturbingly large number of problems/bugs in this area ... The configure script only uses --prefix so far, but frequently overrides it. eg: OCaml scripts are always installed in `ocamlc -where' and in the case above bash-completion scripts are always installed in `pkg-config --variable=completionsdir bash-completion'. I guess whether you think this is a bug or a feature depends on your point of view ... After using 'python sdist', can't you use the tarball (in python/dist) in order to create a venv directly? Rich. -- Richard Jones, Virtualization Group, Red Hat http://peopl...
2015 Feb 03
0
Re: make install ignoring PREFIX for bash_completion
...number of problems/bugs in this area ... > > The configure script only uses --prefix so far, but frequently > overrides it. eg: OCaml scripts are always installed in > `ocamlc -where' and in the case above bash-completion scripts are > always installed in `pkg-config --variable=completionsdir bash-completion'. Ah I see what is going on now. Interestingly I had this somehow working with 1.27.49. I unfortunately did not keep detailed notes. > I guess whether you think this is a bug or a feature depends on your > point of view ... > > After using 'python sdist', c...
2019 Jul 11
1
[p2v PATCH] Add bash completion scripts
...tion, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +dnl Bash completion. +PKG_CHECK_MODULES([BASH_COMPLETION], [bash-completion >= 2.0], [ + bash_completion=yes + AC_MSG_CHECKING([for bash-completions directory]) + BASH_COMPLETIONS_DIR="`pkg-config --variable=completionsdir bash-completion`" + AC_MSG_RESULT([$BASH_COMPLETIONS_DIR]) + AC_SUBST([BASH_COMPLETIONS_DIR]) +],[ + bash_completion=no + AC_MSG_WARN([bash-completion not installed]) +]) +AM_CONDITIONAL([HAVE_BASH_COMPLETION],[test "x$bash_completion" = "xyes"]) -- 2.21.0
2015 Oct 29
16
[PATCH 00/16] Refactoring of configure.ac and guestfs.pod
Two (not related to each other) refactorings: Patches 1-12 split configure.ac into smaller files using the m4_include mechanism. Patches 13-15 split out parts of guestfs.pod (ie. guestfs(3)) into three new manual pages: guestfs-hacking(3) - how to extend and contribute to libguestfs guestfs-internals(3) - architecture and internals guestfs-security(3) - security and CVEs Patch 16 is a