Compare commits
127 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
3738ae5a3c | ||
|
83d9929c43 | ||
|
e031decb63 | ||
|
89505c159f | ||
|
599d2e73d1 | ||
|
53bb8e85c2 | ||
|
ab6bbb328f | ||
|
36ca718f5e | ||
|
d4ae976cfb | ||
|
71c21f8bfa | ||
|
6111aa6e80 | ||
|
4c19ae2bdc | ||
|
0ea6268d42 | ||
|
931989d305 | ||
|
d46762c285 | ||
|
189f3fb71a | ||
|
f25de4a736 | ||
|
01a2908304 | ||
|
f275022bc0 | ||
|
a4c639b880 | ||
|
a0c98593f3 | ||
|
1bf9dca3a7 | ||
|
55c6cbd62a | ||
|
e20e18eab8 | ||
|
edd46a2733 | ||
|
45acfb5b7b | ||
|
5d47cd8045 | ||
|
8da6834d99 | ||
|
83e5586a43 | ||
|
ae31234270 | ||
|
a60bbb4174 | ||
|
c7c227368e | ||
|
e09cef907f | ||
|
666b925ed2 | ||
|
254f04e735 | ||
|
9ace10d4d8 | ||
|
06cd05b475 | ||
|
c5c7ab8832 | ||
|
f91259250c | ||
|
96df6a76f4 | ||
|
37b9511a44 | ||
|
e071c638a9 | ||
|
39e080cd44 | ||
|
b4c6ebdc1f | ||
|
9e9e584040 | ||
|
799f87154c | ||
|
57f2533889 | ||
|
500b8b9b7b | ||
|
b88fdd5304 | ||
|
733d404916 | ||
|
677aeecdef | ||
|
0daae62276 | ||
|
cee3b8a91e | ||
|
eb15639b57 | ||
|
d113b31674 | ||
|
cee3917d97 | ||
|
6b610e1f38 | ||
|
8e82e4d382 | ||
|
0f3e5edcae | ||
|
d979b1854e | ||
|
4efe6e03f9 | ||
|
4dcc51fa59 | ||
|
5b6f6cef88 | ||
|
e913abaa83 | ||
|
e9f76f9674 | ||
|
ce6becf723 | ||
|
e7c3e4d37b | ||
|
c0555eca41 | ||
|
674f3a8751 | ||
|
9a0ea210a0 | ||
|
615c6dfaaf | ||
|
c5119cd8b9 | ||
|
9b4bb4d30e | ||
|
46f9130f23 | ||
|
3721547e4e | ||
|
044a916e40 | ||
|
4feba66e7c | ||
|
352621b470 | ||
|
28996e68e6 | ||
|
b8dca2b6b3 | ||
|
8a19fa3645 | ||
|
02100b8bba | ||
|
17486172da | ||
|
030eb689a0 | ||
|
ca98411903 | ||
|
6041ab3b92 | ||
|
de5ab6c73f | ||
|
ccb51a3641 | ||
|
37723c8f9d | ||
|
813e9863bd | ||
|
868e4ea1b8 | ||
|
ca7f4719c1 | ||
|
d68720ad2b | ||
|
9ac1652e2b | ||
|
951f9a2cc4 | ||
|
69bc61d5da | ||
|
f7f8bf083f | ||
|
c06419ce4a | ||
|
3db42289f6 | ||
|
4fc8e183ef | ||
|
29a1782a81 | ||
|
eca63e8d3b | ||
|
d323f06bbf | ||
|
b75f4770ad | ||
|
03c5b7873e | ||
|
8d73c85ae8 | ||
|
9dfb8a278c | ||
|
acd22db6d6 | ||
|
867508c074 | ||
|
f6e71dd37c | ||
|
8b295ade13 | ||
|
06c6771c32 | ||
|
3c059165fc | ||
|
80d90458fe | ||
|
c7444ed6d8 | ||
|
9e2fe2dd92 | ||
|
df79cf6f8a | ||
|
1ae5be2044 | ||
|
4c19c3c62c | ||
|
5a2e9bcba6 | ||
|
ccd6cf086b | ||
|
33d44b1c73 | ||
|
b28dd2713f | ||
|
0b84254906 | ||
|
799900ce46 | ||
|
eabaaa23b3 | ||
|
88047a2c55 |
50
.gitignore
vendored
50
.gitignore
vendored
@ -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
|
||||
|
2
sources
2
sources
@ -1 +1 @@
|
||||
fce221c9df49e82cfb5b8d7c702c4076 texstudio-2.5.2.tar.gz
|
||||
SHA512 (texstudio-4.3.1.tar.gz) = 6fc8717ed22e21947260d0af5c5b857f9b79476f28f400f9036134d9de2d9e11a605a871b6c8d520b366cb43f3fb61bb89c411e5c11aee1e87642e77fe1b0560
|
||||
|
50
texstudio-disable-update-check.patch
Normal file
50
texstudio-disable-update-check.patch
Normal 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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
31
texstudio-wtf_flags.patch
Normal 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
|
@ -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
|
||||
|
238
texstudio.spec
238
texstudio.spec
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user