From: Jakob Haufe Date: Sun, 11 Mar 2012 23:06:17 +0000 (+0100) Subject: Regenerate debian/patches/* for 3.0.0 X-Git-Tag: debian/3.0.0-1~16 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=2106085bfc1b14e6112afdaa71d8f3b88af44b17;p=glabels Regenerate debian/patches/* for 3.0.0 Names changed as we are now using gbp. Drop 30_Werror-format-security.patch as glabels no longer ships it's own version of barcode. Drop 40_linker.patch as these changes are upstream. --- diff --git a/debian/patches/0001-menu.patch b/debian/patches/0001-menu.patch new file mode 100644 index 00000000..1a18a62c --- /dev/null +++ b/debian/patches/0001-menu.patch @@ -0,0 +1,19 @@ +From: Debian QA Group +Date: Sun, 11 Mar 2012 23:52:33 +0100 +Subject: menu + +Make lintian happy removing useless Encoding in dektop menu entry +--- + data/desktop/glabels-3.0.desktop.in | 1 - + 1 files changed, 0 insertions(+), 1 deletions(-) + +diff --git a/data/desktop/glabels-3.0.desktop.in b/data/desktop/glabels-3.0.desktop.in +index 4d7d579..1c89039 100644 +--- a/data/desktop/glabels-3.0.desktop.in ++++ b/data/desktop/glabels-3.0.desktop.in +@@ -1,5 +1,4 @@ + [Desktop Entry] +-Encoding=UTF-8 + _Name=gLabels Label Designer 3 + _Comment=Create labels, business cards and media covers + Exec=glabels-3 %F diff --git a/debian/patches/0002-manpage.patch b/debian/patches/0002-manpage.patch new file mode 100644 index 00000000..e7ed4790 --- /dev/null +++ b/debian/patches/0002-manpage.patch @@ -0,0 +1,34 @@ +From: Debian QA Group +Date: Sun, 11 Mar 2012 23:52:33 +0100 +Subject: manpage + +Document a couple of missing options in the manpage. +--- + data/man/glabels-3.1 | 7 +++++++ + 1 files changed, 7 insertions(+), 0 deletions(-) + +diff --git a/data/man/glabels-3.1 b/data/man/glabels-3.1 +index 5b5b434..c255d7c 100644 +--- a/data/man/glabels-3.1 ++++ b/data/man/glabels-3.1 +@@ -42,6 +42,10 @@ Print program version information. + \fB\-o\fR \fIfilename\fR, \fB\-\-output\fR=\fIfilename\fR + Set output filename to \fIfilename\fR. (default="output.ps") + .TP ++\fB\-i\fR \fIfilename\fR, \fB\-\-input\fR=\fIfilename\fR ++Set name of file with data to be merged to \fIfilename\fR. Typically ++this is a .csv file containing values to be printed on the labels. ++.TP + \fB\-s\fR \fIn\fR, \fB\-\-sheets\fR=\fIn\fR + Set number of sheets to \fIn\fR. (default=1) + .TP +@@ -55,6 +59,9 @@ Set label on first sheet to start printing from to \fIn\fR. (default=1) + Print outlines around labels. This is useful for testing printer alignment + or printing proof sheets. + .TP ++\fB\-C\fR, \fB\-\-cropmarks\fR ++Print crop marks. Helpful for cutting up sheets. ++.TP + \fB\-r\fR, \fB\-\-reverse\fR + Print mirror image of labels. This is useful for clear labels intended to be + seen from the back through glass. diff --git a/debian/patches/10_manpage.patch b/debian/patches/10_manpage.patch deleted file mode 100644 index 713999cc..00000000 --- a/debian/patches/10_manpage.patch +++ /dev/null @@ -1,30 +0,0 @@ -Bug: https://sourceforge.net/tracker/?func=detail&aid=2964354&group_id=46122&atid=445116 -Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=357046 -Author: Ralph Aichinger - -Document a couple of missing options in the manpage. - -diff -urN glabels-2.1.3.orig/data/man/glabels.1 glabels-2.1.3/data/man/glabels.1 ---- glabels-2.1.3.orig/data/man/glabels.1 2006-06-27 18:11:28.997721992 +0200 -+++ glabels-2.1.3/data/man/glabels.1 2006-06-27 18:12:30.008446952 +0200 -@@ -42,6 +42,10 @@ - \fB\-o\fR \fIfilename\fR, \fB\-\-output\fR=\fIfilename\fR - Set output filename to \fIfilename\fR. (default="output.ps") - .TP -+\fB\-i\fR \fIfilename\fR, \fB\-\-input\fR=\fIfilename\fR -+Set name of file with data to be merged to \fIfilename\fR. Typically -+this is a .csv file containing values to be printed on the labels. -+.TP - \fB\-s\fR \fIn\fR, \fB\-\-sheets\fR=\fIn\fR - Set number of sheets to \fIn\fR. (default=1) - .TP -@@ -55,6 +59,9 @@ - Print outlines around labels. This is useful for testing printer alignment - or printing proof sheets. - .TP -+\fB\-C\fR, \fB\-\-cropmarks\fR -+Print crop marks. Helpful for cutting up sheets. -+.TP - \fB\-r\fR, \fB\-\-reverse\fR - Print mirror image of labels. This is useful for clear labels intended to be - seen from the back through glass. diff --git a/debian/patches/20_menu.patch b/debian/patches/20_menu.patch deleted file mode 100644 index c0cc5d20..00000000 --- a/debian/patches/20_menu.patch +++ /dev/null @@ -1,14 +0,0 @@ -Author: Olivier Berger - -Make lintian happy removing useless Encoding in dektop menu entry - -Index: glabels-2.2.8/data/desktop/glabels.desktop.in -=================================================================== ---- glabels-2.2.8.orig/data/desktop/glabels.desktop.in 2011-04-12 10:26:33.000000000 +0200 -+++ glabels-2.2.8/data/desktop/glabels.desktop.in 2011-04-12 10:26:48.000000000 +0200 -@@ -1,5 +1,4 @@ - [Desktop Entry] --Encoding=UTF-8 - _Name=gLabels Label Designer - _Comment=Create labels, business cards and media covers - Exec=glabels %F diff --git a/debian/patches/30_Werror-format-security.patch b/debian/patches/30_Werror-format-security.patch deleted file mode 100644 index 2d99811a..00000000 --- a/debian/patches/30_Werror-format-security.patch +++ /dev/null @@ -1,18 +0,0 @@ -Description: add format argument to sprintf call to prevent failure with -Werror=format-security -Origin: vendor -Bug-Debian: http://bugs.debian.org/bug=643390 -Forwarded: no -Author: gregor herrmann -Last-Update: 2011-12-19 - ---- a/barcode-0.98/plessey.c -+++ b/barcode-0.98/plessey.c -@@ -148,7 +148,7 @@ - checkptr[i+j] ^= check[j]; - } - for (i = 0; i < 8; i++) { -- sprintf(ptr, patterns[checkptr[strlen(text) * 4 + i]]); -+ sprintf(ptr, "%s", patterns[checkptr[strlen(text) * 4 + i]]); - ptr += 2; - } - fprintf(stderr, "CRC: "); diff --git a/debian/patches/40_linker.patch b/debian/patches/40_linker.patch deleted file mode 100644 index 22f53c02..00000000 --- a/debian/patches/40_linker.patch +++ /dev/null @@ -1,49 +0,0 @@ -Description: add '-lm' to linker arguments, otherwise the linking fails with binutils-golds or --no-add-needed -Origin: vendor -Forwarded: no -Author: gregor herrmann -Last-Update: 2011-12-19 - ---- a/src/Makefile.am -+++ b/src/Makefile.am -@@ -30,7 +30,8 @@ - ../libglabels/libglabels.la \ - mygal/libmygal.la \ - $(LIB_BARCODE_DIR)/libbarcode.la \ -- $(LIB_IEC16022_DIR)/libiec16022.la -+ $(LIB_IEC16022_DIR)/libiec16022.la \ -+ -lm - - glabels_batch_LDFLAGS = -export-dynamic - -@@ -38,7 +39,8 @@ - $(GLABELS_LIBS) \ - ../libglabels/libglabels.la \ - $(LIB_BARCODE_DIR)/libbarcode.la \ -- $(LIB_IEC16022_DIR)/libiec16022.la -+ $(LIB_IEC16022_DIR)/libiec16022.la \ -+ -lm - - BUILT_SOURCES = \ - marshal.c \ ---- a/src/Makefile.in -+++ b/src/Makefile.in -@@ -365,14 +365,16 @@ - ../libglabels/libglabels.la \ - mygal/libmygal.la \ - $(LIB_BARCODE_DIR)/libbarcode.la \ -- $(LIB_IEC16022_DIR)/libiec16022.la -+ $(LIB_IEC16022_DIR)/libiec16022.la \ -+ -lm - - glabels_batch_LDFLAGS = -export-dynamic - glabels_batch_LDADD = \ - $(GLABELS_LIBS) \ - ../libglabels/libglabels.la \ - $(LIB_BARCODE_DIR)/libbarcode.la \ -- $(LIB_IEC16022_DIR)/libiec16022.la -+ $(LIB_IEC16022_DIR)/libiec16022.la \ -+ -lm - - BUILT_SOURCES = \ - marshal.c \ diff --git a/debian/patches/series b/debian/patches/series index 5b78de6a..89b8a0f5 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1,4 +1,2 @@ -20_menu.patch -10_manpage.patch -30_Werror-format-security.patch -40_linker.patch +0001-menu.patch +0002-manpage.patch