jmorecfg.h INT32

Nerijus Baliunas nerijus at users.sourceforge.net
Wed Jul 13 20:45:43 UTC 2011


On Sat, 09 Jul 2011 16:29:55 +0200 Erik van Pienbroek <erik at vanpienbroek.nl> wrote:

> In Fedora Rawhide this problem is already solved in a more proper way.
> Recently, the package mingw32-libjpeg was replaced by
> mingw32-libjpeg-turbo. Several (upstreamed!) changes have been done to
> prevent these kind of conflicts. If it's possible, I would recommend you
> to use the mingw32 packages which are currently in Fedora Rawhide.

mingw32-libjpeg-turbo helped, thanks. But I was unable to compile later because of:

  CXX    CairoFontEngine.lo
In file included from CairoFontEngine.cc:38:0:
CairoFontEngine.h:36:22: fatal error: cairo-ft.h: No such file or directory

Why freetype support is disabled in mingw32-cairo? I recompiled it with the following
patch and then was able to build poppler:

--- mingw32-cairo.spec.orig     2011-04-28 14:17:55.000000000 +0300
+++ mingw32-cairo.spec  2011-07-13 18:36:58.260028908 +0300
@@ -29,6 +29,7 @@
 BuildRequires:  mingw32-pixman
 BuildRequires:  mingw32-libpng
 BuildRequires:  mingw32-iconv
+BuildRequires:  mingw32-freetype
 BuildRequires:  mingw32-zlib
 BuildRequires:  mingw32-glib2
 BuildRequires:  pkgconfig
@@ -71,7 +72,6 @@
   --enable-png \
   --enable-static \
   --disable-pthread \
-  --disable-ft \
   --enable-gobject
 make %{?_smp_mflags}

@@ -102,6 +102,8 @@
 %{_mingw32_libdir}/libcairo-script-interpreter.dll.a
 %{_mingw32_libdir}/libcairo-script-interpreter.la
 %{_mingw32_libdir}/pkgconfig/cairo-gobject.pc
+%{_mingw32_libdir}/pkgconfig/cairo-fc.pc
+%{_mingw32_libdir}/pkgconfig/cairo-ft.pc
 %{_mingw32_libdir}/pkgconfig/cairo-pdf.pc
 %{_mingw32_libdir}/pkgconfig/cairo-png.pc
 %{_mingw32_libdir}/pkgconfig/cairo-ps.pc


Regards,
Nerijus


More information about the mingw mailing list