From fc401acb15f15d487c942437b6fb429289dd3c67 Mon Sep 17 00:00:00 2001 From: Julien Lepiller Date: Fri, 31 May 2019 13:22:25 +0200 Subject: [PATCH] Add installation directory as a default directory. In Guix, this library is installed in a separate directory in the store, and it's typically not installed system-wide in a fixed directory. Add the store path to the set of default directories so dependents can find default langs and source highlighting scheme. --- gtksourceview/gtksourceview-utils.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/gtksourceview/gtksourceview-utils.c b/gtksourceview/gtksourceview-utils.c index 6f06bab..c3467d5 100644 --- a/gtksourceview/gtksourceview-utils.c +++ b/gtksourceview/gtksourceview-utils.c @@ -66,6 +66,12 @@ _gtk_source_view_get_default_dirs (const char *basename, basename, NULL)); + /* installed dir */ + g_ptr_array_add (dirs, g_build_filename (DATADIR, + SOURCEVIEW_DIR, + basename, + NULL)); + g_ptr_array_add (dirs, NULL); return (gchar**) g_ptr_array_free (dirs, FALSE); -- 2.21.0 a>logtreecommitdiff
path: root/tests/guix-graph.sh
AgeCommit message (Expand)Author
2023-04-28tests: guix-graph.sh: Fix expected path from emacs to libffi....* tests/guix-graph.sh: Change the expected path from emacs to libffi. `guix graph --path` outputs only one possible path, and the one it outputs for this case has changed. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Josselin Poiret
2023-04-21tests: Fix checks for expected failures....Addresses <https://issues.guix.gnu.org/62406>. With 'set -e', a return status inverted with '!' does not cause the shell to exit immediately. Instead use '&& false' to indicate an expected failure. * tests/guix-archive.sh, tests/guix-build-branch.sh, tests/guix-build.sh, tests/guix-daemon.sh, tests/guix-download.sh, tests/guix-environment-container.sh, tests/guix-environment.sh, tests/guix-gc.sh, tests/guix-git-authenticate.sh, tests/guix-graph.sh, tests/guix-hash.sh, tests/guix-home.sh, tests/guix-pack-relocatable.sh, tests/guix-pack.sh, tests/guix-package-aliases.sh, tests/guix-package-net.sh, tests/guix-package.sh, tests/guix-refresh.sh, tests/guix-shell.sh, tests/guix-style.sh, tests/guix-system.sh: Replace uses of '! ...' with '... && false' or `test ! ...` as appropriate. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Eric Bavier
2022-01-16tests: Clean up after 'tests/guix-graph.sh'....Fixes a regression introduced in a773c3142dd168e1c4480614d3f5fd9d003954cd, which would lead the first 'trap' to be ignored, thereby leaving 't-guix-graph-*' directories behind it. * tests/guix-graph.sh: Remove first 'trap' line that had no effect; replace second 'trap' line. Ludovic Courtès