[Debian-l10n-commits] r1823 - in /translate-toolkit/trunk/debian: changelog patches/poterminology_defaultstopfile patches/series

nekral-guest at users.alioth.debian.org nekral-guest at users.alioth.debian.org
Sat Jul 25 00:04:51 UTC 2009


Author: nekral-guest
Date: Sat Jul 25 00:04:48 2009
New Revision: 1823

URL: http://svn.debian.org/wsvn/?sc=1&rev=1823
Log:
  * debian/patches/poterminology_defaultstopfile: Fix the generation of the
    poterminology manpage.

Added:
    translate-toolkit/trunk/debian/patches/poterminology_defaultstopfile
Modified:
    translate-toolkit/trunk/debian/changelog
    translate-toolkit/trunk/debian/patches/series

Modified: translate-toolkit/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/translate-toolkit/trunk/debian/changelog?rev=1823&op=diff
==============================================================================
--- translate-toolkit/trunk/debian/changelog (original)
+++ translate-toolkit/trunk/debian/changelog Sat Jul 25 00:04:48 2009
@@ -10,6 +10,8 @@
     (needed for sub2po and po2sub).
   * debian/patches/debian_gaupol_library_path: Added to fic the path ofthe
     gaupol library.
+  * debian/patches/poterminology_defaultstopfile: Fix the generation of the
+    poterminology manpage.
 
  -- Nicolas FRANCOIS (Nekral) <nicolas.francois at centraliens.net>  Fri, 24 Jul 2009 18:27:06 +0200
 

Added: translate-toolkit/trunk/debian/patches/poterminology_defaultstopfile
URL: http://svn.debian.org/wsvn/translate-toolkit/trunk/debian/patches/poterminology_defaultstopfile?rev=1823&op=file
==============================================================================
--- translate-toolkit/trunk/debian/patches/poterminology_defaultstopfile (added)
+++ translate-toolkit/trunk/debian/patches/poterminology_defaultstopfile Sat Jul 25 00:04:48 2009
@@ -1,0 +1,18 @@
+Goal: avoid links to the build environment in the poterminology manpage
+
+Status wrt upstream: Debian specific as long as the manpages are only
+                     distributed by Debian
+
+Index: trunk/translate/tools/poterminology.py
+===================================================================
+--- trunk.orig/translate/tools/poterminology.py	2009-07-25 02:02:07.630212824 +0200
++++ trunk/translate/tools/poterminology.py	2009-07-25 02:02:41.090212589 +0200
+@@ -413,7 +413,7 @@
+     parser.stoprelist = []
+     parser.stopfoldtitle = True
+     parser.stopignorecase = False
+-    parser.defaultstopfile = file_discovery.get_abs_data_filename('stoplist-en')
++    parser.defaultstopfile = "/usr/share/pyshared/translate/share/stoplist-en"
+     parser.add_option("-S", "--stopword-list", type="string", metavar="STOPFILE", 
+         action="callback", callback=parse_stopword_file,
+         help="read stopword (term exclusion) list from STOPFILE (default %s)" % parser.defaultstopfile,

Modified: translate-toolkit/trunk/debian/patches/series
URL: http://svn.debian.org/wsvn/translate-toolkit/trunk/debian/patches/series?rev=1823&op=diff
==============================================================================
--- translate-toolkit/trunk/debian/patches/series (original)
+++ translate-toolkit/trunk/debian/patches/series Sat Jul 25 00:04:48 2009
@@ -4,3 +4,4 @@
 API-doc-in-separate-package
 storage_bzr
 po2html_duplicate
+poterminology_defaultstopfile




More information about the Debian-l10n-commits mailing list