From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Feb 25 08:10:01 2014 Return-Path: Delivered-To: freebsd-ports-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 5614C898 for ; Tue, 25 Feb 2014 08:10:01 +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 302CB1947 for ; Tue, 25 Feb 2014 08:10:01 +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 s1P8A1ve055819 for ; Tue, 25 Feb 2014 08:10:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s1P8A1g3055818; Tue, 25 Feb 2014 08:10:01 GMT (envelope-from gnats) Resent-Date: Tue, 25 Feb 2014 08:10:01 GMT Resent-Message-Id: <201402250810.s1P8A1g3055818@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Takefu 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 7B58F753 for ; Tue, 25 Feb 2014 08:07:37 +0000 (UTC) Received: from ae-osaka.co.jp (mx.ae-osaka.co.jp [210.196.184.82]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 3A7AF1913 for ; Tue, 25 Feb 2014 08:07:36 +0000 (UTC) Received: from ae-osaka.co.jp (localhost.ae-osaka.co.jp [127.0.0.1]) by ae-osaka.co.jp (Postfix) with ESMTP id 2BE77125E90 for ; Tue, 25 Feb 2014 17:07:28 +0900 (JST) Received: from [IPv6:2001:470:824b:a011:5128:35a6:5f18:2776] (unknown [IPv6:2001:470:824b:a011:5128:35a6:5f18:2776]) by ae-osaka.co.jp (Postfix) with ESMTPSA id A3664125E92 for ; Tue, 25 Feb 2014 17:07:27 +0900 (JST) Message-Id: <530C4F3F.70806@airport.fm> Date: Tue, 25 Feb 2014 17:07:27 +0900 From: Takefu To: freebsd-gnats-submit@freebsd.org Subject: ports/187025: [UPDATE] graphics/bmeps: update to 3.8.2 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Feb 2014 08:10:01 -0000 >Number: 187025 >Category: ports >Synopsis: [UPDATE] graphics/bmeps: update to 3.8.2 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Tue Feb 25 08:10:00 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Takefu >Release: FreeBSD 8.4-RELEASE-p7 i386 >Organization: FOX Amateur Radio Club >Environment: System: FreeBSD RELENG84-ix86.localIPv4.airport.fm 8.4-RELEASE-p7 FreeBSD 8.4-RELEASE-p7 #0: Wed Jan 15 09:30:02 JST 2014 >Description: - Update to 3.8.2 - Change portname Generated with FreeBSD Port Tools 1.00.2014.02.18 (mode: update, diff: ports) >How-To-Repeat: >Fix: --- bmpp-3.8.2.patch begins here --- diff -ruN /usr/ports/graphics/bmeps/Makefile ./Makefile --- /usr/ports/graphics/bmeps/Makefile 2014-01-22 04:12:40.000000000 +0900 +++ ./Makefile 2014-02-25 16:52:26.000000000 +0900 @@ -1,58 +1,46 @@ # Created by: Hideyuki KURASHINA # $FreeBSD: head/graphics/bmeps/Makefile 340637 2014-01-21 19:12:40Z antoine $ -PORTNAME= bmeps -PORTVERSION= 2.2.26 +PORTNAME= bmpp +PORTVERSION= 3.8.2 CATEGORIES= graphics perl5 MASTER_SITES= SF/dktools/dktools/dktools-${PORTVERSION} DISTNAME= dktools-${PORTVERSION} -EXTRACT_SUFX= .zip MAINTAINER= ports@FreeBSD.org -COMMENT= Convert bitmap images (PNG/JPEG/NetPBM) to EPS +COMMENT= Convert PNG/JPEG/TIFF to PDF/EPS LICENSE= BSD3CLAUSE -LICENSE_FILE= ${WRKSRC}/bsdlic.txt LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg \ libpng15.so:${PORTSDIR}/graphics/png \ libtiff.so:${PORTSDIR}/graphics/tiff -USES= perl5 GNU_CONFIGURE= yes -CONFIGURE_ENV= ac_cv_header_sys_termios_h=no CONFIGURE_ARGS= --sysconfdir=${PREFIX}/etc/dktools\ --libdir=${PREFIX}/lib\ --includedir=${PREFIX}/include\ - --without-perl\ - --with-lzw -ALL_TARGET= stc ${PORTNAME} + --with-gui=no\ + --with-fallback-string-functions=yes +CONFIGURE_ENV= ac_cv_header_sys_termios_h=no + +ALL_TARGET= bmpp CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -PLIST_FILES= bin/bmeps \ - man/man1/bmeps.1.gz \ - %%DATADIR%%/bmeps.str \ - %%DATADIR%%/bmeps.stt.bz2 \ - %%DATADIR%%/bmeps.txt \ - %%DATADIR%%/de/bmeps.stt.bz2 \ - %%DATADIR%%/de/bmeps.txt -PLIST_DIRS= %%DATADIR%%/de \ - %%DATADIR%% - -post-build: - @(cd ${WRKSRC} && ./stc --/log/stderr/level=error \ - --log/stdout/level=none --/log/file/keep=none \ - bmeps.str share/dktools) +PLIST_FILES= bin/bmpp %%DATADIR%%/bmpp.txt +PLIST_DIRS= %%DATADIR%% + +pre-patch: + @${REINPLACE_CMD} 's@sz->lsz =@// sz->lsz =@' ${WRKSRC}/dk3sf.c + @${REINPLACE_CMD} -e 's@#include @#include @p'\ + -e 's@#include @#include @'\ + ${WRKSRC}/dk3types.h do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/bmeps ${STAGEDIR}${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/man/man1/bmeps.1 ${STAGEDIR}${MANPREFIX}/man/man1 + ${INSTALL_PROGRAM} ${WRKSRC}/bmpp ${STAGEDIR}${PREFIX}/bin @${MKDIR} ${STAGEDIR}${DATADIR} - ${INSTALL_DATA} ${WRKSRC}/bmeps.str ${STAGEDIR}${DATADIR} - ${INSTALL_DATA} ${WRKSRC}/share/dktools/en/bmeps.* ${STAGEDIR}${DATADIR} - @${MKDIR} ${STAGEDIR}${DATADIR}/de - ${INSTALL_DATA} ${WRKSRC}/share/dktools/de/bmeps.* ${STAGEDIR}${DATADIR}/de + ${INSTALL_DATA} ${WRKSRC}/bmpp.txt ${STAGEDIR}${DATADIR} .include diff -ruN /usr/ports/graphics/bmeps/distinfo ./distinfo --- /usr/ports/graphics/bmeps/distinfo 2013-01-21 12:35:52.000000000 +0900 +++ ./distinfo 2014-02-13 10:44:47.000000000 +0900 @@ -1,2 +1,2 @@ -SHA256 (dktools-2.2.26.zip) = f618f1b663f777c57ba5b3b9370a9103a77b91acb5c804764afe2f47cce29aab -SIZE (dktools-2.2.26.zip) = 5813528 +SHA256 (dktools-3.8.2.tar.gz) = 089bab8ad6440d7dd28ab96ed9c9b2f958bfc0ad6643cb2ae6d453c8af7165a2 +SIZE (dktools-3.8.2.tar.gz) = 11227762 diff -ruN /usr/ports/graphics/bmeps/files/patch-configure ./files/patch-configure --- /usr/ports/graphics/bmeps/files/patch-configure 2014-01-23 02:40:44.000000000 +0900 +++ ./files/patch-configure 1970-01-01 09:00:00.000000000 +0900 @@ -1,101 +0,0 @@ ---- ./configure.orig 2011-11-02 10:37:26.000000000 -0700 -+++ ./configure 2012-01-13 18:35:08.000000000 -0800 -@@ -4234,19 +4234,6 @@ - - - GDBMLIB="" --ac_fn_c_check_header_mongrel "$LINENO" "gdbm.h" "ac_cv_header_gdbm_h" "$ac_includes_default" --if test "x$ac_cv_header_gdbm_h" = x""yes; then : -- $as_echo "#define HAVE_GDBM_H 1" >>confdefs.h -- --else -- ac_fn_c_check_header_mongrel "$LINENO" "ndbm.h" "ac_cv_header_ndbm_h" "$ac_includes_default" --if test "x$ac_cv_header_ndbm_h" = x""yes; then : -- ANYDB='ndbm';$as_echo "#define HAVE_NDBM_H 1" >>confdefs.h -- --fi -- -- --fi - - - -@@ -6710,74 +6697,16 @@ - NETSNMP_LIBS="" - FSNMP="" - SNMPYALC="" --NETSNMP_CFLAGS=`net-snmp-config --cflags` --NETSNMP_LIBS=`net-snmp-config --libs` -+NETSNMP_CFLAGS="" -+NETSNMP_LIBS="" - UNAME='' - UNAME=`uname -s` --if test "X$UNAME" = "XSunOS" --then -- { $as_echo "$as_me:${as_lineno-$LINENO}: checking SunOS Net-SNMP flags" >&5 --$as_echo_n "checking SunOS Net-SNMP flags... " >&6; } -- NETSNMP_LIBS=`echo $NETSNMP_LIBS | sed -f modsnmp.sed` -- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 --$as_echo "yes" >&6; } --fi --cat confdefs.h - <<_ACEOF >conftest.$ac_ext --/* end confdefs.h. */ -- --#include --#include --#include -- --int --main () --{ - --netsnmp_session session, *ss; - -- ; -- return 0; --} --_ACEOF --if ac_fn_c_try_compile "$LINENO"; then : -- FSNMP='fsnmp';SNMPYALC='snmpyalc klpinfo';$as_echo "#define HAVE_LIBNETSNMP 1" >>confdefs.h -- --fi --rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext --{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for netsnmp_enable_filelog in -lnetsnmp" >&5 --$as_echo_n "checking for netsnmp_enable_filelog in -lnetsnmp... " >&6; } --if test "${ac_cv_lib_netsnmp_netsnmp_enable_filelog+set}" = set; then : -- $as_echo_n "(cached) " >&6 --else -- ac_check_lib_save_LIBS=$LIBS --LIBS="-lnetsnmp $LIBS" --cat confdefs.h - <<_ACEOF >conftest.$ac_ext --/* end confdefs.h. */ -+ac_cv_lib_netsnmp_netsnmp_enable_filelog=no - --/* Override any GCC internal prototype to avoid an error. -- Use char because int might match the return type of a GCC -- builtin and then its argument prototype would still apply. */ --#ifdef __cplusplus --extern "C" --#endif --char netsnmp_enable_filelog (); --int --main () --{ --return netsnmp_enable_filelog (); -- ; -- return 0; --} --_ACEOF --if ac_fn_c_try_link "$LINENO"; then : -- ac_cv_lib_netsnmp_netsnmp_enable_filelog=yes --else -- ac_cv_lib_netsnmp_netsnmp_enable_filelog=no --fi --rm -f core conftest.err conftest.$ac_objext \ -- conftest$ac_exeext conftest.$ac_ext - LIBS=$ac_check_lib_save_LIBS --fi -+ - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_netsnmp_netsnmp_enable_filelog" >&5 - $as_echo "$ac_cv_lib_netsnmp_netsnmp_enable_filelog" >&6; } - if test "x$ac_cv_lib_netsnmp_netsnmp_enable_filelog" = x""yes; then : diff -ruN /usr/ports/graphics/bmeps/pkg-descr ./pkg-descr --- /usr/ports/graphics/bmeps/pkg-descr 2014-01-23 00:44:51.000000000 +0900 +++ ./pkg-descr 2014-02-21 10:24:25.000000000 +0900 @@ -1,21 +1,3 @@ -The bmeps package contains a command line program and a library to convert -bitmap image files (PNG/JPEG/NetPBM) to EPS or PDF and produces bounding box -files for use with LaTeX. +bmpp - Convert PNG/JPEG/TIFF to PDF/EPS -The program produces EPS level 1, 2 and 3 and PDF level 1.2, 1.3 and 1.4. - -Depending on the EPS level there are different compression and encoding -algorithms available: - - _ ASCII-Hex encoding - _ ASCII-85-encoding (requires PS level 2) - _ DCT-pass-through of JPEG files (requires PS level 2) - _ flate compression (requires PS level 3) - -The program is intended to be used with LaTeX/dvips or other DTP software -accepting EPS graphics. - -No automated scaling/rotating is done by the program to fit pages of any -paper size, this is left up to the DTP application including the graphics. - -WWW: http://dktools.sourceforge.net/bmeps.html +WWW: http://dktools.sourceforge.net/bmpp.html --- bmpp-3.8.2.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: