From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Aug 4 08:20:34 2003 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7ADBA37B40A for ; Mon, 4 Aug 2003 08:20:34 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 423204400B for ; Mon, 4 Aug 2003 08:20:14 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h74FKCUp052504 for ; Mon, 4 Aug 2003 08:20:12 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h74FKC55052503; Mon, 4 Aug 2003 08:20:12 -0700 (PDT) Resent-Date: Mon, 4 Aug 2003 08:20:12 -0700 (PDT) Resent-Message-Id: <200308041520.h74FKC55052503@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, KATO Tsuguru Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CB23537B401 for ; Mon, 4 Aug 2003 08:19:39 -0700 (PDT) Received: from hfep03.dion.ne.jp (hfep03.dion.ne.jp [203.181.105.69]) by mx1.FreeBSD.org (Postfix) with ESMTP id 687A143FB1 for ; Mon, 4 Aug 2003 08:19:34 -0700 (PDT) (envelope-from tkato@prontomail.com) Received: from localhost ([211.126.70.156]) by hfep03.dion.ne.jp with SMTP id <20030804151930069.LQQP@hfep03.dion.ne.jp> for ; Tue, 5 Aug 2003 00:19:30 +0900 Message-Id: <20030805001810.3be32092.tkato@prontomail.com> Date: Tue, 5 Aug 2003 00:18:10 +0900 From: KATO Tsuguru To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/55246: Update port: graphics/view3ds X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Aug 2003 15:20:35 -0000 >Number: 55246 >Category: ports >Synopsis: Update port: graphics/view3ds >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: Mon Aug 04 08:20:12 PDT 2003 >Closed-Date: >Last-Modified: >Originator: KATO Tsuguru >Release: FreeBSD 4.8-RELEASE i386 >Organization: >Environment: >Description: - Convert to use Qt3 - Fix MASTER_SITES - Remove obsolete WWW: line Remove file: files/patch-configure files/patch-view3ds::document.cpp >How-To-Repeat: >Fix: diff -urN /usr/ports/graphics/view3ds/Makefile graphics/view3ds/Makefile --- /usr/ports/graphics/view3ds/Makefile Tue Jul 29 21:32:25 2003 +++ graphics/view3ds/Makefile Mon Aug 4 13:13:03 2003 @@ -7,22 +7,32 @@ PORTNAME= view3ds PORTVERSION= 1.0.0 +PORTREVISION= 1 CATEGORIES= graphics -MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} -MASTER_SITE_SUBDIR= lib3ds +MASTER_SITES= ${MASTER_SITE_DEBIAN_POOL} +DISTNAME= ${PORTNAME}_${PORTVERSION}.orig + +PATCH_SITES= ${MASTER_SITES} +PATCHFILES= ${PORTNAME}_${PORTVERSION}-9.diff.gz +PATCH_DIST_STRIP= -p1 MAINTAINER= ports@FreeBSD.org COMMENT= A simple realtime 3DS file previewer based on the Lib3ds Library LIB_DEPENDS= 3ds.1:${PORTSDIR}/graphics/lib3ds +WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} + USE_X_PREFIX= yes -USE_QT_VER= 2 +USE_QT_VER= 3 USE_MESA= yes USE_GMAKE= yes USE_LIBTOOL= yes -CONFIGURE_ENV= CPPFLAGS="-fno-rtti -fno-exceptions" \ - LDFLAGS="-lm ${PTHREAD_LIBS}" \ - QTDIR=${X11BASE} +CONFIGURE_ENV= QTDIR="${QT_PREFIX}" +MAKE_ARGS= ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOMAKE="${TRUE}" \ + AUTOHEADER="${TRUE}" + +QTCPPFLAGS+= ${PTHREAD_CFLAGS} +QTCFGLIBS+= ${PTHREAD_LIBS} .include diff -urN /usr/ports/graphics/view3ds/distinfo graphics/view3ds/distinfo --- /usr/ports/graphics/view3ds/distinfo Fri Jan 19 04:06:25 2001 +++ graphics/view3ds/distinfo Sun Aug 3 02:34:07 2003 @@ -1 +1,2 @@ -MD5 (view3ds-1.0.0.tar.gz) = d2b297379865111654537dd141e0e79a +MD5 (view3ds_1.0.0.orig.tar.gz) = d2b297379865111654537dd141e0e79a +MD5 (view3ds_1.0.0-9.diff.gz) = 40b99e53ab69aa03bcb3ff0c310f9bf1 diff -urN /usr/ports/graphics/view3ds/files/patch-configure graphics/view3ds/files/patch-configure --- /usr/ports/graphics/view3ds/files/patch-configure Thu Apr 5 23:08:24 2001 +++ graphics/view3ds/files/patch-configure Thu Jan 1 09:00:00 1970 @@ -1,42 +0,0 @@ - -$FreeBSD: ports/graphics/view3ds/files/patch-configure,v 1.2 2001/04/05 14:08:24 sobomax Exp $ - ---- configure 2001/01/18 18:11:47 1.1 -+++ configure 2001/01/18 18:15:35 -@@ -2939,10 +2939,10 @@ - echo "$ac_t""no" 1>&6 - else - echo "$ac_t""yes" 1>&6 -- qt_includes="$QTDIR/include" -+ qt_includes="$QTDIR/include/qt2" - qt_libraries="$QTDIR/lib" - qt_binaries="$QTDIR/bin" -- MOC="$qt_binaries/moc"; -+ MOC="$qt_binaries/moc2"; - UIC="$qt_binaries/uic"; - fi - fi -@@ -3012,9 +3012,9 @@ - saved_LIBS="$LIBS" - CPPFLAGS="$saved_CPPFLAGS -I$qt_includes" - if test -n "$qt_libraries"; then -- LIBS="$saved_LIBS -L$qt_libraries -lqt" -+ LIBS="$saved_LIBS -L$qt_libraries -lqtgl" - else -- LIBS="$saved_LIBS -lqt -lm $X11_LIBS" -+ LIBS="$saved_LIBS -lqtgl -lm $X11_LIBS" - fi - echo $ac_n "checking for QT includes ($qt_includes)""... $ac_c" 1>&6 - echo "configure:3021: checking for QT includes ($qt_includes)" >&5 -@@ -3086,9 +3086,9 @@ - rm -f conftest* - if test "$qt_libraries_found" = "yes"; then - if test -n "$qt_libraries"; then -- QT_LIBS="-L$qt_libraries -lqt -lm $X11_LIBS"; -+ QT_LIBS="-L$qt_libraries -lqtgl -lm $X11_LIBS"; - else -- QT_LIBS="-lqt -lm $X11_LIBS"; -+ QT_LIBS="-lqtgl -lm $X11_LIBS"; - fi - echo "$ac_t""yes" 1>&6 - else diff -urN /usr/ports/graphics/view3ds/files/patch-view3ds::document.cpp graphics/view3ds/files/patch-view3ds::document.cpp --- /usr/ports/graphics/view3ds/files/patch-view3ds::document.cpp Wed Apr 24 23:05:05 2002 +++ graphics/view3ds/files/patch-view3ds::document.cpp Thu Jan 1 09:00:00 1970 @@ -1,38 +0,0 @@ - -$FreeBSD: ports/graphics/view3ds/files/patch-view3ds::document.cpp,v 1.1 2002/04/24 14:05:05 sobomax Exp $ - ---- view3ds/document.cpp 2002/04/24 11:23:51 1.1 -+++ view3ds/document.cpp 2002/04/24 11:24:33 -@@ -42,7 +42,9 @@ - Document::~Document() - { - if (d_file) { -+#if 0 - lib3ds_close(d_file); -+#endif - d_file=0; - } - } -@@ -55,17 +57,21 @@ - Document::open(QString filename) - { - if (d_file) { -+#if 0 - lib3ds_close(d_file); -+#endif - d_file=0; - } -- d_file=lib3ds_open((const char*)filename); -+ d_file=lib3ds_file_load((const char*)filename); - if (!d_file) { - puts("***ERROR*** Loading 3DS file failed."); - return(false); - } - if (!d_file->cameras) { - puts("***ERROR*** No Camera found."); -+#if 0 - lib3ds_close(d_file); -+#endif - d_file=0; - return(false); - } diff -urN /usr/ports/graphics/view3ds/pkg-descr graphics/view3ds/pkg-descr --- /usr/ports/graphics/view3ds/pkg-descr Fri Jan 19 04:06:25 2001 +++ graphics/view3ds/pkg-descr Sun Aug 3 02:43:41 2003 @@ -1,3 +1 @@ A simple realtime 3DS file previewer based on the Lib3ds Library. - -WWW: http://lib3ds.sourceforge.net/ >Release-Note: >Audit-Trail: >Unformatted: