Skip to content

Commit

Permalink
[poppler] update to version 22.8.0 and Add glib support (#25578)
Browse files Browse the repository at this point in the history
* [poppler] Add glib support

* format vcpkg.json

* update version

* update version

* update version

* Add cairo dependency

* update version

* update dependcies

* update version
  • Loading branch information
JonLiu1993 authored Aug 23, 2022
1 parent 7bd1ddf commit 8ab78df
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 7 deletions.
6 changes: 3 additions & 3 deletions ports/poppler/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ vcpkg_from_gitlab(
GITLAB_URL https://gitlab.freedesktop.org
OUT_SOURCE_PATH SOURCE_PATH
REPO poppler/poppler
REF poppler-22.03.0
SHA512 0229e50bbf21154f398480730649fd15ca37c7edae5abd63ed41ab722852d09e4dc2b9df66b13b1cfe3e7a0da945916e1bd39c75c4879ded2759eb465f69424a
REF 12853d22e9d0527c10ada02666aef629db3e5e7c #poppler-22.08.0
SHA512 d181bc8a521e216f163096e8baad7e73c898c24b18a5a4ab3b687bff4c29333c8c19961adaef54e684c1bdf26dab90183c3553fadb963b7a664e063bd3abcfcf
HEAD_REF master
PATCHES
export-unofficial-poppler.patch
Expand All @@ -18,6 +18,7 @@ vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
curl ENABLE_LIBCURL
private-api ENABLE_UNSTABLE_API_ABI_HEADERS
zlib ENABLE_ZLIB
glib ENABLE_GLIB
)
if("fontconfig" IN_LIST FEATURES)
list(APPEND FEATURE_OPTIONS "-DFONT_CONFIGURATION=fontconfig")
Expand Down Expand Up @@ -50,7 +51,6 @@ vcpkg_cmake_configure(
-DBUILD_CPP_TESTS=OFF
-DBUILD_MANUAL_TESTS=OFF
-DENABLE_UTILS=OFF
-DENABLE_GLIB=OFF
-DENABLE_GOBJECT_INTROSPECTION=OFF
-DENABLE_QT5=OFF
-DENABLE_QT6=OFF
Expand Down
19 changes: 17 additions & 2 deletions ports/poppler/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"name": "poppler",
"version": "22.3.0",
"port-version": 1,
"version": "22.8.0",
"description": "A PDF rendering library",
"homepage": "https://poppler.freedesktop.org/",
"license": "GPL-2.0-or-later",
Expand Down Expand Up @@ -67,6 +66,22 @@
"fontconfig"
]
},
"glib": {
"description": "glib for poppler",
"dependencies": [
{
"name": "glib",
"default-features": false
},
{
"name": "poppler",
"default-features": false,
"features": [
"cairo"
]
}
]
},
"private-api": {
"description": "Install headers for private API (aka unstable API/ABI headers)"
},
Expand Down
4 changes: 2 additions & 2 deletions versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -5641,8 +5641,8 @@
"port-version": 4
},
"poppler": {
"baseline": "22.3.0",
"port-version": 1
"baseline": "22.8.0",
"port-version": 0
},
"popsift": {
"baseline": "0.9",
Expand Down
5 changes: 5 additions & 0 deletions versions/p-/poppler.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "8551fcec6635c82fba6fc51d817e788dfae0a387",
"version": "22.8.0",
"port-version": 0
},
{
"git-tree": "2d14bc508abd0861bda1a16290ad65b061a82b7c",
"version": "22.3.0",
Expand Down

0 comments on commit 8ab78df

Please sign in to comment.