Source: gummi Version: 0.6.5-3 Severity: wishlist Tags: patch Usertags: embedded-synctex-parser
gummi 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 gummi-0.6.5/debian/changelog gummi-0.6.5/debian/changelog --- gummi-0.6.5/debian/changelog 2014-02-10 00:51:22.000000000 +0100 +++ gummi-0.6.5/debian/changelog 2014-07-05 16:32:36.000000000 +0200 @@ -1,3 +1,10 @@ +gummi (0.6.5-3.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Use synctex parser provided by libsynctex-dev. + + -- Sebastian Ramacher <sramac...@debian.org> Sat, 05 Jul 2014 11:47:39 +0200 + gummi (0.6.5-3) unstable; urgency=low * Fix "FTBFS: automake errors": diff -Nru gummi-0.6.5/debian/control gummi-0.6.5/debian/control --- gummi-0.6.5/debian/control 2014-02-09 18:04:53.000000000 +0100 +++ gummi-0.6.5/debian/control 2014-07-05 16:30:30.000000000 +0200 @@ -10,7 +10,8 @@ libgtk2.0-dev (>= 2.20), libgtksourceview2.0-dev (>= 2.2.1), libgtkspell-dev, - libpoppler-glib-dev + libpoppler-glib-dev, + libsynctex-dev Standards-Version: 3.9.5 Vcs-Git: git://anonscm.debian.org/collab-maint/gummi.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/gummi.git diff -Nru gummi-0.6.5/debian/patches/series gummi-0.6.5/debian/patches/series --- gummi-0.6.5/debian/patches/series 2014-02-10 00:48:38.000000000 +0100 +++ gummi-0.6.5/debian/patches/series 2014-07-05 16:31:47.000000000 +0200 @@ -1,3 +1,4 @@ gummi.desktop.patch automake-subdirs.patch libgthread-2.0_link.patch +use-system-synctex.patch diff -Nru gummi-0.6.5/debian/patches/use-system-synctex.patch gummi-0.6.5/debian/patches/use-system-synctex.patch --- gummi-0.6.5/debian/patches/use-system-synctex.patch 1970-01-01 01:00:00.000000000 +0100 +++ gummi-0.6.5/debian/patches/use-system-synctex.patch 2014-07-05 16:36:41.000000000 +0200 @@ -0,0 +1,46 @@ +Description: Use synctex parser provided by libsynctex-dev +Author: Sebastian Ramacher <sramac...@debian.org> +Last-Update: 2014-07-05 + +--- a/configure.ac ++++ b/configure.ac +@@ -64,6 +64,11 @@ + GUI_LIBS="$GUI_LIBS $gtkspell_LIBS" + fi + ++PKG_CHECK_MODULES(synctex, [synctex],, ++ [AC_MSG_ERROR([You need synctex to build $PACKAGE])]) ++GUI_CFLAGS="$GUI_CFLAGS $synctex_CFLAGS" ++GUI_LIBS="$GUI_LIBS $synctex_LIBS" ++ + # Add explicit linking flags + GUI_LIBS="$GUI_LIBS -pthread -lm -lz -lrt" + +--- a/src/Makefile.am ++++ b/src/Makefile.am +@@ -1,4 +1,5 @@ + bin_PROGRAMS = gummi ++ + AM_CFLAGS = $(GUI_CFLAGS) \ + -export-dynamic -Wall -O2 \ + -DGUMMI_LIBS=\"$(libdir)/$(PACKAGE)\" \ +@@ -25,8 +26,6 @@ + gui/gui-snippets.c gui/gui-snippets.h \ + gui/gui-infoscreen.c gui/gui-infoscreen.h \ + gui/gui-project.c gui/gui-project.h \ +- syncTeX/synctex_parser.c syncTeX/synctex_parser.h \ +- syncTeX/synctex_parser_utils.c syncTeX/synctex_parser_utils.h \ + importer.c importer.h \ + iofunctions.c iofunctions.h \ + external.c external.h \ +--- a/src/gui/gui-preview.c ++++ b/src/gui/gui-preview.c +@@ -48,7 +48,7 @@ + #include "motion.h" + #include "porting.h" + +-#include "syncTeX/synctex_parser.h" ++#include <synctex_parser.h> + + /* set up uri using appropriate formatting for OS + http://en.wikipedia.org/wiki/File_URI_scheme#Linux */
signature.asc
Description: Digital signature