Skip to content

Commit 89bf2a1

Browse files
authored
pdf4qt: 4.0.0.0 -> 5.0.0.0 (#391785)
2 parents bf19dfb + bd9a674 commit 89bf2a1

File tree

3 files changed

+8
-11
lines changed

3 files changed

+8
-11
lines changed

pkgs/by-name/bl/blend2d/package.nix

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,13 @@
88

99
stdenv.mkDerivation {
1010
pname = "blend2d";
11-
# Note: this is an outdated version for pdf4qt, but vcpkg also uses it
12-
# See 'Commit Hashes' in https://blend2d.com/download.html for newest
13-
# If the newest version is needed, we can rename this package.
14-
version = "0.10";
11+
version = "0.12";
1512

1613
src = fetchFromGitHub {
1714
owner = "blend2d";
1815
repo = "blend2d";
19-
rev = "452d549751188b04367b5af46c040cb737f5f76c";
20-
hash = "sha256-LDhnXsp/V1A3YqVyjBVaL7/V6Nhts/1E9hRhl2P293o=";
16+
rev = "717cbf4bc0f2ca164cf2f0c48f0497779241b6c5";
17+
hash = "sha256-L3wDsjy0cocncZqKLy8in2yirrFJoqU3tFBfeBxlhs0=";
2118
};
2219

2320
outputs = [

pkgs/by-name/pd/pdf4qt/find_lcms2_path.patch

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
diff --git a/CMakeLists.txt b/CMakeLists.txt
2-
index 98752ec..aa029b3 100644
2+
index 298cdca..8894db3 100644
33
--- a/CMakeLists.txt
44
+++ b/CMakeLists.txt
55
@@ -55,7 +55,15 @@ endif()
66
qt_standard_project_setup()
77

88
find_package(OpenSSL REQUIRED)
9-
-find_package(lcms REQUIRED)
9+
-find_package(lcms2 REQUIRED)
1010
+SET(LCMS2_NAMES ${LCMS2_NAMES} lcms2 liblcms2 liblcms2_static)
1111
+FIND_LIBRARY(LCMS2_LIBRARY NAMES ${LCMS2_NAMES} )
1212
+FIND_PATH(LCMS2_INCLUDE_DIR lcms2.h)
1313
+add_library(lcms2::lcms2 UNKNOWN IMPORTED)
1414
+set_target_properties(lcms2::lcms2 PROPERTIES
1515
+ IMPORTED_LOCATION ${LCMS2_LIBRARY}
1616
+ INTERFACE_INCLUDE_DIRECTORIES ${LCMS2_INCLUDE_DIR}
17-
+ INTERFACE_COMPILE_DEFINITIONS "HAVE_LCMS2=1;CMS_NO_REGISTER_KEYWORD=1")
17+
+ INTERFACE_COMPILE_DEFINITIONS "HAVE_LCMS2=1;CMS_NO_REGISTER_KEYWORD=1")
1818
+set_property(GLOBAL APPEND PROPERTY INTERNAL_DEPS_PROP lcms2::lcms2)
1919
find_package(ZLIB REQUIRED)
2020
find_package(Freetype REQUIRED)

pkgs/by-name/pd/pdf4qt/package.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@
1414

1515
stdenv.mkDerivation (finalAttrs: {
1616
pname = "pdf4qt";
17-
version = "1.4.0.0";
17+
version = "1.5.0.0";
1818

1919
src = fetchFromGitHub {
2020
owner = "JakubMelka";
2121
repo = "PDF4QT";
2222
rev = "v${finalAttrs.version}";
23-
hash = "sha256-NlIy/C4uHRG5wwXPuqCShe113qhhsQ5jp50zrOLLA2c=";
23+
hash = "sha256-ELdmnOEKFGCtuf240R/0M6r8aPwRQiXurAxrqcCZvOI=";
2424
};
2525

2626
patches = [

0 commit comments

Comments
 (0)