Skip to content

Commit

Permalink
* fixup some perl distribution details
Browse files Browse the repository at this point in the history
  * project name change: everything "zebra" becomes "zbar"
  * remove old logo
  • Loading branch information
spadix committed Apr 17, 2009
1 parent 5289ed1 commit cf7edfa
Show file tree
Hide file tree
Showing 168 changed files with 5,697 additions and 6,067 deletions.
5 changes: 4 additions & 1 deletion ChangeLog
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
current:
version 0.7:
* fixup some perl distribution details
* project name change: everything "zebra" becomes "zbar"
* remove old logo
* add first pass python bindings!
* fix perl mortality bug
* add new cfg constants to perl
Expand Down
8 changes: 4 additions & 4 deletions HACKING
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
if you're hacking at zebra, PLEASE send patches against the latest SVN!
if you haven't already, get zebra from SVN by running:
if you're hacking at ZBar, PLEASE send patches against the latest SVN!
if you haven't already, get ZBar from SVN by running:

svn co https://zebra.svn.sourceforge.net/svnroot/zebra/trunk zebra
cd zebra
svn co https://zbar.svn.sourceforge.net/svnroot/zbar/trunk zbar
cd zbar
autoreconf --install

this will generate configure and all that other foo you usually get with
Expand Down
26 changes: 14 additions & 12 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -12,31 +12,31 @@ BUILT_SOURCES =
EXTRA_DIST =

pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = zebra.pc
pkgconfig_DATA = zbar.pc

dist_doc_DATA = COPYING.LIB HACKING INSTALL NEWS README TODO

include $(srcdir)/include/Makefile.am.inc
include $(srcdir)/zebra/Makefile.am.inc
include $(srcdir)/zbar/Makefile.am.inc
if HAVE_MAGICK
include $(srcdir)/zebraimg/Makefile.am.inc
include $(srcdir)/zbarimg/Makefile.am.inc
endif
if HAVE_VIDEO
include $(srcdir)/zebracam/Makefile.am.inc
include $(srcdir)/zbarcam/Makefile.am.inc
endif
if HAVE_PYTHON
include $(srcdir)/python/Makefile.am.inc
endif
if HAVE_GTK
include $(srcdir)/gtk/Makefile.am.inc
pkgconfig_DATA += zebra-gtk.pc
pkgconfig_DATA += zbar-gtk.pc
if HAVE_PYTHON
include $(srcdir)/pygtk/Makefile.am.inc
endif
endif
if HAVE_QT
include $(srcdir)/qt/Makefile.am.inc
pkgconfig_DATA += zebra-qt.pc
pkgconfig_DATA += zbar-qt.pc
endif
if HAVE_NPAPI
include $(srcdir)/plugin/Makefile.am.inc
Expand All @@ -45,11 +45,13 @@ include $(srcdir)/test/Makefile.am.inc
include $(srcdir)/doc/Makefile.am.inc

EXTRA_DIST += examples/upcrpc.pl examples/upcrpc.py examples/paginate.pl \
zebra.spec.in zebra.spec
zbar.spec.in zbar.spec

EXTRA_DIST += perl/MANIFEST perl/README perl/Changes perl/COPYING.LIB \
perl/Makefile.PL perl/typemap perl/Zebra.xs perl/ppport.h \
perl/Zebra.pm perl/Zebra/Image.pod perl/Zebra/ImageScanner.pod \
perl/Zebra/Processor.pod perl/Zebra/Symbol.pod \
perl/t/Decoder.t perl/t/Image.t perl/t/Processor.t perl/t/Scanner.t \
perl/t/Zebra.t perl/t/barcode.png
perl/Makefile.PL perl/typemap perl/ZBar.xs perl/ppport.h \
perl/ZBar.pm perl/inc/Devel/CheckLib.pm perl/ZBar/Image.pod
perl/ZBar/ImageScanner.pod perl/ZBar/Processor.pod perl/ZBar/Symbol.pod \
perl/examples/paginate.pl perl/examples/processor.pl \
perl/examples/scan_image.pl \
perl/t/barcode.png perl/t/ZBar.t perl/t/Decoder.t perl/t/Image.t \
perl/t/Processor.t perl/t/Scanner.t perl/t/pod.t perl/t/pod-coverage.t
2 changes: 1 addition & 1 deletion NEWS
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Zebra Barcode Reader
ZBar Barcode Reader

