From owner-freebsd-bugs@FreeBSD.ORG Mon Nov 18 14:00:00 2013 Return-Path: Delivered-To: freebsd-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8F5D0FA3 for ; Mon, 18 Nov 2013 14:00:00 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 724C92C87 for ; Mon, 18 Nov 2013 14:00:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id rAIE003m052807 for ; Mon, 18 Nov 2013 14:00:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id rAIE00OM052806; Mon, 18 Nov 2013 14:00:00 GMT (envelope-from gnats) Resent-Date: Mon, 18 Nov 2013 14:00:00 GMT Resent-Message-Id: <201311181400.rAIE00OM052806@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Pietro Cerutti Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9E181F40 for ; Mon, 18 Nov 2013 13:55:35 +0000 (UTC) Received: from oldred.freebsd.org (oldred.freebsd.org [8.8.178.121]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 8E39C2C57 for ; Mon, 18 Nov 2013 13:55:35 +0000 (UTC) Received: from oldred.freebsd.org ([127.0.1.6]) by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id rAIDtZbd010981 for ; Mon, 18 Nov 2013 13:55:35 GMT (envelope-from nobody@oldred.freebsd.org) Received: (from nobody@localhost) by oldred.freebsd.org (8.14.5/8.14.5/Submit) id rAIDtZdV010974; Mon, 18 Nov 2013 13:55:35 GMT (envelope-from nobody) Message-Id: <201311181355.rAIDtZdV010974@oldred.freebsd.org> Date: Mon, 18 Nov 2013 13:55:35 GMT From: Pietro Cerutti To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: misc/184052: [patch] print/libharu -- update to 2.3.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Nov 2013 14:00:00 -0000 >Number: 184052 >Category: misc >Synopsis: [patch] print/libharu -- update to 2.3.0 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Nov 18 14:00:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Pietro Cerutti >Release: >Organization: The FreeBSD Project >Environment: >Description: - Update to 2.3.0 - Inclusion of EXAMPLES >How-To-Repeat: >Fix: Patch attached with submission follows: Index: Makefile =================================================================== --- Makefile (revision 334173) +++ Makefile (working copy) @@ -2,28 +2,38 @@ # $FreeBSD$ PORTNAME= libharu -PORTVERSION= 2.2.1 -PORTREVISION= 1 +PORTVERSION= 2.3.0 CATEGORIES= print -MASTER_SITES= http://libharu.org/files/ MAINTAINER= jlaffaye@FreeBSD.org COMMENT= Haru Free PDF Library -LIB_DEPENDS= png15:${PORTSDIR}/graphics/png +LIB_DEPENDS= libpng15.so:${PORTSDIR}/graphics/png -GNU_CONFIGURE= yes -CONFIGURE_ARGS= --with-png=${LOCALBASE} -CPPFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/libpng15 +OPTIONS_DEFINE= EXAMPLES + USE_LDCONFIG= yes +USES+= cmake:outsource +CMAKE_ARGS+= -DDEVPAK:BOOL=ON +USE_GITHUB= yes +GH_ACCOUNT= libharu +GH_TAGNAME= RELEASE_2_3_0 +GH_COMMIT= 4ae1d5f + SOVERSION= 2 -PLIST_SUB+= PORTVERSION=${PORTVERSION} \ - SOVERSION=${SOVERSION} +PLIST_SUB+= SOVERSION=${SOVERSION} +PORTEXAMPLES= * -NO_STAGE= yes +.include + +.if ${PORT_OPTIONS:MEXAMPLES} +CMAKE_ARGS+= -DLIBHPDF_EXAMPLES:BOOL=ON \ + -DEXAMPLESDIR:STRING=share/examples/${PORTNAME} +.endif + post-install: - ${LN} -s ${PREFIX}/lib/libhpdf-${PORTVERSION}.so \ - ${PREFIX}/lib/libhpdf.so.${SOVERSION} + ${LN} -s ${PREFIX}/lib/libhpdf.so \ + ${STAGEDIR}${PREFIX}/lib/libhpdf.so.${SOVERSION} .include Index: distinfo =================================================================== --- distinfo (revision 334173) +++ distinfo (working copy) @@ -1,2 +1,2 @@ -SHA256 (libharu-2.2.1.tar.gz) = 45fd57044042c0e290ad0f11fc19eeb31b50c4b9edadf9d89dd5a7d9ae4865a7 -SIZE (libharu-2.2.1.tar.gz) = 967530 +SHA256 (libharu-2.3.0.tar.gz) = 05d21b32baaa2780b2eae45c7958684239b64560063de229714a8729911ca87e +SIZE (libharu-2.3.0.tar.gz) = 1396376 Index: files/patch-demo_CMakeLists.txt =================================================================== --- files/patch-demo_CMakeLists.txt (revision 0) +++ files/patch-demo_CMakeLists.txt (working copy) @@ -0,0 +1,21 @@ +--- demo/CMakeLists.txt.orig 2013-11-18 14:51:59.000000000 +0100 ++++ demo/CMakeLists.txt 2013-11-18 14:52:21.000000000 +0100 +@@ -86,15 +86,15 @@ + # ======================================================================= + install( + TARGETS ${demos_NAMES} ${demos_with_grid_NAMES} grid_sheet +- DESTINATION demo ++ DESTINATION ${EXAMPLESDIR} + ) + foreach(demo ${demos_NAMES} ${demos_with_grid_NAMES} grid_sheet) +- install(FILES ${demo}.c DESTINATION demo) ++ install(FILES ${demo}.c DESTINATION ${EXAMPLESDIR}) + endforeach(demo) + + # install demo files + install( + DIRECTORY images mbtext pngsuite rawimage ttfont type1 +- DESTINATION demo ++ DESTINATION ${EXAMPLESDIR} + ) + endif(LIBHPDF_EXAMPLES) Property changes on: files/patch-demo_CMakeLists.txt ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Index: files/patch-hpdf_image_png.c =================================================================== --- files/patch-hpdf_image_png.c (revision 334173) +++ files/patch-hpdf_image_png.c (working copy) @@ -1,10 +0,0 @@ ---- src/hpdf_image_png.c.orig 2010-02-08 10:27:51.000000000 +0100 -+++ src/hpdf_image_png.c 2012-05-06 06:53:50.000000000 +0200 -@@ -21,6 +21,7 @@ - - #ifndef LIBHPDF_HAVE_NOPNGLIB - #include -+#include - - static void - PngErrorFunc (png_structp png_ptr, Index: pkg-plist =================================================================== --- pkg-plist (revision 334173) +++ pkg-plist (working copy) @@ -1,4 +1,5 @@ include/hpdf.h +include/hpdf_3dmeasure.h include/hpdf_annotation.h include/hpdf_catalog.h include/hpdf_conf.h @@ -10,6 +11,7 @@ include/hpdf_encrypt.h include/hpdf_encryptdict.h include/hpdf_error.h +include/hpdf_exdata.h include/hpdf_ext_gstate.h include/hpdf_font.h include/hpdf_fontdef.h @@ -18,7 +20,6 @@ include/hpdf_info.h include/hpdf_list.h include/hpdf_mmgr.h -include/hpdf_namedict.h include/hpdf_objects.h include/hpdf_outline.h include/hpdf_page_label.h @@ -29,8 +30,6 @@ include/hpdf_u3d.h include/hpdf_utils.h include/hpdf_version.h -lib/libhpdf-%%PORTVERSION%%.so -lib/libhpdf.a -lib/libhpdf.la +lib/libhpdfs.a lib/libhpdf.so lib/libhpdf.so.%%SOVERSION%% >Release-Note: >Audit-Trail: >Unformatted: