From owner-freebsd-ports Mon Dec 2 14:21:21 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2DBED37B421 for ; Mon, 2 Dec 2002 14:20:22 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4405243F06 for ; Mon, 2 Dec 2002 14:20:07 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id gB2MK6x3002856 for ; Mon, 2 Dec 2002 14:20:06 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id gB2MK6rU002855; Mon, 2 Dec 2002 14:20:06 -0800 (PST) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3FA2437B401 for ; Mon, 2 Dec 2002 14:10:25 -0800 (PST) Received: from socigeog.hmt.toyama-u.ac.jp (socigeog.hmt.toyama-u.ac.jp [160.26.63.48]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7B9AF43EC2 for ; Mon, 2 Dec 2002 14:10:20 -0800 (PST) (envelope-from tkato@prontomail.com) Received: from localhost (localhost [127.0.0.1]) by socigeog.hmt.toyama-u.ac.jp (Postfix) with SMTP id C87E9927 for ; Tue, 3 Dec 2002 07:10:16 +0900 (JST) Message-Id: <20021203070856.6c9909b4.tkato@prontomail.com> Date: Tue, 3 Dec 2002 07:08:56 +0900 From: KATO Tsuguru To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/45934: Update port: deskutils/tuxcards to 1.0.b2 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 45934 >Category: ports >Synopsis: Update port: deskutils/tuxcards to 1.0.b2 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Dec 02 14:20:06 PST 2002 >Closed-Date: >Last-Modified: >Originator: KATO Tsuguru >Release: FreeBSD 4.7-RELEASE-p2 i386 >Organization: >Environment: >Description: - Update to version 1.0beta2 New file: files/patch-src::commandlineoptions.cpp files/patch-src::gui::cactusbar::cactusbar.cpp files/patch-src::gui::colorbar::colorbar.cpp files/patch-src::gui::editor::editor.cpp files/patch-src::information::informationcollection.cpp files/patch-src::information::informationelement.cpp files/patch-src::information::treeinformationelement.cpp files/patch-src::mainwindow.cpp files/patch-src::test.cpp files/patch-src::utilities::strings.cpp >How-To-Repeat: >Fix: diff -urN /usr/ports/deskutils/tuxcards/Makefile deskutils/tuxcards/Makefile --- /usr/ports/deskutils/tuxcards/Makefile Mon Dec 2 19:02:12 2002 +++ deskutils/tuxcards/Makefile Tue Dec 3 05:08:47 2002 @@ -6,34 +6,34 @@ # PORTNAME= tuxcards -PORTVERSION= 0.8 -PORTREVISION= 1 +PORTVERSION= 1.0.b2 CATEGORIES= deskutils -MASTER_SITES= http://www.arved.de/bsd/src/ -DISTNAME= ${PORTNAME}-${PORTVERSION}-ohneCactus +MASTER_SITES= http://www.stud.uni-karlsruhe.de/~ut3c/ \ + http://www.arved.de/bsd/src/ +DISTNAME= ${PORTNAME}-${PORTVERSION:S/.b/beta/} MAINTAINER= ports@FreeBSD.org WRKSRC= ${WRKDIR}/${PORTNAME} -USE_GMAKE= yes -USE_QT_VER= 2 -HAS_CONFIGURE= yes -CONFIGURE_ARGS= --prefix=${PREFIX} + +QTDIR?= ${X11BASE} + +USE_QT_VER= 3 USE_REINPLACE= yes +MAKE_ENV= QTDIR="${QTDIR}" -.include +post-patch: + @${REINPLACE_CMD} -e 's|warn_on|warn_on thread|g' ${WRKSRC}/tuxcards.pro -.if ${OSVERSION} > 500038 -BROKEN= "Does not build with gcc 3.1" +do-configure: + @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} qmake \ + -spec ${X11BASE}/mkspecs/freebsd-g++ tuxcards.pro + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/docs/en/*.* ${DOCSDIR} .endif -pre-patch: - @${REINPLACE_CMD} -e 's|[$$](prefix)/doc|\$$\(prefix\)/share/doc|' \ - ${WRKSRC}/tuxcards/docs/en/Makefile.in - @${REINPLACE_CMD} -e 's|-O2||' ${WRKSRC}/configure -.ifdef(NOPORTDOCS) - @${REINPLACE_CMD} -e 's|install-data-am\: install-data-local||' \ - ${WRKSRC}/tuxcards/docs/en/Makefile.in -.endif #NOPORTDOCS - -.include +.include diff -urN /usr/ports/deskutils/tuxcards/distinfo deskutils/tuxcards/distinfo --- /usr/ports/deskutils/tuxcards/distinfo Sat May 18 04:23:30 2002 +++ deskutils/tuxcards/distinfo Tue Dec 3 05:08:47 2002 @@ -1 +1 @@ -MD5 (tuxcards-0.8-ohneCactus.tar.gz) = d83c5ff630fececca3975724facc8d65 +MD5 (tuxcards-1.0beta2.tar.gz) = bd0132214590ba1d0ae8336e5eaee15c diff -urN /usr/ports/deskutils/tuxcards/files/patch-src::commandlineoptions.cpp deskutils/tuxcards/files/patch-src::commandlineoptions.cpp --- /usr/ports/deskutils/tuxcards/files/patch-src::commandlineoptions.cpp Thu Jan 1 09:00:00 1970 +++ deskutils/tuxcards/files/patch-src::commandlineoptions.cpp Tue Dec 3 05:13:21 2002 @@ -0,0 +1,11 @@ +--- src/commandlineoptions.cpp.orig Thu Sep 19 22:30:01 2002 ++++ src/commandlineoptions.cpp Tue Dec 3 05:13:09 2002 +@@ -24,6 +24,8 @@ + #include "./information/htmlwriter.h" + #include "version.h" + ++using namespace std; ++ + CommandLineOptions::CommandLineOptions(int argc, char** argv){ + this->argc=argc; + this->argv=argv; diff -urN /usr/ports/deskutils/tuxcards/files/patch-src::gui::cactusbar::cactusbar.cpp deskutils/tuxcards/files/patch-src::gui::cactusbar::cactusbar.cpp --- /usr/ports/deskutils/tuxcards/files/patch-src::gui::cactusbar::cactusbar.cpp Thu Jan 1 09:00:00 1970 +++ deskutils/tuxcards/files/patch-src::gui::cactusbar::cactusbar.cpp Tue Dec 3 05:08:47 2002 @@ -0,0 +1,11 @@ +--- src/gui/cactusbar/cactusbar.cpp.orig Sat Aug 17 23:48:28 2002 ++++ src/gui/cactusbar/cactusbar.cpp Tue Dec 3 00:51:19 2002 +@@ -20,7 +20,7 @@ + + #include + +-CactusBar::CactusBar(QWidget* parent, QString name="") ++CactusBar::CactusBar(QWidget* parent, QString name) + :ColorBar(parent, name){ + } + diff -urN /usr/ports/deskutils/tuxcards/files/patch-src::gui::colorbar::colorbar.cpp deskutils/tuxcards/files/patch-src::gui::colorbar::colorbar.cpp --- /usr/ports/deskutils/tuxcards/files/patch-src::gui::colorbar::colorbar.cpp Thu Jan 1 09:00:00 1970 +++ deskutils/tuxcards/files/patch-src::gui::colorbar::colorbar.cpp Tue Dec 3 05:08:47 2002 @@ -0,0 +1,11 @@ +--- src/gui/colorbar/colorbar.cpp.orig Mon Dec 10 19:33:04 2001 ++++ src/gui/colorbar/colorbar.cpp Tue Dec 3 00:56:14 2002 +@@ -21,7 +21,7 @@ + * Default-constructor with default values for the colors and the strings. + * the proberties should be reset with 'change(..)' + */ +-ColorBar::ColorBar(QWidget* parent, QString s="") ++ColorBar::ColorBar(QWidget* parent, QString s) + :QWidget(parent, s){ + + colorTop=QColor(123,34,76); diff -urN /usr/ports/deskutils/tuxcards/files/patch-src::gui::editor::editor.cpp deskutils/tuxcards/files/patch-src::gui::editor::editor.cpp --- /usr/ports/deskutils/tuxcards/files/patch-src::gui::editor::editor.cpp Thu Jan 1 09:00:00 1970 +++ deskutils/tuxcards/files/patch-src::gui::editor::editor.cpp Tue Dec 3 05:14:26 2002 @@ -0,0 +1,11 @@ +--- src/gui/editor/editor.cpp.orig Thu Sep 5 22:27:38 2002 ++++ src/gui/editor/editor.cpp Tue Dec 3 05:14:10 2002 +@@ -19,6 +19,8 @@ + #include + #include + ++using namespace std; ++ + Editor::Editor(QWidget *parent, const char *name) + :QTextEdit( parent, name) + { diff -urN /usr/ports/deskutils/tuxcards/files/patch-src::information::informationcollection.cpp deskutils/tuxcards/files/patch-src::information::informationcollection.cpp --- /usr/ports/deskutils/tuxcards/files/patch-src::information::informationcollection.cpp Thu Jan 1 09:00:00 1970 +++ deskutils/tuxcards/files/patch-src::information::informationcollection.cpp Tue Dec 3 05:10:56 2002 @@ -0,0 +1,11 @@ +--- src/information/informationcollection.cpp.orig Sun Sep 8 04:53:58 2002 ++++ src/information/informationcollection.cpp Tue Dec 3 01:19:58 2002 +@@ -20,7 +20,7 @@ + #include "treeinformationelement.h" + #include + +-InformationCollection::InformationCollection(InformationElement* root=0){ ++InformationCollection::InformationCollection(InformationElement* root){ + setRootElement(root); + } + diff -urN /usr/ports/deskutils/tuxcards/files/patch-src::information::informationelement.cpp deskutils/tuxcards/files/patch-src::information::informationelement.cpp --- /usr/ports/deskutils/tuxcards/files/patch-src::information::informationelement.cpp Thu Jan 1 09:00:00 1970 +++ deskutils/tuxcards/files/patch-src::information::informationelement.cpp Tue Dec 3 05:08:47 2002 @@ -0,0 +1,24 @@ +--- src/information/informationelement.cpp.orig Sun Sep 8 04:53:58 2002 ++++ src/information/informationelement.cpp Tue Dec 3 01:14:52 2002 +@@ -19,9 +19,9 @@ + #include "../utilities/strings.h" + + InformationElement::InformationElement(InformationElement* parent, +- QString description="", +- QString information="", +- InformationFormat* format=&InformationFormat::NONE, ++ QString description, ++ QString information, ++ InformationFormat* format, + QPixmap icon) + { + this->parent=parent; +@@ -123,7 +123,7 @@ + return result; + } + +-QString InformationElement::getTreeString(int tab=0){ ++QString InformationElement::getTreeString(int tab){ + QString result = Strings::spaces(tab)+description+"\n"; + tab++; + diff -urN /usr/ports/deskutils/tuxcards/files/patch-src::information::treeinformationelement.cpp deskutils/tuxcards/files/patch-src::information::treeinformationelement.cpp --- /usr/ports/deskutils/tuxcards/files/patch-src::information::treeinformationelement.cpp Thu Jan 1 09:00:00 1970 +++ deskutils/tuxcards/files/patch-src::information::treeinformationelement.cpp Tue Dec 3 05:08:47 2002 @@ -0,0 +1,19 @@ +--- src/information/treeinformationelement.cpp.orig Sun Sep 8 04:53:58 2002 ++++ src/information/treeinformationelement.cpp Tue Dec 3 01:18:31 2002 +@@ -17,11 +17,11 @@ + + #include "treeinformationelement.h" + +-TreeInformationElement::TreeInformationElement(InformationElement* parent=0, +- QString description="", +- QString information="", +- InformationFormat* format=&InformationFormat::NONE, +- QPixmap icon=0, bool open=false) ++TreeInformationElement::TreeInformationElement(InformationElement* parent, ++ QString description, ++ QString information, ++ InformationFormat* format, ++ QPixmap icon, bool open) + :InformationElement(parent, description, information, format, icon) + { + setOpen(open); diff -urN /usr/ports/deskutils/tuxcards/files/patch-src::mainwindow.cpp deskutils/tuxcards/files/patch-src::mainwindow.cpp --- /usr/ports/deskutils/tuxcards/files/patch-src::mainwindow.cpp Thu Jan 1 09:00:00 1970 +++ deskutils/tuxcards/files/patch-src::mainwindow.cpp Tue Dec 3 05:15:19 2002 @@ -0,0 +1,11 @@ +--- src/mainwindow.cpp.orig Tue Sep 24 02:25:46 2002 ++++ src/mainwindow.cpp Tue Dec 3 05:15:08 2002 +@@ -52,6 +52,8 @@ + + #include "version.h" + ++using namespace std; ++ + + const bool MainWindow::DEBUG = false; + const bool MainWindow::QUICKLOADER = false; diff -urN /usr/ports/deskutils/tuxcards/files/patch-src::test.cpp deskutils/tuxcards/files/patch-src::test.cpp --- /usr/ports/deskutils/tuxcards/files/patch-src::test.cpp Thu Jan 1 09:00:00 1970 +++ deskutils/tuxcards/files/patch-src::test.cpp Tue Dec 3 05:35:07 2002 @@ -0,0 +1,11 @@ +--- src/test.cpp.orig Sun Sep 8 04:31:36 2002 ++++ src/test.cpp Tue Dec 3 05:15:45 2002 +@@ -19,6 +19,8 @@ + + #include + ++using namespace std; ++ + Test::Test(){ + cout<<"Testing .."<Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message