GNOME Bugzilla – Bug 341587
use goption parsing
Last modified: 2006-05-29 17:58:42 UTC
The IDL compiler uses popt now, it should use goption parsing. I have a patch, but I've run into a problem: goption can't parse -I../../some/other/dir style options (i.e. without space between option and argument). Still attaching the partial patch for safekeeping.
Created attachment 65351 [details] [review] patch
Created attachment 65499 [details] [review] updated patch Complete patch. Fixes up -I.. style options before goption parsing.
Does 'make check' pass ? If you're 100% happy with the patch then, please do commit to HEAD - using GOption instead of popt is fine with me.
'make check' passes. There is no gnome-2-14 branch yet; do you want me to create one before committing to HEAD?
Oh, I guess for small changes like this (assuming there is no extra dependency issue) and given that it's well tested [ you tried building some Nautilus/libbonobo type modules too ? ] - then I see no problem with having it on HEAD with no branch. Thanks.
I compiled a few projects (bonobo, at-spi, nautilus) using the modified idl compiler, without problems. 2006-05-29 Christian Persch <chpe@cvs.gnome.org> * configure.in: Remove popt check. * src/idl-compiler/orbit-idl-main.c: (cl_libIDL_version_callback), (cl_cpp_define_callback), (cl_cpp_include_callback), (cl_version_callback), (cl_c_output_formatter_callback), (main): * src/services/name/boot.c: (main): Port from popt to goption argument parsing. Bug #341587.