version 0.6 (2009-02-28):
This release fixes many bugs and adds several improvements suggested
Expand Down
32 changes: 15 additions & 17 deletions README
Original file line number Diff line number Diff line change
@@ -1,18 +1,16 @@
ZEBRA BARCODE READER
ZBAR BAR CODE READER
====================

The Zebra Barcode Reader library is a library for scanning and
decoding bar codes from various sources such as video streams, image
files or raw intensity sensors. It supports EAN/UPC, Code 128, Code
39 and Interleaved 2 of 5. Included with the library are basic
applications for decoding captured bar code images and using a video
device (eg, webcam) as a bar code scanner. The flexible, layered
architecture features a fast, streaming interface with a minimal
memory footprint.
The ZBar Bar Code Reader is a library for scanning and decoding bar
codes from various sources such as video streams, image files or raw
intensity sensors. It supports EAN/UPC, Code 128, Code 39 and
Interleaved 2 of 5. Included with the library are basic applications
for decoding captured bar code images and using a video device (eg,
webcam) as a bar code scanner. The flexible, layered architecture
features a fast, streaming interface with a minimal memory footprint.

Check the zebra library home page for the latest release, mailing
lists, etc.
http://zebra.sourceforge.net/
Check the zbar home page for the latest release, mailing lists, etc.
http://zbar.sourceforge.net/

License information can be found in 'COPYING.LIB'.

Expand All @@ -25,7 +23,7 @@ See 'INSTALL' for generic configuration and build instructions.
The scanner/decoder library itself only requires a few standard
library functions which should be avilable almost anywhere.

The zebracam program uses the video4linux API (v4l1 or v4l2) to access
The zbarcam program uses the video4linux API (v4l1 or v4l2) to access
the video device. This interface is part of the linux kernel, a 2.6
kernel is recommended for full support. More information is available
at
Expand All @@ -36,7 +34,7 @@ installed pkg-config if you need any of the remaining components.
pkg-config may be obtained from
http://pkg-config.freedesktop.org/

The zebraimg program uses ImageMagick to read image files in many
The zbarimg program uses ImageMagick to read image files in many
different formats. You will need at least ImageMagick version 6.2.6
and the Magick++ development interface to ImageMagick if you want to
scan image files. ImageMagick may be obtained from
Expand Down Expand Up @@ -76,7 +74,7 @@ RUNNING
=======

'make install' will install the library and application programs. Run
'zebracam' to start the video scanner. use 'zebraimg barcode.jpg' to
'zbarcam' to start the video scanner. use 'zbarimg barcode.jpg' to
decode a saved image file. Check the manual to find specific options
for each program.

Expand All @@ -85,9 +83,9 @@ REPORTING BUGS
==============

Bugs can be reported on the sourceforge project page
http://www.sourceforge.net/projects/zebra/
http://www.sourceforge.net/projects/zbar/

Please include the zebra version number and a detailed description of
Please include the ZBar version number and a detailed description of
the problem. You'll probably have better luck if you're also familiar
with the concepts from:
http://www.catb.org/~esr/faqs/smart-questions.html
12 changes: 6 additions & 6 deletions TODO
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ general:
* example using SANE to scan symbol(s)

wrappers:
* build API docs for zebragtk, zebrapygtk
* is zebragtk/QZebra BGR4 alpha swapped?
* build API docs for zbargtk, zbarpygtk
* is zbargtk/QZBar BGR4 alpha swapped?
* widget config APIs
* drag-and-drop for widgets (configurable...)
* Perl build support integration?
Expand Down Expand Up @@ -68,7 +68,7 @@ window:
* decoded result(?)
* stats

zebracam/zebraimg:
* zebraimg multi-frame duplicate suppression
* stats/fps at zebracam exit
* decode hook (program/script)? (also zebraimg?)
zbarcam/zbarimg:
* zbarimg multi-frame duplicate suppression
* stats/fps at zbarcam exit
* decode hook (program/script)? (also zbarimg?)
36 changes: 18 additions & 18 deletions configure.ac
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
dnl Process this file with autoconf to produce a configure script.
AC_PREREQ([2.61])
AC_INIT([zebra], [0.6], [[email protected]])
AC_INIT([zbar], [0.6], [[email protected]])
AC_CONFIG_AUX_DIR(config)
AC_CONFIG_MACRO_DIR(config)
AM_INIT_AUTOMAKE([1.10 -Wall -Werror foreign subdir-objects std-options dist-bzip2])
AC_CONFIG_HEADERS([include/config.h])
AC_CONFIG_SRCDIR(zebra/scanner.c)
AC_CONFIG_SRCDIR(zbar/scanner.c)
LT_PREREQ([2.2])
LT_INIT([dlopen win32-dll])

