Group :: Publishing
RPM: texmaker
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Patch: texmaker-5.1.0-unbundle-qtsingleapp.patch
Download
Download
--- texmaker.pro.orig 2021-08-14 10:46:49.679639165 -0400
+++ texmaker.pro 2021-08-14 10:48:47.547902861 -0400
@@ -28,9 +28,11 @@
}
-CONFIG += qt hide_symbols warn_off rtti_off exceptions_off c++11 release
+CONFIG += qt hide_symbols warn_off rtti_off exceptions_off c++11 release qtsingleapplication link_pkgconfig
CONFIG -= precompile_header
+PKGCONFIG += hunspell
+
gcc {
QMAKE_CXXFLAGS_WARN_ON += -Wno-unused-parameter
}
@@ -127,28 +129,6 @@
x11fontdialog.h \
quickbeamerdialog.h \
cmdparser.h \
- hunspell/affentry.hxx \
- hunspell/affixmgr.hxx \
- hunspell/atypes.hxx \
- hunspell/baseaffix.hxx \
- hunspell/csutil.hxx \
- hunspell/filemgr.hxx \
- hunspell/hashmgr.hxx \
- hunspell/htypes.hxx \
- hunspell/hunvisapi.h \
- hunspell/hunspell.h \
- hunspell/hunspell.hxx \
- hunspell/hunzip.hxx \
- hunspell/langnum.hxx \
- hunspell/phonet.hxx \
- hunspell/replist.hxx \
- hunspell/suggestmgr.hxx \
- hunspell/utf_info.hxx \
- hunspell/w_char.hxx \
- singleapp/qtlocalpeer.h \
- singleapp/qtlockedfile.h \
- singleapp/qtsingleapplication.h \
- singleapp/qtsinglecoreapplication.h \
encodingprober/CharDistribution.h \
encodingprober/ChineseGroupProber.h \
encodingprober/ctype_test_p.h \
@@ -567,20 +547,6 @@
svnhelper.cpp \
x11fontdialog.cpp \
cmdparser.cpp \
- hunspell/affentry.cxx \
- hunspell/affixmgr.cxx \
- hunspell/csutil.cxx \
- hunspell/filemgr.cxx \
- hunspell/hashmgr.cxx \
- hunspell/hunspell.cxx \
- hunspell/hunzip.cxx \
- hunspell/phonet.cxx \
- hunspell/replist.cxx \
- hunspell/suggestmgr.cxx \
- singleapp/qtlocalpeer.cpp \
- singleapp/qtlockedfile.cpp \
- singleapp/qtsingleapplication.cpp \
- singleapp/qtsinglecoreapplication.cpp \
encodingprober/CharDistribution.cpp \
encodingprober/ChineseGroupProber.cpp \
encodingprober/JapaneseGroupProber.cpp \
@@ -1166,7 +1132,6 @@
INSTALLS = target
-SOURCES += singleapp/qtlockedfile_unix.cpp
utilities.files = doc/doc10.png \
doc/doc11.png \
--- texmakerapp.h.orig 2021-08-14 10:49:06.254947107 -0400
+++ texmakerapp.h 2021-08-14 10:49:34.610014175 -0400
@@ -17,7 +17,7 @@
#include <QTranslator>
#include "texmaker.h"
-#include "singleapp/qtsingleapplication.h"
+#include <QtSolutions/qtsingleapplication.h>
class TexmakerApp : public QtSingleApplication
{