diff options
author | Paul Dann | 2022-03-07 08:40:25 +0000 |
---|---|---|
committer | Paul Dann | 2022-03-07 08:40:25 +0000 |
commit | 07d27db39451ef73843f34b62ed4935a330a5d63 (patch) | |
tree | b56011fc72c4b546eb20e9f4c887a2d89e30f691 /0001-Cairo-backend-added-to-Qt5-wrapper.patch | |
parent | 8424e17d2284ec13d2f8e6d414df2c52103adb2a (diff) | |
download | aur-07d27db39451ef73843f34b62ed4935a330a5d63.tar.gz |
Update for Poppler 22.03.0
Diffstat (limited to '0001-Cairo-backend-added-to-Qt5-wrapper.patch')
-rw-r--r-- | 0001-Cairo-backend-added-to-Qt5-wrapper.patch | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/0001-Cairo-backend-added-to-Qt5-wrapper.patch b/0001-Cairo-backend-added-to-Qt5-wrapper.patch index 57a9d70f6c35..c2930a274d57 100644 --- a/0001-Cairo-backend-added-to-Qt5-wrapper.patch +++ b/0001-Cairo-backend-added-to-Qt5-wrapper.patch @@ -1,4 +1,4 @@ -From a9b46d68df368a4d4daee072ba090e13af182bde Mon Sep 17 00:00:00 2001 +From ce29c8af8baf6b6e93c6836436ea20e1ee892899 Mon Sep 17 00:00:00 2001 From: Paul Gideon Dann <pdgiddie@gmail.com> Date: Wed, 4 Apr 2018 16:36:56 +0100 Subject: [PATCH 1/3] Cairo backend added to Qt5 wrapper @@ -12,7 +12,7 @@ Subject: [PATCH 1/3] Cairo backend added to Qt5 wrapper 5 files changed, 95 insertions(+), 1 deletion(-) diff --git a/qt5/src/CMakeLists.txt b/qt5/src/CMakeLists.txt -index 187c3b1f..c758ea40 100644 +index 55671715..acf8e6a6 100644 --- a/qt5/src/CMakeLists.txt +++ b/qt5/src/CMakeLists.txt @@ -5,6 +5,11 @@ include_directories( @@ -44,7 +44,7 @@ index 187c3b1f..c758ea40 100644 @@ -44,6 +56,9 @@ if(MINGW AND BUILD_SHARED_LIBS) set_target_properties(poppler-qt5 PROPERTIES SUFFIX "-${POPPLER_QT5_SOVERSION}${CMAKE_SHARED_LIBRARY_SUFFIX}") endif() - target_link_libraries(poppler-qt5 poppler Qt5::Core Qt5::Gui Qt5::Xml ${FREETYPE_LIBRARIES}) + target_link_libraries(poppler-qt5 poppler Qt5::Core Qt5::Gui Qt5::Xml Freetype::Freetype) +if (HAVE_CAIRO) + target_link_libraries(poppler-qt5 ${CAIRO_LIBRARIES}) +endif (HAVE_CAIRO) @@ -52,7 +52,7 @@ index 187c3b1f..c758ea40 100644 target_link_libraries(poppler-qt5 poppler ${poppler_LIBS}) endif() diff --git a/qt5/src/poppler-document.cc b/qt5/src/poppler-document.cc -index be4d7119..df17a9c1 100644 +index 6ee0a474..d409ba45 100644 --- a/qt5/src/poppler-document.cc +++ b/qt5/src/poppler-document.cc @@ -701,6 +701,9 @@ QSet<Document::RenderBackend> Document::availableRenderBackends() @@ -168,7 +168,7 @@ index eedc580f..1993927f 100644 return false; } diff --git a/qt5/src/poppler-qt5.h b/qt5/src/poppler-qt5.h -index bab846f8..200b69b2 100644 +index abeb4fdb..380461a3 100644 --- a/qt5/src/poppler-qt5.h +++ b/qt5/src/poppler-qt5.h @@ -1182,7 +1182,8 @@ public: |