debian/0000755000000000000000000000000012226250031007157 5ustar debian/compat0000644000000000000000000000000212226075733010373 0ustar 7 debian/patches/0000755000000000000000000000000012226075733010624 5ustar debian/patches/01-templates-in-systemdir.patch0000644000000000000000000000210412226075733016503 0ustar Using /usr/share/... instead of user data directory for templates file. Index: gedit-latex-3.3.1/latex/appactivatable.py =================================================================== --- gedit-latex-3.3.1.orig/latex/appactivatable.py 2011-10-12 23:01:08.000000000 +0200 +++ gedit-latex-3.3.1/latex/appactivatable.py 2011-10-12 22:57:09.000000000 +0200 @@ -20,6 +20,7 @@ import platform from gi.repository import GLib, Gedit, GObject from .resources import Resources +from .preferences import Preferences class LaTeXAppActivatable(GObject.Object, Gedit.AppActivatable): __gtype_name__ = "GeditLaTeXAppActivatable" @@ -43,5 +44,9 @@ class LaTeXAppActivatable(GObject.Object, Gedit.AppActivatable): sysdir = self.plugin_info.get_data_dir() Resources().set_dirs(userdir, sysdir) + ##FIXME: temporary set systemdir also for TEMPLATE_DIR, if exists + ## please find a better way to do so. + if os.path.exists(os.path.join(sysdir,"templates")): + Preferences().TEMPLATE_DIR = os.path.join(sysdir,"templates") # ex:ts=4:et debian/patches/series0000644000000000000000000000007312226075733012041 0ustar 01-templates-in-systemdir.patch 02-Fixed-SyntaxError.patch debian/patches/02-Fixed-SyntaxError.patch0000644000000000000000000000113312226075733015417 0ustar From: Pietro Battiston Date: Mon, 23 Sep 2013 14:44:02 +0200 Subject: Fixed SyntaxError --- latex/latex/cache.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/latex/latex/cache.py b/latex/latex/cache.py index 23e12f8..6dc459a 100644 --- a/latex/latex/cache.py +++ b/latex/latex/cache.py @@ -108,7 +108,7 @@ class LaTeXDocumentCache(object): finally: f.close() except IOError: - print self.__file.path + print(self.__file.path) return # parse debian/rules0000755000000000000000000000071512226176657010267 0ustar #!/usr/bin/make -f %: dh --with python2 $@ #override_dh_pysupport: # dh_pysupport /usr/lib/gedit-2/plugins/GeditLaTeXPlugin # override_dh_install: dh_install find debian/gedit-latex-plugin/ -name '*.pyc' -exec rm -f '{}' \; find debian/gedit-latex-plugin/ -name '*.pyo' -exec rm -f '{}' \; # rm -rf debian/gedit-latex-plugin/usr/lib/gedit-2/plugins/GeditLaTeXPlugin/icons # rm -f debian/gedit-latex-plugin/usr/lib/gedit-2/plugins/GeditLaTeXPlugin/COPYING debian/control0000644000000000000000000000350712226247041010576 0ustar Source: gedit-latex-plugin Section: gnome Priority: extra Maintainer: Andrea Gasparini Uploaders: Pietro Battiston Build-Depends: debhelper (>= 7.0.50~), libglib2.0-dev (>= 2.26.0), libgtk-3-dev (>= 3.0.12), intltool (>= 0.40), python (>= 2.6.6-3~) Standards-Version: 3.9.4 Homepage: https://wiki.gnome.org/Apps/Gedit/LaTeXPlugin Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/gedit-latex.git Vcs-Git: git://anonscm.debian.org/collab-maint/gedit-latex.git Package: gedit-latex-plugin Architecture: all Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, gedit (>= 3.8), rubber, python-dbus, python (>=2.6.6-3~) | python-multiprocessing, python-glade2, gvfs-bin, python-poppler Recommends: texlive, python-enchant Enhances: gedit Description: gedit plugin for composing and compiling LaTeX documents This plugin assist you in a number of task: - Code Completion: if you type a prefix it shows you all matching commands and the structure and meaning of their arguments. If possible it shows options for the argument the cursor is in. - Assistants: there are several assistants for frequent tasks like creating the body of a new LaTeX file, inserting a graphics, inserting a table or a matrix, inserting source code listings, inserting BibTeX entries. - BibTeX Integration: an outline view is created for BibTeX files and the LaTeX completion is aware of bibliographies included per \bibliography and proposes their entries at the \cite command. BibTeX entries may be inserted with the help of a dialog. - Build System: The build system uses profiles like "PDF", "DVI" or "PostScript". Per default the plugin uses rubber for automated document compiling, but you may create your own profiles invoking the LaTeX command chain directly. debian/changelog0000644000000000000000000001163312226247756011061 0ustar gedit-latex-plugin (3.8.0-1) unstable; urgency=low [ Pietro Battiston ] * Imported Upstream version 3.8.0 (Closes: #721433, #726058) * Updated debian/control (Standards, gedit version) * Fixed Vcs-* fields (Closes: #724286) * Fixed Homepage field (Closes: #724521) [ Andrea Gasparini ] * Added Pietro as package Uploader -- Pietro Battiston Mon, 23 Sep 2013 14:27:50 +0200 gedit-latex-plugin (3.4.1-1) unstable; urgency=low * new upstream version (LP: #957924) * debian/control: + added Enhance field (Closes: #685291) + added python-poppler depends. (LP: #1015035) -- Andrea Gasparini Sun, 02 Sep 2012 15:26:25 +0200 gedit-latex-plugin (3.4.0-1) unstable; urgency=low * new upstream version * debian/control: bump standard version to 3.9.3 * debian/patches/: dropped patch 02 and 03 as already included in upstream -- Andrea Gasparini Thu, 29 Mar 2012 23:54:37 +0200 gedit-latex-plugin (3.3.2-1.1) unstable; urgency=low * Non-maintainer upload. * Fix "FTBFS due to latex/latex/environment.py not in POTFILES.in": add patch 03-environment-translations.patch from Ubuntu / Mathieu Trudel-Lapierre: add latex/latex/environment.py to po/POTFILES.in. (Closes: #656669) -- gregor herrmann Sat, 24 Mar 2012 13:43:12 +0100 gedit-latex-plugin (3.3.2-1) unstable; urgency=low * new upstream version (Closes: #650355) * added gvfs-bin dependency -- Andrea Gasparini Thu, 08 Dec 2011 13:27:14 +0100 gedit-latex-plugin (3.3.1-1) unstable; urgency=low * new upstream version (moving to gedit 3) (Closes: #635119) -- Andrea Gasparini Tue, 04 Oct 2011 21:00:22 +0200 gedit-latex-plugin (0.2.0-1) unstable; urgency=low * new upstream version (Closes: #592974) * switching to source/format 3.0. * switching to dh7 * debian/control: + added Homepage field. + gedit with right case (LP: #567346) * debian/patches/series: dropping 05_fix_python26_specific_syntax.patch * debian/patches/07_debug_to_warning.patch: set log level to warning (LP: #584462). Thanks to Guillaume Melquiond * debian/patches/06_master_document_not_loaded.patch: property not initialized before getting called. (Closes: #557035). * debian/changelog: specified GPL-2 or later for packaging. -- Andrea Gasparini Fri, 24 Sep 2010 23:16:18 +0200 gedit-latex-plugin (0.2rc3-2) unstable; urgency=low * added README.source (mentions standard quilt readme.source) * debian/patches: added patch that fix some python2.6-only sintax (Closes: #559135) * debian/control: added dependency to python-multiprocessing (Closes: #559176) and python-glade2 -- Andrea Gasparini Wed, 02 Dec 2009 10:51:14 +0100 gedit-latex-plugin (0.2rc3-1) unstable; urgency=low * new upstream release. (Closes: #524949 #557035) * debian/control: Depends on python-poppler (Closes: #552626) -- Andrea Gasparini Mon, 23 Nov 2009 15:12:39 +0100 gedit-latex-plugin (0.2rc2-2) unstable; urgency=low * updated patches/01_images_in_usr_share.patch to handle both files and directories (Closes: 537459) -- Andrea Gasparini Mon, 23 Nov 2009 15:12:19 +0100 gedit-latex-plugin (0.2rc2-1) unstable; urgency=low * new upstream release. * debian/{control,rules}: changed to quilt, bumped standard-version to 3.8.2. -- Andrea Gasparini Wed, 24 Jun 2009 21:46:21 +0200 gedit-latex-plugin (0.2rc1-2) unstable; urgency=low * debian/rules: fixed calls to pysupport (Closes: 514928) * debian/control: - added python-enchant as Recommends (Closes: 514859) * debian/pathes/03_changes_for_python26.patch: make plugin work with python2.6 * debian/patches/04_name_clashing_with_bzr_gedit_plugin.patch: MenuToolAction clash with bzr plugin that has a gobject with the same name. -- Andrea Gasparini Sat, 25 Mar 2009 18:10:46 +0100 gedit-latex-plugin (0.2rc1-1) unstable; urgency=low * New Upstream version * debian/control: added texlive as Recommends, set all as Architecture. * debian/patches: fixed a "reference before assignment" in latex/dialog.py -- Andrea Gasparini Wed, 04 Feb 2009 15:59:34 +0100 gedit-latex-plugin (0.1.3.2-2) unstable; urgency=low * Fixed a wrong search path for some images. (Closes: 505141) * debian/control: reindented to remove lintian warning -- Andrea Gasparini Sat, 15 Nov 2008 15:46:43 +0100 gedit-latex-plugin (0.1.3.2-1) unstable; urgency=low [Alessandro Scarozza] * Initial Release (Closes: #453391) [Andrea Gasparini] * debian/copyright: given the due to the authors. :) * debian/install: using dh_install file instead of install: target. * debian/control: added missing dependencies -- Andrea Gasparini Thu, 04 Sep 2008 13:12:47 +0200 debian/pycompat0000644000000000000000000000000212226075733010744 0ustar 2 debian/copyright0000644000000000000000000000231412226075733011130 0ustar This package was debianized by Andrea Gasparini and Alessandro Scarozza Wed, 26 Mar 2008 11:54:10 +0100. It was downloaded from Copyright 2006-2008: Michael Zeising License: This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public Licence as published by the Free Software Foundation; either version 2 of the Licence, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public Licence for more. details. You should have received a copy of the GNU General Public Licence along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA The Debian packaging is Copyright 2008 by Andrea Gasparini and is licensed under the GPL-2 or any later version, see `/usr/share/common-licenses/GPL-2'. debian/source/0000755000000000000000000000000012226075733010475 5ustar debian/source/format0000644000000000000000000000001412226075733011703 0ustar 3.0 (quilt) debian/watch0000644000000000000000000000013212226075733010222 0ustar version=3 http://ftp.gnome.org/pub/GNOME/sources/gedit-latex/3.4/gedit-latex-(.+).tar.bz2