Re: why is cairo with pdf and postscript backend mandatory?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Iulian,

Thank you very much.
I think I need to remove a few tests from GTK+ configure script as well.

Sergei,

Your configure script output tells me that you're compiling cairo WITH PDF/PS support.
With that configuration I got no problems.
Seems like you couldn't understand what I am asking about.

Steven.


2009/2/25 Iulian Iliescu <iliescu.iulian@xxxxxxxxx>
I also build GTK+ (2.12.11 and 2.12.12) without cairo PDF, PS support
To be able to do that i made some modification in source code as follows:

* gtk/gtkprintoperation.c
* gtk/gtkprintoperation-unix.c
* modules/printbackends/lpr/gtkprintbackendlpr.c
* modules/printbackends/file/gtkprintbackendfile.c

i commented out all refereces to:
#include <cairo-pdf.h>
#include <cairo-ps.h>
cairo_pdf_surface_set_size()
cairo_pdf_surface_create()
cairo_ps_surface_create_for_stream()



Then a make should do the job.

Iulian



nazgul33 wrote:
Hi sergei

current GTK+ configure script finishes with no success if cairo is not compiled with PDF/PS backend.
Then you might be saying that you modified something?

What did you do to remove the "pdf/ps enabled cairo" dependency of GTK+? Can you share the tip with the group? ;)

2009/2/25 Sergei Steshenko <sergstesh@xxxxxxxxx>



--- On Tue, 2/24/09, zentara <zentara1@xxxxxxxxxxxxx> wrote:

> From: zentara <zentara1@xxxxxxxxxxxxx>
> Subject: Re: why is cairo with pdf and postscript backend mandatory?
> To: gtk-list@xxxxxxxxx
> Date: Tuesday, February 24, 2009, 7:41 AM
> On Tue, 24 Feb 2009 22:52:23 +0900
> nazgul33 <nazgul33@xxxxxxxxx> wrote:
>
>
> >Why pdf/ps backends are mandatory?
> >Does anybody know which version of GTK+ source
> distribution has no such
> >restriction?
> >What can I do to remove the restriction if i have to
> you recent GTK+?
> >
> >Thanks,
> >
> >Steven.
>
> I thought about that myself, ...why does glib need a
> graphic lib?
>
> My only guess, and I'm no expert, is that the the low
> level gdk windows need it?
>
> zentara
>
>
> --
> I'm not really a human, but I play one on earth.
> http://www.zentara.net/~zentaran/My_Petition_to_the_Great_Cosmic_Conciousness.html

PDF backend is not mandatory - I've been building without it for years.

Regards,
 Sergei.



_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list



--
----------------------------
nazgul33

http://nazgul33.com

_______________________________________________ gtk-list mailing list gtk-list@xxxxxxxxx http://mail.gnome.org/mailman/listinfo/gtk-list



--
----------------------------
nazgul33

http://nazgul33.com
_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux