Re: Packaging Gengetopt
Lorenzo Bettini <[email protected]>
| Newsgroups | gmane.comp.gnu.gengetopt.general |
|---|---|
| Message-ID | <[email protected]> |
Debarshi 'Rishi' Ray wrote: > I am trying to package Gengetopt for Fedora > (https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=243607), 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 > package? > > * 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 http://www.gnu.org/software/gengetopt/gengetopt.html#Use-getopt_005flong-sources); there are many ways to handle such situations, as illustrated here http://www.gnu.org/software/gengetopt/gengetopt.html#No-getopt_005flong. 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 -- Lorenzo Bettini, PhD in Computer Science, DSI, Univ. di Firenze ICQ# lbetto, 16080134 (GNU/Linux User # 158233) HOME: http://www.lorenzobettini.it MUSIC: http://www.purplesucker.com BLOGS: http://tronprog.blogspot.com http://longlivemusic.blogspot.com http://www.gnu.org/software/src-highlite http://www.gnu.org/software/gengetopt http://www.gnu.org/software/gengen http://doublecpp.sourceforge.net