Compare commits

...

127 Commits
f17 ... 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
hannes d323f06bbf Update to 2.9.4 2015-03-24 18:02:42 +01:00
hannes b75f4770ad Update to 2.9.2 2015-03-23 20:29:22 +01:00
hannes 03c5b7873e Merge branch 'master' of ssh://pkgs.fedoraproject.org/texstudio
update to 2.9.2
2015-03-23 20:28:43 +01:00
hannes 8d73c85ae8 Update to 2.9.2
Update to 2.9.2
2015-03-23 20:27:57 +01:00
hannes 9dfb8a278c Update to 2.9.2 2015-03-23 07:56:22 +01:00
hannes acd22db6d6 Update to 2.9.0 2015-03-09 21:28:45 +01:00
hannes 867508c074 Fix for #bug 1167048 2015-01-20 19:42:43 +01:00
hannes f6e71dd37c Update to 2.8.8 2014-12-07 10:00:02 +01:00
hannes 8b295ade13 Update to 2.8.6 2014-11-04 19:28:59 +01:00
hannes 06c6771c32 fixed the typo 2014-09-09 21:12:42 +02:00
hannes 3c059165fc Update to 2.8.4 2014-09-09 21:11:27 +02:00
Peter Robinson 80d90458fe - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild 2014-08-18 05:32:04 +00:00
hannes c7444ed6d8 Changed path of svg icon 2014-07-26 17:36:14 +02:00
hannes 9e2fe2dd92 Update to 2.8.2 2014-07-26 17:06:45 +02:00
hannes df79cf6f8a Update to 2.8.0 2014-06-20 19:40:50 +02:00
Dennis Gilmore 1ae5be2044 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild 2014-06-08 03:25:57 -05:00
hannes 4c19c3c62c Update to 2.7.0 2014-03-22 19:10:08 +01:00
hannes 5a2e9bcba6 Source file upload 2013-11-04 20:58:35 +01:00
hannes ccd6cf086b Update to 2.6.6 2013-11-04 20:51:30 +01:00
hannes 33d44b1c73 Update to version 2.6.4 2013-11-02 07:44:06 +00:00
Dennis Gilmore b28dd2713f - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild 2013-08-03 22:49:54 -05:00
hannes 0b84254906 Update to 2.6.2 2013-07-16 18:31:47 +02:00
hannes 799900ce46 fix patch command 2013-06-16 11:01:57 +02:00
hannes eabaaa23b3 Update to 2.6.0 2013-06-16 10:51:04 +02:00
Dennis Gilmore 88047a2c55 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild 2013-02-14 19:33:20 -06:00
9 changed files with 279 additions and 277 deletions

50
.gitignore vendored
View File

