Date: Mon, 4 Jul 2005 03:00:23 +0900 From: KATO Tsuguru <tkato432@yahoo.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/82944: Update port: math/graphthing to 1.0 Message-ID: <20050704030023.3e92c9b9.tkato432@yahoo.com> Resent-Message-ID: <200507031810.j63IALNF084514@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 82944 >Category: ports >Synopsis: Update port: math/graphthing to 1.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: Sun Jul 03 18:10:21 GMT 2005 >Closed-Date: >Last-Modified: >Originator: KATO Tsuguru >Release: FreeBSD 4.11-RELEASE-p11 i386 >Organization: >Environment: >Description: - Update to version 1.0 New file: files/patch-src-exporter.cc >How-To-Repeat: >Fix: diff -urN /usr/ports/math/graphthing/Makefile math/graphthing/Makefile --- /usr/ports/math/graphthing/Makefile Sat Feb 26 15:59:32 2005 +++ math/graphthing/Makefile Mon Jul 4 00:02:47 2005 @@ -7,26 +7,31 @@ # PORTNAME= graphthing -PORTVERSION= 0.9.5 +PORTVERSION= 1.0 CATEGORIES= math MASTER_SITES= http://graph.seul.org/ MAINTAINER= ports@FreeBSD.org COMMENT= A tool that allows you to create, manipulate and study graphs -LIB_DEPENDS= gtkmm.2:${PORTSDIR}/x11-toolkits/gtk-- +LIB_DEPENDS= wx_gtk2_core-2.6.0:${PORTSDIR}/x11-toolkits/wxgtk26 USE_BZIP2= yes -USE_GNOME= gnometarget gtk12 +USE_GNOME= gnometarget gtk20 USE_BISON= yes USE_REINPLACE= yes USE_GMAKE= yes GNU_CONFIGURE= yes +CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" +CONFIGURE_ARGS= --with-wx-config=${X11BASE}/bin/wxgtk2-2.6-config PLIST_FILES= bin/graphthing bin/gt -post-patch: - ${REINPLACE_CMD} -e "s,\/usr\/include\/gtk-1.2\/gdk\/gdkkeysyms.h,," \ - ${WRKSRC}/src/depend.1 +CPPFLAGS= ${PTHREAD_CFLAGS} +LDFLAGS= ${PTHREAD_LIBS} + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/src/graphthing ${PREFIX}/bin + ${LN} -sf graphthing ${PREFIX}/bin/gt .include <bsd.port.mk> diff -urN /usr/ports/math/graphthing/distinfo math/graphthing/distinfo --- /usr/ports/math/graphthing/distinfo Tue Mar 2 11:46:27 2004 +++ math/graphthing/distinfo Sun Jul 3 16:27:32 2005 @@ -1,2 +1,2 @@ -MD5 (graphthing-0.9.5.tar.bz2) = 343f958d0b2bb8558006ec92048d8c98 -SIZE (graphthing-0.9.5.tar.bz2) = 138622 +MD5 (graphthing-1.0.tar.bz2) = 33dda372a386e0e5a55f31ba0bc5ec36 +SIZE (graphthing-1.0.tar.bz2) = 127900 diff -urN /usr/ports/math/graphthing/files/patch-src-exporter.cc math/graphthing/files/patch-src-exporter.cc --- /usr/ports/math/graphthing/files/patch-src-exporter.cc Thu Jan 1 09:00:00 1970 +++ math/graphthing/files/patch-src-exporter.cc Sun Jul 3 18:16:25 2005 @@ -0,0 +1,10 @@ +--- src/exporter.cc.orig Sun Jul 3 13:27:10 2005 ++++ src/exporter.cc Sun Jul 3 18:15:55 2005 +@@ -5,6 +5,7 @@ + #include <fstream> + #include <iostream> + #include <stdexcept> ++#include <ctime> + #include "config.h" + #include "edge.h" + #include "exporter.h" diff -urN /usr/ports/math/graphthing/files/patch-src-gui.h math/graphthing/files/patch-src-gui.h --- /usr/ports/math/graphthing/files/patch-src-gui.h Sat Feb 26 06:49:44 2005 +++ math/graphthing/files/patch-src-gui.h Thu Jan 1 09:00:00 1970 @@ -1,18 +0,0 @@ ---- src/gui.h.orig Thu Feb 24 14:11:10 2005 -+++ src/gui.h Thu Feb 24 14:11:12 2005 -@@ -140,7 +140,6 @@ public: - class ParamDialog : public Gtk::Dialog - { - protected: -- void ok_click (); - - virtual int delete_event_impl (GdkEventAny *ev); - virtual void get_data () = 0; -@@ -148,6 +147,7 @@ protected: - public: - bool cancelled; - -+ void ok_click (); - ParamDialog (const String &title = "Prefab Parameter"); - }; - >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050704030023.3e92c9b9.tkato432>