After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 336837 - [PATCH] Convert from popt to GOption
[PATCH] Convert from popt to GOption
Status: RESOLVED FIXED
Product: libgtop
Classification: Core
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: libgtop maintainers
libgtop maintainers
Depends on:
Blocks:
 
 
Reported: 2006-04-01 14:05 UTC by Michael Terry
Modified: 2007-05-10 13:27 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Proposed patch (4.96 KB, patch)
2006-04-01 14:06 UTC, Michael Terry
committed Details | Review

Description Michael Terry 2006-04-01 14:05:43 UTC
For GNOME Goals (http://live.gnome.org/GnomeGoals/PoptGOption).
Comment 1 Michael Terry 2006-04-01 14:06:26 UTC
Created attachment 62540 [details] [review]
Proposed patch
Comment 2 Michael Terry 2006-04-02 03:59:15 UTC
Committed.
Comment 3 Benoît Dejean 2006-04-02 08:37:12 UTC
I think we should have branched before this and commit to 2.15.x. But that's no harm, most of our users don't use the daemon ...
Comment 4 Benoît Dejean 2006-04-02 08:50:33 UTC
damn it, string breakage :/
Comment 5 Benoît Dejean 2006-04-14 22:35:11 UTC
no matter, popt is totally crap (cvs doesn't even pass configure. then it tries to  do a lclint  -I popt.c findme.c poptparse.c poptconfig.c popthelp.c ...). I'm going to get rid of that stuff right now !
Comment 6 André Klapper 2006-11-29 15:28:29 UTC
benoît, can we branch and get this in now for gnome 2.17? thanks.
Comment 7 Lucas Rocha 2006-12-24 12:37:54 UTC
Any news about this?
Comment 8 Kjartan Maraas 2007-01-05 13:59:54 UTC
Ping
Comment 9 Benoît Dejean 2007-01-05 15:40:18 UTC
I actually doubt that this patch has been tested has the libgtop_daemon is not built on linux.
Comment 10 André Klapper 2007-01-09 17:20:35 UTC
benoît: means? why couldn't it have been tested on another operating system?
do you want to say that somebody should test the patch on linux?

michael: which operating system are you running? :-)
Comment 11 Christian Kirbach 2007-01-11 23:23:05 UTC
From a first glance, the patch looks good to me.

GOption will also automatically call g_set_progname() for you, so there is no need to invoke it, but I assume it won't harm.

Comment 12 Michael Terry 2007-03-02 02:27:26 UTC
Woah, sorry for absence.  I'm running Linux.  I'm surprised that I would have proposed a patch on something I didn't test, but I was doing a lot of these patches at the time and probably felt confident in the change.
Comment 13 Benoît Dejean 2007-03-02 07:26:44 UTC
I am just saying that your patch modifies files that are not compiled on linux.
Comment 14 Michael Terry 2007-03-03 14:58:58 UTC
Yar, I believe it.  If someone can test them on a non-Linux box or just review the heck out of it, I would be pleased.
Comment 15 André Klapper 2007-04-10 11:43:51 UTC
so, how to continue here, folks?
what is "non-linux"? solaris? bsd? anything?
Comment 16 Benoît Dejean 2007-04-10 14:09:30 UTC
freebsd is the priority. I don't have a computer nor the time to setup a FreeBSD GNOME devel env.
Comment 17 Christian Kirbach 2007-05-06 16:49:51 UTC
I poked some IRC channels. The task is to apply the patch and test if it compiles properly, no?
Comment 18 Benoît Dejean 2007-05-07 19:11:31 UTC
on ! linux, yes
Comment 19 Benoît Dejean 2007-05-10 11:44:15 UTC
As soon as i can resolv my git-svn troubles, i will svn commit the patch.
Comment 20 Benoît Dejean 2007-05-10 11:46:46 UTC
But it's still haven't been tested, not even compiled tested.
Comment 21 Benoît Dejean 2007-05-10 13:27:50 UTC
Ok, compiled and test, fixed, i also had to edit the Makefile.am. I will soon push changes on svn. Thanks.

This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.