Source: texmaker Version: 4.2-1 Severity: wishlist Usertags: embedded-synctex-parser
texmkaer currently contains a copy of synctex parser from texlive-bin. This code is now provided as shared library by libsynctex1/libsynctex-dev. Please consider the attached patch to use the shared library instead of the embedded copy. Cheers -- Sebastian Ramacher
diff -Nru texmaker-4.2/debian/changelog texmaker-4.2/debian/changelog --- texmaker-4.2/debian/changelog 2014-06-03 18:09:01.000000000 +0200 +++ texmaker-4.2/debian/changelog 2014-07-05 13:34:37.000000000 +0200 @@ -1,3 +1,10 @@ +texmaker (4.2-1.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Use synctex parser provided by libsynctex-dev. + + -- Sebastian Ramacher <sramac...@debian.org> Sat, 05 Jul 2014 13:34:26 +0200 + texmaker (4.2-1) unstable; urgency=medium * New upstream release. diff -Nru texmaker-4.2/debian/control texmaker-4.2/debian/control --- texmaker-4.2/debian/control 2014-06-03 18:08:26.000000000 +0200 +++ texmaker-4.2/debian/control 2014-07-05 13:34:57.000000000 +0200 @@ -13,7 +13,8 @@ libpoppler-private-dev (>= 0.24.5-2), libqt5webkit5-dev, qtdeclarative5-dev, - libqt5opengl5-dev + libqt5opengl5-dev, + libsynctex-dev Standards-Version: 3.9.5 Vcs-Browser: http://anonscm.debian.org/viewvc/debian-science/packages/texmaker/trunk/ Vcs-Svn: svn://anonscm.debian.org/debian-science/packages/texmaker/trunk/ diff -Nru texmaker-4.2/debian/patches/series texmaker-4.2/debian/patches/series --- texmaker-4.2/debian/patches/series 2014-05-28 15:23:59.000000000 +0200 +++ texmaker-4.2/debian/patches/series 2014-07-05 13:36:59.000000000 +0200 @@ -1,2 +1,3 @@ 10_spelling_dict.patch 20-add-keywords-desktop-file.patch +use-system-synctex.patch diff -Nru texmaker-4.2/debian/patches/use-system-synctex.patch texmaker-4.2/debian/patches/use-system-synctex.patch --- texmaker-4.2/debian/patches/use-system-synctex.patch 1970-01-01 01:00:00.000000000 +0100 +++ texmaker-4.2/debian/patches/use-system-synctex.patch 2014-07-05 13:37:30.000000000 +0200 @@ -0,0 +1,60 @@ +Description: Use synctex provided by libsynctex-dev +Author: Sebastian Ramacher <sramac...@debian.org> +Last-Update: 2014-07-05 + +--- texmaker-4.2.orig/pdfviewer.h ++++ texmaker-4.2/pdfviewer.h +@@ -39,7 +39,7 @@ + #include <QKeySequence> + + #include "documentview.h" +-#include "synctex_parser.h" ++#include <synctex_parser.h> + #include "browser.h" + + +--- texmaker-4.2.orig/pdfviewerwidget.h ++++ texmaker-4.2/pdfviewerwidget.h +@@ -40,7 +40,7 @@ + #include <QSplitter> + + #include "documentview.h" +-#include "synctex_parser.h" ++#include <synctex_parser.h> + #include "minisplitter.h" + #include "browser.h" + +--- texmaker-4.2.orig/texmaker.pro ++++ texmaker-4.2/texmaker.pro +@@ -19,11 +19,11 @@ DEFINES += HAVE_SPLASH + unix:!macx { + contains( QT_VERSION, "^5.*" ) { + CONFIG += link_pkgconfig +-PKGCONFIG = poppler-qt5 ++PKGCONFIG = poppler-qt5 synctex + DEFINES += POPPLER24 + } else { + CONFIG += link_pkgconfig +-PKGCONFIG = poppler-qt4 ++PKGCONFIG = poppler-qt4 synctex + DETECTEDPOPPLER=$$system(pkg-config --modversion poppler) + contains( DETECTEDPOPPLER, "^0.18.*" ){ + DEFINES += OLDPOPPLER +@@ -88,8 +88,6 @@ HEADERS += texmaker.h \ + textblockselection.h \ + scandialog.h \ + exportdialog.h \ +- synctex_parser.h \ +- synctex_parser_utils.h \ + usertagslistwidget.h \ + addtagdialog.h \ + versiondialog.h \ +@@ -198,8 +196,6 @@ SOURCES += main.cpp \ + texdocdialog.cpp \ + scandialog.cpp \ + exportdialog.cpp \ +- synctex_parser.c \ +- synctex_parser_utils.c \ + usertagslistwidget.cpp \ + addtagdialog.cpp \ + versiondialog.cpp \
signature.asc
Description: Digital signature