Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/misc/calibre misc/calibre: fix build with Qt 5.15.0.
details: https://anonhg.NetBSD.org/pkgsrc/rev/eb18c5071602
branches: trunk
changeset: 435316:eb18c5071602
user: rhialto <rhialto%pkgsrc.org@localhost>
date: Sun Jul 05 12:09:08 2020 +0000
description:
misc/calibre: fix build with Qt 5.15.0.
diffstat:
misc/calibre/Makefile | 4 +-
misc/calibre/distinfo | 3 +-
misc/calibre/patches/patch-src_calibre_headless_fontconfig_database.cpp | 36 ++++++++++
3 files changed, 40 insertions(+), 3 deletions(-)
diffs (69 lines):
diff -r c8188316cc2f -r eb18c5071602 misc/calibre/Makefile
--- a/misc/calibre/Makefile Sun Jul 05 02:11:41 2020 +0000
+++ b/misc/calibre/Makefile Sun Jul 05 12:09:08 2020 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.239 2020/06/22 11:13:18 nia Exp $
+# $NetBSD: Makefile,v 1.240 2020/07/05 12:09:08 rhialto Exp $
DISTNAME= calibre-3.40.1
-PKGREVISION= 17
+PKGREVISION= 18
CATEGORIES= misc
#MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=calibre/}
MASTER_SITES= http://download.calibre-ebook.com/${PKGVERSION_NOREV}/
diff -r c8188316cc2f -r eb18c5071602 misc/calibre/distinfo
--- a/misc/calibre/distinfo Sun Jul 05 02:11:41 2020 +0000
+++ b/misc/calibre/distinfo Sun Jul 05 12:09:08 2020 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.104 2019/09/24 16:39:50 kamil Exp $
+$NetBSD: distinfo,v 1.105 2020/07/05 12:09:08 rhialto Exp $
SHA1 (calibre-3.40.1.tar.xz) = 12cea0bed963dde2b58c9cdd4c3c25c735d6d15a
RMD160 (calibre-3.40.1.tar.xz) = 72bf801e4164dcebec22ba36162fe034c9edad54
@@ -6,5 +6,6 @@
Size (calibre-3.40.1.tar.xz) = 38365300 bytes
SHA1 (patch-setup_build.py) = f309c8f01af375fce1d09bf5c4bac9610cf4e0c5
SHA1 (patch-setup_build__environment.py) = dd6160233c717e935205649ee685e71df3f1858e
+SHA1 (patch-src_calibre_headless_fontconfig_database.cpp) = d794a9f1c94c85d3406384bf25ade4be8d2f8a1c
SHA1 (patch-src_calibre_headless_headless__integration.cpp) = 62ab6f5aaf6bd8bcbb875ab56eac1a474d8b446b
SHA1 (patch-src_calibre_linux.py) = 16c3122a612ec9996f774c5c2c9d40a475723662
diff -r c8188316cc2f -r eb18c5071602 misc/calibre/patches/patch-src_calibre_headless_fontconfig_database.cpp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/calibre/patches/patch-src_calibre_headless_fontconfig_database.cpp Sun Jul 05 12:09:08 2020 +0000
@@ -0,0 +1,36 @@
+$NetBSD: patch-src_calibre_headless_fontconfig_database.cpp,v 1.1 2020/07/05 12:09:08 rhialto Exp $
+
+Qt 5.15.0 has more languages in an array that Calibre tries to match,
+and it checks with a STATIC_ASSERT.
+
+--- src/calibre/headless/fontconfig_database.cpp.orig 2020-07-02 17:32:43.809996191 +0000
++++ src/calibre/headless/fontconfig_database.cpp
+@@ -295,7 +295,27 @@ static const char specialLanguages[][6]
+ "", // MasaramGondi
+ "", // Nushu
+ "", // Soyombo
+- "" // ZanabazarSquare
++ "", // ZanabazarSquare
++#if (QT_VERSION >= QT_VERSION_CHECK(5, 15, 0))
++ // Unicode 12.1 additions
++ "", // Script_Dogra,
++ "", // Script_GunjalaGondi,
++ "", // Script_HanifiRohingya,
++ "", // Script_Makasar,
++ "", // Script_Medefaidrin,
++ "", // Script_OldSogdian,
++ "", // Script_Sogdian,
++ "", // Script_Elymaic,
++ "", // Script_Nandinagari,
++ "", // Script_NyiakengPuachueHmong,
++ "", // Script_Wancho,
++
++ // Unicode 13.0 additions
++ "", // Script_Chorasmian,
++ "", // Script_DivesAkuru,
++ "", // Script_KhitanSmallScript,
++ "", // Script_Yezidi,
++#endif // Qt >= 5.15
+ #else
+ "" // SignWriting
+ #endif // Qt >= 5.11
Home |
Main Index |
Thread Index |
Old Index