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 564659 - Port anjuta to use Gtk+ print instead of deprecated gnomeprint
Port anjuta to use Gtk+ print instead of deprecated gnomeprint
Status: RESOLVED FIXED
Product: anjuta
Classification: Applications
Component: plugins: editor: scintilla
SVN TRUNK
Other Linux
: Normal normal
: ---
Assigned To: Sébastien Granjoux
Anjuta maintainers
Depends on:
Blocks:
 
 
Reported: 2008-12-15 20:18 UTC by André Klapper
Modified: 2009-01-20 22:27 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description André Klapper 2008-12-15 20:18:49 UTC
See http://live.gnome.org/GtkPrintPort

Anjuta is one of the last modules using deprecated libgnomeprint.

$:andre\> grep -r gnomeprint .
./plugins/editor/print.c:#include <libgnomeprint/gnome-print.h>
./plugins/editor/print.c:#include <libgnomeprint/gnome-print-job.h>
./plugins/editor/print.c:#include <libgnomeprintui/gnome-print-dialog.h>
./plugins/editor/print.c:#include <libgnomeprintui/gnome-print-job-preview.h>
./configure.in:PKG_CHECK_MODULES(GNOME, libgnome-2.0 >= $GNOME_REQUIRED libgnomeui-2.0 >= $GNOME_REQUIRED gnome-vfs-2.0 >= $GNOME_REQUIRED libgnomecanvas-2.0 >= $GNOME_REQUIRED gnome-vfs-module-2.0 >= $GNOME_REQUIRED libgnomeprint-2.2 >= $GNOME_REQUIRED libgnomeprintui-2.2 >= $GNOME_REQUIRED)
Comment 1 Johannes Schmid 2008-12-15 21:20:27 UTC
It's a optional dependency for the scintilla editor. You can build anjuta without libgnomeprint.
Comment 2 Sébastien Granjoux 2009-01-18 15:22:43 UTC
I'm working on this. The GtkPrint API looks fine so it should be ready in 1 or 2 weeks. 
Comment 3 Sébastien Granjoux 2009-01-20 21:32:14 UTC
I have removed the use of gnomeprint. I have almost rewritten the complete file but I haven't get any major troubles. The print output could probably be improved but at least the main function is here.

It's committed in svn trunk. Thanks for your bug report.
Comment 4 André Klapper 2009-01-20 22:27:16 UTC
Awesome!
http://live.gnome.org/GtkPrintPort updated.