Sophie

Sophie

distrib > Mageia > 7 > i586 > media > core-release-src > by-pkgid > 32b883c05f0bafa18199766c1b5377ed > files > 2

texmaker-5.0.3-3.mga7.src.rpm

diff -Nru a/texmakerapp.h b/texmakerapp.h
--- a/texmakerapp.h	2017-07-10 10:11:08.000000000 +0200
+++ b/texmakerapp.h	2017-08-14 20:05:53.947028136 +0200
@@ -15,7 +15,7 @@
 
 #include <QTranslator>
 #include "texmaker.h"
-#include "singleapp/qtsingleapplication.h"
+#include <QtSolutions/qtsingleapplication.h>
 
 class TexmakerApp : public QtSingleApplication
 {
diff -Nru a/texmaker.pro b/texmaker.pro
--- a/texmaker.pro	2017-08-13 15:20:49.000000000 +0200
+++ b/texmaker.pro	2017-08-14 20:08:00.339019607 +0200
@@ -21,6 +21,10 @@
 message("Qt>=5.7 is required.")
 }
 
+CONFIG	+= link_pkgconfig
+PKGCONFIG = hunspell
+
+CONFIG	+= qtsingleapplication
 
 CONFIG	+= qt hide_symbols warn_off rtti_off exceptions_off c++11 release
 CONFIG -= precompile_header
@@ -117,29 +121,6 @@
 	unicodeview.h \
 	svnhelper.h \
 	quickbeamerdialog.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/replist.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 \
@@ -502,22 +483,6 @@
 	unicodeview.cpp \
 	quickbeamerdialog.cpp \
 	svnhelper.cpp \
-	hunspell/affentry.cxx \
-	hunspell/affixmgr.cxx \
-	hunspell/csutil.cxx \
-	hunspell/dictmgr.cxx \
-	hunspell/hashmgr.cxx \
-	hunspell/hunspell.cxx \
-	hunspell/phonet.cxx \
-	hunspell/suggestmgr.cxx \
-	hunspell/utf_info.cxx \
-	hunspell/filemgr.cxx \
-	hunspell/replist.cxx \
-	hunspell/hunzip.cxx \
-	singleapp/qtlocalpeer.cpp \
-	singleapp/qtlockedfile.cpp \
-	singleapp/qtsingleapplication.cpp \
-	singleapp/qtsinglecoreapplication.cpp \
 	encodingprober/CharDistribution.cpp \
 	encodingprober/ChineseGroupProber.cpp \
 	encodingprober/JapaneseGroupProber.cpp \
@@ -1073,8 +1038,7 @@
 
 INSTALLS = target
 HEADERS	+= x11fontdialog.h 
-SOURCES	+= x11fontdialog.cpp \
-	  singleapp/qtlockedfile_unix.cpp
+SOURCES	+= x11fontdialog.cpp
 FORMS += x11fontdialog.ui
 
 utilities.files = doc/doc10.png \