Bug 571740 - Get rid of deprecated libgnomecanvas
Get rid of deprecated libgnomecanvas
Status: RESOLVED FIXED
Product: anjuta
Classification: Applications
Component: unknown
SVN TRUNK
Other Linux
: Normal normal
: ---
Assigned To: Anjuta maintainers
Anjuta maintainers
:
Depends on:
Blocks:
  Show dependency tree
 
Reported: 2009-02-14 15:34 UTC by André Klapper
Modified: 2009-06-05 07:48 UTC (History)
4 users (show)

See Also:
GNOME target: ---
GNOME version: ---


Attachments
First try to convert it all to use cairo instead. Don't know if the spacing between the text and the progressbar is correct. (8.71 KB, patch)
2009-02-28 22:18 UTC, Carl-Anton Ingmarsson
none Details | Diff | Review
The former patch got the color of the progress bar inverted, this also changes the indentation a bit. (8.70 KB, patch)
2009-03-02 19:39 UTC, Carl-Anton Ingmarsson
committed Details | Diff | Review

Description André Klapper 2009-02-14 15:34:27 UTC
According to http://live.gnome.org/TwoPointTwentyfive/Platform libgnomecanvas has
been deprecated for years and should be removed.


$:\> grep -r "#include <libgnomecanvas/" .
./anjuta/plugins/profiler/gprof-function-call-chart-view.h:#include <libgnomecanvas/libgnomecanvas.h>
./anjuta/libanjuta/e-splash.c:#include <libgnomecanvas/gnome-canvas-pixbuf.h>
./anjuta/libanjuta/e-splash.c:#include <libgnomecanvas/libgnomecanvas.h>
Comment 1 André Klapper 2009-02-14 15:37:09 UTC
I'm also surprised that I can't find anything like "libgnomecanvas-2.0" in configure.in...
Comment 2 Johannes Schmid 2009-02-16 20:38:02 UTC
What the replacement for gnomecanvas (btw, it's mainly used by the splash screen...)
Comment 3 André Klapper 2009-02-16 22:22:30 UTC
Good question that should be brought up to d-d-l and r-t to finally share knowledge here. In 2006 EOG mostly ported functionality based on gnomecanvas to Pango I'd say.
Comment 4 Carl-Anton Ingmarsson 2009-02-28 22:18:59 UTC
Created attachment 129754 [details] [review]
First try to convert it all to use cairo instead. Don't know if the spacing between the text and the progressbar is correct.
Comment 5 Carl-Anton Ingmarsson 2009-03-02 19:39:43 UTC
Created attachment 129876 [details] [review]
The former patch got the color of the progress bar inverted, this also changes the indentation a bit.
Comment 6 Johannes Schmid 2009-03-02 20:21:02 UTC
Thanks! I like the way it looks now. What a pity that the splash screen is not visible for a longer time ;)

I guess the profiler plugin will be more difficult as it makes use of a real canvas.
Comment 7 André Klapper 2009-05-04 12:07:58 UTC
(In reply to comment #6)
> I guess the profiler plugin will be more difficult as it makes use of a real
> canvas.

There's no profiler plugin in http://git.gnome.org/cgit/anjuta/tree/plugins/ . Is that by purpose (-> bug FIXED) or just another git hickup?
Comment 8 Johannes Schmid 2009-05-04 15:58:07 UTC
profiler was moved into anjuta-extras repository.
Comment 9 André Klapper 2009-05-04 16:05:10 UTC
(In reply to comment #8)
> profiler was moved into anjuta-extras repository.

...which is not part of any official GNOME release set.
Thanks for clarifying! --> Closing as FIXED.
Comment 10 Javier Jardón (IRC: jjardon) 2009-06-05 02:02:10 UTC
For the canvas question, see here the possible alternatives: http://live.gnome.org/ProjectRidley/CanvasOverview
Comment 11 Johannes Schmid 2009-06-05 07:48:10 UTC
None of these is in the official release set which doesn't improve the situation for anjuta-extras in any way.

Note You need to log in before you can comment on or make changes to this bug.