Date: Sun, 7 Jul 2002 17:16:35 +0200 (CEST) From: Samuel Tardieu <sam@inf.enst.fr> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/40294: New port: emulators/gpsim Message-ID: <20020707151635.ABEF81930F2@trillian.rfc1149.net>
next in thread | raw e-mail | index | archive | help
>Number: 40294 >Category: ports >Synopsis: New port: emulators/gpsim >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Sun Jul 07 08:20:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Samuel Tardieu >Release: FreeBSD 4.4-STABLE i386 >Organization: TELECOM Paris >Environment: System: FreeBSD trillian.enst.fr 4.4-STABLE FreeBSD 4.4-STABLE #0: Wed Jan 9 21:09:32 CET 2002 root@trillian.enst.fr:/usr/src/sys/compile/TRILLIAN i386 >Description: Gpsim is a full-featured software simulator for Microchip PIC microcontrollers distributed under the GNU General Public License. Gpsim has been designed to be as accurate as possible. Accuracy includes the entire PIC - from the core to the I/O pins and including ALL of the internal peripherals. Thus it's possible to create stimuli and tie them to the I/O pins and test the PIC the same PIC the same way you would in the real world. WWW: http://www.dattalo.com/gnupic/gpsim.html >How-To-Repeat: >Fix: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # gpsim/Makefile # gpsim/distinfo # gpsim/files/patch-configure.in # gpsim/files/patch-Makefile.in # gpsim/files/patch-cli::input.cc # gpsim/files/patch-modules::Makefile.am # gpsim/pkg-plist # gpsim/pkg-comment # gpsim/pkg-descr # echo x - gpsim/Makefile sed 's/^X//' >gpsim/Makefile << 'END-of-gpsim/Makefile' X# New ports collection makefile for: gpsim X# Date created: 7 July 2002 X# Whom: Samuel Tardieu <sam@inf.enst.fr X# X# $FreeBSD$ X# X XPORTNAME= gpsim XPORTVERSION= 0.20.14 XCATEGORIES= emulators XMASTER_SITES= http://www.dattalo.com/gnupic/ X XMAINTAINER= sam@inf.enst.fr X XLIB_DEPENDS= gtkextra.17:${PORTSDIR}/x11-toolkits/gtkextra X XUSE_GTK= YES XUSE_AUTOMAKE= YES X XINSTALL_SHLIBS= YES X X.include <bsd.port.mk> END-of-gpsim/Makefile echo x - gpsim/distinfo sed 's/^X//' >gpsim/distinfo << 'END-of-gpsim/distinfo' XMD5 (gpsim-0.20.14.tar.gz) = 6992ecc5315cec59de47acce2c6ed67f END-of-gpsim/distinfo echo x - gpsim/files/patch-configure.in sed 's/^X//' >gpsim/files/patch-configure.in << 'END-of-gpsim/files/patch-configure.in' X--- configure.in.orig Sun Jul 7 16:42:24 2002 X+++ configure.in Sun Jul 7 16:44:11 2002 X@@ -97,9 +97,9 @@ X X else X dnl gtk checks X- AC_PATH_PROG(GTKCONFIG, gtk-config, no, ${PATH}) X+ AC_PATH_PROG(GTK_CONFIG, gtk-config, no, ${PATH}) X X- if test $GTKCONFIG = "no"; then X+ if test $GTK_CONFIG = "no"; then X AC_MSG_ERROR(Cannot find gtk-config) X fi X X@@ -114,8 +114,8 @@ X GTK= X GDK= X GLIB= X- X_LDFLAGS=`$GTKCONFIG --libs` X- X_CFLAGS=`$GTKCONFIG --cflags` X+ X_LDFLAGS=`$GTK_CONFIG --libs` X+ X_CFLAGS=`$GTK_CONFIG --cflags` X Y_LDFLAGS=`$GTKEXTRACONFIG --libs` X Y_CFLAGS=`$GTKEXTRACONFIG --cflags` X END-of-gpsim/files/patch-configure.in echo x - gpsim/files/patch-Makefile.in sed 's/^X//' >gpsim/files/patch-Makefile.in << 'END-of-gpsim/files/patch-Makefile.in' X--- Makefile.in.orig Sun Jul 7 16:44:36 2002 X+++ Makefile.in Sun Jul 7 16:44:42 2002 X@@ -79,7 +79,7 @@ X GPSIM_MINOR_VERSION = @GPSIM_MINOR_VERSION@ X GPSIM_VERSION = @GPSIM_VERSION@ X GTK = @GTK@ X-GTKCONFIG = @GTKCONFIG@ X+GTKCONFIG = @GTK_CONFIG@ X GTKEXTRACONFIG = @GTKEXTRACONFIG@ X LEX = @LEX@ X LIBREADLINE = @LIBREADLINE@ END-of-gpsim/files/patch-Makefile.in echo x - gpsim/files/patch-cli::input.cc sed 's/^X//' >gpsim/files/patch-cli::input.cc << 'END-of-gpsim/files/patch-cli::input.cc' X--- cli/input.cc.orig Sun Jul 7 16:48:53 2002 X+++ cli/input.cc Sun Jul 7 16:49:46 2002 X@@ -34,8 +34,8 @@ X extern void simulation_cleanup(void); X extern int use_gui; X X-//#define RALF X-#define SCOTT X+#define RALF X+//#define SCOTT X X //#if 0 //tsd removed in 0.20.4 X extern "C" { END-of-gpsim/files/patch-cli::input.cc echo x - gpsim/files/patch-modules::Makefile.am sed 's/^X//' >gpsim/files/patch-modules::Makefile.am << 'END-of-gpsim/files/patch-modules::Makefile.am' X--- modules/Makefile.am.orig Sun Jul 7 16:56:26 2002 X+++ modules/Makefile.am Sun Jul 7 16:56:34 2002 X@@ -8,8 +8,7 @@ X gpsim_modules.cc \ X binary_indicator.cc binary_indicator.h \ X resistor.cc resistor.h \ X- usart.cc usart.h \ X- paraface.cc paraface.h X+ usart.cc usart.h X X X libgpsim_modules_la_LDFLAGS = @X_LDFLAGS@ END-of-gpsim/files/patch-modules::Makefile.am echo x - gpsim/pkg-plist sed 's/^X//' >gpsim/pkg-plist << 'END-of-gpsim/pkg-plist' Xlib/libgpsimcli.so.0 Xlib/libgpsimcli.la Xlib/libgpsimcli.a Xlib/libgpsim_eXdbm.so.0 Xlib/libgpsim_eXdbm.la Xlib/libgpsim_eXdbm.a Xlib/libgpsimgui.so.0 Xlib/libgpsimgui.la Xlib/libgpsimgui.a Xlib/libgpsim.so.0 Xlib/libgpsim.la Xlib/libgpsim.a Xlib/libgpsim_modules.so.0 Xlib/libgpsim_modules.la Xlib/libgpsim_modules.a Xinclude/eXdbm/eXdbm.h Xinclude/eXdbm/eXdbmErrors.h Xinclude/eXdbm/eXdbmTypes.h Xinclude/gpsim/12bit-instructions.h Xinclude/gpsim/12bit-processors.h Xinclude/gpsim/14bit-instructions.h Xinclude/gpsim/14bit-processors.h Xinclude/gpsim/14bit-registers.h Xinclude/gpsim/14bit-tmrs.h Xinclude/gpsim/16bit-instructions.h Xinclude/gpsim/16bit-processors.h Xinclude/gpsim/16bit-registers.h Xinclude/gpsim/16bit-tmrs.h Xinclude/gpsim/attribute.h Xinclude/gpsim/breakpoints.h Xinclude/gpsim/cod.h Xinclude/gpsim/gpsim_classes.h Xinclude/gpsim/gpsim_def.h Xinclude/gpsim/gpsim_interface.h Xinclude/gpsim/gpsim_time.h Xinclude/gpsim/fopen-path.h Xinclude/gpsim/interface.h Xinclude/gpsim/ioports.h Xinclude/gpsim/modules.h Xinclude/gpsim/p12x.h Xinclude/gpsim/p16x5x.h Xinclude/gpsim/p16f62x.h Xinclude/gpsim/p16x6x.h Xinclude/gpsim/p16x7x.h Xinclude/gpsim/p16x8x.h Xinclude/gpsim/p16f87x.h Xinclude/gpsim/p17c75x.h Xinclude/gpsim/p18x.h Xinclude/gpsim/packages.h Xinclude/gpsim/pic-instructions.h Xinclude/gpsim/pic-packages.h Xinclude/gpsim/pic-processor.h Xinclude/gpsim/pic-registers.h Xinclude/gpsim/picdis.h Xinclude/gpsim/stimuli.h Xinclude/gpsim/stimulus_orb.h Xinclude/gpsim/symbol.h Xinclude/gpsim/symbol_orb.h Xinclude/gpsim/tmr0.h Xinclude/gpsim/trace.h Xinclude/gpsim/trace_orb.h Xinclude/gpsim/uart.h Xinclude/gpsim/xref.h Xbin/gpsim X@dirrm include/gpsim X@dirrm include/eXdbm END-of-gpsim/pkg-plist echo x - gpsim/pkg-comment sed 's/^X//' >gpsim/pkg-comment << 'END-of-gpsim/pkg-comment' XA Microchop PIC simulator END-of-gpsim/pkg-comment echo x - gpsim/pkg-descr sed 's/^X//' >gpsim/pkg-descr << 'END-of-gpsim/pkg-descr' XGpsim is a full-featured software simulator for Microchip PIC microcontrollers Xdistributed under the GNU General Public License. X XGpsim has been designed to be as accurate as possible. Accuracy includes the Xentire PIC - from the core to the I/O pins and including ALL of the internal Xperipherals. Thus it's possible to create stimuli and tie them to the I/O pins Xand test the PIC the same PIC the same way you would in the real world. X XWWW: http://www.dattalo.com/gnupic/gpsim.html END-of-gpsim/pkg-descr exit >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020707151635.ABEF81930F2>