Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Jan 2014 14:13:41 GMT
From:      Eero Hänninen <fax@nohik.ee>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/185925: [PATCH] graphics/tgif update to 4.2.5
Message-ID:  <201401201413.s0KEDfb2011293@oldred.freebsd.org>
Resent-Message-ID: <201401201420.s0KEK0vU042947@freefall.freebsd.org>

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

>Number:         185925
>Category:       ports
>Synopsis:       [PATCH] graphics/tgif update to 4.2.5
>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:   Mon Jan 20 14:20:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Eero Hänninen
>Release:        10.0-RELEASE
>Organization:
>Environment:
FreeBSD sneezy 10.0-RELEASE FreeBSD 10.0-RELEASE #0 r260789: Thu Jan 16 22:34:59 UTC 2014     root@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
- update to version 4.2.5
- added LICENSE
- Support STAGEDIR
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -ruN tgif.orig/Makefile tgif/Makefile
--- tgif.orig/Makefile	2013-09-21 04:05:53.000000000 +0300
+++ tgif/Makefile	2014-01-20 15:47:25.000000000 +0200
@@ -1,9 +1,8 @@
 # Created by: bmc@WillsCreek.COM
-# $FreeBSD: head/graphics/tgif/Makefile 327733 2013-09-20 18:35:44Z bapt $
+# $FreeBSD: graphics/tgif/Makefile 327733 2013-09-20 18:35:44Z bapt $
 
 PORTNAME=	tgif
-PORTVERSION=	4.2.2
-PORTREVISION=	1
+PORTVERSION=	4.2.5
 CATEGORIES=	graphics
 MASTER_SITES=	ftp://bourbon.usc.edu/pub/tgif/ \
 		http://groups.yahoo.com/group/tgif4-announce/files/ \
@@ -13,6 +12,11 @@
 MAINTAINER=	bmc@clapper.org
 COMMENT=	An Xlib-based two-dimensional drawing tool and hyper-object browser
 
+LICENSE=	QPLv1
+LICENSE_NAME=	Q PUBLIC LICENSE v1.0
+LICENSE_FILE=	${WRKSRC}/LICENSE.QPL
+LICENSE_PERMS=	auto-accept
+
 RUN_DEPENDS=	giftopnm:${PORTSDIR}/graphics/netpbm
 
 OPTIONS_DEFINE=	NLS A4SIZE DOCS
@@ -24,9 +28,6 @@
 MAKE_ENV=	PTHREAD_LIBS="${PTHREAD_LIBS}"
 CFLAGS+=	${PTHREAD_CFLAGS}
 
-MAN1=		tgif.1
-
-NO_STAGE=	yes
 .include <bsd.port.options.mk>
 
 .if ${PORT_OPTIONS:MNLS}
@@ -57,13 +58,13 @@
 		) > ${WRKSRC}/Tgif.tmpl-freebsdports
 post-install:
 .for D in demo spice
-		${MKDIR} ${EXAMPLESDIR}/${D}
+		${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/${D}
 		cd ${WRKSRC}/${D:S/demo//} \
-			&& ${INSTALL_DATA} ${EXAMPLES.${D}} ${EXAMPLESDIR}/${D}
+			&& ${INSTALL_DATA} ${EXAMPLES.${D}} ${STAGEDIR}${EXAMPLESDIR}/${D}
 .endfor
 .if ${PORT_OPTIONS:MDOCS}
-		${MKDIR} ${DOCSDIR}
-		cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
+		${MKDIR} ${STAGEDIR}${DOCSDIR}
+		cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
 .endif
 
 .include <bsd.port.mk>
diff -ruN tgif.orig/distinfo tgif/distinfo
--- tgif.orig/distinfo	2012-10-28 19:12:26.000000000 +0200
+++ tgif/distinfo	2014-01-20 14:57:46.000000000 +0200
@@ -1,2 +1,2 @@
-SHA256 (tgif-QPL-4.2.2.tar.gz) = 73405ce77f741e474cc7bcdf71dd556e1c48c70fb363e0a44aa6241811cd51a7
-SIZE (tgif-QPL-4.2.2.tar.gz) = 2972242
+SHA256 (tgif-QPL-4.2.5.tar.gz) = 2f24e9fecafae6e671739bd80691a06c9d032bdd1973ca164823e72ab1c567ba
+SIZE (tgif-QPL-4.2.5.tar.gz) = 3093619
diff -ruN tgif.orig/files/Tgif.tmpl-freebsdports tgif/files/Tgif.tmpl-freebsdports
--- tgif.orig/files/Tgif.tmpl-freebsdports	2012-10-28 19:12:26.000000000 +0200
+++ tgif/files/Tgif.tmpl-freebsdports	2012-07-14 16:54:48.000000000 +0300
@@ -1,4 +1,4 @@
-XCOMM $FreeBSD: head/graphics/tgif/files/Tgif.tmpl-freebsdports 300896 2012-07-14 13:54:48Z beat $
+XCOMM $FreeBSD: graphics/tgif/files/Tgif.tmpl-freebsdports 300896 2012-07-14 13:54:48Z beat $
 #ifdef WITH_NLS
 #define IHaveSubdirs
 SUBDIRS=		po
diff -ruN tgif.orig/files/patch-tgif.man tgif/files/patch-tgif.man
--- tgif.orig/files/patch-tgif.man	2012-10-28 19:12:26.000000000 +0200
+++ tgif/files/patch-tgif.man	2014-01-20 15:07:14.000000000 +0200
@@ -4,8 +4,8 @@
  .\"
  .\"
  .\"
--.TH tgif n "Version 4.2 Patchlevel 2 and Above" "Tgif"
-+.TH tgif 1L "Version 4.2 Patchlevel 2 and Above" "Tgif"
+-.TH tgif n "Version 4.2 Patchlevel 3 and Above" "Tgif"
++.TH tgif 1L "Version 4.2 Patchlevel 3 and Above" "Tgif"
  .\"
  .SH NAME
  .\"
diff -ruN tgif.orig/pkg-plist tgif/pkg-plist
--- tgif.orig/pkg-plist	2012-10-28 19:12:26.000000000 +0200
+++ tgif/pkg-plist	2014-01-20 15:58:00.000000000 +0200
@@ -1,4 +1,4 @@
-@comment $FreeBSD: head/graphics/tgif/pkg-plist 300896 2012-07-14 13:54:48Z beat $
+@comment $FreeBSD: graphics/tgif/pkg-plist 300896 2012-07-14 13:54:48Z beat $
 bin/tgif
 lib/X11/tgif/hicolor/22x22/apps/tgificon.png
 @dirrm lib/X11/tgif/hicolor/22x22/apps
@@ -26,6 +26,7 @@
 lib/X11/tgif/eq4.sym
 lib/X11/tgif/eq4-2x.sym
 lib/X11/tgif/eq4-2x-jpg.sym
+lib/X11/tgif/eq4-2x-nowin-jpg.sym
 lib/X11/tgif/eq4-ps2epsi.sym
 lib/X11/tgif/eq4-epstool.sym
 lib/X11/tgif/eq4xpm.sym
@@ -75,3 +76,4 @@
 %%NLS%%share/locale/ja/LC_MESSAGES/tgif.mo
 %%NLS%%share/locale/ru/LC_MESSAGES/tgif.mo
 @dirrm %%EXAMPLESDIR%%
+man/man1/tgif.1.gz


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



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