[Top][All Lists]

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

Re: [help-gengetopt] Packaging Gengetopt

From: Lorenzo Bettini
Subject: Re: [help-gengetopt] Packaging Gengetopt
Date: Mon, 11 Jun 2007 09:49:22 +0200
User-agent: Mozilla-Thunderbird (X11/20070601)

Debarshi 'Rishi' Ray wrote:
I am trying to package Gengetopt for Fedora
(, and I
have a few questions in this regard.

* What is purpose of the files installed under
$prefix/share/gengetopt/-- getopt.c, getopt1.c, gnugetopt.h? Can they
be entirely omitted from the package, or should they go in a -devel

* Is " Development files for gengetopt. This includes the C header and
source files." an appropriate description for the above files?

Hi there

very glad to hear gengetopt is being packaged for Fedora, if I can provide further help, please do no hesitate to contact me.

Concerning these files, as Gyozo already said, they should be included in the gengetopt package since they might be used by people using gengetopt to include them in their own package to deal with situations when getopt_long is not available in the C library. This is documented in the gengetopt's documentation (in particular here; there are many ways to handle such situations, as illustrated here Using these sources is not the best one, but it's a possibility, so I think these files should be included.

I don't think a -devel package makes sense: gengetopt is used by developers and these files should be part of gengetopt.

IMPORTANT: these files are not required to build gengetopt itself though.

so probably a better suitable description could be "additional files that can be used by parsers generated by gengetopt", what do you think?

hope to hear from you soon

Lorenzo Bettini, PhD in Computer Science, DSI, Univ. di Firenze
ICQ# lbetto, 16080134     (GNU/Linux User # 158233)

reply via email to

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