> 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 gmail com>
>
> > 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 yahoo com>
> >
> >>
> >>
> >>
> >> --- On Tue, 2/24/09, zentara
> <
zentara1 sbcglobal net> wrote:
> >>
> >> > From: zentara <
zentara1 sbcglobal net>
> >> > Subject: Re: why is cairo with pdf and
> postscript backend mandatory?
> >> > To:
gtk-list gnome org
> >> > Date: Tuesday, February 24, 2009, 7:41 AM
> >> > On Tue, 24 Feb 2009 22:52:23 +0900
> >> > nazgul33 <
nazgul33 gmail com> 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.
> >> >
> >>