Changeset 78 for trunk/configure.ac

Show
Ignore:
Timestamp:
04/17/06 07:28:50 (3 years ago)
Author:
jordi
Message:

Since version 0.5.0 and up doesn't support the old Xpdf header files and because the CairoOutputDev?.h file is not installed on version 0.5.1, I now use Poppler's glib wrapper for PDF loading.

The glib wrapper needs an URI instead of a filename (why?), so the path to the file must be specified as an absolute path to be able to convert it to an URI (file:///dir1/dir2/file.pdf). This also means that the tests files had to be changed to use absolute paths. I added a function (that I'll change to a common utils source) that transform the filename to an absolute path.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/configure.ac

    r54 r78  
    11dnl Process this file with autoconf to produce a configure script. 
    2 AC_INIT([ePDFView], [0.1.1], [jordi@emma-soft.com]) 
     2AC_INIT([ePDFView], [0.1.2], [jordi@emma-soft.com]) 
    33AC_PREREQ([2.13]) 
    44AC_CONFIG_HEADER([config.h]) 
     
    3030GLIB_REQUIRED=2.6.0 
    3131GTK2_REQUIRED=2.6.0 
    32 FREETYPE2_REQUIRED=2.1.9 
    3332 
    3433PKG_CHECK_MODULES([GLIB], [glib-2.0 >= $GLIB_REQUIRED]) 
     
    3837AC_SUBST([GTK2_CFLAGS]) 
    3938AC_SUBST([GTK2_LIBS]) 
    40 PKG_CHECK_MODULES([POPPLER], [poppler-cairo >= $POPPLER_REQUIRED freetype2 >= $FREETYPE2_REQUIRED]) 
     39PKG_CHECK_MODULES([POPPLER], [poppler-glib >= $POPPLER_REQUIRED gdk-2.0 >= $GTK2_REQUIRED pango]) 
    4140AC_SUBST([POPPLER_CFLAGS]) 
    4241AC_SUBST([POPPLER_LIBS])