Compare commits

..

102 Commits
f20 ... rawhide

Author SHA1 Message Date
hannes 3738ae5a3c Update to 4.3.1 2022-08-26 19:12:34 +02:00
hannes 83d9929c43 Update to 4.3.0 2022-08-08 07:06:45 +02:00
Fedora Release Engineering e031decb63 Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-23 10:22:18 +00:00
hannes 89505c159f Update to 4.2.3 2022-04-23 09:18:03 +02:00
Miro Hrončok 599d2e73d1 Rebuilt for quazip 1.3 2022-04-18 23:14:05 +02:00
hannes 53bb8e85c2 Update to 4.2.2 2022-02-20 09:14:19 +01:00
hannes ab6bbb328f Update to 4.2.2 2022-02-20 09:12:56 +01:00
hannes 36ca718f5e Merge branch 'rawhide' of ssh://pkgs.fedoraproject.org/rpms/texstudio into rawhide
fixed merge issue
2022-01-28 17:46:19 +01:00
hannes d4ae976cfb Update to 4.2.1 2022-01-28 17:43:56 +01:00
Fedora Release Engineering 71c21f8bfa - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-22 02:35:43 +00:00
hannes 6111aa6e80 Update to 4.2.0 2022-01-14 01:40:02 +01:00
Ian McInerney 4c19ae2bdc Rebuild due to qtermwidget soname bump. 2022-01-03 17:39:56 +00:00
hannes 0ea6268d42 Update to 4.0.4 2021-11-07 10:14:24 +01:00
hannes 931989d305 Update to 4.0.2 2021-10-23 08:54:44 +02:00
hannes d46762c285 Fixed appdata file name 2021-10-11 20:37:05 +02:00
hannes 189f3fb71a Update to 4.0.1 2021-10-11 20:07:11 +02:00
Christian Dersch f25de4a736 Use quazip-qt5, fix include and linker variables for quazip5 2021-09-29 21:17:29 +02:00
hannes 01a2908304 Fixed quazip dependency 2021-09-27 08:37:59 +02:00
hannes f275022bc0 Update to 4.0.0 2021-09-27 07:50:13 +02:00
Björn Esser a4c639b880
Rebuild (quazip)
Signed-off-by: Björn Esser <besser82@fedoraproject.org>
2021-08-19 12:39:12 +02:00
Fedora Release Engineering a0c98593f3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-23 19:09:22 +00:00
hannes 1bf9dca3a7 Update to 3.1.2 2021-05-20 18:39:24 +02:00
hannes 55c6cbd62a Update to 3.1.1 2021-02-22 19:52:46 +01:00
hannes e20e18eab8 Update to 3.1.0 2021-02-17 19:54:40 +01:00
hannes edd46a2733 Update to 3.0.5 2021-02-16 18:44:37 +01:00
Fedora Release Engineering 45acfb5b7b - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-27 21:51:23 +00:00
Tom Stellard 5d47cd8045 Add BuildRequires: make
https://fedoraproject.org/wiki/Changes/Remove_make_from_BuildRoot
2021-01-08 22:30:10 +00:00
hannes 8da6834d99 Fixed runtime requirement for new internal terminal 2021-01-03 17:21:43 +01:00
hannes 83e5586a43 Update to 3.0.4 2021-01-02 11:23:43 +01:00
hannes ae31234270 Update to 3.0.3 2021-01-02 10:50:22 +01:00
hannes a60bbb4174 Enabled internal terminal 2020-09-06 07:48:11 +02:00
hannes c7c227368e Update to 3.0.1 2020-09-02 07:54:18 +02:00
hannes e09cef907f Source upload 2020-08-25 21:39:13 +02:00
hannes 666b925ed2 Update to 3.0.0 2020-08-25 21:36:32 +02:00
Fedora Release Engineering 254f04e735 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-29 12:22:40 +00:00
Fedora Release Engineering 9ace10d4d8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-31 01:25:59 +00:00
hannes 06cd05b475 Merge branch 'master' of ssh://pkgs.fedoraproject.org/rpms/texstudio
fixed the spec file
2020-01-18 10:44:33 +01:00
hannes c5c7ab8832 Update to 2.12.22 2020-01-18 10:42:44 +01:00
Marek Kasik f91259250c Rebuild for poppler-0.84.0 2020-01-17 12:30:04 +01:00
hannes 96df6a76f4 Update to 2.12.20 2020-01-14 07:17:14 +01:00
hannes 37b9511a44 Source update 2019-12-26 12:01:50 +01:00
hannes e071c638a9 Update to 2.12.18 2019-12-26 11:58:53 +01:00
Fedora Release Engineering 39e080cd44 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-27 01:19:21 +00:00
hannes b4c6ebdc1f Update to 2.12.16 2019-06-07 17:53:30 +02:00
Fedora Release Engineering 9e9e584040 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-02-03 09:43:50 +00:00
Igor Gnatenko 799f87154c Remove obsolete Group tag
References: https://fedoraproject.org/wiki/Changes/Remove_Group_Tag
2019-01-28 20:24:52 +01:00
hannes 57f2533889 Update to 2.12.14 2018-12-03 20:14:15 +01:00
hannes 500b8b9b7b Update to 2.12.12 2018-11-26 20:14:23 +01:00
Fedora Release Engineering b88fdd5304 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-14 07:29:49 +00:00
hannes 733d404916 Source upload 2018-07-11 21:01:52 +02:00
hannes 677aeecdef Update to 2.12.10 2018-07-11 20:48:34 +02:00
Jason Tibbitts 0daae62276 Remove needless use of %defattr 2018-07-10 01:32:07 -05:00
hannes cee3b8a91e Fixing the tex-preview dependency 2018-05-17 07:47:19 +02:00
hannes eb15639b57 Fixing the texlive-dvipng dependency 2018-05-17 07:30:25 +02:00
hannes d113b31674 Fixed texlive dependencies 2018-05-16 18:27:28 +02:00
hannes cee3917d97 Merge branch 'master' of ssh://pkgs.fedoraproject.org/rpms/texstudio 2018-05-02 18:17:03 +02:00
hannes 6b610e1f38 Rebuild for f28 2018-05-02 18:15:37 +02:00
Marek Kasik 8e82e4d382 Rebuild for poppler-0.63.0 2018-03-23 15:30:31 +01:00
hannes 0f3e5edcae fixed the release tag 2018-02-20 14:09:34 +01:00
hannes d979b1854e Fixed the requirements for bug #1540362 2018-02-20 13:34:58 +01:00
hannes 4efe6e03f9 Merge branch 'master' of ssh://pkgs.fedoraproject.org/rpms/texstudio 2018-02-20 13:05:41 +01:00
hannes 4dcc51fa59 Fixed build and upstream URL 2018-02-20 13:04:19 +01:00
Igor Gnatenko 5b6f6cef88
Remove %clean section
None of currently supported distributions need that.
Last one was EL5 which is EOL for a while.

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-02-14 08:54:39 +01:00
Igor Gnatenko e913abaa83 Remove BuildRoot definition
None of currently supported distributions need that.
It was needed last for EL5 which is EOL now

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-02-14 00:43:31 +01:00
hannes e9f76f9674 Update to 2.12.8 2018-02-11 07:54:33 +01:00
Fedora Release Engineering ce6becf723 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-09 18:51:42 +00:00
Igor Gnatenko e7c3e4d37b Remove obsolete scriptlets
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-01-18 22:37:56 +01:00
Fedora Release Engineering c0555eca41 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild 2017-08-03 09:21:40 +00:00
hannes 674f3a8751 Update to 2.12.6 2017-07-26 06:48:55 +02:00
Fedora Release Engineering 9a0ea210a0 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_27_Mass_Rebuild 2017-05-15 21:01:21 +00:00
hannes 615c6dfaaf fixed patch 2017-03-28 08:50:11 +02:00
hannes c5119cd8b9 Update to 2.12.4 2017-03-28 08:16:25 +02:00
Fedora Release Engineering 9b4bb4d30e - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild 2017-02-11 15:51:36 +00:00
hannes 46f9130f23 Fixed patch for 2.12.2 2017-01-25 21:41:45 +01:00
hannes 3721547e4e Complete removal of patch to fix the command detection 2017-01-25 07:39:41 +01:00
hannes 044a916e40 fixed date in changelog 2017-01-25 07:33:43 +01:00
hannes 4feba66e7c Update to 2.12.2 2017-01-25 07:31:25 +01:00
Christian Dersch 352621b470 Added patch to fix command detection 2017-01-20 10:05:36 +01:00
hannes 28996e68e6 Update to 2.12.0 2017-01-07 10:09:40 +01:00
Caolán McNamara b8dca2b6b3 rebuild for hunspell 1.5.4 2016-12-13 15:04:27 +00:00
Christian Dersch 8a19fa3645 rebuilt 2016-12-09 20:26:34 +01:00
Christian Dersch 02100b8bba again: rebuilt for QT_VERSION fix 2016-12-09 08:49:22 +01:00
Christian Dersch 17486172da rebuilt against qt5-qtbase-5.7.1-6 fixing issues with QT_VERSION macros 2016-12-08 23:11:18 +01:00
Rex Dieter 030eb689a0 2.11.2-2
- support out-of-tree builds
- set USE_SYSTEM_HUNSPELL USE_SYSTEM_QUAZIP USE_SYSTEM_QTSINGLEAPPLICATION

