summarylogtreecommitdiffstats
path: root/quazip.patch
blob: 8b76c23ef6778f43fe30cf820adaebfc0054bdb8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
--- OpenBoard-1.7.1rc-240202/OpenBoard.pro	2024-02-02 14:42:21.000000000 +0100
+++ OpenBoard-1.7.1rc-240202.new/OpenBoard.pro	2024-03-12 15:11:04.682694326 +0100
@@ -462,11 +462,11 @@
     LIBS += -lX11
 
     greaterThan(QT_MAJOR_VERSION, 5) {
-        LIBS += -lquazip6
-        INCLUDEPATH += "/usr/include/quazip6"
+        LIBS += "-lquazip1-qt6"
+        INCLUDEPATH += /usr/include/QuaZip-Qt6-1.4/quazip
     } else {
-        LIBS += -lquazip5
-        INCLUDEPATH += "/usr/include/quazip5"
+        LIBS += "-lquazip1-qt5"
+        INCLUDEPATH += /usr/include/QuaZip-Qt5-1.4/quazip
     }
 
     LIBS += -lpoppler
diff -Naur OpenBoard-1.6.0a3.orig/plugins/cffadaptor/UBCFFAdaptor.pro OpenBoard-1.6.0a3/plugins/cffadaptor/UBCFFAdaptor.pro
--- OpenBoard-1.6.0a3.orig/plugins/cffadaptor/UBCFFAdaptor.pro	2020-05-22 18:40:49.000000000 +0200
+++ OpenBoard-1.6.0a3/plugins/cffadaptor/UBCFFAdaptor.pro	2020-10-12 07:20:08.496096917 +0200
@@ -13,9 +13,6 @@
 linux-g++-32: SUB_DIR = linux
 linux-g++-64: SUB_DIR = linux
 
-THIRD_PARTY_PATH = ../../../Sankore-ThirdParty
-QUAZIP_DIR   = "$$PWD/../../../Sankore-ThirdParty/quazip/quazip-0.3"
-
 BUILD_DIR = build/$$SUB_DIR
 CONFIG(debug, debug|release):BUILD_DIR = $$BUILD_DIR/debug
 CONFIG(release, debug|release) {
@@ -39,7 +36,7 @@
     QMAKE_POST_LINK += bash postScript_mac.sh "$$DESTDIR" "$$SANKORE_DIR/$$BUILD_DIR/product/Open-Sankore.app/Contents/MacOS"
 }
 
-LIBS     += "-L$$THIRD_PARTY_PATH/quazip/lib/$$SUB_DIR" "-lquazip"
+LIBS     += "-lquazip1-qt5"
 
 QT       += xml xmlpatterns core
 QT       += gui
@@ -51,9 +48,7 @@
 
 INCLUDEPATH += src
 
-DEPENDPATH  += $$THIRD_PARTY_PATH/quazip/
-INCLUDEPATH += $$THIRD_PARTY_PATH/quazip/
-include($$THIRD_PARTY_PATH/quazip/quazip.pri)
+INCLUDEPATH += /usr/include/QuaZip-Qt5-1.4/quazip
 
 
 SOURCES += \
--- OpenBoard-1.5.4.orig/libs.pri	2020-10-11 14:17:54.587596163 +0200
+++ OpenBoard-1.5.4/libs.pri	2020-10-11 14:13:49.516394503 +0200
@@ -23,7 +23,7 @@
 }
 
 QUAZIP_DIR   = "/usr"
-LIBS        += "-lquazip5"
+LIBS        += "-lquazip1-qt5"
 
 LIBS        += "-lpoppler"
 INCLUDEPATH += "/usr/include/poppler"