ports/144958: new port: graphics/zint Zint Barcode Generator

Gvozdikov Veniamin g.veniamin at googlemail.com
Mon Mar 22 14:00:13 UTC 2010


>Number:         144958
>Category:       ports
>Synopsis:       new port: graphics/zint Zint Barcode Generator
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Mar 22 14:00:13 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Gvozdikov Veniamin
>Release:        FreeBSD 8.0-STABLE
>Organization:
>Environment:
FreeBSD zlobook.local 8.0-STABLE FreeBSD 8.0-STABLE #6: Sat Mar  6 11:56:08 KRAT 2010     root at zlobook.local:/usr/obj/usr/src/sys/zlobook_amd64  amd64
>Description:
A barcode encoding library supporting over 50 symbologies including Code 128,
Data Matrix, USPS OneCode, EAN-128, UPC/EAN, ITF, QR Code, Code 16k, PDF417,
MicroPDF417, LOGMARS, Maxicode, GS1 DataBar, Aztec, Composite Symbols and more.
>How-To-Repeat:

>Fix:
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	zint
#	zint/pkg-descr
#	zint/Makefile
#	zint/pkg-plist
#	zint/files
#	zint/files/patch-backend_code1.c
#	zint/files/patch-backend_maxicode.c
#	zint/files/patch-backend_CMakeLists.txt
#	zint/distinfo
#
echo c - zint
mkdir -p zint > /dev/null 2>&1
echo x - zint/pkg-descr
sed 's/^X//' >zint/pkg-descr << 'f9b3eba76994d6be5b5f35c4d5cbc844'
XA barcode encoding library supporting over 50 symbologies including Code 128,
XData Matrix, USPS OneCode, EAN-128, UPC/EAN, ITF, QR Code, Code 16k, PDF417,
XMicroPDF417, LOGMARS, Maxicode, GS1 DataBar, Aztec, Composite Symbols and more.
X
XWWW:	http://www.zint.org.uk/
f9b3eba76994d6be5b5f35c4d5cbc844
echo x - zint/Makefile
sed 's/^X//' >zint/Makefile << 'e938f245d2c37d6a99d8f34140acb92a'
X# New ports collection makefile for:	zint
X# Date created:		2010-03-13
X# Whom:			Gvozdikov Veniamin <g.veniamin at googlemail.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	zint
XPORTVERSION=	2.3.1
XCATEGORIES=	graphics
XMASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTVERSION}/
XDISTNAME=	${PORTNAME}-${PORTVERSION}.src
X
XMAINTAINER=	g.veniamin at googlemail.com
XCOMMENT=	Zint Barcode Generator
X
XLIB_DEPENDS=	png.5:${PORTSDIR}/graphics/png
X
XUSE_CMAKE=	yes
XUSE_LDCONFIG=	yes
XUSE_QT_VER=	4
XQT_COMPONENTS=	gui xml qmake_build uic_build moc_build rcc_build
X
XWRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
X
X.include <bsd.port.mk>
e938f245d2c37d6a99d8f34140acb92a
echo x - zint/pkg-plist
sed 's/^X//' >zint/pkg-plist << '002f9508aa711aedd06701b68fe58bf9'
Xbin/zint
Xbin/zint-qt
Xinclude/qzint.h
Xinclude/zint.h
Xlib/libQZint.so
Xlib/libQZint.so.2.3
Xlib/libQZint.so.2.3.1
Xlib/libzint.so
Xlib/libzint.so.2.3
Xlib/libzint.so.2.3.1
002f9508aa711aedd06701b68fe58bf9
echo c - zint/files
mkdir -p zint/files > /dev/null 2>&1
echo x - zint/files/patch-backend_code1.c
sed 's/^X//' >zint/files/patch-backend_code1.c << '4f3229495cb8b7df6201a653af729a2a'
X
X$FreeBSD$
X
X--- backend/code1.c.orig
X+++ backend/code1.c
X@@ -28,7 +28,6 @@
X #ifdef __APPLE__
X #include <sys/malloc.h>
X #else
X-#include <malloc.h>
X #endif
X 
X void horiz(struct zint_symbol *symbol, int row_no, int full)
4f3229495cb8b7df6201a653af729a2a
echo x - zint/files/patch-backend_maxicode.c
sed 's/^X//' >zint/files/patch-backend_maxicode.c << '4e60c78310aa9ed5780e061661d96b01'
X
X$FreeBSD$
X
X--- backend/maxicode.c.orig
X+++ backend/maxicode.c
X@@ -29,7 +29,6 @@
X #ifdef __APPLE__
X #include <sys/malloc.h> 
X #else
X-#include <malloc.h> 
X #endif
X 
X int maxi_codeword[144];
4e60c78310aa9ed5780e061661d96b01
echo x - zint/files/patch-backend_CMakeLists.txt
sed 's/^X//' >zint/files/patch-backend_CMakeLists.txt << '0d096cc8419b25c851509d1693145981'
X
X$FreeBSD$
X
X--- backend/CMakeLists.txt.orig
X+++ backend/CMakeLists.txt
X@@ -2,7 +2,8 @@
X 
X project(zint)
X 
X-find_package(PNG)
X+find_package(PNG REQUIRED)
X+include_directories(${PNG_INCLUDE_DIR})
X 
X set(zint_COMMON_SRCS common.c library.c ps.c large.c reedsol.c gs1.c svg.c png.c)
X set(zint_ONEDIM_SRCS code.c code128.c 2of5.c upcean.c telepen.c medical.c plessey.c rss.c)
X@@ -21,7 +22,7 @@
X set_target_properties(zint PROPERTIES 	SOVERSION "${ZINT_VERSION_MAJOR}.${ZINT_VERSION_MINOR}"
X 					VERSION ${ZINT_VERSION})
X 
X-target_link_libraries(zint ${PNG_LIBRARIES} )
X+target_link_libraries(zint ${PNG_LIBRARY} )
X 
X install(TARGETS zint  ${INSTALL_TARGETS_DEFAULT_ARGS} )
X install(FILES zint.h DESTINATION ${INCLUDE_INSTALL_DIR} COMPONENT Devel)
0d096cc8419b25c851509d1693145981
echo x - zint/distinfo
sed 's/^X//' >zint/distinfo << '42c4081b45263410700e0e1737373801'
XMD5 (zint-2.3.1.src.tar.gz) = d8e12cc60505e3e89b99fc16ff6b38b8
XSHA256 (zint-2.3.1.src.tar.gz) = 2d997a9fb825370adedd2c0ad8491d79460635f707b9878d0e39f07b2a164388
XSIZE (zint-2.3.1.src.tar.gz) = 490520
42c4081b45263410700e0e1737373801
exit



>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list