texstudio, bump version (#6586)

This commit is contained in:
Schrijvers Luc
2022-02-05 11:46:48 +01:00
committed by GitHub
parent 1dbd8d5bd8
commit 66966fb4f7
3 changed files with 77 additions and 32 deletions

View File

@@ -1,28 +0,0 @@
From 37d0687949a31f3d4975bf3395eefb80fcaf18a9 Mon Sep 17 00:00:00 2001
From: begasus <begasus@gmail.com>
Date: Sat, 30 Oct 2021 14:02:31 +0000
Subject: Fix build with QuaZip-1.0
diff --git a/texstudio.pro b/texstudio.pro
index 0873fec..a9ce848 100644
--- a/texstudio.pro
+++ b/texstudio.pro
@@ -381,11 +381,9 @@ include(src/symbolpanel/symbolpanel.pri)
isEmpty(USE_SYSTEM_QUAZIP) {
include(src/quazip/quazip/quazip.pri)
} else {
- message(System quazip5)
- isEmpty(QUAZIP_LIB): QUAZIP_LIB = -lquazip5
- isEmpty(QUAZIP_INCLUDE): QUAZIP_INCLUDE = $${PREFIX}/include/quazip5
- INCLUDEPATH += $${QUAZIP_INCLUDE}
- LIBS += $${QUAZIP_LIB}
+ message(System QuaZip)
+ CONFIG += link_pkgconfig
+ PKGCONFIG += quazip1-qt5
}
include(src/pdfviewer/pdfviewer.pri)
--
2.30.2

View File

@@ -0,0 +1,75 @@
From 0bad7efb0d1ce81edb42bf0193f311c67c780862 Mon Sep 17 00:00:00 2001
From: begasus <begasus@gmail.com>
Date: Sat, 30 Oct 2021 14:02:31 +0000
Subject: Fix build with QuaZip-1.0
diff --git a/texstudio.pro b/texstudio.pro
index 05831aa..60d8798 100644
--- a/texstudio.pro
+++ b/texstudio.pro
@@ -381,11 +381,9 @@ include(src/symbolpanel/symbolpanel.pri)
isEmpty(USE_SYSTEM_QUAZIP) {
include(src/quazip/quazip/quazip.pri)
} else {
- message(System quazip5)
- isEmpty(QUAZIP_LIB): QUAZIP_LIB = -lquazip5
- isEmpty(QUAZIP_INCLUDE): QUAZIP_INCLUDE = $${PREFIX}/include/quazip5
- INCLUDEPATH += $${QUAZIP_INCLUDE}
- LIBS += $${QUAZIP_LIB}
+ message(System QuaZip)
+ CONFIG += link_pkgconfig
+ PKGCONFIG += quazip1-qt5
}
include(src/pdfviewer/pdfviewer.pri)
--
2.30.2
From 46d2c521a2a8fcdd71878778026fe2d91f9926b2 Mon Sep 17 00:00:00 2001
From: begasus <begasus@gmail.com>
Date: Sun, 30 Jan 2022 08:27:46 +0000
Subject: Don't include xkb for Haiku
diff --git a/texstudio.pro b/texstudio.pro
index 60d8798..4ba9ed1 100644
--- a/texstudio.pro
+++ b/texstudio.pro
@@ -196,7 +196,9 @@ unix:!macx {
}
INSTALLS += applicationmenu
INSTALLS += icon
+!haiku {
include(src/xkb/xkb.pri)
+ }
}
# ##########UNIX + MACX###############
--
2.30.2
From f80b194fe346aaeed460836dcdf24afeeac61964 Mon Sep 17 00:00:00 2001
From: begasus <begasus@gmail.com>
Date: Sun, 30 Jan 2022 14:32:02 +0000
Subject: Don't define WS_X11 for Haiku
diff --git a/src/bidiextender.cpp b/src/bidiextender.cpp
index 0e3794e..9dd55e1 100644
--- a/src/bidiextender.cpp
+++ b/src/bidiextender.cpp
@@ -4,7 +4,7 @@
//mostly taken from biditexmaker
-#if defined( Q_OS_LINUX ) || ( defined( Q_OS_UNIX ) && !defined( Q_OS_MAC ) )
+#if defined( Q_OS_LINUX ) || ( defined( Q_OS_UNIX ) && !defined( Q_OS_MAC ) && !defined( Q_OS_HAIKU ) )
#define WS_X11
#endif
--
2.30.2

View File

@@ -4,11 +4,11 @@ LaTeX documents. Our goal is to make writing LaTeX as easy and comfortable as \
possible. Therefore TeXstudio has numerous features like syntax-highlighting, \
integrated viewer, reference checking and various assistants. "
HOMEPAGE="https://www.texstudio.org/"
COPYRIGHT="2009-2021 Benito van der Zander"
COPYRIGHT="2009-2022 Benito van der Zander"
LICENSE="GNU GPL v3"
REVISION="1"
SOURCE_URI="https://github.com/texstudio-org/texstudio/archive/$portVersion.tar.gz"
CHECKSUM_SHA256="f1d4cb04e90b8970b5d8d7617a8b483d3d59684161f7b21730f97336c507c6c9"
CHECKSUM_SHA256="cac3842c06189745963ef9197373c9c2cbd6cd03cfa4148f0d55d252ad84b7f3"
SOURCE_FILENAME="texstudio-$portVersion.tar.gz"
PATCHES="texstudio-$portVersion.patchset"
ADDITIONAL_FILES="texstudio.rdef.in"
@@ -36,7 +36,6 @@ REQUIRES="
lib:libQt5Widgets$secondaryArchSuffix
lib:libQt5Xml$secondaryArchSuffix
lib:libquazip1_qt5$secondaryArchSuffix
lib:libX11$secondaryArchSuffix
lib:libz$secondaryArchSuffix
"
@@ -55,7 +54,6 @@ BUILD_REQUIRES="
devel:libQt5Widgets$secondaryArchSuffix
devel:libQt5Xml$secondaryArchSuffix
devel:libquazip1_qt5$secondaryArchSuffix
devel:libX11$secondaryArchSuffix
devel:libz$secondaryArchSuffix
"
BUILD_PREREQUIRES="