~ubuntu-branches/ubuntu/oneiric/ghostscript/oneiric

« back to all changes in this revision

Viewing changes to toolbin/split_changelog.py

  • Committer: Bazaar Package Importer
  • Author(s): Till Kamppeter
  • Date: 2011-07-15 16:49:55 UTC
  • mfrom: (1.1.23 upstream)
  • Revision ID: james.westby@ubuntu.com-20110715164955-uga6qibao6kez05c
Tags: 9.04~dfsg~20110715-0ubuntu1
* New upstream release
   - GIT snapshot from Jult, 12 2011.
* debian/patches/020110406~a54df2d.patch,
  debian/patches/020110408~0791cc8.patch,
  debian/patches/020110408~507cbee.patch,
  debian/patches/020110411~4509a49.patch,
  debian/patches/020110412~78bb9a6.patch,
  debian/patches/020110418~a05ab8a.patch,
  debian/patches/020110420~20b6c78.patch,
  debian/patches/020110420~4ddefa2.patch: Removed upstream patches.
* debian/rules: Generate ABI version number (variable "abi") correctly,
  cutting off repackaging and pre-release parts.
* debian/rules: Added ./lcms2/ directory to DEB_UPSTREAM_REPACKAGE_EXCLUDES.
* debian/copyright: Added lcms2/* to the list of excluded files.
* debian/symbols.common: Updated for new upstream source. Applied patch
  which dpkg-gensymbols generated for debian/libgs9.symbols to this file.

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
# contact Artifex Software, Inc., 101 Lucas Valley Road #110,
16
16
# San Rafael, CA  94903, U.S.A., +1(415)492-9861.
17
17
 
18
 
# $Id: split_changelog.py 9411 2009-01-27 20:43:33Z giles $
 
18
# $Id$
19
19
 
20
20
# script to generate the split Changes/Details html changelogs
21
21
# for Ghostscript from the output of 'svn log --xml'
28
28
  table = { '&': '&',
29
29
            '"': '"',
30
30
            '>': '>',
31
 
            '<': '&lt;'}
 
31
            '<': '&lt;',
 
32
            '$': '&#36;'}
32
33
  new = []
33
34
  for char in string:
34
35
    new.append(table.get(char,char))
80
81
                file.write('</p>\n')
81
82
                file.write('<blockquote>\n')
82
83
                file.write('<pre>\n')
83
 
                # todo: html-escape the msg lines
84
84
                try:
85
85
                  for line in self.data['msg']:
86
86
                        # skip the details unless wanted
104
104
        file.write('   "http://www.w3.org/TR/html4/strict.dtd">\n')
105
105
        file.write('<html>\n')
106
106
        file.write('<head>\n')
 
107
        file.write('<meta http-equiv="content-type" content="text/html; charset=utf-8">\n')
107
108
        file.write('<title>')
108
109
        file.write('Ghostscript change history')
109
110
        if details:
110
 
                file.write(' (detailed)</title>')
 
111
                file.write(' (detailed)')
111
112
        file.write('</title>\n')
112
113
        file.write('<!-- generated by split_changelog.py from the output of cvs2cl.pl -->\n')
113
 
        file.write('<!-- $Id: split_changelog.py 9411 2009-01-27 20:43:33Z giles $ -->\n')
 
114
        file.write('<!-- $' 'Id$ -->\n')
114
115
        file.write('<link rel=stylesheet type="text/css" href="gs.css">\n')
115
116
        file.write('</head>\n')
116
117
        file.write('<body>\n')