various cleanup/improvements while working on f25+ FTBFS issues (unresolved)
2016-12-08 10:55:18 -06:00
hannes ca98411903 Update to 2.11.2 2016-10-12 12:28:46 +02:00
hannes 6041ab3b92 Update to 2.11.0 2016-05-30 22:04:29 +02:00
Fedora Release Engineering de5ab6c73f - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild 2016-02-05 01:31:55 +00:00
Rex Dieter ccb51a3641 use %qmake_qt5 to ensure proper build flags 2016-02-01 11:57:34 -06:00
hannes 37723c8f9d Update to 2.10.8 2016-01-24 09:17:18 +01:00
hannes 813e9863bd fixed badwords file 2016-01-13 07:13:23 +01:00
hannes 868e4ea1b8 removed installed file de.badWords 2016-01-12 23:09:01 +01:00
hannes ca7f4719c1 Update to 2.10.6 2016-01-12 22:54:17 +01:00
hannes d68720ad2b bumped release 2015-12-16 20:42:23 +01:00
hannes 9ac1652e2b Disabled update check 2015-12-16 20:39:58 +01:00
hannes 951f9a2cc4 Update to 2.10.4 2015-10-27 07:09:40 +01:00
hannes 69bc61d5da Update to bugfix release 1.10.2 2015-09-17 08:40:25 +02:00
hannes f7f8bf083f fixed typo 2015-09-16 09:22:00 +02:00
hannes c06419ce4a added patch to fix arm build 2015-09-15 07:01:42 +02:00
hannes 3db42289f6 Update to 2.10.0 2015-09-11 19:13:25 +02:00
Dennis Gilmore 4fc8e183ef - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild 2015-06-19 02:47:57 +00:00
hannes 29a1782a81 use system qtsingleapplication 2015-05-24 09:51:20 +02:00
hannes eca63e8d3b Switch to qt5 for building 2015-04-25 18:29:29 +02:00
8 changed files with 264 additions and 195 deletions

