Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Aug 2006 01:00:19 +0900
From:      KATO Tsuguru <tkato432@yahoo.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/101193: Update port: graphics/meshviewer to 0.3.0
Message-ID:  <20060802010019.dc9b1bbb.tkato432@yahoo.com>
Resent-Message-ID: <200608011610.k71GAPmM024728@freefall.freebsd.org>

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

>Number:         101193
>Category:       ports
>Synopsis:       Update port: graphics/meshviewer to 0.3.0
>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:   Tue Aug 01 16:10:25 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 4.11-RELEASE-p19 i386
>Organization:
>Environment:
>Description:
- Update to version 0.3.0

Remove file:
files/patch-Makefile
files/patch-mesh.cc

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/graphics/meshviewer/Makefile graphics/meshviewer/Makefile
--- /usr/ports/graphics/meshviewer/Makefile	Mon Dec 12 13:30:50 2005
+++ graphics/meshviewer/Makefile	Fri Jul 28 01:54:11 2006
@@ -6,7 +6,7 @@
 # $FreeBSD: ports/graphics/meshviewer/Makefile,v 1.8 2005/12/11 14:43:52 pav Exp $
 
 PORTNAME=	meshviewer
-PORTVERSION=	0.2.3
+PORTVERSION=	0.3.0
 CATEGORIES=	graphics
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	mview
@@ -21,7 +21,18 @@
 		QTCPPFLAGS="${QTCPPFLAGS} ${PTHREAD_CFLAGS}" \
 		QTCFGLIBS="${QTCFGLIBS} ${PTHREAD_LIBS}"
 
-CFLAGS+=	-fpermissive
+post-patch:
+	@${REINPLACE_CMD} -e \
+		's|-I$$(QTDIR)/include|$${QTCPPFLAGS}|g ; \
+		 s|-L$$(QTDIR)/lib|$${QTCFGLIBS}|g ; \
+		 s|-L/usr/local/lib||g ; \
+		 s|-L/usr/X11R6/lib||g ; \
+		 s|=g\+\+|=$${CXX}|g ; \
+		 s|^MOC=|#MOC=|g ; \
+		 s|-O2|$${CXXFLAGS}|g ; \
+		 s|make |$$(MAKE) |g' ${WRKSRC}/Makefile
+	@${REINPLACE_CMD} -e \
+		's|<values\.h>|<climits>|g' ${WRKSRC}/mesh/mesh.cpp
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/mview ${PREFIX}/bin
diff -urN /usr/ports/graphics/meshviewer/distinfo graphics/meshviewer/distinfo
--- /usr/ports/graphics/meshviewer/distinfo	Mon Dec 12 13:30:50 2005
+++ graphics/meshviewer/distinfo	Fri Jul 28 00:29:55 2006
@@ -1,3 +1,3 @@
-MD5 (mview-src-0.2.3.tar.gz) = 70e31823a8f8390549cd7bd47d5b3b08
-SHA256 (mview-src-0.2.3.tar.gz) = 2f5a9962ed0cabdab03fff666e24da7b690ce1ae3b080d224d4a6e28480d8c5e
-SIZE (mview-src-0.2.3.tar.gz) = 637845
+MD5 (mview-src-0.3.0.tar.gz) = 7fa3605f502e780ca8a536f9a65553b3
+SHA256 (mview-src-0.3.0.tar.gz) = 759669af1c4a592589a72d291374db216ccf8893999469bf95e7a4a945b650ff
+SIZE (mview-src-0.3.0.tar.gz) = 610246
diff -urN /usr/ports/graphics/meshviewer/files/patch-Makefile graphics/meshviewer/files/patch-Makefile
--- /usr/ports/graphics/meshviewer/files/patch-Makefile	Thu Dec  4 22:36:47 2003
+++ graphics/meshviewer/files/patch-Makefile	Thu Jan  1 09:00:00 1970
@@ -1,35 +0,0 @@
---- Makefile.orig	Thu Nov 27 08:40:45 2003
-+++ Makefile	Thu Nov 27 23:48:26 2003
-@@ -1,13 +1,13 @@
- 
- #QTDIR=/usr/lib/qt3
--INCPATH = -I. -Itexture -Imesh -Imathvector -I$(QTDIR)/include
--LIBPATH = -L$(QTDIR)/lib -L/usr/local/lib -L/usr/X11R6/lib
-+INCPATH = -I. -Itexture -Imesh -Imathvector $(QTCPPFLAGS)
-+LIBPATH = ${QTCFGLIBS}
- 
--CC=g++
--MOC=$(QTDIR)/bin/moc
-+CC=$(CXX)
-+#MOC=$(QTDIR)/bin/moc
- EXE=mview
- 
--CPPFLAGS = $(INCPATH) -O2
-+CPPFLAGS = $(INCPATH) $(CXXFLAGS)
- # supposedly compiler options for faster code
- #CPPFLAGS = $(INCPATH) -O3 -fexceptions --fast-math -felide-constructors -fexpensive-optimizations -fdelayed-branch -fschedule-insns
- 
-@@ -65,11 +65,11 @@
- 
- QT:
- 	rm -f qt/mview.o
--	make QT_2
-+	$(MAKE) QT_2
- 
- QT_TEXT:
- 	rm -f qt/mview.o
--	make QT_TEXT_2 "FLAGS=-DTEXT_MAP"
-+	$(MAKE) QT_TEXT_2 "FLAGS=-DTEXT_MAP"
- 
- GLUT: $(GLUT) $(TEXT) $(MESH) $(VEC)
- 	$(CC) $? $(LIBPATH) $(LIBS_GLUT) -o $(EXE)
diff -urN /usr/ports/graphics/meshviewer/files/patch-mesh.cc graphics/meshviewer/files/patch-mesh.cc
--- /usr/ports/graphics/meshviewer/files/patch-mesh.cc	Mon Apr 19 11:36:55 2004
+++ graphics/meshviewer/files/patch-mesh.cc	Thu Jan  1 09:00:00 1970
@@ -1,11 +0,0 @@
---- mesh/mesh.cc.orig	Sat Feb  8 18:14:00 2003
-+++ mesh/mesh.cc	Sat Feb  8 18:14:11 2003
-@@ -9,7 +9,7 @@
- #include <set>
- 
- // for MAXFLOAT
--#include <values.h>
-+#include <climits>
- 
- #include "mesh.h"
- 
diff -urN /usr/ports/graphics/meshviewer/pkg-plist graphics/meshviewer/pkg-plist
--- /usr/ports/graphics/meshviewer/pkg-plist	Mon Apr 19 01:52:51 2004
+++ graphics/meshviewer/pkg-plist	Fri Jul 28 01:48:35 2006
@@ -1,26 +1,31 @@
 bin/mview
