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 469131 - do not use gnome_help_display
do not use gnome_help_display
Status: RESOLVED FIXED
Product: gucharmap
Classification: Core
Component: general
1.10.x
Other All
: Normal normal
: ---
Assigned To: gucharmap maintainers
gucharmap maintainers
Depends on:
Blocks:
 
 
Reported: 2007-08-22 06:57 UTC by Jani Monoses
Modified: 2007-12-04 22:41 UTC
See Also:
GNOME target: ---
GNOME version: 2.19/2.20


Attachments
the patch (2.48 KB, patch)
2007-08-22 06:58 UTC, Jani Monoses
none Details | Review
larger patch (6.08 KB, patch)
2007-08-22 07:07 UTC, Jani Monoses
committed Details | Review

Description Jani Monoses 2007-08-22 06:57:56 UTC
Please describe the problem:
in order to remove libgnome deps call out to gnome-open ghelp directly
this makes help optional and not a link dependency (similar pacthes were added to other gnome modules during the past 3 release cycles)

Steps to reproduce:
1. 
2. 
3. 


Actual results:


Expected results:


Does this happen every time?


Other information:
Comment 1 Jani Monoses 2007-08-22 06:58:41 UTC
Created attachment 94089 [details] [review]
the patch
Comment 2 Behdad Esfahbod 2007-08-22 07:01:50 UTC
Is that all we are using libgnome for?
In that case, shouldn't the patch remove the configure.in bits too?
Comment 3 Jani Monoses 2007-08-22 07:07:50 UTC
Created attachment 94090 [details] [review]
larger patch

wow what a quick repsone :)
I was about to post the larger patch just in case. It was easy to do thanks to the already existing ifdef on HAVE_GNOME.
Comment 4 Jani Monoses 2007-08-22 07:10:58 UTC
gnome_program_init() was used and until 2.20 it was the only way to initialize bug-buddy so some module maintainers were understandably reluctant to replace it with gtk_init.
Comment 5 Christian Persch 2007-08-23 19:17:16 UTC
Bug 140414 adds a gconf dependency, so I don't think --disable-gnome should be removed completely.
Comment 6 Jani Monoses 2007-08-23 19:25:12 UTC
ok, had did not seen that other bugreport when I posted. The disable gnome config can stay and HAVE_GNOME will only guard gconf if it that is a better way. As long as the other larger deps are no longer around I am fine. It would be appreciated if the person commiting gconf support merges this patch after as well. thanks
Comment 7 Jani Monoses 2007-08-23 19:26:35 UTC
or commit this one as is, and add a more descriptive disable-gconf option?
Comment 8 Jani Monoses 2007-08-27 20:39:23 UTC
according to the last comment on the other bug that would better use --disable-gconf, so I think this patch can stay as is.
Comment 9 Jani Monoses 2007-08-31 08:23:04 UTC
it this too late for 2.20?
Comment 10 Behdad Esfahbod 2007-08-31 13:37:26 UTC
I'd say yes.
Comment 11 Jani Monoses 2007-12-03 12:44:29 UTC
please consider this for 2.22 then
Comment 12 Behdad Esfahbod 2007-12-03 18:26:29 UTC
Same here, Christian, is the patch ready to go on in your opinion? :P
Comment 13 Christian Persch 2007-12-04 13:24:37 UTC
Looks ready to me.
Comment 14 Christian Persch 2007-12-04 22:41:58 UTC
Updated to svn trunk, and committed.

        * configure.ac:
        * gucharmap/Makefile.am:
        * gucharmap/gucharmap-window.c: (help_contents):
        * gucharmap/main.c: (main): Remove gnome option. Bug #469131,
        patch by Jani Monoses.