bug-global
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

use @libdir@ in gtags.conf.in


From: Tomáš Čech
Subject: use @libdir@ in gtags.conf.in
Date: Tue, 14 Jun 2016 23:36:46 +0200
User-agent: Mutt/1.6.1-neo (2016-05-23)

Hi,

user of openSUSE Leap found and reported issue where GNU Global could
not find pygments parser. Generated gtags.conf doesn't seem to respect
"libdir" passed to configure.

I may not understood how ${libdir} is replaced in this file, but
following patch fixed the problem for us and makes more sense to
me. I'd appreciate review or explanation.

Thanks in advance.

Best regards,

Tomas Cech

Index: global-6.5.4/gtags.conf.in
===================================================================
--- global-6.5.4.orig/gtags.conf.in     2016-03-27 06:04:42.000000000 +0200
+++ global-6.5.4/gtags.conf.in  2016-05-13 16:20:51.724108404 +0200
@@ -63,14 +63,14 @@
user-custom|User custom plugin parser:\
        :tc=common:\
        :langmap=c\:.c.h:\
-       :gtags_parser=c\:$libdir/gtags/user-custom.la:
+       :gtags_parser=c\:@libdir@/gtags/user-custom.la:
#
# Plug-in parser to use Exuberant Ctags.
#
exuberant-ctags|plugin-example|setting to use Exuberant Ctags plug-in parser:\
        :tc=common:\
        :address@hidden@:\
-       :ctagslib=$libdir/gtags/exuberant-ctags.la:\
+       :address@hidden@/gtags/exuberant-ctags.la:\
        :tc=common-ctags-maps:
#
# A common map for both Exuberant Ctags and Universal Ctags.
@@ -166,7 +166,7 @@
universal-ctags|setting to use Universal Ctags plug-in parser:\
        :tc=common:\
        :address@hidden@:\
-       :ctagslib=$libdir/gtags/universal-ctags.la:\
+       :address@hidden@/gtags/universal-ctags.la:\
        :tc=common-ctags-maps:\
        :langmap=Ada\:.adb.ads.Ada:\
# Please uncomment to use this entry.
@@ -233,7 +233,7 @@
#
pygments-parser|Pygments plug-in parser:\
        :address@hidden@:\
-       :pygmentslib=$libdir/gtags/pygments-parser.la:\
+       :address@hidden@/gtags/pygments-parser.la:\
        :tc=common:\
        :langmap=ABAP\:.abap:\
        :langmap=ANTLR\:.G.g:\

Attachment: signature.asc
Description: Digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]