~ubuntu-branches/ubuntu/utopic/texlive-bin/utopic

« back to all changes in this revision

Viewing changes to debian/patches/dvipdfmx-config-i-directive

  • Committer: Package Import Robot
  • Author(s): Norbert Preining
  • Date: 2012-04-10 10:16:01 UTC
  • mfrom: (1.2.3)
  • Revision ID: package-import@ubuntu.com-20120410101601-7mt8nyn280xrgza6
Tags: 2011.20120410-1
* new upstream checkout:
  - remove decls of popen and pclose (Closes: #64524) (!yow, 5 digit bug!)
  - do not declare getopt in C++, fixes FTBFS with g++ >= 4.7 
    (Closes: #667392)
* add patches (maybe to be included upstream) that allows inclusion of
  one config file in another for (x)dvipdfmx. This will be
  used by the paper code.
* fix description of libptexenc-dev package (Closes: #667694)
* remove xdvik patch, included upstream
* remove conflict with ptex-bin, we are building a transitional package now
* build with internal t1lib, as t1lib is going to disappear in
  wheezy (Closes: #667912) (no, dropping xdvi is not an option!)
  (add a lintian override otherwise this gives a lintian error)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
---
 
2
 texk/dvipdfmx/dvipdfmx-20110311/data/dvipdfmx.cfg |    3 +++
 
3
 texk/dvipdfmx/dvipdfmx-20110311/src/dvipdfmx.c    |    8 ++++++++
 
4
 2 files changed, 11 insertions(+)
 
5
 
 
6
Index: texlive-bin-2011.20120328/texk/dvipdfmx/dvipdfmx-20110311/data/dvipdfmx.cfg
 
7
===================================================================
 
8
--- texlive-bin-2011.20120328.orig/texk/dvipdfmx/dvipdfmx-20110311/data/dvipdfmx.cfg    2011-05-09 18:18:23.000000000 +0900
 
9
+++ texlive-bin-2011.20120328/texk/dvipdfmx/dvipdfmx-20110311/data/dvipdfmx.cfg 2012-03-30 10:33:25.410473003 +0900
 
10
@@ -198,3 +198,6 @@
 
11
 
 
12
 %% Put additonal fontmap files here (usually for Type0 fonts)
 
13
 f  cid-x.map
 
14
+
 
15
+%% Include other config files
 
16
+%i <filename>
 
17
Index: texlive-bin-2011.20120328/texk/dvipdfmx/dvipdfmx-20110311/src/dvipdfmx.c
 
18
===================================================================
 
19
--- texlive-bin-2011.20120328.orig/texk/dvipdfmx/dvipdfmx-20110311/src/dvipdfmx.c       2011-03-09 20:02:16.000000000 +0900
 
20
+++ texlive-bin-2011.20120328/texk/dvipdfmx/dvipdfmx-20110311/src/dvipdfmx.c    2012-03-30 10:33:25.414473001 +0900
 
21
@@ -102,6 +102,9 @@
 
22
 char *dvi_filename = NULL, *pdf_filename = NULL;
 
23
 
 
24
 static void
 
25
+read_config_file (const char *config);
 
26
+
 
27
+static void
 
28
 set_default_pdf_filename(void)
 
29
 {
 
30
   const char *dvi_base;
 
31
@@ -562,6 +565,11 @@
 
32
       case 'E':
 
33
         compat_mode = 1;
 
34
         break;
 
35
+      case 'i':
 
36
+        CHECK_ARG(1, "subsidiary config file");
 
37
+        read_config_file(argv[1]);
 
38
+        POP_ARG();
 
39
+        break;
 
40
       case 'e':
 
41
        if (compat_mode) {
 
42
          WARN("dvipdfm \"-e\" option not supported.");