Reduce Warnings in Debian

A number of adjustments to reduce the warnings when building .deb packages in Debian
This commit is contained in:
Robin Stuart 2010-10-07 17:03:41 +01:00
parent 2ee978379b
commit 2853b473f6
6 changed files with 9 additions and 39 deletions

View file

@ -10,7 +10,7 @@ set(CMAKE_INCLUDE_CURRENT_DIR ON)
set (ZINT_VERSION_MAJOR 2)
set (ZINT_VERSION_MINOR 4)
set (ZINT_VERSION_RELEASE 0)
set (ZINT_VERSION_RELEASE 1)
set (ZINT_VERSION "${ZINT_VERSION_MAJOR}.${ZINT_VERSION_MINOR}.${ZINT_VERSION_RELEASE}" )
add_definitions (-DZINT_VERSION=\"${ZINT_VERSION}\" -Wall)

View file

@ -168,7 +168,7 @@ void qr_binary(int datastream[], int version, int target_binlen, char mode[], in
{
/* Convert input data to a binary stream and add padding */
int position = 0, debug = 0;
int short_data_block_length, i, scheme;
int short_data_block_length, i, scheme = 1;
char data_block, padbits;
int current_binlen, current_bytes;
int toggle, percent;

View file

@ -1,29 +0,0 @@
# - Find QRencode
# Find the native QRencode includes and library
#
# QR_INCLUDE_DIR - where to find qrencode.h, etc.
# QR_LIBRARIES - List of libraries when using QRencode.
# QR_FOUND - True if QRencode found.
IF (QR_INCLUDE_DIR)
# Already in cache, be silent
SET(QR_FIND_QUIETLY TRUE)
ENDIF (QR_INCLUDE_DIR)
FIND_PATH(QR_INCLUDE_DIR qrencode.h)
FIND_LIBRARY(QR_LIBRARY NAMES qrencode )
# handle the QUIETLY and REQUIRED arguments and set QR_FOUND to TRUE if
# all listed variables are TRUE
INCLUDE(FindPackageHandleStandardArgs)
FIND_PACKAGE_HANDLE_STANDARD_ARGS(QR DEFAULT_MSG QR_LIBRARY QR_INCLUDE_DIR)
IF(QR_FOUND)
SET( QR_LIBRARIES ${QR_LIBRARY} )
ELSE(QR_FOUND)
SET( QR_LIBRARIES )
ENDIF(QR_FOUND)
MARK_AS_ADVANCED( QR_LIBRARY QR_INCLUDE_DIR )

2
debian/changelog vendored
View file

@ -1,4 +1,4 @@
zint (2.4-1) unstable; urgency=low
zint (2.4.1) unstable; urgency=low
* Update and review of files required by Debian including changelog.

12
debian/control vendored
View file

@ -9,7 +9,7 @@ Homepage: http://www.zint.org.uk/
Package: libzint
Section: libs
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
Depends: libpng12-dev
Description: A library for encoding data in barcode symbols.
Zint is an Open Source barcode encoding and image generating library.
It currently features support for over 50 symbologies including
@ -22,7 +22,7 @@ Package: libzint-dbg
Section: libs
Architecture: any
Priority: extra
Depends: ${shlibs:Depends}, ${misc:Depends}
Depends: libzint (= ${binary:Version})
Description: Debugging symbols for Zint library.
This package contains debugging files used to investigate problems with
Zint binaries and libraries.
@ -38,14 +38,14 @@ Description: Zint development files
Package: libqzint
Section: libs
Architecture: any
Depends: libzint (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}
Depends: libzint (= ${binary:Version}), libqt4-dev
Description: Qt wrapper for Zint
This package contains a Qt wrapper for the Zint barcode encoding library.
Package: libqzint-dev
Section: libdevel
Architecture: any
Depends: libqzint (= ${binary:Version}), libzint-dev (= ${source:Version})
Depends: libqzint (= ${binary:Version}), libzint-dev (= ${source:Version}), libqt4-dev
Description: QZint development files.
This package contains development files for the Qt wrapper over the Zint
library.
@ -53,14 +53,14 @@ Description: QZint development files.
Package: zint-cli
Section: libs
Architecture: any
Depends: libzint (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}
Depends: libzint (= ${binary:Version})
Description: Zint console frontend.
This package contains a console frontend for the Zint barcode encoder.
Package: zint-qt
Section: libs
Architecture: any
Depends: libzint (= ${binary:Version}), libqzint (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}
Depends: libzint (= ${binary:Version}), libqzint (= ${binary:Version}), libqt4-dev
Description: Zint Barcode Studio.
This package contains Zint Barcode Studio, a QT frontend for the Zint
barcode encoding library.

View file

@ -1,3 +1,2 @@
usr/include/zint.h
usr/lib/libzint.so
usr/share/cmake-2.6/Modules/FindZint.cmake