Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 585207 Details for
Bug 822405
gnome-commander doesn't build with poppler-0.20.0
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
add support for setErrorCallback()
gnome-commander-1.2.8.15-poppler-0.20.0.patch (text/plain), 1.95 KB, created by
Marek Kašík
on 2012-05-17 12:35:08 UTC
(
hide
)
Description:
add support for setErrorCallback()
Filename:
MIME Type:
Creator:
Marek Kašík
Created:
2012-05-17 12:35:08 UTC
Size:
1.95 KB
patch
obsolete
>--- gnome-commander-1.2.8.15/config.h.in 2011-12-06 20:15:56.000000000 +0100 >+++ gnome-commander-1.2.8.15/config.h.in 2012-05-17 14:20:16.000000000 +0200 >@@ -112,6 +112,9 @@ > /* Define to 1 if poppler has support for PDFDoc::getPDFVersion() */ > #undef POPPLER_HAS_GET_PDF_VERSION > >+/* Define to 1 if poppler has support for setErrorCallback() */ >+#undef POPPLER_HAS_SET_ERROR_CALLBACK >+ > /* definition of PREFIX */ > #undef PREFIX > >--- gnome-commander-1.2.8.15/configure.in 2011-12-06 20:10:27.000000000 +0100 >+++ gnome-commander-1.2.8.15/configure.in 2012-05-17 14:21:52.000000000 +0200 >@@ -239,6 +239,9 @@ if test x$with_poppler != xno; then > if pkg-config --max-version=0.11.2 poppler; then > AC_DEFINE(POPPLER_HAS_GET_PDF_VERSION, 1, [Define to 1 if poppler has support for PDFDoc::getPDFVersion()]) > fi >+ if pkg-config --atleast-version=0.19.0 poppler; then >+ AC_DEFINE(POPPLER_HAS_SET_ERROR_CALLBACK, 1, [Define to 1 if poppler has support for setErrorCallback()]) >+ fi > fi > if test "x$have_pdf" = "xyes"; then > AC_DEFINE(HAVE_PDF, 1, [Define to 1 if you have PDF support]) >--- gnome-commander-1.2.8.15/src/tags/gnome-cmd-tags-poppler.cc 2011-12-06 20:10:29.000000000 +0100 >+++ gnome-commander-1.2.8.15/src/tags/gnome-cmd-tags-poppler.cc 2012-05-17 14:21:39.000000000 +0200 >@@ -40,8 +40,11 @@ using namespace std; > #ifdef HAVE_PDF > static regex_t rxDate; > static gboolean rxDate_OK; >- >+#ifdef POPPLER_HAS_SET_ERROR_CALLBACK >+static void noErrorReporting(void *, ErrorCategory, int pos, char *msg) >+#else > static void noErrorReporting(int pos, char *msg, va_list args) >+#endif > { > } > #endif >@@ -52,8 +55,12 @@ void gcmd_tags_poppler_init() > #ifdef HAVE_PDF > rxDate_OK = regcomp (&rxDate, "^(D:)?([12][019][0-9][0-9]([01][0-9]([0-3][0-9]([012][0-9]([0-5][0-9]([0-5][0-9])?)?)?)?)?)", REG_EXTENDED)==0; > >+#ifdef POPPLER_HAS_SET_ERROR_CALLBACK >+ setErrorCallback(noErrorReporting, NULL); >+#else > setErrorFunction(noErrorReporting); > #endif >+#endif > } > >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 822405
: 585207