debian/0000755000000000000000000000000013364636566007210 5ustar debian/changelog0000644000000000000000000000732113364636467011065 0ustar gummi (0.6.5-3+deb8u2build0.14.04.1) trusty-security; urgency=medium * fake sync from Debian -- Mike Salvatore Fri, 26 Oct 2018 12:13:43 -0400 gummi (0.6.5-3+deb8u2) stable; urgency=medium * no-predictable-tmpfiles.patch: use upstream fix (Closes: #812577). -- Daniel Stender Thu, 28 Jan 2016 12:31:20 +0100 gummi (0.6.5-3+deb8u1) stable; urgency=medium * Added no-predictable-tmpfiles.patch, fix of CVE 2015-7758 (Closes: #756432). -- Daniel Stender Sun, 29 Nov 2015 18:07:12 +0100 gummi (0.6.5-3) unstable; urgency=low * Fix "FTBFS: automake errors": add patch automake-subdirs.patch: pass subdir-objects to AM_INIT_AUTOMAKE. (Closes: #725534) Thanks to Gregor Herrmann. * deb/control: + changed maintainer email address. + bumped standards to 3.9.5 (no changed needed). * deb/copyright: + extended copyrights to 2014. + changed email address for Daniel Stender. * added gummi.desktop.patch. -- Daniel Stender Sun, 09 Feb 2014 18:27:00 +0100 gummi (0.6.5-2) unstable; urgency=low * deb/control: * changed VCS fields. -- Daniel Stender Sat, 01 Jun 2013 18:54:01 +0200 gummi (0.6.5-1) unstable; urgency=low * New upstream release. * Bumped standards version to 3.9.4 (no changes needed). * deb/copyright: extended copyrights to 2013. * deb/rules: + added override for dh_installchangelogs. + removed override for dh_auto_test. * Bumped debhelper level to 9 (deb/control and deb/compat). * deb/patches: + removed fix_fd_leak_path (improved by upstream). + changed libgthread-2.0_link.patch. -- Daniel Stender Sat, 11 May 2013 09:04:29 +0200 gummi (0.6.3-1.2) unstable; urgency=low * Non-maintainer upload. * Fix "gummi leaks file descriptors leading to a crash if the fd limit is reached": add patch fix_fd_leak.patch from Justus Winter: close file descriptors. (Closes: #688112) -- gregor herrmann Sun, 30 Sep 2012 17:27:44 +0200 gummi (0.6.3-1) unstable; urgency=low * New upstream release. * Added libgthread-2.0_link.patch (from 0.6.1-1ubuntu1): + debian/control: added build-dep for dh-autoreconf. + debian/rules: added autoreconf to dh plus override. * debian/rules: added override for dh_auto_clean. * Bumped standards version to 3.9.3 (no changes needed). * Changed watch file. * Changes of debian/copyright: + Changed DEP-5 URI. + Expanded copyrights to 2012. -- Daniel Stender Fri, 30 Mar 2012 09:45:02 +0200 gummi (0.6.1-1) unstable; urgency=low * New upstream release. * Changes of debian/control: + Wrapped-and-sorted. + Bumped standards-version to 3.9.2 (no changed needed). + Bumped GTK and GLIB build-deps to 2.20 (as needed by upstream). + Moved dep on texlive-latex-base moved to recommends (Closes: #647774). + Added dep on texlive-extra-utils to recommends (LP: #874045). + Changed Homepage URL. * Changes of debian/copyright: + Changed to meet DEP-5, specification bumped to rev. 202. + Changed Source URL. + Expanded copyrights to 2011. + Upstream copyright holders now collected as Gummi-Dev Team. -- Daniel Stender Fri, 02 Dec 2011 10:09:55 +0100 gummi (0.5.8-1) unstable; urgency=low * New upstream release. * Removed spurious build-dep on libpoppler-dev (Closes: #618766). -- Daniel Stender Mon, 21 Mar 2011 14:50:50 +0100 gummi (0.5.5-1) unstable; urgency=low * Initial release (closes: #557430). -- Daniel Stender Fri, 10 Dec 2010 21:02:00 +0100 debian/compat0000644000000000000000000000000212275732465010401 0ustar 9 debian/rules0000755000000000000000000000035412275732465010265 0ustar #!/usr/bin/make -f #export DH_VERBOSE=1 export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed %: dh $@ --with autoreconf override_dh_autoreconf: dh_autoreconf --as-needed override_dh_installchangelogs: dh_installchangelogs ChangeLog debian/patches/0000755000000000000000000000000012652375702010626 5ustar debian/patches/libgthread-2.0_link.patch0000644000000000000000000000066712275732465015303 0ustar Description: Add link against libthread-2.0. Origin: https://launchpad.net/ubuntu/+archive/primary/+files/gummi_0.6.1-1ubuntu1.debian.tar.gz Author: Daniel T. Chen --- a/src/Makefile.am +++ b/src/Makefile.am @@ -5,7 +5,7 @@ -DGUMMI_LOCALES=\"$(datadir)/locale\" gummi_LDADD = $(GUI_LIBS) \ - $(LIBINTL) + $(LIBINTL) -lgthread-2.0 gummi_SOURCES = biblio.c biblio.h \ configfile.c configfile.h \ debian/patches/no-predictable-tmpfiles.patch0000644000000000000000000000210712652375702016360 0ustar Description: Use XDG cache dir for tmp files rather than TMPDIR. Fix for CVE-2015-7758 (#756432). Origin: https://github.com/alexandervdm/gummi/commit/4ad6486 Bug: https://bugs.debian.org/756432 Last-Update: 2016-01-28 --- a/src/constants.h +++ b/src/constants.h @@ -59,7 +59,7 @@ #define C_CMDSEP "&&" #define C_TEXSEC "" #else - #define C_TMPDIR g_get_tmp_dir() + #define C_TMPDIR g_build_path(G_DIR_SEPARATOR_S, g_get_user_cache_dir(), "gummi", NULL) #define C_CMDSEP ";" #define C_TEXSEC "env openout_any=a" #endif --- a/src/editor.c +++ b/src/editor.c @@ -187,6 +187,12 @@ static void on_delete_range(GtkTextBuffer *textbuffer,GtkTextIter *start, */ void editor_fileinfo_update (GuEditor* ec, const gchar* filename) { + // directory should exist, but if not create ~/.cache/gummi: + if (!g_file_test (C_TMPDIR, G_FILE_TEST_IS_DIR)) { + slog (L_WARNING, ".cache directory does not exist, creating..\n"); + g_mkdir_with_parents (C_TMPDIR, DIR_PERMS); + } + if (ec->workfd != -1) editor_fileinfo_cleanup (ec); debian/patches/gummi.desktop.patch0000644000000000000000000000057412276012114014426 0ustar Description: Adds keywords to desktop file to prevent Lintian complaint about desktop-entry-lacks-keywords-entry Forwarded: no Author: Daniel Stender --- a/data/misc/gummi.desktop.in +++ b/data/misc/gummi.desktop.in @@ -8,5 +8,6 @@ Terminal=false Type=Application Categories=Office; +Keywords=latex;editor; StartupNotify=true MimeType=text/x-tex; debian/patches/series0000644000000000000000000000014312626615112012032 0ustar gummi.desktop.patch automake-subdirs.patch libgthread-2.0_link.patch no-predictable-tmpfiles.patch debian/patches/automake-subdirs.patch0000644000000000000000000000115612275732465015135 0ustar Description: automake1.14 warns about 'subdir-objects' not set together with -Werror this leads to a build failure Origin: vendor Bug: http://bugs.debian.org/725534 Forwarded: no Author: gregor herrmann Last-Update: 2013-10-26 --- a/configure.ac +++ b/configure.ac @@ -3,7 +3,7 @@ AC_PREREQ(2.65) AC_INIT([Gummi], [0.6.5], [alexvandermey@gmail.com], [gummi], [http://gummi.midnightcoding.org/]) -AM_INIT_AUTOMAKE([foreign -Wall -Werror]) +AM_INIT_AUTOMAKE([foreign -Wall -Werror subdir-objects]) GETTEXT_PACKAGE=gummi AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE", [The gettext domain]) debian/control0000644000000000000000000000175312275732465010614 0ustar Source: gummi Section: tex Priority: optional Maintainer: Daniel Stender Build-Depends: debhelper (>= 9), dh-autoreconf, intltool, libglib2.0-dev (>= 2.20), libgtk2.0-dev (>= 2.20), libgtksourceview2.0-dev (>= 2.2.1), libgtkspell-dev, libpoppler-glib-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 Homepage: http://gummi.midnightcoding.org/ Package: gummi Architecture: any Depends: ${misc:Depends}, ${shlibs:Depends} Recommends: texlive-extra-utils, texlive-latex-base, texlive-xetex Description: GTK+ based LaTeX editor with live preview Gummi is a LaTeX editor based on GTK+. The basic features are: - Live preview pane for the compiled document, - BibTeX integration, - Helpers for tables and matrices, - Exporting to PDF, - Error checking, - Syntax highlighting, - Spellchecking, - Document statistics, - Persistent configuration. debian/source/0000755000000000000000000000000012275732465010503 5ustar debian/source/format0000644000000000000000000000001412275732465011711 0ustar 3.0 (quilt) debian/clean0000644000000000000000000000003012275732465010201 0ustar data/misc/gummi.desktop debian/copyright0000644000000000000000000000340112275745121011125 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: gummi Upstream-Contact: Alexander van der Mey Source: http://dev.midnightcoding.org/redmine/projects/show/gummi Files: * Copyright: 2010-2014 Gummi-Dev Team License: MIT Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: . The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. . THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. Files: debian/* Copyright: 2010-2014 Daniel Stender License: GPL-2 This package is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 dated June, 1991. . On Debian systems, the complete text of the GNU General Public License version 2 can be found in the /usr/share/common-licenses/GPL-2 file. debian/menu0000644000000000000000000000024012275732465010066 0ustar ?package(gummi):\ needs="X11"\ title="Gummi"\ description="GTK+ based LaTeX editor with live preview"\ section="Applications/Editors"\ command="/usr/bin/gummi" debian/watch0000644000000000000000000000015712275732465010237 0ustar version=3 http://dev.midnightcoding.org/projects/gummi/files /attachments/download/(?:\d+)/gummi-(.+)\.tar\.gz