ports/187025: [UPDATE] graphics/bmeps: update to 3.8.2

Takefu takefu at airport.fm
Tue Feb 25 08:10:01 UTC 2014


>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 <rushani at FreeBSD.org>
 # $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 at 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 at sz->lsz =@// sz->lsz =@' ${WRKSRC}/dk3sf.c
+	@${REINPLACE_CMD} -e 's@#include <dk3conf.h>@#include <stdio.h>@p'\
+			  -e 's@#include <stdio.h>@#include <dk3conf.h>@'\
+		${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 <bsd.port.mk>
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 <net-snmp/net-snmp-config.h>
--#include <net-snmp/net-snmp-includes.h>
--#include <net-snmp/utilities.h>
--
--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:


More information about the freebsd-ports-bugs mailing list