Hi,

The latest poppler dropped the support of libcms1,
but I found a few crumbs for libcms1 are left.
Here is a patch to remove them.

Regards,
mpsuzuki

P.S.
By my careless misunderstanding, I send a pull request
to github. I think it is a organizational mirror repository
and nobody checks the PRs at there. Sorry for bothering.
diff --git a/qt5/src/poppler-document.cc b/qt5/src/poppler-document.cc
index 03077f9..2c1934e 100644
--- a/qt5/src/poppler-document.cc
+++ b/qt5/src/poppler-document.cc
@@ -48,12 +48,8 @@
 #include "poppler-page-private.h"
 
 #if defined(USE_CMS)
-#if defined(USE_LCMS1)
-#include <lcms.h>
-#else
 #include <lcms2.h>
 #endif
-#endif
 
 namespace Poppler {
 
diff --git a/utils/pdftocairo.cc b/utils/pdftocairo.cc
index 7a5ef98..63252bc 100644
--- a/utils/pdftocairo.cc
+++ b/utils/pdftocairo.cc
@@ -57,12 +57,8 @@
 #include "CairoOutputDev.h"
 #include "Win32Console.h"
 #ifdef USE_CMS
-#ifdef USE_LCMS1
-#include <lcms.h>
-#else
 #include <lcms2.h>
 #endif
-#endif
 #include <cairo.h>
 #ifdef CAIRO_HAS_PS_SURFACE
 #include <cairo-ps.h>
_______________________________________________
poppler mailing list
poppler@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/poppler

Reply via email to