37
.gitignore vendored
View File

@ -17,3 +17,40 @@
/texstudio-2.9.0.tar.gz
/texstudio-2.9.2.tar.gz
/texstudio-2.9.4.tar.gz
/texstudio-2.10.0.tar.gz
/texstudio-2.10.2.tar.gz
/texstudio-2.10.4.tar.gz
/texstudio-2.10.6.tar.gz
/texstudio-2.10.8.tar.gz
/texstudio-2.11.0.tar.gz
/texstudio-2.11.2.tar.gz
/texstudio-2.12.0.tar.gz
/texstudio-2.12.2.tar.gz
/texstudio-2.12.4.tar.gz
/texstudio-2.12.6.tar.gz
/texstudio-2.12.8.tar.gz
/texstudio-2.12.10.tar.gz
/texstudio-2.12.12.tar.gz
/texstudio-2.12.14.tar.gz
/texstudio-2.12.16.tar.gz
/texstudio-2.12.18.tar.gz
/texstudio-2.12.20.tar.gz
/texstudio-2.12.22.tar.gz
/texstudio-3.0.0.tar.gz
/texstudio-3.0.1.tar.gz
/texstudio-3.0.3.tar.gz
/texstudio-3.0.4.tar.gz
/texstudio-3.0.5.tar.gz
/texstudio-3.1.0.tar.gz
/texstudio-3.1.1.tar.gz
/texstudio-3.1.2.tar.gz
/texstudio-4.0.0.tar.gz
/texstudio-4.0.1.tar.gz
/texstudio-4.0.2.tar.gz
/texstudio-4.0.4.tar.gz
/texstudio-4.2.0.tar.gz
/texstudio-4.2.1.tar.gz
/texstudio-4.2.2.tar.gz
/texstudio-4.2.3.tar.gz
/texstudio-4.3.0.tar.gz
/texstudio-4.3.1.tar.gz

View File

