From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Jun 28 13:20:02 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id EEF94F98 for ; Fri, 28 Jun 2013 13:20:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id E02371938 for ; Fri, 28 Jun 2013 13:20: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 r5SDK13g010301 for ; Fri, 28 Jun 2013 13:20:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r5SDK0lR010300; Fri, 28 Jun 2013 13:20:00 GMT (envelope-from gnats) Date: Fri, 28 Jun 2013 13:20:00 GMT Message-Id: <201306281320.r5SDK0lR010300@freefall.freebsd.org> To: freebsd-ports-bugs@FreeBSD.org Cc: From: Alex Kozlov Subject: Re: ports/177733: [maintainer update] graphics/nomacs update to version 1.0.2 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Alex Kozlov List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Jun 2013 13:20:02 -0000 The following reply was made to PR ports/177733; it has been noted by GNATS. From: Alex Kozlov To: bug-followup@FreeBSD.org, bsd@tuxproject.de Cc: Subject: Re: ports/177733: [maintainer update] graphics/nomacs update to version 1.0.2 Date: Fri, 28 Jun 2013 16:12:56 +0300 --ew6BAiZeqk4r7MaW Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi, Jens Can you please test the attached patch? -- Alex --ew6BAiZeqk4r7MaW Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="patch2.txt" Index: graphics/nomacs/Makefile =================================================================== --- graphics/nomacs/Makefile (revision 321960) +++ graphics/nomacs/Makefile (working copy) @@ -1,10 +1,10 @@ # $FreeBSD$ PORTNAME= nomacs -PORTVERSION= 1.0.0 +PORTVERSION= 1.2.0 CATEGORIES= graphics MASTER_SITES= SF/nomacs/nomacs-${PORTVERSION}/ -DISTNAME= ${PORTNAME}-${PORTVERSION} +DISTNAME= ${PORTNAME}-${PORTVERSION}-source MAINTAINER= bsd@tuxproject.de COMMENT= Small, fast and free image viewer @@ -15,19 +15,29 @@ sysinfo:${PORTSDIR}/devel/libsysinfo USE_BZIP2= yes -USES= cmake +USES= cmake desktop-file-utils USE_QT4= gui network linguist_build moc_build \ qmake_build rcc_build uic_build LDFLAGS+= -lsysinfo -lkvm WRKTOP= ${WRKDIR} -WRKSUBDIR= ${PORTNAME}-${PORTVERSION} +WRKSUBDIR= ${DISTNAME:S,-source,,} WRKSRC= ${WRKTOP}/${WRKSUBDIR} -CMAKE_ARGS+= -DENABLE_RAW=0 MAN1= nomacs.1 +OPTIONS_DEFINE= RAW +OPTIONS_DEFAULT= RAW +RAW_DESC= RAW images support + +.include + +.if ${PORT_OPTIONS:MRAW} +LIB_DEPENDS+= raw:${PORTSDIR}/graphics/libraw \ + opencv_legacy:${PORTSDIR}/graphics/opencv +.else +CMAKE_ARGS+= -DENABLE_RAW=0 +.endif + post-extract: - @cd ${WRKSRC}/ &&\ - ${REINPLACE_CMD} -e 's|share/man/man1|man/man1|' \ - CMakeLists.txt + @${REINPLACE_CMD} -e 's|share/man/man1|man/man1|' ${WRKSRC}/CMakeLists.txt .include Index: graphics/nomacs/distinfo =================================================================== --- graphics/nomacs/distinfo (revision 321960) +++ graphics/nomacs/distinfo (working copy) @@ -1,2 +1,2 @@ -SHA256 (nomacs-1.0.0.tar.bz2) = bf2a0a9ecb35551dc8ed25c0db95c1183b3771a2ce9e2a41d7e1d230bac2c5f2 -SIZE (nomacs-1.0.0.tar.bz2) = 803404 +SHA256 (nomacs-1.2.0-source.tar.bz2) = 0c60e5d17a7f3d17f33344b59440dad2bac0358fd1fae85b48574f2c61674259 +SIZE (nomacs-1.2.0-source.tar.bz2) = 859335 Index: graphics/nomacs/pkg-plist =================================================================== --- graphics/nomacs/pkg-plist (revision 321960) +++ graphics/nomacs/pkg-plist (working copy) @@ -2,16 +2,19 @@ share/applications/nomacs.desktop %%DATADIR%%/translations/nomacs_als.qm %%DATADIR%%/translations/nomacs_az.qm +%%DATADIR%%/translations/nomacs_cs.qm %%DATADIR%%/translations/nomacs_de.qm %%DATADIR%%/translations/nomacs_en.qm %%DATADIR%%/translations/nomacs_es.qm +%%DATADIR%%/translations/nomacs_it.qm %%DATADIR%%/translations/nomacs_pl.qm +%%DATADIR%%/translations/nomacs_pt.qm %%DATADIR%%/translations/nomacs_ru.qm +%%DATADIR%%/translations/nomacs_sl.qm %%DATADIR%%/translations/nomacs_sk.qm +%%DATADIR%%/translations/nomacs_sr.qm %%DATADIR%%/translations/nomacs_zh.qm share/pixmaps/nomacs.png @dirrm %%DATADIR%%/translations @dirrm %%DATADIR%% @dirrmtry share/applications -@exec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true -@unexec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true --ew6BAiZeqk4r7MaW--