From owner-freebsd-gnome@FreeBSD.ORG Wed Apr 17 11:30:02 2013 Return-Path: Delivered-To: gnome@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 702FA598 for ; Wed, 17 Apr 2013 11:30:02 +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 63E04129 for ; Wed, 17 Apr 2013 11:30:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r3HBU2ZM025740 for ; Wed, 17 Apr 2013 11:30:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r3HBU2PJ025739; Wed, 17 Apr 2013 11:30:02 GMT (envelope-from gnats) Date: Wed, 17 Apr 2013 11:30:02 GMT Message-Id: <201304171130.r3HBU2PJ025739@freefall.freebsd.org> To: gnome@FreeBSD.org From: dfilter@FreeBSD.ORG (dfilter service) Subject: Re: ports/177564: commit references a PR X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: dfilter service List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Apr 2013 11:30:02 -0000 The following reply was made to PR ports/177564; it has been noted by GNATS. From: dfilter@FreeBSD.ORG (dfilter service) To: bug-followup@FreeBSD.org Cc: Subject: Re: ports/177564: commit references a PR Date: Wed, 17 Apr 2013 11:26:06 +0000 (UTC) Author: kwm Date: Wed Apr 17 11:25:52 2013 New Revision: 315957 URL: http://svnweb.freebsd.org/changeset/ports/315957 Log: convert NOPORTDOCS to PORT_OPTIONS:MDOCS Switch to desktop-file-utils uses. Remove shlib version. Fix glib.h header patch so the correct prototype is used, otherwise function returns the wrong time [1] Move pre-configure section to post-patch. PR: ports/177462 [1] PR: ports/177564 [1] Submitted by: AN Luiz Eduardo Roncato Cordeiro Based on: patch from Golyashov Sergey in ports/177462 Feature safe: yes Modified: head/graphics/dia/Makefile head/graphics/dia/pkg-plist Modified: head/graphics/dia/Makefile ============================================================================== --- head/graphics/dia/Makefile Wed Apr 17 10:02:28 2013 (r315956) +++ head/graphics/dia/Makefile Wed Apr 17 11:25:52 2013 (r315957) @@ -4,22 +4,22 @@ PORTNAME= dia DISTVERSION= 0.97.2 +PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= graphics gnome MASTER_SITES= GNOME DIST_SUBDIR= gnome2 -MAINTAINER?= gnome@FreeBSD.org +MAINTAINER= gnome@FreeBSD.org COMMENT= Diagram creation program, similar to Visio LIB_DEPENDS= popt:${PORTSDIR}/devel/popt \ png15:${PORTSDIR}/graphics/png -USES= pathfix +USES= pathfix desktop-file-utils USE_XZ= yes USE_GMAKE= yes -USE_GNOME= gtk20 gnomeprefix libxslt libartlgpl2 intlhack \ - desktopfileutils +USE_GNOME= gtk20 gnomeprefix libxslt libartlgpl2 intlhack INSTALLS_ICONS= yes USE_GETTEXT= yes GNU_CONFIGURE= yes @@ -28,8 +28,9 @@ CONFIGURE_ENV= LIBS="-L${LOCALBASE}/lib CPPFLAGS+= -I${LOCALBASE}/include CONFIGURE_ARGS= --disable-gnome +.include -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} BUILD_DEPENDS= ${LOCALBASE}/share/xsl/docbook/manpages/docbook.xsl:${PORTSDIR}/textproc/docbook-xsl MAN1= dia.1 MANLANG= "" fr @@ -47,7 +48,7 @@ MANLANG= "" fr .include .if ${ARCH} == "i386" -LIB_DEPENDS+= EMF.1:${PORTSDIR}/graphics/libemf +LIB_DEPENDS+= EMF:${PORTSDIR}/graphics/libemf CONFIGURE_ARGS+= --enable-libemf PLIST_SUB+= WMF="" .else @@ -58,11 +59,12 @@ PLIST_SUB+= WMF="@comment " post-patch: @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \ ${WRKSRC}/lib/intl.c - @${REINPLACE_CMD} -e 's|glib/.*\.h>|glib.h>|g' \ + @${REINPLACE_CMD} -e 's|glib/gstrfuncs.h>|glib.h>|g' \ + -e 's|glib/gtestutils.h|glib.h|g' \ ${WRKSRC}/objects/custom/shape_typeinfo.c \ ${WRKSRC}/tests/test-objects.c \ ${WRKSRC}/tests/test-boundingbox.c -.if defined(NOPORTDOCS) +.if ! ${PORT_OPTIONS:MDOCS} @${REINPLACE_CMD} -e '/SUBDIRS/s|data doc tests|data tests|g' \ ${WRKSRC}/Makefile.in .endif @@ -70,13 +72,8 @@ post-patch: ${XARGS} ${REINPLACE_CMD} -e \ 's,\(^GTK_LIBS.*\),\1 ${PTHREAD_LIBS}, ; \ s,\(^GTK_CFLAGS = \),\1 ${PTHREAD_CFLAGS} ,' - -pre-configure: @${REINPLACE_CMD} -e 's|http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl|${LOCALBASE}/share/xsl/docbook/manpages/docbook.xsl| ; \ s|echo aout|echo elf|g ; s|/usr/include/libEMF|${LOCALBASE}/include/libEMF|g' \ ${WRKSRC}/configure -post-install: - @-update-desktop-database - .include Modified: head/graphics/dia/pkg-plist ============================================================================== --- head/graphics/dia/pkg-plist Wed Apr 17 10:02:28 2013 (r315956) +++ head/graphics/dia/pkg-plist Wed Apr 17 11:25:52 2013 (r315957) @@ -1849,5 +1849,3 @@ share/mime-info/dia.mime @dirrmtry man/fr/man1 @dirrmtry man/fr @dirrm lib/dia -@exec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true -@unexec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true _______________________________________________ svn-ports-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-ports-all To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"