@ -1 +1 @@
398baea51cf9f9f15ab961da09efb263 texstudio-2.9.4.tar.gz
SHA512 (texstudio-4.3.1.tar.gz) = 6fc8717ed22e21947260d0af5c5b857f9b79476f28f400f9036134d9de2d9e11a605a871b6c8d520b366cb43f3fb61bb89c411e5c11aee1e87642e77fe1b0560

View File

@ -0,0 +1,50 @@
From 3d277f1e446343511177893102704da36582158f Mon Sep 17 00:00:00 2001
From: hannes <hannes@fedoraproject.org>
Date: Sat, 2 Jan 2021 10:23:12 +0100
Subject: [PATCH] Update fix
---
src/configdialog.ui | 6 ++++++
src/configmanager.cpp | 2 +-
2 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/src/configdialog.ui b/src/configdialog.ui
index 88710e9..12b38b0 100644
--- a/src/configdialog.ui
+++ b/src/configdialog.ui
@@ -590,6 +590,9 @@
<property name="value">
<number>7</number>
</property>
+ <property name="readOnly">
+ <bool>true</bool>
+ </property>
</widget>
</item>
<item row="0" column="0">
@@ -597,6 +600,9 @@
<property name="text">
<string>Automatically check every</string>
</property>
+ <property name="checkable">
+ <bool>false</bool>
+ </property>
</widget>
</item>
<item row="0" column="5">
diff --git a/src/configmanager.cpp b/src/configmanager.cpp
index 7e6effc..0193acc 100644
--- a/src/configmanager.cpp
+++ b/src/configmanager.cpp
@@ -489,7 +489,7 @@ ConfigManager::ConfigManager(QObject *parent): QObject (parent),
registerOption("Macros/RepositoryURL", &URLmacroRepository, "https://api.github.com/repos/texstudio-org/texstudio-macro/contents/", nullptr);
//updates
- registerOption("Update/AutoCheck", &autoUpdateCheck, true, &pseudoDialog->checkBoxAutoUpdateCheck);
+ registerOption("Update/AutoCheck", &autoUpdateCheck, false, &pseudoDialog->checkBoxAutoUpdateCheck);
registerOption("Update/UpdateLevel", &updateLevel, 0, &pseudoDialog->comboBoxUpdateLevel);
registerOption("Update/AutoCheckInvervalDays", &autoUpdateCheckIntervalDays, 7, &pseudoDialog->spinBoxAutoUpdateCheckIntervalDays);
registerOption("Update/LastCheck", &lastUpdateCheck, QDateTime());
--
2.29.2

View File

@ -1,36 +0,0 @@
From 7ac1dda09bf5241aca7c09af5fac5c173a6ea653 Mon Sep 17 00:00:00 2001
From: hannes <hannes@fedoraproject.org>
Date: Tue, 9 Sep 2014 20:27:22 +0200
Subject: [PATCH] hunspell_patch
---
texstudio.pro | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/texstudio.pro b/texstudio.pro
index 4f778dd..e125fef 100644
--- a/texstudio.pro
+++ b/texstudio.pro
@@ -466,7 +466,7 @@ unix {
}
DEFINES += HUNSPELL_STATIC
-include(hunspell/hunspell.pri)
+include(hunspell.pri)
include(qcodeedit/qcodeedit.pri)
@@ -672,4 +672,9 @@ else {
QMAKE_LFLAGS -= -Wl,-s
QMAKE_LFLAGS_RELEASE -= -Wl,-s
}
-
+# enable use of pkgconfig
+unix {
+ CONFIG += link_pkgconfig
+ # use system hunspell
+ PKGCONFIG += hunspell
+}
--
1.9.3

View File