@ -4,3 +4,53 @@
/texstudio-2.5.tar.gz
/texstudio-2.5.1.orig.tar.gz
/texstudio-2.5.2.tar.gz
/texstudio-2.6.0.tar.gz
/texstudio-2.6.2.tar.gz
/texstudio-2.6.4.tar.gz
/texstudio-2.6.6.tar.gz
/texstudio-2.7.0.tar.gz
/texstudio-2.8.0.tar.gz
/texstudio-2.8.2.tar.gz
/texstudio-2.8.4.tar.gz
/texstudio-2.8.6.tar.gz
/texstudio-2.8.8.tar.gz
/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 @@
fce221c9df49e82cfb5b8d7c702c4076 texstudio-2.5.2.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,93 +0,0 @@
From 48b3ef523393bf584ad92910fa6173f33f4bc0f3 Mon Sep 17 00:00:00 2001
From: hannes <hannes@fedoraproject.org>
Date: Sun, 9 Sep 2012 09:26:47 +0200
Subject: [PATCH] hunspell
---
spellerutility.h | 2 +-
texstudio.pro | 38 ++++++--------------------------------
2 files changed, 7 insertions(+), 33 deletions(-)
diff --git a/spellerutility.h b/spellerutility.h
index 1e1d6e2..083f412 100644
--- spellerutility.h
+++ spellerutility.h
@@ -13,7 +13,7 @@
#include "mostQtHeaders.h"
-#include "hunspell/hunspell.hxx"
+#include <hunspell.hxx>
class SpellerUtility: public QObject {
Q_OBJECT
public:
diff --git texstudio.pro texstudio.pro
index ee28d78..86d8f45 100644
--- texstudio.pro
+++ texstudio.pro
@@ -52,24 +52,6 @@ HEADERS += texmaker.h \
debughelper.h \
thesaurusdialog.h \
xmltagslistwidget.h \
- hunspell/affentry.hxx \
- hunspell/affixmgr.hxx \
- hunspell/atypes.hxx \
- hunspell/baseaffix.hxx \
- hunspell/csutil.hxx \
- hunspell/dictmgr.hxx \
- hunspell/hashmgr.hxx \
- hunspell/htypes.hxx \
- hunspell/hunspell.hxx \
- hunspell/hunspell.h \
- hunspell/langnum.hxx \
- hunspell/license.hunspell \
- hunspell/phonet.hxx \
- hunspell/suggestmgr.hxx \
- hunspell/license.myspell \
- hunspell/filemgr.hxx \
- hunspell/hunzip.hxx \
- hunspell/w_char.hxx \
qcodeedit/lib/qeditorinputbinding.h \
qcodeedit/lib/qeditorinputbindinginterface.h \
randomtextgenerator.h \
@@ -85,7 +67,6 @@ HEADERS += texmaker.h \
latexdocument.h \
unicodeinsertion.h \
universalinputdialog.h \
- hunspell/replist.hxx \
scriptengine.h \
insertgraphics.h \
txstabwidget.h \
@@ -154,18 +135,6 @@ SOURCES += main.cpp \
codesnippet.cpp \
thesaurusdialog.cpp \
xmltagslistwidget.cpp \
- hunspell/affentry.cxx \
- hunspell/affixmgr.cxx \
- hunspell/csutil.cxx \
- hunspell/dictmgr.cxx \
- hunspell/hashmgr.cxx \
- hunspell/hunspell.cxx \
- hunspell/phonet.cxx \
- hunspell/replist.cxx \
- hunspell/suggestmgr.cxx \
- hunspell/utf_info.cxx \
- hunspell/filemgr.cxx \
- hunspell/hunzip.cxx \
encodingdialog.cpp \
qcodeedit/lib/qeditorinputbinding.cpp \
randomtextgenerator.cpp \
@@ -569,4 +538,9 @@ SOURCES+=synctex_parser_utils.c synctex_parser.c
#QMAKE_CXXFLAGS_DEBUG += -Werror -Wall -Wextra -Winit-self -Wmain -Wmissing-include-dirs -Wtrigraphs -Wunused -Wunknown-pragmas -Wundef -Wpointer-arith -Wtype-limits -Wwrite-strings -Wclobbered -Wempty-body -Wsign-compare -Waddress -Wlogical-op -Winline
QMAKE_CXXFLAGS_DEBUG += -Wall -Wextra -Winit-self -Wmissing-include-dirs -Wtrigraphs -Wunused -Wunknown-pragmas -Wundef -Wpointer-arith -Wwrite-strings -Wempty-body -Wsign-compare -Waddress -Winline
-
+# enable use of pkgconfig
+unix {
+ CONFIG += link_pkgconfig
+ # use system hunspell
+ PKGCONFIG += hunspell
+}
--
1.7.11.4

View File

@ -1,32 +1,28 @@
From 7005c1602c40064fb9ef9f5a2fa0c0f0f243a320 Mon Sep 17 00:00:00 2001
From 67ef0d913ce3e830ba8c7ae6cba70869da7b048a Mon Sep 17 00:00:00 2001
From: hannes <hannes@fedoraproject.org>
Date: Wed, 30 Nov 2011 21:21:49 +0000
Subject: [PATCH 2/2] qtsingle
Date: Fri, 14 Jan 2022 01:20:28 +0100
Subject: [PATCH] qtsingle
---
texstudio.pro | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
texstudio.pro | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/texstudio.pro b/texstudio.pro
index c5b5ec6..68f36ca 100644
--- texstudio.pro
+++ texstudio.pro
@@ -10,8 +10,6 @@ QT += network \
QT += phonon
DEFINES += PHONON
}
-contains($$list($$[QT_VERSION]), 4.3.*):message("qt 4.3.x")
-else:include(qtsingleapplication/qtsingleapplication.pri)
# ##############################
PRECOMPILED_HEADER = mostQtHeaders.h
@@ -514,3 +512,6 @@ unix {
# use system hunspell
PKGCONFIG += hunspell
}
+
+#use system qtsingleapplication
+CONFIG += qtsingleapplication
index 05831aa..9c56c74 100644
--- a/texstudio.pro
+++ b/texstudio.pro
@@ -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.7.7.3
2.34.1

