Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Feb 2013 11:20:26 GMT
From:      Dmitry <dmitry2006@yandex.ru>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/175858: graphics/dia update to 0.97.2 [patch]
Message-ID:  <201302051120.r15BKQR9089589@red.freebsd.org>
Resent-Message-ID: <201302051130.r15BU0v8024736@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         175858
>Category:       ports
>Synopsis:       graphics/dia update to 0.97.2 [patch]
>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 05 11:30:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Dmitry
>Release:        9.1-STABLE
>Organization:
-
>Environment:
FreeBSD *** 9.1-STABLE FreeBSD 9.1-STABLE #0 r245686: ***     root@***:/usr/obj/usr/src/sys/GENERIC_  amd64
>Description:
Dia 0.97.2 - bug-fix release

http://ftp.gnome.org/mirror/gnome.org/sources/dia/0.97/dia-0.97.2.changes

>How-To-Repeat:

>Fix:
not need now: patch-export_png.c

Patch attached with submission follows:

--- Makefile.orig	2012-11-19 13:01:51.000000000 +0600
+++ Makefile	2013-02-05 16:51:48.000000000 +0600
@@ -7,9 +7,7 @@
 #
 
 PORTNAME=	dia
-DISTVERSION=	0.97.1
-PORTREVISION=	3
-PORTEPOCH=	1
+DISTVERSION=	0.97.2
 CATEGORIES=	graphics gnome
 MASTER_SITES=	GNOME
 DIST_SUBDIR=	gnome2
@@ -17,11 +15,10 @@
 MAINTAINER?=	gnome@FreeBSD.org
 COMMENT=	Diagram creation program, similar to Visio
 
-BUILD_DEPENDS=	${LOCALBASE}/share/xsl/docbook/manpages/docbook.xsl:${PORTSDIR}/textproc/docbook-xsl
 LIB_DEPENDS=	popt.0:${PORTSDIR}/devel/popt \
 		png15:${PORTSDIR}/graphics/png
 
-USE_BZIP2=	yes
+USE_XZ=		yes
 USE_GMAKE=	yes
 USE_GNOME=	gtk20 gnomehack gnomeprefix libxslt libartlgpl2 intlhack \
 		desktopfileutils
@@ -33,9 +30,6 @@
 		LOCALBASE="${LOCALBASE}"
 CPPFLAGS+=	-I${LOCALBASE}/include
 
-MAN1=		dia.1
-MANLANG=	"" fr
-
 .if !defined(WITHOUT_PYTHON)
 USE_PYTHON=	yes
 USE_GNOME+=	pygtk2
@@ -45,6 +39,12 @@
 PLIST_SUB+=	PYTHON="@comment "
 .endif
 
+.if !defined(NOPORTDOCS)
+BUILD_DEPENDS=	${LOCALBASE}/share/xsl/docbook/manpages/docbook.xsl:${PORTSDIR}/textproc/docbook-xsl
+MAN1=		dia.1
+MANLANG=	"" fr
+.endif
+
 .include <bsd.port.pre.mk>
 
 .if ${ARCH} == "i386"
@@ -72,9 +72,8 @@
 	@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \
 		${WRKSRC}/lib/intl.c
 .if defined(NOPORTDOCS)
-	@${FIND} ${WRKSRC}/doc -name Makefile.in | ${XARGS} ${REINPLACE_CMD} -e \
-		's|$$(examples)||g ; s|$$(mkinstalldirs) $$(sysdoc)/examples||g ; \
-		s|$$(mkinstalldirs) $$(sysdoc)||g'
+	@${REINPLACE_CMD} -e 's|SUBDIRS = lib objects plug-ins shapes app bindings samples po sheets data doc tests installer|SUBDIRS = lib objects plug-ins shapes app bindings samples po sheets data tests installer|' \
+		${WRKSRC}/Makefile.in
 .endif
 .ifndef (GNOME_ENABLED)
 	@${FIND} ${WRKSRC} -name Makefile.in | \
--- distinfo.orig	2012-11-19 13:01:51.000000000 +0600
+++ distinfo	2013-02-05 14:25:33.000000000 +0600
@@ -1,2 +1,2 @@
-SHA256 (gnome2/dia-0.97.1.tar.bz2) = 8dfe8b2c9d87baf29834c8de5e3ec91497c2b17f2b77fb1b867afddf5c429142
-SIZE (gnome2/dia-0.97.1.tar.bz2) = 6836081
+SHA256 (gnome2/dia-0.97.2.tar.xz) = a761478fb98697f71b00d3041d7c267f3db4b94fe33ac07c689cb89c4fe5eae1
+SIZE (gnome2/dia-0.97.2.tar.xz) = 5507004
--- files/patch-doc_fr_Makefile.in.orig	2012-11-19 13:01:51.000000000 +0600
+++ files/patch-doc_fr_Makefile.in	2013-02-05 15:56:36.000000000 +0600
@@ -1,9 +1,9 @@
---- doc/fr/Makefile.in.orig	2009-07-05 15:43:34.000000000 +1000
-+++ doc/fr/Makefile.in	2009-07-05 15:42:37.000000000 +1000
-@@ -304,7 +304,7 @@
+--- doc/fr/Makefile.in.orig
++++ doc/fr/Makefile.in
+@@ -285,7 +285,7 @@
+ libexecdir = @libexecdir@
  localedir = @localedir@
  localstatedir = @localstatedir@
- lt_ECHO = @lt_ECHO@
 -mandir = $(datadir)/man/$(lang)
 +mandir = @mandir@/$(lang)
  mkdir_p = @mkdir_p@


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201302051120.r15BKQR9089589>