~ubuntu-branches/ubuntu/saucy/dblatex/saucy

« back to all changes in this revision

Viewing changes to .pc/20_dblatex_sys_path.patch/lib/contrib/debian/dblatex

  • Committer: Package Import Robot
  • Author(s): Andreas Hoenen
  • Date: 2012-06-07 15:25:28 UTC
  • mfrom: (0.13.1) (0.11.2) (8.1.10 sid)
  • Revision ID: package-import@ubuntu.com-20120607152528-1giqohxs5qmysb7e
Tags: 0.3.4-1
* New upstream release
  Closes: #675741
* 20_regression_simple_style.patch:
  Fix a regression that breaks simple style.
* 20_regression_zh-cn.patch:
  Fix a regression that breaks some documents with language zh-cn.
* 20_texlive_version_2009.patch:
  Keep the value 2009 for parameter texlive.version, as bigger values result
  in problems.
* Drop patches that have been integrated upstream:
  + 20_dblatex_sys_path.patch
  + 20_debian_errorhandler.patch
  + 20_glossary.patch
  + 20_missed_chars.patch
* debian/rules:
  Use new upstream install layout "deb", which enables us to simplify the
  rules file considerably.
* Remove python-4suite-xml dependency (alternative to xlstproc) as package has
  been removed from unstable (#637334) and as using it as XSLT processor has
  started to run into "out of memory" recently.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#! /usr/bin/env python
2
 
import sys
3
 
import os
4
 
 
5
 
package_base = r"/usr/share/dblatex"
6
 
sys.path.append(os.path.realpath(os.path.join(package_base, "lib")))
7
 
 
8
 
# Register the Debian error analyser
9
 
from dbtexmf.core import error
10
 
from contrib.debian.errorhandler import DebianHandler
11
 
error.set_errhandler(DebianHandler())
12
 
 
13
 
from dbtexmf.dblatex import dblatex
14
 
dblatex.main(base=package_base)