Expand All @@ -20,18 +20,18 @@ dnl - If any interfaces have been added since the last public release,
dnl then increment age.
dnl - If any interfaces have been removed since the last public release,
dnl then set age to 0.
AC_SUBST([LIB_VERSION], [6:0:3])
AC_SUBST([LIB_VERSION], [0:0:0])
AC_SUBST([RELDATE], [2009-02-28])

dnl widget libraries use their own versioning.
dnl NB pygtk wrapper is *unversioned*
AC_SUBST([ZGTK_LIB_VERSION], [0:0:0])
AC_SUBST([ZQT_LIB_VERSION], [1:0:1])
AC_SUBST([ZQT_LIB_VERSION], [0:0:0])

AC_DEFINE_UNQUOTED([ZEBRA_VERSION_MAJOR],
AC_DEFINE_UNQUOTED([ZBAR_VERSION_MAJOR],
[[`echo "$PACKAGE_VERSION" | sed -e 's/\..*$//'`]],
[Program major version (before the '.') as a number])
AC_DEFINE_UNQUOTED([ZEBRA_VERSION_MINOR],
AC_DEFINE_UNQUOTED([ZBAR_VERSION_MINOR],
[[`echo "$PACKAGE_VERSION" | sed -e 's/^[^.]*\.\([^.]*\)$/\1/'`]],
[Program minor version (after '.') as a number])

Expand All @@ -56,7 +56,7 @@ AC_ARG_ENABLE([codes],
[],
[enable_codes="ean,code39,code128,i25"]) dnl pdf417

AC_DEFUN([ZEBRA_CHK_CODE], [
AC_DEFUN([ZBAR_CHK_CODE], [
AC_MSG_CHECKING([whether to build $2])
enable_$1="no"
AH_TEMPLATE([ENABLE_]translit($1, a-z, A-Z),
Expand All @@ -71,11 +71,11 @@ AC_DEFUN([ZEBRA_CHK_CODE], [
AC_MSG_RESULT([$enable_$1])
])dnl

ZEBRA_CHK_CODE([ean], [EAN symbologies])
ZEBRA_CHK_CODE([code128], [Code 128 symbology])
ZEBRA_CHK_CODE([code39], [Code 39 symbology])
ZEBRA_CHK_CODE([pdf417], [PDF417 symbology])
ZEBRA_CHK_CODE([i25], [Interleaved 2 of 5 symbology])
ZBAR_CHK_CODE([ean], [EAN symbologies])
ZBAR_CHK_CODE([code128], [Code 128 symbology])
ZBAR_CHK_CODE([code39], [Code 39 symbology])
ZBAR_CHK_CODE([pdf417], [PDF417 symbology])
ZBAR_CHK_CODE([i25], [Interleaved 2 of 5 symbology])

dnl libraries

Expand Down Expand Up @@ -378,10 +378,10 @@ AC_CONFIG_COMMANDS([doc/reldate.xml],

AC_CONFIG_FILES([
Makefile
zebra.pc
zebra-gtk.pc
zebra-qt.pc
zebra.spec
zbar.pc
zbar-gtk.pc
zbar-qt.pc
zbar.spec
doc/doxygen.conf
])
AC_OUTPUT
Expand All @@ -395,13 +395,13 @@ echo "X --with-x=$with_x"
echo "pthreads --enable-pthread=$enable_pthread"
echo "v4l --enable-video=$enable_video"
AS_IF([test "x$enable_video" != "xyes"],
[echo " => zebracam video scanner will *NOT* be built"])
[echo " => zbarcam video scanner will *NOT* be built"])
echo "jpeg --with-jpeg=$with_jpeg"
AS_IF([test "x$with_jpeg" != "xyes"],
[echo " => JPEG image conversions will *NOT* be supported"])
echo "Magick++ --with-imagemagick=$with_imagemagick"
AS_IF([test "x$with_imagemagick" != "xyes"],
[echo " => the zebraimg file scanner will *NOT* be built"])
[echo " => the zbarimg file scanner will *NOT* be built"])
echo "Python --with-python=$with_python"
echo "GTK+ --with-gtk=$with_gtk"
AS_IF([test "x$with_gtk" != "xyes"],
Expand Down
37 changes: 0 additions & 37 deletions debian/changelog

This file was deleted.

1 change: 0 additions & 1 deletion debian/compat

This file was deleted.

Loading

0 comments on commit cf7edfa

Please sign in to comment.