Date: Wed, 30 Mar 2011 08:00:07 GMT From: Gvozdikov Veniamin <g.veniamin@googlemail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/156055: Update port: graphics/zint up to 2.4.1 Message-ID: <201103300800.p2U806KQ023492@red.freebsd.org> Resent-Message-ID: <201103300800.p2U80MsI038565@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 156055 >Category: ports >Synopsis: Update port: graphics/zint up to 2.4.1 >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: Wed Mar 30 08:00:21 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Gvozdikov Veniamin >Release: FreeBSD 8.2-RELEASE >Organization: >Environment: FreeBSD LSD.zlonet.ru 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Fri Feb 18 02:24:46 UTC 2011 root@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 >Description: New version >How-To-Repeat: >Fix: diff -ruN zint.orig/Makefile zint/Makefile --- zint.orig/Makefile 2011-03-30 15:56:49.000000000 +0800 +++ zint/Makefile 2011-03-30 15:47:27.000000000 +0800 @@ -6,23 +6,21 @@ # PORTNAME= zint -PORTVERSION= 2.3.1 -PORTREVISION= 1 +PORTVERSION= 2.4.1 CATEGORIES= graphics MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION}/ -DISTNAME= ${PORTNAME}-${PORTVERSION}.src MAINTAINER= g.veniamin@googlemail.com COMMENT= Zint Barcode Generator LIB_DEPENDS= png.6:${PORTSDIR}/graphics/png +LICENSE= GPLv3 + USE_CMAKE= yes CMAKE_USE_PTHREAD= yes USE_LDCONFIG= yes USE_QT_VER= 4 QT_COMPONENTS= gui xml qmake_build uic_build moc_build rcc_build designer -WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} - .include <bsd.port.mk> diff -ruN zint.orig/distinfo zint/distinfo --- zint.orig/distinfo 2011-03-30 15:56:49.000000000 +0800 +++ zint/distinfo 2011-03-30 15:06:19.000000000 +0800 @@ -1,3 +1,2 @@ -MD5 (zint-2.3.1.src.tar.gz) = d8e12cc60505e3e89b99fc16ff6b38b8 -SHA256 (zint-2.3.1.src.tar.gz) = 2d997a9fb825370adedd2c0ad8491d79460635f707b9878d0e39f07b2a164388 -SIZE (zint-2.3.1.src.tar.gz) = 490520 +SHA256 (zint-2.4.1.tar.gz) = b609b79c80482e06ecaf30edf63489613e029d3d2df7fbd013bb1b294db2c401 +SIZE (zint-2.4.1.tar.gz) = 443412 diff -ruN zint.orig/files/patch-backend_CMakeLists.txt zint/files/patch-backend_CMakeLists.txt --- zint.orig/files/patch-backend_CMakeLists.txt 2011-03-30 15:56:49.000000000 +0800 +++ zint/files/patch-backend_CMakeLists.txt 2011-03-30 15:14:58.000000000 +0800 @@ -1,8 +1,5 @@ - -$FreeBSD: ports/graphics/zint/files/patch-backend_CMakeLists.txt,v 1.1 2010/03/26 07:21:07 wen Exp $ - ---- backend/CMakeLists.txt.orig -+++ backend/CMakeLists.txt +--- backend/CMakeLists.txt.orig 2011-03-30 15:13:56.000000000 +0800 ++++ backend/CMakeLists.txt 2011-03-30 15:14:34.000000000 +0800 @@ -2,7 +2,8 @@ project(zint) @@ -11,14 +8,14 @@ +find_package(PNG REQUIRED) +include_directories(${PNG_INCLUDE_DIR}) - set(zint_COMMON_SRCS common.c library.c ps.c large.c reedsol.c gs1.c svg.c png.c) + set(zint_COMMON_SRCS common.c library.c render.c ps.c large.c reedsol.c gs1.c svg.c png.c) set(zint_ONEDIM_SRCS code.c code128.c 2of5.c upcean.c telepen.c medical.c plessey.c rss.c) -@@ -21,7 +22,7 @@ +@@ -21,7 +22,7 @@ add_library(zint SHARED ${zint_SRCS}) set_target_properties(zint PROPERTIES SOVERSION "${ZINT_VERSION_MAJOR}.${ZINT_VERSION_MINOR}" VERSION ${ZINT_VERSION}) -target_link_libraries(zint ${PNG_LIBRARIES} ) +target_link_libraries(zint ${PNG_LIBRARY} ) + target_link_libraries(zint -lm) install(TARGETS zint ${INSTALL_TARGETS_DEFAULT_ARGS} ) - install(FILES zint.h DESTINATION ${INCLUDE_INSTALL_DIR} COMPONENT Devel) diff -ruN zint.orig/files/patch-backend_code1.c zint/files/patch-backend_code1.c --- zint.orig/files/patch-backend_code1.c 2011-03-30 15:56:49.000000000 +0800 +++ zint/files/patch-backend_code1.c 2011-03-30 15:19:04.000000000 +0800 @@ -1,8 +1,5 @@ - -$FreeBSD: ports/graphics/zint/files/patch-backend_code1.c,v 1.1 2010/03/26 07:21:07 wen Exp $ - ---- backend/code1.c.orig -+++ backend/code1.c +--- backend/code1.c.orig 2011-03-30 15:18:25.000000000 +0800 ++++ backend/code1.c 2011-03-30 15:18:35.000000000 +0800 @@ -28,7 +28,6 @@ #ifdef __APPLE__ #include <sys/malloc.h> diff -ruN zint.orig/files/patch-backend_maxicode.c zint/files/patch-backend_maxicode.c --- zint.orig/files/patch-backend_maxicode.c 2011-03-30 15:56:49.000000000 +0800 +++ zint/files/patch-backend_maxicode.c 2011-03-30 15:19:24.000000000 +0800 @@ -1,8 +1,5 @@ - -$FreeBSD: ports/graphics/zint/files/patch-backend_maxicode.c,v 1.1 2010/03/26 07:21:07 wen Exp $ - ---- backend/maxicode.c.orig -+++ backend/maxicode.c +--- backend/maxicode.c.orig 2011-03-30 15:17:49.000000000 +0800 ++++ backend/maxicode.c 2011-03-30 15:18:15.000000000 +0800 @@ -29,7 +29,6 @@ #ifdef __APPLE__ #include <sys/malloc.h> diff -ruN zint.orig/pkg-plist zint/pkg-plist --- zint.orig/pkg-plist 2011-03-30 15:56:49.000000000 +0800 +++ zint/pkg-plist 2011-03-30 15:32:11.000000000 +0800 @@ -1,11 +1,10 @@ bin/zint bin/zint-qt -include/qzint.h include/zint.h -lib/libQZint.so -lib/libQZint.so.2.3 -lib/libQZint.so.2.3.1 +include/qzint.h +lib/libzint.so.2.4.1 +lib/libzint.so.2.4 lib/libzint.so -lib/libzint.so.2.3 -lib/libzint.so.2.3.1 -share/cmake/Modules/FindZint.cmake +lib/libQZint.so.2.4.1 +lib/libQZint.so.2.4 +lib/libQZint.so >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201103300800.p2U806KQ023492>