+%%PORTDOCS%%%%DOCSDIR%%/build.html
+%%PORTDOCS%%%%DOCSDIR%%/bunny.html
 %%PORTDOCS%%%%DOCSDIR%%/calc_text_map.html
 %%PORTDOCS%%%%DOCSDIR%%/castle.html
 %%PORTDOCS%%%%DOCSDIR%%/changelog.html
+%%PORTDOCS%%%%DOCSDIR%%/formats.html
 %%PORTDOCS%%%%DOCSDIR%%/index.html
-%%PORTDOCS%%%%DOCSDIR%%/momie.html
+%%PORTDOCS%%%%DOCSDIR%%/mummy.html
+%%PORTDOCS%%%%DOCSDIR%%/pics/bigben_small.jpg
+%%PORTDOCS%%%%DOCSDIR%%/pics/bunny.jpg
 %%PORTDOCS%%%%DOCSDIR%%/pics/bunny_normals.png
+%%PORTDOCS%%%%DOCSDIR%%/pics/bunny_small.jpg
 %%PORTDOCS%%%%DOCSDIR%%/pics/bunny_solid.png
-%%PORTDOCS%%%%DOCSDIR%%/pics/bunny_tm.jpg
 %%PORTDOCS%%%%DOCSDIR%%/pics/bunny_wire.png
+%%PORTDOCS%%%%DOCSDIR%%/pics/castle.jpg
 %%PORTDOCS%%%%DOCSDIR%%/pics/castle_small.jpg
 %%PORTDOCS%%%%DOCSDIR%%/pics/castle_solid.png
 %%PORTDOCS%%%%DOCSDIR%%/pics/castle_text1.png
 %%PORTDOCS%%%%DOCSDIR%%/pics/castle_text2.png
-%%PORTDOCS%%%%DOCSDIR%%/pics/castle_tm.jpg
 %%PORTDOCS%%%%DOCSDIR%%/pics/mapping1.png
 %%PORTDOCS%%%%DOCSDIR%%/pics/mapping2.png
 %%PORTDOCS%%%%DOCSDIR%%/pics/mesh_title.jpg
-%%PORTDOCS%%%%DOCSDIR%%/pics/momie_text.png
-%%PORTDOCS%%%%DOCSDIR%%/pics/momie_tm.jpg
-%%PORTDOCS%%%%DOCSDIR%%/pics/momie_wire1.png
-%%PORTDOCS%%%%DOCSDIR%%/pics/momie_wire2.png
-%%PORTDOCS%%%%DOCSDIR%%/rabbit.html
-%%PORTDOCS%%%%DOCSDIR%%/test.wrl
+%%PORTDOCS%%%%DOCSDIR%%/pics/mummy.jpg
+%%PORTDOCS%%%%DOCSDIR%%/pics/mummy_text.png
+%%PORTDOCS%%%%DOCSDIR%%/pics/mummy_wire1.png
+%%PORTDOCS%%%%DOCSDIR%%/pics/mummy_wire2.png
+%%PORTDOCS%%%%DOCSDIR%%/pics/totem_small.jpg
+%%PORTDOCS%%%%DOCSDIR%%/style.css
 %%PORTDOCS%%@dirrm %%DOCSDIR%%/pics
 %%PORTDOCS%%@dirrm %%DOCSDIR%%
>Release-Note:
>Audit-Trail:
>Unformatted:



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