From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Jan 15 18:10:12 2012 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 925F01065676 for ; Sun, 15 Jan 2012 18:10:12 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 6D17D8FC32 for ; Sun, 15 Jan 2012 18:10:12 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q0FIACPW078508 for ; Sun, 15 Jan 2012 18:10:12 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q0FIACKR078507; Sun, 15 Jan 2012 18:10:12 GMT (envelope-from gnats) Resent-Date: Sun, 15 Jan 2012 18:10:12 GMT Resent-Message-Id: <201201151810.q0FIACKR078507@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, KATO Tsuguru Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A7ABE1065678 for ; Sun, 15 Jan 2012 18:01:51 +0000 (UTC) (envelope-from tkato432@yahoo.com) Received: from msa106lp.auone-net.jp (msa106lp.auone-net.jp [222.3.140.169]) by mx1.freebsd.org (Postfix) with ESMTP id 4FD728FC13 for ; Sun, 15 Jan 2012 18:01:51 +0000 (UTC) Received: from localhost.localdomain (ZT029095.ppp.dion.ne.jp [59.128.29.95]) by msa106lp.auone-net.jp (au one net msa) with ESMTP id 03F0B23C031 for ; Mon, 16 Jan 2012 03:01:47 +0900 (JST) Message-Id: <20120116024603.bb9a60e9.tkato432@yahoo.com> Date: Mon, 16 Jan 2012 02:46:03 +0900 From: KATO Tsuguru To: FreeBSD-gnats-submit@FreeBSD.org Cc: Subject: ports/164159: Update port: graphics/mtpaint to 3.40 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Jan 2012 18:10:12 -0000 >Number: 164159 >Category: ports >Synopsis: Update port: graphics/mtpaint to 3.40 >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: Sun Jan 15 18:10:12 UTC 2012 >Closed-Date: >Last-Modified: >Originator: KATO Tsuguru >Release: FreeBSD 7.4-RELEASE-p5 i386 >Organization: >Environment: >Description: - Update to version 3.40 New file files/patch-configure >How-To-Repeat: >Fix: diff -urN /usr/ports/graphics/mtpaint/Makefile graphics/mtpaint/Makefile --- /usr/ports/graphics/mtpaint/Makefile 2010-05-31 16:20:58.000000000 +0900 +++ graphics/mtpaint/Makefile 2012-01-10 19:34:57.000000000 +0900 @@ -6,33 +6,61 @@ # PORTNAME= mtpaint -PORTVERSION= 3.31 -PORTREVISION= 5 +PORTVERSION= 3.40 CATEGORIES= graphics MASTER_SITES= SF MAINTAINER= ports@FreeBSD.org COMMENT= Simple painting program -LIB_DEPENDS= gif.5:${PORTSDIR}/graphics/giflib \ - jasper.4:${PORTSDIR}/graphics/jasper \ - jpeg.11:${PORTSDIR}/graphics/jpeg \ - openjpeg.2:${PORTSDIR}/graphics/openjpeg \ +LICENSE= GPLv3 +LICENSE_FILE= ${WRKSRC}/COPYING + +LIB_DEPENDS= jpeg.11:${PORTSDIR}/graphics/jpeg \ png.6:${PORTSDIR}/graphics/png \ tiff.4:${PORTSDIR}/graphics/tiff \ freetype.9:${PORTSDIR}/print/freetype2 +OPTIONS= GIFLIB "Enable LZW-compressed GIF support" off \ + LCMS2 "Enable ICC color management support" on \ + OPENJPEG "Enable OpenJPEG support" on \ + NLS "Enable Native Language support" on + USE_BZIP2= yes USE_GNOME= gtk20 +USE_GMAKE= yes HAS_CONFIGURE= yes CONFIGURE_ARGS= --prefix=${PREFIX} --mandir=${MAN1PREFIX}/man/man1 \ - --locale=${PREFIX}/share/locale \ - gtk2 cflags slow asneeded GIF jpeg jp2 tiff man + --localedir=${PREFIX}/share/locale \ + gtk2 cflags asneeded ft jpeg tiff man +MAKE_JOBS_SAFE= yes -MANCOMPRESSED= yes MAN1= ${PORTNAME}.1 -CFLAGS+= -DU_FREETYPE +.include + +.if defined(WITH_GIFLIB) +LIB_DEPENDS+= gif.5:${PORTSDIR}/graphics/giflib +CONFIGURE_ARGS+=GIF +.else +LIB_DEPENDS+= ungif.5:${PORTSDIR}/graphics/libungif +CONFIGURE_ARGS+=gif +.endif + +.if defined(WITHOUT_LCMS2) +CONFIGURE_ARGS+=nolcms +.else +LIB_DEPENDS+= lcms2.2:${PORTSDIR}/graphics/lcms2 +CONFIGURE_ARGS+=lcms2 +.endif + +.if defined(WITHOUT_OPENJPEG) +LIB_DEPENDS+= jasper.4:${PORTSDIR}/graphics/jasper +CONFIGURE_ARGS+=jasper +.else +LIB_DEPENDS+= openjpeg.2:${PORTSDIR}/graphics/openjpeg +CONFIGURE_ARGS+=jp2 +.endif .if defined(WITHOUT_NLS) PLIST_SUB+= NLS="@comment " @@ -42,17 +70,10 @@ PLIST_SUB+= NLS="" .endif -post-patch: - @${REINPLACE_CMD} -e 's|="/usr"|="${LOCALBASE}"|g ; \ - s|/usr/X11R6|${LOCALBASE}|g ; \ - s|GTK_LIB -s|GTK_LIB|g' ${WRKSRC}/configure - @${REINPLACE_CMD} -e 's|png_set_gray_1_2_4_to_8|png_set_expand_gray_1_2_4_to_8|' \ - ${WRKSRC}/src/png.c - do-install: ${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} \ ${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/doc/${PORTNAME}.1.gz \ + ${INSTALL_MAN} ${WRKSRC}/doc/${PORTNAME}.1 \ ${MANPREFIX}/man/man1 @${MKDIR} ${PREFIX}/share/applications ${INSTALL_DATA} ${WRKSRC}/doc/${PORTNAME}.desktop \ @@ -60,7 +81,7 @@ ${INSTALL_DATA} ${WRKSRC}/doc/${PORTNAME}.png \ ${PREFIX}/share/pixmaps .if !defined(WITHOUT_NLS) -.for lang in cs de es fr gl it ja nl pl pt pt_BR ru sk sv tr zh_CN zh_TW +.for lang in cs de es fr gl hu it ja nl pl pt pt_BR ru sk sv tl tr zh_CN zh_TW @${MKDIR} ${PREFIX}/share/locale/${lang}/LC_MESSAGES ${INSTALL_DATA} ${WRKSRC}/po/${lang}.mo \ ${PREFIX}/share/locale/${lang}/LC_MESSAGES/mtpaint.mo diff -urN /usr/ports/graphics/mtpaint/distinfo graphics/mtpaint/distinfo --- /usr/ports/graphics/mtpaint/distinfo 2011-07-04 02:05:07.000000000 +0900 +++ graphics/mtpaint/distinfo 2012-01-06 04:56:30.000000000 +0900 @@ -1,2 +1,2 @@ -SHA256 (mtpaint-3.31.tar.bz2) = 6274c93c36ec5c1fdc68dcf9fbf7b43b81c443e0f1059907b6c6143ce0ba7284 -SIZE (mtpaint-3.31.tar.bz2) = 501744 +SHA256 (mtpaint-3.40.tar.bz2) = ef321d2b404839c7b909bdf5283eb22a37fbdd35b4cc9e380ddc400573d7c890 +SIZE (mtpaint-3.40.tar.bz2) = 600857 diff -urN /usr/ports/graphics/mtpaint/files/patch-configure graphics/mtpaint/files/patch-configure --- /usr/ports/graphics/mtpaint/files/patch-configure 1970-01-01 09:00:00.000000000 +0900 +++ graphics/mtpaint/files/patch-configure 2012-01-06 05:25:21.000000000 +0900 @@ -0,0 +1,19 @@ +--- configure.bak 2011-12-30 03:08:17.000000000 +0900 ++++ configure 2012-01-06 05:25:11.000000000 +0900 +@@ -68,6 +68,7 @@ + "tiff" ) NTIFF=YES;; + "notiff" ) NTIFF=NO;; + "statictiff" ) STATIC_TIFF=TIFF;; ++ "ft" ) NFT=YES;; + "noft" ) NFT=NO;; + "staticft" ) STATIC_FT=FreeType;; + "lcms" ) NCMS=LittleCMS;; +@@ -471,7 +472,7 @@ + MARCH= + # And leave CFLAGS alone + fi +-[ "$OPTS" != DEBUG ] && LDFLAGS="-s $LDFLAGS" # Strip debug info ++# [ "$OPTS" != DEBUG ] && LDFLAGS="-s $LDFLAGS" # Strip debug info + # Set Windows-specific flags + if [ "$OS" != "${OS#MinGW/}" ] + then diff -urN /usr/ports/graphics/mtpaint/pkg-plist graphics/mtpaint/pkg-plist --- /usr/ports/graphics/mtpaint/pkg-plist 2009-03-21 16:07:59.000000000 +0900 +++ graphics/mtpaint/pkg-plist 2012-01-06 05:30:59.000000000 +0900 @@ -5,6 +5,7 @@ %%NLS%%share/locale/es/LC_MESSAGES/mtpaint.mo %%NLS%%share/locale/fr/LC_MESSAGES/mtpaint.mo %%NLS%%share/locale/gl/LC_MESSAGES/mtpaint.mo +%%NLS%%share/locale/hu/LC_MESSAGES/mtpaint.mo %%NLS%%share/locale/it/LC_MESSAGES/mtpaint.mo %%NLS%%share/locale/ja/LC_MESSAGES/mtpaint.mo %%NLS%%share/locale/nl/LC_MESSAGES/mtpaint.mo @@ -14,6 +15,7 @@ %%NLS%%share/locale/ru/LC_MESSAGES/mtpaint.mo %%NLS%%share/locale/sk/LC_MESSAGES/mtpaint.mo %%NLS%%share/locale/sv/LC_MESSAGES/mtpaint.mo +%%NLS%%share/locale/tl/LC_MESSAGES/mtpaint.mo %%NLS%%share/locale/tr/LC_MESSAGES/mtpaint.mo %%NLS%%share/locale/zh_CN/LC_MESSAGES/mtpaint.mo %%NLS%%share/locale/zh_TW/LC_MESSAGES/mtpaint.mo >Release-Note: >Audit-Trail: >Unformatted: