public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in app-office/texstudio/files: texstudio-2.6.0-hunspell-quazip.patch texstudio-2.6.0-desktop.patch
@ 2013-06-26 13:51 Justin Lecher (jlec)
  0 siblings, 0 replies; only message in thread
From: Justin Lecher (jlec) @ 2013-06-26 13:51 UTC (permalink / raw
  To: gentoo-commits

jlec        13/06/26 13:51:59

  Added:                texstudio-2.6.0-hunspell-quazip.patch
                        texstudio-2.6.0-desktop.patch
  Log:
  app-office/texstudio: Version BUmp, #474428
  
  (Portage version: 2.2.0_alpha184/cvs/Linux x86_64, signed Manifest commit with key 8009D6F070EB7916)

Revision  Changes    Path
1.1                  app-office/texstudio/files/texstudio-2.6.0-hunspell-quazip.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/texstudio/files/texstudio-2.6.0-hunspell-quazip.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/texstudio/files/texstudio-2.6.0-hunspell-quazip.patch?rev=1.1&content-type=text/plain

Index: texstudio-2.6.0-hunspell-quazip.patch
===================================================================
 spellerutility.h |  2 +-
 texstudio.pro    | 45 ++++++++++++---------------------------------
 2 files changed, 13 insertions(+), 34 deletions(-)

diff --git a/spellerutility.h b/spellerutility.h
index 7e1b980..b0bc8b8 100644
--- a/spellerutility.h
+++ b/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 a/texstudio.pro b/texstudio.pro
index b073255..3d4ee64 100644
--- a/texstudio.pro
+++ b/texstudio.pro
@@ -53,25 +53,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 \
-    hunspell/replist.hxx \
     qcodeedit/lib/qeditorinputbinding.h \
     qcodeedit/lib/qeditorinputbindinginterface.h \
     qcodeedit/lib/qformat.h \
@@ -171,18 +152,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 \
     qcodeedit/lib/qformat.cpp \
@@ -537,10 +506,14 @@ SOURCES += qcodeedit/lib/qnfa/qnfa.cpp \
 # ###############################
 
 # ##########QUAZIP###############
-DEFINES += QUAZIP_STATIC
+#DEFINES += QUAZIP_STATIC
 
 # Input
-include(quazip/quazip/quazip.pri)
+#include(quazip/quazip/quazip.pri)
+unix {
+  INCLUDEPATH += $${PREFIX}/include/quazip
+  LIBS += -lquazip
+}
 
 # ###############################
 
@@ -677,3 +650,9 @@ else {
   QMAKE_LFLAGS_RELEASE -= -Wl,-s
 }
 
+unix {
+  CONFIG   += link_pkgconfig
+  # use system quazip
+  # use system hunspell
+  PKGCONFIG += hunspell
+}



1.1                  app-office/texstudio/files/texstudio-2.6.0-desktop.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/texstudio/files/texstudio-2.6.0-desktop.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/texstudio/files/texstudio-2.6.0-desktop.patch?rev=1.1&content-type=text/plain

Index: texstudio-2.6.0-desktop.patch
===================================================================
 utilities/texstudio.desktop | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/utilities/texstudio.desktop b/utilities/texstudio.desktop
index 199255f..9c95afd 100644
--- a/utilities/texstudio.desktop
+++ b/utilities/texstudio.desktop
@@ -1,13 +1,12 @@
 [Desktop Entry]
 Categories=Office;Publishing;Qt;X-SuSE-Core-Office;X-Mandriva-Office-Publishing;X-Misc;
-Encoding=UTF-8
 Exec=texstudio %F
 GenericName=LaTeX Editor
 GenericName[fr]=Editeur LaTeX
 Comment=LaTeX development environment
 Comment[fr]=Environnement de développement LaTeX
 Icon=/usr/share/texstudio/texstudio.svg
-MimeType=text/x-tex;
+MimeType=text/X-tex;
 Name=TeXstudio
 StartupNotify=false
 Terminal=false





^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2013-06-26 13:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-26 13:51 [gentoo-commits] gentoo-x86 commit in app-office/texstudio/files: texstudio-2.6.0-hunspell-quazip.patch texstudio-2.6.0-desktop.patch Justin Lecher (jlec)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox