Re: CVS: commit dom abiword-plugins/wp/impexp/pdf plugin.m4

From: <msevior_at_physics.unimelb.edu.au>
Date: Fri Apr 06 2007 - 03:14:36 CEST

>
> Update of /cvsroot/abiword-plugins/wp/impexp/pdf
> In directory abiword.snt.utwente.nl:/tmp/cvs-serv23884
>
> Modified Files:
> plugin.m4
> Log Message:
> poppler recently committed Jauco's SoC project.

Hooray!!

> Since poppler no longer
> ships
> XPDF headers as part of its public API, re-write this plugin in terms of
> poppler's pdftoabw program. Will look into writing a glib binding for this
> API,
> so that we don't need temporary, on-disk files and fork+exec for this to
> work.
>
> Needs a patch to pdftoabw to work.
>
> http://lists.freedesktop.org/archives/poppler/2007-April/002539.html
> http://lists.freedesktop.org/archives/poppler/2007-April/002554.html
>

Excellent. I hope we can keep this plugin being developed.

Cheers

Martin

>
> Index: plugin.m4
> ===================================================================
> RCS file: /cvsroot/abiword-plugins/wp/impexp/pdf/plugin.m4,v
> retrieving revision 1.5
> retrieving revision 1.6
> diff -u -d -r1.5 -r1.6
> --- plugin.m4 24 Feb 2006 12:27:29 -0000 1.5
> +++ plugin.m4 5 Apr 2007 19:50:15 -0000 1.6
> @@ -27,27 +27,12 @@
> # Checks for libraries.
> # Checks for header fils.
>
> -POPPLER_REQUIRED_VERSION=0.5.0
> +AC_PATH_PROG(PDFTOABW, pdftoabw)
>
> -PKG_CHECK_MODULES(_abi_pdf, poppler >= $POPPLER_REQUIRED_VERSION,
> -,[ ABI_PLUGIN_REPORT([PDF: error - poppler >= $POPPLER_REQUIRED_VERSION
> required])
> +if test "x$PDFTOABW" = "x"; then
> abi_plugin_disable=yes
> -])
> -if test $abi_plugin_disable = no; then
> -# Check if xpdf headers are there (poppler does not install them by
> default)
> - CPPFLAGS=$_abi_pdf_CFLAGS
> - LDFLAGS=$_abi_pdf_LIBS
> - AC_LANG(C++)
> - AC_HEADER_CHECK(GlobalParams.h, [have_xpdf_headers=yes],
> [have_xpdf_headers=no])
> - AC_LANG(C)
> - if test $have_xpdf_headers = yes; then
> - PDF_CPPFLAGS="$_abi_pdf_CFLAGS"
> - PDF_LDFLAGS="$_abi_pdf_LIBS"
> - ABI_PLUGIN_REPORT([PDF: okay])
> - else
> - ABI_PLUGIN_REPORT([PDF: error - poppler was installed without the xpdf
> headers])
> - abi_plugin_disable=yes
> - fi
> +else
> + abi_plugin_disable=no
> fi
>
> AC_SUBST(PDF_CPPFLAGS)
>
> -----------------------------------------------
> To unsubscribe from this list, send a message to
> abisource-cvs-commit-request@abisource.com with the word
> unsubscribe in the message body.
>
Received on Fri Apr 6 03:13:50 2007

This archive was generated by hypermail 2.1.8 : Fri Apr 06 2007 - 03:13:51 CEST