1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
|
Author: Sebastian Ramacher <sramacher@debian.org>
Description: Use synctex provided by libsynctex-dev.
Last-Update: 2014-09-10
diff -Naurp a/PDFDocument.h b/PDFDocument.h
--- a/PDFDocument.h 2014-09-10 07:18:24.430175237 +0200
+++ b/PDFDocument.h 2014-09-10 07:22:48.192096340 +0200
@@ -35,7 +35,7 @@
#else
#include "poppler-qt5.h"
#endif
-#include "synctex_parser.h"
+#include <synctex_parser.h>
#include "ui_PDFDocument.h"
#include "pdfrendermanager.h"
diff -Naurp a/texstudio.pro b/texstudio.pro
--- a/texstudio.pro 2014-09-10 07:22:22.255118779 +0200
+++ b/texstudio.pro 2014-09-10 07:22:48.192096340 +0200
@@ -14,7 +14,7 @@ greaterThan(QT_MAJOR_VERSION, 4) {
# build against libhunspell
CONFIG += link_pkgconfig
-PKGCONFIG = hunspell
+PKGCONFIG = hunspell synctex
# allow loading extra config by file for automatic compilations (OBS)
exists(texstudio.pri):include(texstudio.pri)
@@ -106,8 +106,6 @@ HEADERS += texmaker.h \
userquickdialog.h \
PDFDocument.h \
PDFDocks.h \
- synctex_parser_utils.h \
- synctex_parser.h \
latexstyleparser.h \
pdfrenderengine.h \
pdfrendermanager.h \
@@ -639,9 +637,6 @@ exists(./.hg2) {
SOURCES += hg_revision.cpp
}
-# moved to the end because it seems to destroy the precompiled header
-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
|