summaryrefslogtreecommitdiff
path: root/graphics/barcode
diff options
context:
space:
mode:
authorseb <seb@pkgsrc.org>2004-06-27 08:50:03 +0000
committerseb <seb@pkgsrc.org>2004-06-27 08:50:03 +0000
commit55b24cbd78202862d25a9cd137f5173ba0253e72 (patch)
treec607c8261a7edee8691929638c433a0633f49550 /graphics/barcode
parent6762fbccf3c34a5443513ca42e4409ed67db57ad (diff)
downloadpkgsrc-55b24cbd78202862d25a9cd137f5173ba0253e72.tar.gz
Update to version 0.98.
Packages changes: * Update HOMEPAGE. * Note that patch files were ordered so that the info file does not appear newer than its Texinfo source. Changes since last packaged version: 2002-03-01 Alessandro Rubini <rubini@linux.it> * library.c (Barcode_Encode): handle bitsets separately, like in Barcode_Print (otherwise, you might loose NO_CHECKSUM). * debian/changelog: moved to 0.98 (but should fix all debian/ stuff) * contrib/barcode-for-delphi.tar.gz: new, contributed by Michael Geddes * contrib/barcode-for-delphi.tar.gz.README: short info for file above * main.c (main): allow "-g" to set size of code in a table as well -- suggested and initiallt implemented by Joachim Reichelt. (main): fixed missing "Page: 1 1" in postscript for tables (main): for tables don't use Encode_and_Print, use a local unrolled version, so the default margin can be removed and we avoid problems with negative xoff in the output phase (first column may be offset, as noted by Karl Magnus Kolstoe) * doc/doc.barcode: documented change above. * README: removed refernces to systemy.it, I'm no more there Added link to FreeBSD ports tree and GLabels Organized as sections with titles * contrib/barcode-SVG.tar.gz: new contribution, by David J. Humphreys * contrib/barcode-SVG.tar.gz.README: short description of file above * contrib/grab-0.0.4.tar.gz: new program, by Tuukka Toivonen. * contrib/grab-0.0.4.tar.gz.README: short description of file above 2002-03-01 Boszormenyi Zoltan <zboszor@externet.hu> * barcode.spec: new file 2002-02-27 Alessandro Rubini <rubini@linux.it> * bookland/bookland.py: updated to version 0.92 by Judah Milgram 2001-11-13 Alessandro Rubini <rubini@linux.it> * README: Added a pointer to the Windows port. 2001-11-09 Cloyce D. Spradling <cloyce@headgear.org> * code128.c (Barcode_128b_verify): prototype fix (unsigned char). * ps.c (Barcode_ps_print): the comment for ascii codes must only be printed if ascii is being printed (benign bug). 2001-11-06 Christoph Pross <c.pross@beck-ipc.com> * pcl.c (Barcode_pcl_print): bugfix: bars were misplaced 2001-10-16 Nathan D. Holmes <nh412124@ursa.cosd.fedex.com> ====> Version 0.97 released to ftp.systemy.it and ftp.gnu.org * code93.c: new file (I modified something as well - Alessandro) * doc/doc.barcode (Supported Encodings): added docs for code93 * main.c: added code93 names * Makefile.in (LIBOBJECTS): added code93.o * library.c: added code93 entry points 2001-10-16 Alessandro Rubini <rubini@linux.it> * doc/manpager: added (trivial) support for @itemize, added copyright * sample.c (main): accept -P to create PCL output * doc/doc.barcode (PCL Output): added the section, using text provided by Andrea Scopece and turning it into texinfo. Removed also a few extra newlines that made bad man pages 2001-10-16 Andrea Scopece <a.scopece@vizzavi.it> * barcode.h: added BARCODE_OUT_PCL and BARCODE_OUT_PCL_III * library.c (Barcode_Print): use BARCODE_OUT_PCL to select pcl_print() * Makefile.in (LIBOBJECTS): added pcl.o * pcl.c: new file, with PCL output support 2001-10-16 Alessandro Rubini <rubini@linux.it> * doc/doc.barcode (Supported Encodings): added documentation for EAN and UPC with checksum, as coded by mr. Böszörményi (below) 2001-10-16 Boszormenyi Zoltan <zboszor@externet.hu> * ean.c: I found that barcode-0.96 does not correctly encodes UPC-E. This was mainly because in upc_e_to_a() the switch() branches all ended without "break;". Printing UPC-E did not print the leading encoding number and the trailing UPC-A checksum. Now it does. Accept EAN-13 and EAN-8 with and without the checksum. So always treat 7 and 12 digit sequences as valid EAN codes and accept 8 and 13 digit sequences as valid EAN codes when the last digit is the same as the calculated one. Accept UPC-A as above (11 or 12 digit sequences.) Accepts UPC-E as: 6 digit sequence: the middle part of the code (leading '0' assumed) 7 digit sequence: the middle part and either a leading '0' or '1', or a trailing UPC-A checksum. In that case, leading '0' assumed. 8 digit sequence: a leading '0' or '1', middle part, checksum UPC-A, UPC-E, EAN-13, and EAN-8 may all include an additional barcode to the right of the main barcode. As a 7 or a 12 digit sequence may be ambiguous, please remember that EAN is checked before UPC if you specified BARCODE_ANY. 2001-08-20 Alessandro Rubini <rubini@linux.it> * sample.c (main): added upc-e and ean-8 samples 2001-08-11 Boszormenyi Zoltan <zboszor@externet.hu> * ps.c (Barcode_ps_print): don't output "showpage" in EPS mode 2001-08-11 Alessandro Rubini <rubini@linux.it> * README: Changed host names, added barcode-commit list. 2000-11-29 Alessandro Rubini <rubini@morgana.systemy.it> * doc/doc.barcode (The Field List): 1pt == 0.352mm, not 0.0352 (thanks to Stephen Irven for reporting)
Diffstat (limited to 'graphics/barcode')
-rw-r--r--graphics/barcode/Makefile6
-rw-r--r--graphics/barcode/distinfo11
-rw-r--r--graphics/barcode/patches/patch-aa38
-rw-r--r--graphics/barcode/patches/patch-ab39
-rw-r--r--graphics/barcode/patches/patch-ac16
5 files changed, 63 insertions, 47 deletions
diff --git a/graphics/barcode/Makefile b/graphics/barcode/Makefile
index 990633b9946..b65ed54452f 100644
--- a/graphics/barcode/Makefile
+++ b/graphics/barcode/Makefile
@@ -1,12 +1,12 @@
-# $NetBSD: Makefile,v 1.6 2003/08/09 10:53:27 seb Exp $
+# $NetBSD: Makefile,v 1.7 2004/06/27 08:50:03 seb Exp $
#
-DISTNAME= barcode-0.96
+DISTNAME= barcode-0.98
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_GNU:=barcode/}
MAINTAINER= dillo@NetBSD.org
-HOMEPAGE= http://gnu.systemy.it/software/barcode/
+HOMEPAGE= http://ar.linux.it/software/barcode/
COMMENT= Create bar codes as EPS (program and library)
GNU_CONFIGURE= YES
diff --git a/graphics/barcode/distinfo b/graphics/barcode/distinfo
index 87c6ea25a49..e3c2313283a 100644
--- a/graphics/barcode/distinfo
+++ b/graphics/barcode/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.2 2004/06/15 12:47:32 grant Exp $
+$NetBSD: distinfo,v 1.3 2004/06/27 08:50:03 seb Exp $
-SHA1 (barcode-0.96.tar.gz) = d567b95c325df474ebaaf9393d02e0f91781ada1
-Size (barcode-0.96.tar.gz) = 259848 bytes
-SHA1 (patch-aa) = aad4f40e0cd9f0ef428e2a5d17628518d24aff43
-SHA1 (patch-ab) = dcdd5d1dd9e4744cc78c765001579613d88aff2a
+SHA1 (barcode-0.98.tar.gz) = 15b9598bcaa67bcff1f63309d1a18840b9a12899
+Size (barcode-0.98.tar.gz) = 335658 bytes
+SHA1 (patch-aa) = eb0812ae80a65828a20021ba1e718488899c212d
+SHA1 (patch-ab) = 166fce927fdb3ce77600f3fbab3b28faa7c9d340
+SHA1 (patch-ac) = 9e0ea49bb4b647d6daeb9666f0546dd0101fb507
diff --git a/graphics/barcode/patches/patch-aa b/graphics/barcode/patches/patch-aa
index 22b70c3631b..3ae82755041 100644
--- a/graphics/barcode/patches/patch-aa
+++ b/graphics/barcode/patches/patch-aa
@@ -1,16 +1,28 @@
-$NetBSD: patch-aa,v 1.1.1.1 2001/07/12 21:32:54 dillo Exp $
+$NetBSD: patch-aa,v 1.2 2004/06/27 08:50:03 seb Exp $
---- doc/barcode.info.orig Thu Nov 9 16:26:37 2000
-+++ doc/barcode.info
-@@ -13,6 +13,11 @@
- This file documents version 0.96 of the barcode library and sample
- programs (November 2000).
+--- Makefile.in.orig 2001-10-17 13:26:21.000000000 +0000
++++ Makefile.in
+@@ -55,7 +55,7 @@ $(LIBRARY): $(LIBOBJECTS)
+ $(RANLIB) $(LIBRARY)
-+INFO-DIR-SECTION Miscellaneous
-+START-INFO-DIR-ENTRY
-+* Barcode: (barcode). A barcode generation program and library.
-+END-INFO-DIR-ENTRY
-+
- * Menu:
+ $(MAN1) $(MAN3): doc/doc.$(TARGET)
+- awk -f doc/manpager doc/doc.$(TARGET)
++ ${AWK} -f doc/manpager doc/doc.$(TARGET)
- * Overview::
+
+ # Unfortunately, pmake has no "-C". Also, "pmake -n" doesn't follow the cd.
+@@ -63,8 +63,12 @@ $(INFO): doc/doc.$(TARGET)
+ cd doc && $(MAKE)
+
+ install:
+- $(INSTALL) -d $(BINDIR) $(INCDIR) $(LIBDIR) $(MAN1DIR) \
+- $(MAN3DIR) $(INFODIR)
++ $(INSTALL) -d $(BINDIR)
++ $(INSTALL) -d $(INCDIR)
++ $(INSTALL) -d $(LIBDIR)
++ $(INSTALL) -d $(MAN1DIR)
++ $(INSTALL) -d $(MAN3DIR)
++ $(INSTALL) -d $(INFODIR)
+ $(INSTALL) -c $(TARGET) $(BINDIR)
+ $(INSTALL) -c -m 0644 $(HEADER) $(INCDIR)
+ $(INSTALL) -c -m 0644 $(LIBRARY) $(LIBDIR)
diff --git a/graphics/barcode/patches/patch-ab b/graphics/barcode/patches/patch-ab
index 69bae39cae9..ce8bf9ac476 100644
--- a/graphics/barcode/patches/patch-ab
+++ b/graphics/barcode/patches/patch-ab
@@ -1,29 +1,16 @@
-$NetBSD: patch-ab,v 1.2 2004/06/15 12:47:32 grant Exp $
+$NetBSD: patch-ab,v 1.3 2004/06/27 08:50:03 seb Exp $
---- Makefile.in.orig 2000-11-09 05:17:40.000000000 +1100
-+++ Makefile.in
-@@ -55,7 +55,7 @@ $(LIBRARY): $(LIBOBJECTS)
- $(RANLIB) $(LIBRARY)
+--- doc/doc.barcode.orig 2002-03-01 22:41:50.000000000 +0000
++++ doc/doc.barcode
+@@ -43,6 +43,11 @@ This file is the User's Manual for the b
- $(MAN1) $(MAN3): doc/doc.$(TARGET)
-- gawk -f doc/manpager doc/doc.$(TARGET)
-+ ${AWK} -f doc/manpager doc/doc.$(TARGET)
+ @end ifinfo
-
- # Unfortunately, pmake has no "-C". Also, "pmake -n" doesn't follow the cd.
-@@ -63,8 +63,13 @@ $(INFO): doc/doc.$(TARGET)
- cd doc && $(MAKE)
-
- install:
-- $(INSTALL) -d $(BINDIR) $(INCDIR) $(LIBDIR) $(MAN1DIR) \
-- $(MAN3DIR) $(INFODIR)
-+ $(INSTALL) -d $(BINDIR)
-+ $(INSTALL) -d $(INCDIR)
-+ $(INSTALL) -d $(LIBDIR)
-+ $(INSTALL) -d $(MAN1DIR)
-+ $(INSTALL) -d $(MAN3DIR)
-+ $(INSTALL) -d $(MAN3DIR)
-+ $(INSTALL) -d $(INFODIR)
- $(INSTALL) -c $(TARGET) $(BINDIR)
- $(INSTALL) -c -m 0644 $(HEADER) $(INCDIR)
- $(INSTALL) -c -m 0644 $(LIBRARY) $(LIBDIR)
++@dircategory Miscellaneous
++@direntry
++* Barcode: (barcode). A barcode generation program and library.
++@end direntry
++
+ @setchapternewpage odd
+ @titlepage
+ @c use the new format for titles
diff --git a/graphics/barcode/patches/patch-ac b/graphics/barcode/patches/patch-ac
new file mode 100644
index 00000000000..d8f93c5ad72
--- /dev/null
+++ b/graphics/barcode/patches/patch-ac
@@ -0,0 +1,16 @@
+$NetBSD: patch-ac,v 1.1 2004/06/27 08:50:04 seb Exp $
+
+--- doc/barcode.info.orig 2002-03-01 22:56:47.000000000 +0000
++++ doc/barcode.info
+@@ -13,6 +13,11 @@ Barcode tools
+ This file documents version 0.98 of the barcode library and sample
+ programs (March 2002).
+
++INFO-DIR-SECTION Miscellaneous
++START-INFO-DIR-ENTRY
++* Barcode: (barcode). A barcode generation program and library.
++END-INFO-DIR-ENTRY
++
+ * Menu:
+
+ * Overview::