[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#685057: unblock: rubber/1.1+20100306-2



Package: release.debian.org
Severity: important
User: release.debian.org@packages.debian.org
Usertags: unblock

Please unblock package rubber.

The two changes made in this release are

   * do not call bibtex with absolute paths, thanks to Benjamin Mako Hill
     for the patch (Closes: #684228).
   * ... same for makeindex, thanks to Benjamin Mako Hill for patch
     (Closes: #682892).

At least the latter causes FTBFS on other packages, hence it was
uploaded to unstable w/ urgency medium. The patches are attached.

unblock rubber/1.1+20100306-2

Regards,
  Hilmar
-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-3-686-pae (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_GB.UTF-8)
Shell: /bin/sh linked to /bin/bash
--- rubber-1.1+20100306.orig/src/latex_modules/bibtex.py	2010-08-12 09:46:10.000000000 -0400
+++ rubber-1.1+20100306/src/latex_modules/bibtex.py	2012-08-07 19:06:01.000000000 -0400
@@ -407,7 +407,7 @@
 
 def setup (doc, context):
 	global biblio
-	biblio = Bibliography(doc, doc.target)
+	biblio = Bibliography(doc, basename(doc.target))
 	doc.hook_macro('bibliography', 'a', biblio.hook_bibliography)
 	doc.hook_macro('bibliographystyle', 'a', biblio.hook_bibliographystyle)
 def command (command, args):
--- rubber-1.1+20100306.orig/src/latex_modules/index.py	2010-08-12 09:46:10.000000000 -0400
+++ rubber-1.1+20100306/latex_modules/index.py	2012-08-08 11:38:57.000000000 -0400
@@ -54,9 +54,9 @@
 		(e.g. .ilg) file.  Transcript is used by glosstex.py.
 		"""
 		self.doc = doc
-		self.source = doc.target + "." + source
-		self.target = doc.target + "." + target
-		self.transcript = doc.target + "." + transcript
+		self.source = os.path.basename(doc.target) + "." + source
+		self.target = os.path.basename(doc.target) + "." + target
+		self.transcript = os.path.basename(doc.target) + "." + transcript
 		if os.path.exists(self.source):
 			self.md5 = md5_file(self.source)
 		else:

Attachment: signature.asc
Description: Digital signature


Reply to: