#1104516 global: Please ship parser.h file in the binary package

Package:
global
Source:
global
Description:
Source code search and browse tools
Submitter:
Aymeric Agon-Rambosson
Date:
2025-05-01 13:03:03 UTC
Severity:
normal
#1104516#5
Date:
2025-05-01 12:56:10 UTC
From:
To:
Dear Maintainer,

GNU Global allows the user to plug in external parsers.

For this reason, the upstream maintainer provides the header file
libparser/parser.h. External parser developers are supposed to
include this header file, to get some callback function definition
that their parser will call.

It would be good to provide this file as part of the global binary
package. It would allow users to compile their own external
parsers, like
https://github.com/kvaneesh/tree-sitter-gtags-parser.

It would also allow, somewhere down the line, external parsers
like the aforementioned to be packaged by debian, by specifying a
build-dependency on global.

Best,

Aymeric Agon-Rambosson

P.S. I have not provided a patch, as I have no idea where it would
be most appropriate to put the header file in question.