@ -1,30 +1,28 @@
From 74c852ca1acfd5613bf45153c8ca9780c698241a Mon Sep 17 00:00:00 2001
From 67ef0d913ce3e830ba8c7ae6cba70869da7b048a Mon Sep 17 00:00:00 2001
From: hannes <hannes@fedoraproject.org>
Date: Tue, 9 Sep 2014 20:29:09 +0200
Subject: [PATCH 2/2] qtsingle
Date: Fri, 14 Jan 2022 01:20:28 +0100
Subject: [PATCH] qtsingle
---
texstudio.pro | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
texstudio.pro | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/texstudio.pro b/texstudio.pro
index e125fef..5f1e323 100644
index 05831aa..9c56c74 100644
--- a/texstudio.pro
+++ b/texstudio.pro
@@ -33,8 +33,6 @@ QT += \
}
DEFINES += PHONON
}
-contains($$list($$[QT_VERSION]), 4.3.*):message("qt 4.3.x")
-else:include(qtsingleapplication/qtsingleapplication.pri)
# ##############################
# precompile_header: PRECOMPILED_HEADER = mostQtHeaders.h
@@ -678,3 +676,5 @@ unix {
# use system hunspell
PKGCONFIG += hunspell
}
+#use system qtsingleapplication
+CONFIG += qtsingleapplication
@@ -105,7 +105,11 @@ versionGreaterOrEqual($$QT_VERSION, "6.0.0") {
}
}
-include(src/qtsingleapplication/qtsingleapplication.pri)
+isEmpty(USE_SYSTEM_QTSINGLEAPPLICATION){
+ include(qtsingleapplication/qtsingleapplication.pri)
+} else {
+ CONFIG += qtsingleapplication
+}
# ##############################
# precompile_header: PRECOMPILED_HEADER = mostQtHeaders.h
--
1.9.3
2.34.1

View File

