Source: seafile-client Version: 9.0.18+ds1-1.1 Severity: serious Justification: ftbfs Tags: ftbfs patch Control: block 1138499 by -1
Dear Maintainer,Your package fails to build from source with the new libquazip1 version 1.7.1, because it contains a patch that hard-codes version 1.5 in the build script. I have attached a patch that bumps it to target 1.7.1; I would advise you to try and find an alternative way to patch the source such that it does not target a specific version of QuaZip, so this does not happen with every future new version.
Regards -- Ben Westover
diff --git a/debian/patches/0002-Don-t-use-bundled-QuaZip.patch b/debian/patches/0002-Don-t-use-bundled-QuaZip.patch
index ee49abc..addafcf 100644
--- a/debian/patches/0002-Don-t-use-bundled-QuaZip.patch
+++ b/debian/patches/0002-Don-t-use-bundled-QuaZip.patch
@@ -59,7 +59,7 @@ index 5f2ee1c..8eaebb4 100644
-
-ADD_SC_LIBRARY(quazip ${quazip_sources})
+FIND_PACKAGE(QuaZip-Qt6 REQUIRED PATHS "/usr/share/quazip")
-+INCLUDE_DIRECTORIES(/usr/include/QuaZip-Qt6-1.5/quazip)
++INCLUDE_DIRECTORIES(/usr/include/QuaZip-Qt6-1.7.1/quazip)
+SET(EXTRA_LIBS ${EXTRA_LIBS} ${INTERFACE_LINK_LIBRARIES})
-SET(SC_LIBS utils quazip)
OpenPGP_signature.asc
Description: OpenPGP digital signature

