Codebase list gtkmathview / a85fc83
switch from dpatch to quilt for patch management Stefano Zacchiroli 14 years ago
12 changed file(s) with 178 addition(s) and 155 deletion(s). Raw diff Collapse all Expand all
00 gtkmathview (0.8.0-4) UNRELEASED; urgency=low
11
22 * move packaging to Git, updated Vcs-* fields accordingly
3 * switch from dpatch to quilt for patch management
34
45 -- Stefano Zacchiroli <zack@debian.org> Fri, 11 Dec 2009 12:34:36 +0100
56
1111 libt1-dev (>= 5.1.1-1.1),
1212 libpopt-dev,
1313 pkg-config,
14 dpatch,
14 quilt,
1515 cdbs,
1616 g++-4.3,
1717 gcc-4.3
0 From: Stefano Zacchiroli <zack@upsilon.cc>
1 Date: Fri, 11 Dec 2009 12:56:21 +0100
2 Subject: [PATCH] support for Debian-specific conf dictionary
3
4 ---
5 config/gtkmathview.conf.xml.in | 1 +
6 dictionary-debian.xml | 3 +++
7 2 files changed, 4 insertions(+), 0 deletions(-)
8 create mode 100644 dictionary-debian.xml
9
10 diff --git a/config/gtkmathview.conf.xml.in b/config/gtkmathview.conf.xml.in
11 index e03b219..b0ac3cd 100644
12 --- a/config/gtkmathview.conf.xml.in
13 +++ b/config/gtkmathview.conf.xml.in
14 @@ -31,6 +31,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
15 <key name="path">@prefix@/share/gtkmathview/dictionary.xml</key>
16 <key name="path">@prefix@/share/gtkmathview/dictionary-local.xml</key>
17 <key name="path">@prefix@/share/gtkmathview/dictionary-combining.xml</key>
18 + <key name="path">/etc/gtkmathview/dictionary-debian.xml</key>
19 </section>
20
21 <section name="default">
22 diff --git a/dictionary-debian.xml b/dictionary-debian.xml
23 new file mode 100644
24 index 0000000..c0a6332
25 --- /dev/null
26 +++ b/dictionary-debian.xml
27 @@ -0,0 +1,3 @@
28 +<dictionary>
29 + <!-- see /usr/share/gtkmathview*xml for examples -->
30 +</dictionary>
31 --
0 From: Stefano Zacchiroli <zack@upsilon.cc>
1 Date: Fri, 11 Dec 2009 12:58:00 +0100
2 Subject: [PATCH] manpage for mathmlsvg
3
4 ---
5 doc/mathmlsvg.1 | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++
6 1 files changed, 50 insertions(+), 0 deletions(-)
7 create mode 100644 doc/mathmlsvg.1
8
9 diff --git a/doc/mathmlsvg.1 b/doc/mathmlsvg.1
10 new file mode 100644
11 index 0000000..2a531fd
12 --- /dev/null
13 +++ b/doc/mathmlsvg.1
14 @@ -0,0 +1,50 @@
15 +.TH MATHMLSVG "1" "Jun 2005" "GtkMathView" FSF
16 +.SH NAME
17 +mathmlsvg \- MathML to SVG conversion utility
18 +.SH SYNOPSIS
19 +.B mathmlsvg
20 +[\fIOPTION\fR]... \fIFILE\fR...
21 +.SH DESCRIPTION
22 +.TP
23 +\fB\-v\fR, \fB\-\-version\fR
24 +Output version information
25 +.TP
26 +\fB\-h\fR, \fB\-\-help\fR
27 +This small usage guide
28 +.TP
29 +\fB\-u\fR, \fB\-\-unit=\fR<unit>
30 +Unit for dimensions (default='cm')
31 +.TP
32 +\fB\-g\fR, \fB\-\-size=\fR<float>x<float>
33 +Page size (width x height) (default = 21 x 29.7)
34 +.TP
35 +\fB\-m\fR, \fB\-\-margins=\fR<float>x<float>
36 +Margins (top x left) (default = 2 x 2)
37 +.TP
38 +\fB\-f\fR, \fB\-\-font\-size=\fR<float>
39 +Default font size (in pt, default=10)
40 +.TP
41 +\fB\-r\fR, \fB\-\-crop[\fR=\fIyes\fR|no]
42 +Enable/disable cropping to bounding box (default='yes')
43 +.TP
44 +\fB\-\-config=\fR<path>
45 +Configuration file path
46 +.TP
47 +\fB\-\-verbose\fR[=\fI0\-3\fR]
48 +Display messages
49 +.SH "AUTHORS"
50 +Written by Luca Padovani.
51 +.SH "REPORTING BUGS"
52 +Report bugs to <lpadovan@cs.unibo.it>.
53 +.SH "SEE ALSO"
54 +The full documentation for
55 +.B MathML
56 +is maintained as a Texinfo manual. If the
57 +.B info
58 +program and the
59 +.B GtkMathView
60 +library are properly installed at your site, the command
61 +.IP
62 +.B info gtkmathview
63 +.PP
64 +should give you access to the complete manual.
65 --
0 From: Stefano Zacchiroli <zack@upsilon.cc>
1 Date: Fri, 11 Dec 2009 12:58:56 +0100
2 Subject: [PATCH] gcc 4.3 build fixes
3
4 ---
5 mathmlps/main.cc | 1 +
6 mathmlsvg/SMS.cc | 1 +
7 mathmlsvg/main.cc | 1 +
8 src/backend/ps/T1_FontDataBase.cc | 2 +-
9 src/engine/mathml/mathVariantAux.cc | 1 +
10 5 files changed, 5 insertions(+), 1 deletions(-)
11
12 diff --git a/mathmlps/main.cc b/mathmlps/main.cc
13 index cc6cd1c..48339af 100644
14 --- a/mathmlps/main.cc
15 +++ b/mathmlps/main.cc
16 @@ -19,6 +19,7 @@
17 #include <config.h>
18
19 #include <cassert>
20 +#include <cstring>
21 #include <fstream>
22
23 #include <popt.h>
24 diff --git a/mathmlsvg/SMS.cc b/mathmlsvg/SMS.cc
25 index a76266e..be7add8 100644
26 --- a/mathmlsvg/SMS.cc
27 +++ b/mathmlsvg/SMS.cc
28 @@ -18,6 +18,7 @@
29
30 #include <config.h>
31
32 +#include <cstring>
33 #include <sstream>
34 #include "defs.h"
35 #include "AbstractLogger.hh"
36 diff --git a/mathmlsvg/main.cc b/mathmlsvg/main.cc
37 index 259d67e..c49e8ac 100644
38 --- a/mathmlsvg/main.cc
39 +++ b/mathmlsvg/main.cc
40 @@ -19,6 +19,7 @@
41 #include <config.h>
42
43 #include <cassert>
44 +#include <cstring>
45 #include <fstream>
46
47 #include <popt.h>
48 diff --git a/src/backend/ps/T1_FontDataBase.cc b/src/backend/ps/T1_FontDataBase.cc
49 index b6490eb..3dd436c 100644
50 --- a/src/backend/ps/T1_FontDataBase.cc
51 +++ b/src/backend/ps/T1_FontDataBase.cc
52 @@ -19,7 +19,7 @@
53 #include <t1lib.h>
54 #include <config.h>
55 #include <map>
56 -#include <string>
57 +#include <cstring>
58 #include <stdlib.h>
59 #include <iostream>
60 #include <list>
61 diff --git a/src/engine/mathml/mathVariantAux.cc b/src/engine/mathml/mathVariantAux.cc
62 index 736acc1..dcf1826 100644
63 --- a/src/engine/mathml/mathVariantAux.cc
64 +++ b/src/engine/mathml/mathVariantAux.cc
65 @@ -19,6 +19,7 @@
66 #include <config.h>
67
68 #include <cassert>
69 +#include <cstring>
70
71 #include "mathVariantAux.hh"
72
73 --
+0
-2
debian/patches/00dpatch.conf less more
0 conf_debianonly=1
1 conf_origtargzpath=../tarballs
+0
-3
debian/patches/00list less more
0 conffiles
1 mathmlsvg_manpage
2 gcc-4.3
+0
-25
debian/patches/conffiles.dpatch less more
0 #! /bin/sh /usr/share/dpatch/dpatch-run
1 ## conffiles.dpatch by <zack@debian.org>
2 ##
3 ## All lines beginning with `## DP:' are a description of the patch.
4 ## DP: support for a Debian-specific configuration dictionary
5
6 @DPATCH@
7 diff -urNad --exclude=CVS --exclude=.svn ./config/gtkmathview.conf.xml.in /tmp/dpep-work.EUKzAe/gtkmathview-0.7.0/config/gtkmathview.conf.xml.in
8 --- ./config/gtkmathview.conf.xml.in 2005-06-13 12:23:42.000000000 +0200
9 +++ /tmp/dpep-work.EUKzAe/gtkmathview-0.7.0/config/gtkmathview.conf.xml.in 2005-06-13 12:24:09.355964296 +0200
10 @@ -35,6 +35,7 @@
11 <key name="path">@prefix@/share/gtkmathview/dictionary.xml</key>
12 <key name="path">@prefix@/share/gtkmathview/dictionary-local.xml</key>
13 <key name="path">@prefix@/share/gtkmathview/dictionary-combining.xml</key>
14 + <key name="path">/etc/gtkmathview/dictionary-debian.xml</key>
15 </section>
16
17 <section name="default">
18 diff -urNad gtkmathview-0.6.4/dictionary-debian.xml /tmp/dpep.P39oow/gtkmathview-0.6.4/dictionary-debian.xml
19 --- gtkmathview-0.6.4/dictionary-debian.xml 1970-01-01 01:00:00.000000000 +0100
20 +++ /tmp/dpep.P39oow/gtkmathview-0.6.4/dictionary-debian.xml 2004-09-28 18:46:49.387007536 +0200
21 @@ -0,0 +1,3 @@
22 +<dictionary>
23 + <!-- see /usr/share/gtkmathview*xml for examples -->
24 +</dictionary>
+0
-63
debian/patches/gcc-4.3.dpatch less more
0 #! /bin/sh /usr/share/dpatch/dpatch-run
1 ## gcc-4.3.dpatch by Stefano Zacchiroli <zack@debian.org>
2 ##
3 ## All lines beginning with `## DP:' are a description of the patch.
4 ## DP: various fixes to enable compilation against gcc 4.3
5
6 @DPATCH@
7 diff -urNad trunk~/mathmlps/main.cc trunk/mathmlps/main.cc
8 --- trunk~/mathmlps/main.cc 2007-08-17 12:02:46.000000000 +0200
9 +++ trunk/mathmlps/main.cc 2008-05-01 23:28:02.000000000 +0200
10 @@ -19,6 +19,7 @@
11 #include <config.h>
12
13 #include <cassert>
14 +#include <cstring>
15 #include <fstream>
16
17 #include <popt.h>
18 diff -urNad trunk~/mathmlsvg/SMS.cc trunk/mathmlsvg/SMS.cc
19 --- trunk~/mathmlsvg/SMS.cc 2007-08-17 12:02:46.000000000 +0200
20 +++ trunk/mathmlsvg/SMS.cc 2008-05-01 23:28:02.000000000 +0200
21 @@ -18,6 +18,7 @@
22
23 #include <config.h>
24
25 +#include <cstring>
26 #include <sstream>
27 #include "defs.h"
28 #include "AbstractLogger.hh"
29 diff -urNad trunk~/mathmlsvg/main.cc trunk/mathmlsvg/main.cc
30 --- trunk~/mathmlsvg/main.cc 2007-08-17 12:02:46.000000000 +0200
31 +++ trunk/mathmlsvg/main.cc 2008-05-01 23:28:02.000000000 +0200
32 @@ -19,6 +19,7 @@
33 #include <config.h>
34
35 #include <cassert>
36 +#include <cstring>
37 #include <fstream>
38
39 #include <popt.h>
40 diff -urNad trunk~/src/backend/ps/T1_FontDataBase.cc trunk/src/backend/ps/T1_FontDataBase.cc
41 --- trunk~/src/backend/ps/T1_FontDataBase.cc 2007-08-17 12:02:40.000000000 +0200
42 +++ trunk/src/backend/ps/T1_FontDataBase.cc 2008-05-01 23:28:02.000000000 +0200
43 @@ -19,7 +19,7 @@
44 #include <t1lib.h>
45 #include <config.h>
46 #include <map>
47 -#include <string>
48 +#include <cstring>
49 #include <stdlib.h>
50 #include <iostream>
51 #include <list>
52 diff -urNad trunk~/src/engine/mathml/mathVariantAux.cc trunk/src/engine/mathml/mathVariantAux.cc
53 --- trunk~/src/engine/mathml/mathVariantAux.cc 2007-08-17 12:02:38.000000000 +0200
54 +++ trunk/src/engine/mathml/mathVariantAux.cc 2008-05-01 23:28:02.000000000 +0200
55 @@ -19,6 +19,7 @@
56 #include <config.h>
57
58 #include <cassert>
59 +#include <cstring>
60
61 #include "mathVariantAux.hh"
62
+0
-61
debian/patches/mathmlsvg_manpage.dpatch less more
0 #! /bin/sh /usr/share/dpatch/dpatch-run
1 ## mathmlsvg_manpage.dpatch by <zack@debian.org>
2 ##
3 ## All lines beginning with `## DP:' are a description of the patch.
4 ## DP: manpage for mathmlsvg
5
6 @DPATCH@
7 diff -urNad --exclude=CVS --exclude=.svn ./doc/mathmlsvg.1 /tmp/dpep-work.6JYM5t/gtkmathview-0.7.0/doc/mathmlsvg.1
8 --- ./doc/mathmlsvg.1 1970-01-01 01:00:00.000000000 +0100
9 +++ /tmp/dpep-work.6JYM5t/gtkmathview-0.7.0/doc/mathmlsvg.1 2005-06-13 12:42:40.512042896 +0200
10 @@ -0,0 +1,50 @@
11 +.TH MATHMLSVG "1" "Jun 2005" "GtkMathView" FSF
12 +.SH NAME
13 +mathmlsvg \- MathML to SVG conversion utility
14 +.SH SYNOPSIS
15 +.B mathmlsvg
16 +[\fIOPTION\fR]... \fIFILE\fR...
17 +.SH DESCRIPTION
18 +.TP
19 +\fB\-v\fR, \fB\-\-version\fR
20 +Output version information
21 +.TP
22 +\fB\-h\fR, \fB\-\-help\fR
23 +This small usage guide
24 +.TP
25 +\fB\-u\fR, \fB\-\-unit=\fR<unit>
26 +Unit for dimensions (default='cm')
27 +.TP
28 +\fB\-g\fR, \fB\-\-size=\fR<float>x<float>
29 +Page size (width x height) (default = 21 x 29.7)
30 +.TP
31 +\fB\-m\fR, \fB\-\-margins=\fR<float>x<float>
32 +Margins (top x left) (default = 2 x 2)
33 +.TP
34 +\fB\-f\fR, \fB\-\-font\-size=\fR<float>
35 +Default font size (in pt, default=10)
36 +.TP
37 +\fB\-r\fR, \fB\-\-crop[\fR=\fIyes\fR|no]
38 +Enable/disable cropping to bounding box (default='yes')
39 +.TP
40 +\fB\-\-config=\fR<path>
41 +Configuration file path
42 +.TP
43 +\fB\-\-verbose\fR[=\fI0\-3\fR]
44 +Display messages
45 +.SH "AUTHORS"
46 +Written by Luca Padovani.
47 +.SH "REPORTING BUGS"
48 +Report bugs to <lpadovan@cs.unibo.it>.
49 +.SH "SEE ALSO"
50 +The full documentation for
51 +.B MathML
52 +is maintained as a Texinfo manual. If the
53 +.B info
54 +program and the
55 +.B GtkMathView
56 +library are properly installed at your site, the command
57 +.IP
58 +.B info gtkmathview
59 +.PP
60 +should give you access to the complete manual.
0 0001-support-for-Debian-specific-conf-dictionary.patch
1 0002-manpage-for-mathmlsvg.patch
2 0003-gcc-4.3-build-fixes.patch
00 #!/usr/bin/make -f
1 include /usr/share/cdbs/1/rules/patchsys-quilt.mk
12 include /usr/share/cdbs/1/rules/debhelper.mk
23 include /usr/share/cdbs/1/class/autotools.mk
34 include /usr/share/cdbs/1/rules/dpatch.mk