@ -1,45 +0,0 @@
From e9b106503d9da08e33ba7ff1433d6c0deb3bafc2 Mon Sep 17 00:00:00 2001
From: hannes <hannes@fedoraproject.org>
Date: Fri, 20 Jun 2014 19:26:55 +0200
Subject: [PATCH 3/3] xdg
---
buildmanager.cpp | 18 +++---------------
1 file changed, 3 insertions(+), 15 deletions(-)
diff --git a/buildmanager.cpp b/buildmanager.cpp
index d4c8a83..a33a04b 100644
--- a/buildmanager.cpp
+++ b/buildmanager.cpp
@@ -826,25 +826,13 @@ QString getCommandLineGhostscript(){
// xdvi %.dvi -sourceposition @:%.tex
// kdvi "file:%.dvi#src:@ %.tex"
QString getCommandLineViewDvi(){
- switch (x11desktop_env()) {
- case 3: return "kdvi %.dvi > /dev/null";
- case 4: return "okular %.dvi > /dev/null";
- default:return "evince %.dvi > /dev/null";
- }
+ return "xdg-open %.dvi > /dev/null";
};
QString getCommandLineViewPs(){
- switch (x11desktop_env()) {
- case 3: return "kghostview %.ps > /dev/null";
- case 4: return "okular %.ps > /dev/null";
- default: return "evince %.ps > /dev/null";
- };
+ return "xdg-open %.ps > /dev/null";
}
QString getCommandLineViewPdfExternal(){
- switch (x11desktop_env()) {
- case 3: return "kpdf %.pdf > /dev/null";
- case 4: return "okular %.pdf > /dev/null";
- default: return "evince %.pdf > /dev/null";
- };
+ return "xdg-open %.pdf > /dev/null";
}
QString getCommandLineGhostscript(){ return ""; }
--
1.9.3

31
texstudio-wtf_flags.patch Normal file
View File

@ -0,0 +1,31 @@
From fe2a4f3166a22e002bbf7fb80802bbf96111340a Mon Sep 17 00:00:00 2001
From: hannes <hannes@fedoraproject.org>
Date: Fri, 14 Jan 2022 01:24:46 +0100
Subject: [PATCH 2/2] wtf
---
texstudio.pro | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/texstudio.pro b/texstudio.pro
index 9c56c74..9a0a6bc 100644
--- a/texstudio.pro
+++ b/texstudio.pro
@@ -443,12 +443,12 @@ exists(./.git) {
}
!win32-msvc*: {
- QMAKE_CXXFLAGS_DEBUG -= -O -O1 -O2 -O3
- QMAKE_CXXFLAGS_DEBUG += -Wall -Wextra -Wmissing-include-dirs -Wunknown-pragmas -Wundef -Wpointer-arith -Winline -O0 -Wno-deprecated-declarations
+# QMAKE_CXXFLAGS_DEBUG -= -O -O1 -O2 -O3
+# QMAKE_CXXFLAGS_DEBUG += -Wall -Wextra -Wmissing-include-dirs -Wunknown-pragmas -Wundef -Wpointer-arith -Winline -O0 -Wno-deprecated-declarations
QMAKE_CXXFLAGS += -fno-omit-frame-pointer
win32: QMAKE_CXXFLAGS += -fpermissive
- !win32:!haiku: QMAKE_LFLAGS += -rdynamic # option not supported by mingw and haiku
+# !win32:!haiku: QMAKE_LFLAGS += -rdynamic # option not supported by mingw and haiku
} else {
DEFINES += _CRT_SECURE_NO_WARNINGS
}
--
2.34.1

View File

@ -1,65 +1,84 @@
Name: texstudio
Version: 2.9.4
Version: 4.3.1
Release: 1%{?dist}
Summary: A feature-rich editor for LaTeX documents
Group: Applications/Publishing
# texstudio binary: GPLv3 due to static linkage of bundled qcodeedit
# texstudio data and image files: GPLv2+
License: GPLv2+ and GPLv3
URL: http://texstudio.sourceforge.net
URL: https://www.texstudio.org
Source0: http://downloads.sourceforge.net/texstudio/texstudio-%{version}.tar.gz
Source0: https://github.com/texstudio-org/texstudio#/archive/%{name}-%{version}.tar.gz
Source1: texstudio.desktop
Patch0: texstudio-use-system-hunspell-instead-of-bundled-one.patch
Patch1: texstudio-use-system-qtsingleapplication-instead-of-bundled-on.patch
Patch2: texstudio-viewers-use-xdg-open.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Patch2: texstudio-disable-update-check.patch
# don't muck with default build flags
Patch3: texstudio-wtf_flags.patch
BuildRequires: qt4-devel
BuildRequires: make
BuildRequires: qt5-qtbase-devel
BuildRequires: qt5-qtdeclarative-devel
BuildRequires: qt5-qttools-devel
BuildRequires: qt5-qttools-static
BuildRequires: qt5-qtsvg-devel
BuildRequires: qt5-qtscript-devel
BuildRequires: hunspell-devel
BuildRequires: desktop-file-utils
BuildRequires: gettext
BuildRequires: poppler-qt4-devel
BuildRequires: poppler-devel
BuildRequires: poppler-qt5-devel
BuildRequires: poppler-cpp-devel
BuildRequires: qtsingleapplication-devel
BuildRequires: qtsingleapplication-qt5-devel
BuildRequires: qtsinglecoreapplication-devel
BuildRequires: qtsinglecoreapplication-qt5-devel
BuildRequires: qtermwidget-devel
BuildRequires: quazip-qt5-devel
BuildRequires: zlib-devel
Requires: tex(latex)
Requires: tex(preview.sty)
Requires: tex-dvipng
Requires: qt5-qtsvg
Requires: qtermwidget
Provides: bundled(qcodeedit)
Provides: texmakerx = %{version}-%{release}
Obsoletes: texmakerx < 2.2-1
%description
TeXstudio, formerly known as TexmakerX is a fork of the
LaTeX IDE TexMaker and gives you an environment where you can
TeXstudio gives you an environment where you can
easily create and manage LaTeX documents.
It provides modern writing support, like interactive spell checking,
code folding and syntax highlighting.
code folding, syntax highlighting, integrated pdf viewer
and various assistants.
Also it serves as a starting point from where you can easily run
all necessary LaTeX tools.
Although TeXstudio has a lot of additional features,
it tries to be like an improved version of Texmaker,
so it keeps it look&feel.
%prep
%setup -q -n %{name}%{version}
%patch0 -p1 -b .hunspell
%setup -q -n %{name}-%{version}
%patch1 -p1 -b .qtsingle
%patch2 -p1 -b .xdg
%patch2 -p1 -b .update_check
%patch3 -p1 -b .wtf_flags
rm -rf {hunspell,qtsingleapplication}
rm -rf {hunspell,qtsingleapplication,quazip}
%build
export QTDIR=%{_libdir}/qt4
qmake-qt4 CONFIG-=debug \
mkdir %{_target_platform}
pushd %{_target_platform}
%{qmake_qt5} \
%ifnarch %{ix86} x86_64 %{arm}
NO_CRASH_HANDLER=1 \
%endif
texstudio.pro
make %{?_smp_mflags}
USE_SYSTEM_HUNSPELL=1 \
USE_SYSTEM_QTSINGLEAPPLICATION=1 \
INTERNAL_TERMINAL=1 \
USE_SYSTEM_QUAZIP=1 QUAZIP_LIB=-lquazip5 QUAZIP_INCLUDE=%{_includedir}/quazip5/ \
../texstudio.pro
popd
make %{?_smp_mflags} -C %{_target_platform}
%install
rm -rf $RPM_BUILD_ROOT
make install INSTALL_ROOT=$RPM_BUILD_ROOT
make install INSTALL_ROOT=$RPM_BUILD_ROOT -C %{_target_platform}
install -Dp -m 0644 utilities/texstudio16x16.png \
$RPM_BUILD_ROOT%{_datadir}/icons/hicolor/16x16/apps/texstudio.png
@ -82,27 +101,7 @@ rm -rf $RPM_BUILD_ROOT%{_datadir}/%{name}/qt_*.qm
mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications/
desktop-file-install --dir %{buildroot}%{_datadir}/applications %{SOURCE1}
%clean
rm -rf $RPM_BUILD_ROOT
%post
update-desktop-database &> /dev/null ||:
touch --no-create %{_datadir}/icons/hicolor
%postun
update-desktop-database &> /dev/null ||:
if [ $1 -eq 0 ] ; then
touch --no-create %{_datadir}/icons/hicolor &>/dev/null
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null ||:
fi
%posttrans
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null ||:
%files -f %{name}.lang
%defattr(-,root,root,-)
%{_bindir}/texstudio
%dir %{_datadir}/texstudio/
%{_datadir}/texstudio/*.png
@ -110,7 +109,7 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null ||:
%{_datadir}/texstudio/latex2e.*
%{_datadir}/texstudio/*.stopWords
%{_datadir}/texstudio/*.stopWords.level2
%{_datadir}/texstudio/de.badWords
%{_datadir}/texstudio/de_DE.badWords
%{_datadir}/texstudio/template_*.tex
%{_datadir}/texstudio/template_*.zip
%{_datadir}/texstudio/*.json
@ -118,73 +117,108 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null ||:
%{_datadir}/texstudio/th_*.dat
%{_datadir}/texstudio/usermanual_*.html
%{_datadir}/applications/texstudio.desktop
%{_datadir}/appdata/texstudio.appdata.xml
%{_datadir}/metainfo/texstudio.metainfo.xml
%{_datadir}/icons/hicolor/*/apps/*.png
%{_datadir}/icons/hicolor/*/apps/*.svg
%doc utilities/AUTHORS utilities/COPYING utilities/CHANGELOG.txt
%doc utilities/AUTHORS utilities/COPYING utilities/manual/CHANGELOG.txt
%changelog
* Tue Mar 24 2015 Johannes Lips <hannes@fedoraproject.org> 2.9.4-1
- Update to latest upstream version 2.9.4
* Fri Aug 26 2022 Johannes Lips <hannes@fedoraproject.org> 4.3.1-1
- Update to latest upstream release 4.3.1
* Mon Mar 23 2015 Johannes Lips <hannes@fedoraproject.org> 2.9.2-1
- Update to latest upstream version 2.9.2
* Mon Aug 08 2022 Johannes Lips <hannes@fedoraproject.org> 4.3.0-1
- Update to latest upstream release 4.3.0
* Mon Mar 09 2015 Johannes Lips <hannes@fedoraproject.org> 2.9.0-1
- Update to latest upstream version 2.9.0
- changelog cleaned up
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 4.2.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Sun Dec 07 2014 Johannes Lips <hannes@fedoraproject.org> 2.8.8-1
- Update to latest upstream version 2.8.8
* Sat Apr 23 2022 Johannes Lips <hannes@fedoraproject.org> 4.2.3-1
- Update to latest upstream release 4.2.3
* Tue Nov 04 2014 Johannes Lips <hannes@fedoraproject.org> 2.8.6-1
- Update to latest upstream version 2.8.6
* Mon Apr 18 2022 Miro Hrončok <mhroncok@redhat.com> - 4.2.2-2
- Rebuilt for quazip 1.3
* Tue Sep 09 2014 Johannes Lips <hannes@fedoraproject.org> 2.8.4-1
- Update to latest upstream version 2.8.4
* Sun Feb 20 2022 Johannes Lips <hannes@fedoraproject.org> 4.2.2-1
- Update to latest upstream release 4.2.2
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.8.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
* Fri Jan 28 2022 Johannes Lips <hannes@fedoraproject.org> 4.2.1-1
- Update to latest upstream release 4.2.1
* Sat Jul 26 2014 Johannes Lips <hannes@fedoraproject.org> 2.8.2-1
- Update to latest upstream version 2.8.2
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 4.2.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Fri Jun 20 2014 Johannes Lips <hannes@fedoraproject.org> 2.8.0-1
- Update to latest upstream version 2.8.0
* Fri Jan 14 2022 Johannes Lips <hannes@fedoraproject.org> 4.2.0-1
- Update to latest upstream release 4.2.0
* Wed Mar 19 2014 Johannes Lips <hannes@fedoraproject.org> 2.7.0-1
- Update to latest upstream version 2.7.0
* Mon Jan 03 2022 Ian McInerney <ian.s.mcinerney@ieee.org> 4.0.4-2
- Rebuild due to qtermwidget soname bump (fixes rhbz: 2036642)
* Sun Nov 03 2013 Johannes Lips <hannes@fedoraproject.org> 2.6.6-1
- Update to latest upstream version 2.6.6
* Sun Nov 07 2021 Johannes Lips <hannes@fedoraproject.org> 4.0.4-1
- Update to latest upstream release 4.0.4
* Sat Nov 02 2013 Johannes Lips <hannes@fedoraproject.org> 2.6.4-1
- Update to latest upstream version 2.6.4
* Sat Oct 23 2021 Johannes Lips <hannes@fedoraproject.org> 4.0.2-1
- Update to latest upstream release 4.0.2
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
* Mon Oct 11 2021 Johannes Lips <hannes@fedoraproject.org> 4.0.1-1
- Update to latest upstream release 4.0.1
* Tue Jul 16 2013 Johannes Lips <hannes@fedoraproject.org> 2.6.2-1
- Update to latest upstream version 2.6.2
* Wed Sep 29 2021 Christian Dersch <lupinix@mailbox.org> - 4.0.0-2
- Use quazip-qt5, fix include and linker variables for quazip5
* Sun Jun 16 2013 Johannes Lips <hannes@fedoraproject.org> 2.6.0-1
- Update to latest upstream version 2.6.0
* Sun Sep 26 2021 Johannes Lips <hannes@fedoraproject.org> 4.0.0-1
- Update to latest upstream release 4.0.0
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
* Thu Aug 19 2021 Björn Esser <besser82@fedoraproject.org> - 3.1.2-3
- Rebuild (quazip)
* Fri Jan 11 2013 Johannes Lips <hannes@fedoraproject.org> 2.5.2-1
- update to recent upstream version
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Thu Nov 22 2012 Johannes Lips <hannes@fedoraproject.org> 2.5.1-1
- update to recent upstream version
* Thu May 20 2021 Johannes Lips <hannes@fedoraproject.org> 3.1.2-1
- Update to latest upstream release 3.1.2
* Mon Oct 29 2012 Dan Horák <dan[at]danny.cz> 2.5-2
- disable internal crash handler on not supported arches
* Mon Feb 22 2021 Johannes Lips <hannes@fedoraproject.org> 3.1.1-1
- Update to latest upstream release 3.1.1
* Sat Oct 27 2012 Johannes Lips <hannes@fedoraproject.org> 2.5-1
- update to recent upstream version
* Wed Feb 17 2021 Johannes Lips <hannes@fedoraproject.org> 3.1.0-1
- Update to latest upstream release 3.1.0
* Sat Feb 18 2012 Johannes Lips <Johannes.Lips googlemail com> 2.3-2
- disabled the build of debug files
* Tue Feb 16 2021 Johannes Lips <hannes@fedoraproject.org> 3.0.5-1
- Update to latest upstream release 3.0.5
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.4-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Sun Jan 03 2021 Johannes Lips <hannes@fedoraproject.org> 3.0.4-2
- fixed runtime requirements for internal terminal
* Sat Jan 02 2021 Johannes Lips <hannes@fedoraproject.org> 3.0.4-1
- Update to latest upstream release 3.0.4
* Sun Sep 06 2020 Johannes Lips <hannes@fedoraproject.org> 3.0.1-2
- enabled internal terminal
* Wed Sep 02 2020 Johannes Lips <hannes@fedoraproject.org> 3.0.1-1
- Update to latest upstream release 3.0.1
* Tue Aug 25 2020 Johannes Lips <hannes@fedoraproject.org> 3.0.0-1
- Update to latest upstream release 3.0.0
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.12.22-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.12.22-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Sat Jan 18 2020 Johannes Lips <hannes@fedoraproject.org> 2.12.22-1
- Update to latest upstream bugfix release 2.12.22
* Fri Jan 17 2020 Marek Kasik <mkasik@redhat.com> 2.12.20-2
- Rebuild for poppler-0.84.0
* Tue Jan 14 2020 Johannes Lips <hannes@fedoraproject.org> 2.12.20-1
- Update to latest upstream bugfix release 2.12.20
* Thu Dec 26 2019 Johannes Lips <hannes@fedoraproject.org> 2.12.18-1
- Update to latest upstream bugfix release 2.12.18