Re: New re-flex library package?

Andreas Tille <[email protected]> Wed, 22 Jul 2026 13:46:42 +0200
Newsgroups gmane.linux.debian.devel.medical
Message-ID <[email protected]>
Hi Benjamin,

Am Mon, Jul 20, 2026 at 12:03:38AM -0400 schrieb Benjamin Redelings:
> Would anyone anyone would be able to package the re-flex lexer generator? 
> It provides a mostly drop-in replacement for the venerable `flex` software,
> plus extensions for unicode handling and other things:
> 
>     https://github.com/Genivia/RE-flex

Thank you for the hint - I've started with the packaging at

   https://salsa.debian.org/med-team/re-flex
 
> I'm asking because version 4.3 of my bali-phy software is going to link
> against libreflex.  bali-phy is packaged in Debian -- thanks so much to the
> debian-med team! -- but re-flex does not have a Debian package. 
> Interestingly, it seems like the ugrep package contains a vendored copy
> of re-flex, so there are now at least two packages that depend on re-flex. 
> I've Cc-ed Ricardo, who is the maintainer for ugrep.
> 
> The re-flex author seems relatively responsive, so I think he would be
> relatively easy to work with, if needed.  I have submitted some PRs to
> re-flex, and they seem to get a reply within a week.  If there are some
> issues that come up, I'm happy to help out.

I'm unsure about the names.  The binary is called 'reflex' (without
the dash) and the library packages should probably also be named like
the library (also without the dash) libreflex? (need to check SOVERSION)
and libreflex-dev.  Unfortunately the (source) package name 'reflex'
is taken in Debian and we might consider reflex-tools for the binary
package and leave the source package re-flex.  What do you think?

Kind regards
    Andreas.