View File

@ -1,42 +0,0 @@
From f9a633402c81b7c252e33c0d9386ba4b48fcde7c Mon Sep 17 00:00:00 2001
From: hannes <hannes@fedoraproject.org>
Date: Sun, 9 Sep 2012 10:56:06 +0200
Subject: [PATCH] viewer
---
buildmanager.cpp | 18 +++---------------
1 file changed, 3 insertions(+), 15 deletions(-)
diff --git buildmanager.cpp buildmanager.cpp
index ac7027a..ac913d0 100644
--- buildmanager.cpp
+++ buildmanager.cpp
@@ -762,25 +762,13 @@
// 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 ""; }

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,7 +1,7 @@
[Desktop Entry]
Categories=Office;Publishing;Qt;X-SuSE-Core-Office;X-Mandriva-Office-Publishing;X-Misc;
Exec=texstudio
Exec=texstudio %F
GenericName=LaTeX Editor
GenericName[fr]=Editeur LaTeX
Comment=LaTeX development environment

View File

@ -1,65 +1,84 @@
Name: texstudio
Version: 2.5.2
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 -p0 -b .hunspell
%patch1 -p0 -b .qtsingle
%patch2 -p0 -b .xdg
%setup -q -n %{name}-%{version}
%patch1 -p1 -b .qtsingle
%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,133 +101,124 @@ 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
%{_datadir}/texstudio/latexhelp.html
%{_datadir}/texstudio/usermanual.css
%{_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/texstudio.svg
%{_datadir}/texstudio/template_*.zip
%{_datadir}/texstudio/*.json
%{_datadir}/texstudio/*.js
%{_datadir}/texstudio/th_*.dat
%{_datadir}/texstudio/usermanual_*.html
%{_datadir}/applications/texstudio.desktop
%{_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
* Fri Jan 11 2013 Johannes Lips <hannes@fedoraproject.org> 2.5.2-1
- update to recent upstream version
* Fri Aug 26 2022 Johannes Lips <hannes@fedoraproject.org> 4.3.1-1
- Update to latest upstream release 4.3.1
* Thu Nov 22 2012 Johannes Lips <hannes@fedoraproject.org> 2.5.1-1
- update to recent upstream version
* Mon Aug 08 2022 Johannes Lips <hannes@fedoraproject.org> 4.3.0-1
- Update to latest upstream release 4.3.0
* Mon Oct 29 2012 Dan Horák <dan[at]danny.cz> 2.5-2
- disable internal crash handler on not supported arches
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 4.2.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Sat Oct 27 2012 Johannes Lips <hannes@fedoraproject.org> 2.5-1
- update to recent upstream version
* Sat Apr 23 2022 Johannes Lips <hannes@fedoraproject.org> 4.2.3-1
- Update to latest upstream release 4.2.3
* Sat Feb 18 2012 Johannes Lips <Johannes.Lips googlemail com> 2.3-2
- disabled the build of debug files
* Mon Apr 18 2022 Miro Hrončok <mhroncok@redhat.com> - 4.2.2-2
- Rebuilt for quazip 1.3
* Thu Feb 09 2012 Johannes Lips <Johannes.Lips googlemail com> 2.3-1
- update to recent upstream version
- patch to fix gcc 4.7 build failure
* Sun Feb 20 2022 Johannes Lips <hannes@fedoraproject.org> 4.2.2-1
- Update to latest upstream release 4.2.2
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
* Fri Jan 28 2022 Johannes Lips <hannes@fedoraproject.org> 4.2.1-1
- Update to latest upstream release 4.2.1
* Mon Sep 19 2011 Marek Kasik <mkasik@redhat.com> - 2.2-8
- Rebuild (poppler-0.17.3)
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 4.2.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Sat Aug 13 2011 Johannes Lips <Johannes.Lips googlemail com> 2.2-7
- minor changes to the .desktop file
- fixed the ownership of the texstudio folder
- fixed the find_lang macro
- fixed minor problems with the installation of documentation files
* Fri Jan 14 2022 Johannes Lips <hannes@fedoraproject.org> 4.2.0-1
- Update to latest upstream release 4.2.0
* Sat Aug 13 2011 Johannes Lips <Johannes.Lips googlemail com> 2.2-6
- added a .desktop file to prevent problems with the one provided by upstream
* Mon Jan 03 2022 Ian McInerney <ian.s.mcinerney@ieee.org> 4.0.4-2
- Rebuild due to qtermwidget soname bump (fixes rhbz: 2036642)
* Fri Aug 12 2011 Johannes Lips <Johannes.Lips googlemail com> 2.2-5
- fixed the wrong paths in the rm statements
- fixed the TeXstudio spelling in the description
- added the %find_lang macro to install the language files and gettext as BR
- removed the unneeded and unmodified qt_*.mq
- listed all files in /usr/share/texstudio separately
* Sun Nov 07 2021 Johannes Lips <hannes@fedoraproject.org> 4.0.4-1
- Update to latest upstream release 4.0.4
* Sat Oct 23 2021 Johannes Lips <hannes@fedoraproject.org> 4.0.2-1
- Update to latest upstream release 4.0.2
* Wed Aug 10 2011 Johannes Lips <Johannes.Lips googlemail com> 2.2-4
- added the provides for qcodeedit after the exception was granted
* Mon Oct 11 2021 Johannes Lips <hannes@fedoraproject.org> 4.0.1-1
- Update to latest upstream release 4.0.1
* Fri Jul 29 2011 Johannes Lips <Johannes.Lips googlemail com> 2.2-3
- removed the bundled source files in the prep section
- added a comment to clarify the licensing
- added tex(latex) instead of texlive-latex
- removal of the dic files instead of excluding them
* Wed Sep 29 2021 Christian Dersch <lupinix@mailbox.org> - 4.0.0-2
- Use quazip-qt5, fix include and linker variables for quazip5
* Thu Jul 28 2011 Johannes Lips <Johannes.Lips googlemail com> 2.2-2
- removed the gcc-objc++ build requirement
- added patches to remove the bundled libraries (hunspell and qtsingleapplication)
* Sun Sep 26 2021 Johannes Lips <hannes@fedoraproject.org> 4.0.0-1
- Update to latest upstream release 4.0.0
* Fri Jul 22 2011 Johannes Lips <Johannes.Lips googlemail com> 2.2-1
- renamed to Texstudio
- update to a recent upstream version
- update all parts of the spec to reflect the naming changes
* Thu Aug 19 2021 Björn Esser <besser82@fedoraproject.org> - 3.1.2-3
- Rebuild (quazip)
* Thu Mar 17 2011 Johannes Lips <Johannes.Lips googlemail com> 2.1.0-0.1.svn20110317
- Update to a recent svn checkout
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Mon Nov 01 2010 Johannes Lips <Johannes.Lips googlemail com> 2.0.0-0.1
- Update to a recent svn checkout
- added several other build requirements
* Thu May 20 2021 Johannes Lips <hannes@fedoraproject.org> 3.1.2-1
- Update to latest upstream release 3.1.2
* Sat Aug 28 2010 Johannes Lips <Johannes.Lips googlemail com> 1.9.9a-3
- Bump release
* Mon Feb 22 2021 Johannes Lips <hannes@fedoraproject.org> 3.1.1-1
- Update to latest upstream release 3.1.1
* Tue Aug 10 2010 Johannes Lips <Johannes.Lips googlemail com> 1.9.9a-2
- removed the patch snippet
- added another summary entry
* Wed Feb 17 2021 Johannes Lips <hannes@fedoraproject.org> 3.1.0-1
- Update to latest upstream release 3.1.0
* Thu Jul 22 2010 Johannes Lips <Johannes.Lips googlemail com> 1.9.9a-1
- Updated to the recent upstream version
* Tue Feb 16 2021 Johannes Lips <hannes@fedoraproject.org> 3.0.5-1
- Update to latest upstream release 3.0.5
* Fri May 21 2010 Johannes Lips <Johannes.Lips googlemail com> 1.9.9-2
- Fixed some minor glitches
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.4-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Sat May 08 2010 Johannes Lips <Johannes.Lips googlemail com> 1.9.9-1
- Updated to version 1.9.9
* Sun Jan 03 2021 Johannes Lips <hannes@fedoraproject.org> 3.0.4-2
- fixed runtime requirements for internal terminal
* Tue Apr 20 2010 Johannes Lips <Johannes.Lips googlemail com> 1.9.3-1
- Updated to recent version
* Sat Jan 02 2021 Johannes Lips <hannes@fedoraproject.org> 3.0.4-1
- Update to latest upstream release 3.0.4
* Thu Nov 12 2009 Jochen Schmitt <Jochen herr-schmitt de> 1.9.2-1
- Initial package
* 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