On Fri, Feb 15, 2013 at 1:18 PM, Richard Shann <richard.sh...@virgin.net>wrote:

> On Fri, 2013-02-15 at 12:18 -0600, Jeremiah Benham wrote:
> > I had a hunch about something so I went to investigate. I found that
> > cairo is not being build with pdf and ps support. This may be what is
> > causing the evince backend issues. I am going to retry building cairo
> > and see if these values change. I don't see poppler listed as a
> > dependency for cairo. This could explain why.
>
> I have been poking around inside the evince source code. What fails
> first is a call to
> g_type_module_use ()
>
> which fails according to the documentation if "the plugin fails to
> load". I don't know anything much about plugins, unfortunately...
>
>
I was also poking around in evince source code and found this in
backends/pdf/Makefile.am
libpdfdocument_la_LIBADD =                              \
        $(top_builddir)/libdocument/libevdocument.la    \
        $(BACKEND_LIBS)                                 \
        $(POPPLER_LIBS)                                 \
        $(CAIRO_PDF_LIBS)                               \
        $(CAIRO_PS_LIBS)

If there is no CAIRO_PDF or PS it might not archive all the symbols into
the libpdfdocument.la. I am only guessing really.

Jeremiah


> Richard
>
>
> >
> > And the following internal features:
> >   pthread:       no (disabled, use --enable-pthread to enable)
> >   gtk-doc:       no
> >   gcov support:  no
> >   symbol-lookup: no (requires bfd)
> >   test surfaces: no (disabled, use --enable-test-surfaces to enable)
> >   ps testing:    no (requires libspectre)
> >   pdf testing:   no (requires poppler-glib >= 0.13.3)
> >   svg testing:   no (requires librsvg-2.0 >= 2.15.0)
> >   win32 printing testing:    yes
> >
> > Jeremiah
> >
> >
> > On Thu, Feb 14, 2013 at 12:53 PM, Jeremiah Benham
> > <jjben...@chicagoguitar.com> wrote:
> >
> >
> >         On Thu, Feb 14, 2013 at 11:18 AM, Richard Shann
> >         <richard.sh...@virgin.net> wrote:
> >                 On Thu, 2013-02-14 at 17:03 +0000, Richard Shann
> >                 wrote:
> >                 > On Thu, 2013-02-14 at 09:42 -0600, Jeremiah Benham
> >                 wrote:
> >                 > >
> >                 > >         I have tested it, but
> >                 > >         cannot get it to fire off from denemo - it
> >                 is not at all
> >                 > >         obvious where
> >                 > >         glib will look for the helper program with
> >                 a static build, it
> >                 > >         doesn't
> >                 > >         seem to find it in the path, and we don't
> >                 have a .dll, though
> >                 > >         if we did
> >                 > >         it would be where I have put
> >                 gspawn_win32_helper.exe, ie where
> >                 > >         denemo.exe is and fluidsynth.dll, in the
> >                 bin directory.
> >                 >
> >                 > This is fixed now - it turns out there are two
> >                 helper functions the
> >                 > other one is called gspawn_win32_helper-console.exe
> >                 and that is also
> >                 > built by mxe and once I installed that all was well.
> >                 > Now LilyPond is crashing, but that will be because
> >                 it is being found in
> >                 > an old Denemo installation without its data path
> >                 being set up before it
> >                 > is called. Either we need to combine the two builds
> >                 or build LilyPond on
> >                 > mxe (yikes!) or leave it to the user to do a
> >                 standard LilyPond install
> >                 > from the LilyPond website.
> >
> >
> >                 Now I have LilyPond successfully completing, but the
> >                 evince build is
> >                 incomplete - it cannot load pdf files :(
> >                 The evince build recipe is something you have
> >                 generated Jeremiah - I
> >                 expect you have built something that I have not copied
> >                 across, some sort
> >                 of backend module? I think I just copied everything
> >                 that was
> >                 bin/*evince* ...
> >                 or is it that some pdf backend is not built?
> >
> >         We are using evince 2.32.0 here. I created autoconf/make files
> >         for 2.30.3 I believe. We can revert to 2.30.3 if we need to. I
> >         have no idea if my changes to 2.30.3 actually got it working
> >         correctly or not.
> >
> >         Jeremiah
> >
> >
> >                 Richard
> >
> >
> >
> >
>
>
>
_______________________________________________
Denemo-devel mailing list
Denemo-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/denemo-devel

Reply via email to