[Python-apps-commits] r13294 - in packages/rubber/trunk/debian (4 files)
hilmar-guest at users.alioth.debian.org
hilmar-guest at users.alioth.debian.org
Thu Jun 16 11:22:53 UTC 2016
Date: Thursday, June 16, 2016 @ 11:22:51
Author: hilmar-guest
Revision: 13294
Include "graphics: accept uppercase filename extensions too." from upstream
svn.
Added:
packages/rubber/trunk/debian/patches/05_uppercase_filename_extensions_for_graphics.diff
Modified:
packages/rubber/trunk/debian/changelog
packages/rubber/trunk/debian/control
packages/rubber/trunk/debian/patches/series
Modified: packages/rubber/trunk/debian/changelog
===================================================================
--- packages/rubber/trunk/debian/changelog 2016-06-14 19:46:30 UTC (rev 13293)
+++ packages/rubber/trunk/debian/changelog 2016-06-16 11:22:51 UTC (rev 13294)
@@ -1,9 +1,13 @@
rubber (1.4-3) UNRELEASED; urgency=medium
+ * Standards-Version: 3.9.8, no changes necessary
* Remove Suggestion of sam2p (Closes: #824118) and any other
references to it (rules.ini).
* 04_r+for_dev_null.diff: Fix open mode of /dev/null (r+ instead
of rw) (LP: #1543622)
+ * 05_uppercase_filename_extensions_for_graphics.diff
+ Matthias Goldhoorn <matthias at goldhoorn.eu> to work with files
+ having an uppercase file extension.
-- Hilmar PreuÃe <hille42 at web.de> Thu, 12 May 2016 16:19:22 +0200
Modified: packages/rubber/trunk/debian/control
===================================================================
--- packages/rubber/trunk/debian/control 2016-06-14 19:46:30 UTC (rev 13293)
+++ packages/rubber/trunk/debian/control 2016-06-16 11:22:51 UTC (rev 13294)
@@ -5,7 +5,7 @@
Uploaders: Python Apps Team <python-apps-team at lists.alioth.debian.org>
Build-Depends: debhelper (>= 9), python, texinfo, dh-python, texlive-latex-base
X-Python-Version: >= 2.5
-Standards-Version: 3.9.6
+Standards-Version: 3.9.8
Vcs-Browser: https://anonscm.debian.org/viewvc/python-apps/packages/rubber/trunk/
Homepage: https://launchpad.net/rubber
Added: packages/rubber/trunk/debian/patches/05_uppercase_filename_extensions_for_graphics.diff
===================================================================
--- packages/rubber/trunk/debian/patches/05_uppercase_filename_extensions_for_graphics.diff (rev 0)
+++ packages/rubber/trunk/debian/patches/05_uppercase_filename_extensions_for_graphics.diff 2016-06-16 11:22:51 UTC (rev 13294)
@@ -0,0 +1,31 @@
+From 0b20135d0f372a78472a4e1304b99a46d3c19745 Mon Sep 17 00:00:00 2001
+From: Matthias Goldhoorn <matthias at goldhoorn.eu>
+Date: Thu, 19 May 2016 11:13:31 +0200
+Subject: graphics: accept uppercase filename extensions too.
+
+The latex graphics include accepts uppercase filename extensions.
+This patch auto-generate all uppercase filename extensions from the
+given hashes.
+
+diff --git a/src/latex_modules/graphics.py b/src/latex_modules/graphics.py
+index f961a23..79d3b8a 100644
+--- a/src/latex_modules/graphics.py
++++ b/src/latex_modules/graphics.py
+@@ -61,8 +61,13 @@ class Module (rubber.module_interface.Module):
+ self.prefixes = [os.path.join(x, '') for x in document.env.path]
+ self.files = []
+
+- # I take dvips as the default, but it is not portable.
++ #Latex accepts upper and lowercase filename extensions
++ # to keep the above lists clean we auto-generate the
++ # uppercase versions of the extensions automatically
++ for engine,suffixes in drv_suffixes.iteritems():
++ suffixes += [x.upper() for x in suffixes]
+
++ # I take dvips as the default, but it is not portable.
+ if document.vars['engine'] == 'pdfTeX' and document.products[0][-4:] == '.pdf':
+ self.suffixes = drv_suffixes['pdftex']
+ elif document.vars['engine'] == 'VTeX':
+--
+cgit v0.10.2
+
Modified: packages/rubber/trunk/debian/patches/series
===================================================================
--- packages/rubber/trunk/debian/patches/series 2016-06-14 19:46:30 UTC (rev 13293)
+++ packages/rubber/trunk/debian/patches/series 2016-06-16 11:22:51 UTC (rev 13294)
@@ -1,4 +1,5 @@
01_accurate_log.diff
02_bibtex_stacktrace.diff
03_no_sam2p.diff
-04_r+for_dev_null.diff
\ No newline at end of file
+04_r+for_dev_null.diff
+05_uppercase_filename_extensions_for_graphics.diff
More information about the Python-apps-commits
mailing list