I use http://poppler.freedesktop.org/poppler-0.16.1.tar.gz for my gtk2
builds with gub. There was an api change around the time of the this
poppler release.

Jeremiah

On Sun, Dec 20, 2015 at 10:03 AM, Andreas Schneider <[email protected]>
wrote:

> Am 20.12.2015 um 16:48 schrieb Andreas Schneider:
> > Am 20.12.2015 um 10:36 schrieb Richard Shann:
> >>  fakeroot debian/rules binary
> >> CDBS:  parsing evince_2.30.3.orig.tar.gz
> evince_2.30.3-2+squeeze1.debian.tar.gz ...
> >> Parsing evince_2.30.3.orig.tar.gz...
> >> Parsing evince_2.30.3-2+squeeze1.debian.tar.gz...
> >> test -x debian/rules
> >> dh_testroot
> >> dh_clean -k
> >> dh_clean: dh_clean -k is deprecated; use dh_prep instead
> >> dh_installdirs -A
> >> mkdir -p "/home/rshann/evince2.30/debian/build/evince-gtk"
> >> mkdir -p "/home/rshann/evince2.30/debian/build/evince"
> >> /usr/share/cdbs/1/rules/buildcore.mk:110: CDBS WARNING:
> DEB_DH_STRIP_ARGS is deprecated since 0.4.85
> >> /usr/share/cdbs/1/rules/buildcore.mk:110: CDBS WARNING:
> DEB_DH_BUILDDEB_ARGS is deprecated since 0.4.85
> >> if test -e /usr/share/misc/config.guess ; then \
> >>      for i in ./evince2/config.guess ; do \
> >>              if ! test -e $i.cdbs-orig ; then \
> >>                      mv $i $i.cdbs-orig ; \
> >>                      cp --remove-destination
> /usr/share/misc/config.guess $i ; \
> >>              fi ; \
> >>      done ; \
> >> fi
> >> if test -e /usr/share/misc/config.sub ; then \
> >>      for i in ./evince2/config.sub ; do \
> >>              if ! test -e $i.cdbs-orig ; then \
> >>                      mv $i $i.cdbs-orig ; \
> >>                      cp --remove-destination /usr/share/misc/config.sub
> $i ; \
> >>              fi ; \
> >>      done ; \
> >> fi
> >> touch debian/stamp-autotools-files
> >> chmod a+x /home/rshann/evince2.30/./configure
> >> chmod: cannot access ‘/home/rshann/evince2.30/./configure’: No such
> file or directory
> >> /usr/share/cdbs/1/class/autotools.mk:42: recipe for target
> 'debian/stamp-autotools' failed
> >> make: *** [debian/stamp-autotools] Error 1
> >>
> >> But I don't see how to google myself out of that one!
> >
> > Hmm, I don't get this error message. Do you have all packages for the
> > Debian build system installed, e.g. debhelper, debianutils,
> build-essential?
>
> When building evince2 myself, I get a compile error:
>
> /home/src/evince2/./backend/pdf/ev-poppler.cc: In function ‘gchar*
> pdf_selection_get_selected_text(EvSelection*, EvRenderContext*,
> EvSelectionStyle, EvRectangle*)’:
> /home/src/evince2/./backend/pdf/ev-poppler.cc:1991:8: error: too many
> arguments to function ‘char* poppler_page_get_text(PopplerPage*)’
>       &r);
>         ^
> In file included from /usr/include/poppler/glib/poppler.h:229:0,
>                  from /home/src/evince2/./backend/pdf/ev-poppler.cc:27:
> /usr/include/poppler/glib/poppler-page.h:70:24: note: declared here
>  char                  *poppler_page_get_text             (PopplerPage
>       *page);
>                         ^
> Makefile:485: recipe for target 'ev-poppler.lo' failed
>
> Any idea? Maybe the interface has changed, and one needs an old version
> of poppler-glib (just guessing)?
>
> Andreas
>
> _______________________________________________
> Denemo-devel mailing list
> [email protected]
> https://lists.gnu.org/mailman/listinfo/denemo-devel
>
_______________________________________________
Denemo-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/denemo-devel

Reply via email to