FreeBSD Bugzilla – Attachment 161453 Details for
Bug 202232
cad/gspiceui: Maintainer update to 1.1.00
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Updated patch with CXXFLAGS fixed
patch-gspiceui.diff (text/plain), 5.33 KB, created by
Kevin Zheng
on 2015-09-27 03:07:20 UTC
(
hide
)
Description:
Updated patch with CXXFLAGS fixed
Filename:
MIME Type:
Creator:
Kevin Zheng
Created:
2015-09-27 03:07:20 UTC
Size:
5.33 KB
patch
obsolete
>diff --git a/cad/gspiceui/Makefile b/cad/gspiceui/Makefile >index 74058e2..8dc0b8a 100644 >--- a/cad/gspiceui/Makefile >+++ b/cad/gspiceui/Makefile >@@ -2,32 +2,23 @@ > # $FreeBSD$ > > PORTNAME= gspiceui >-PORTVERSION= 1.0.00 >-PORTREVISION= 8 >+PORTVERSION= 1.1.00 > CATEGORIES= cad > MASTER_SITES= SF/${PORTNAME}/gSpiceUI/${PORTNAME}-v${PORTVERSION} > DISTNAME= ${PORTNAME}-v${PORTVERSION} > > MAINTAINER= kevinz5000@gmail.com >-COMMENT= GUI frontend to gnucap and ngspice circuit simulators >+COMMENT= GUI for ngspice and gnucap circuit simulators > >-LICENSE= GPLv2 >- >-RUN_DEPENDS= # none if no options are set >+LICENSE= GPLv3 > > OPTIONS_DEFINE= DOCS EXAMPLES >-OPTIONS_GROUP= BACKEND >- >-OPTIONS_GROUP_BACKEND= GNUCAP NGSPICE >- >-GNUCAP_DESC= Depend on gnucap as a simulation backend >-NGSPICE_DESC= Depend on ngspice as a simulation backend > >-OPTIONS_DEFAULT= NGSPICE >- >-USE_WX= 2.8+ >+USE_WX= 2.8 3.0 > WX_UNICODE= yes >-USES= gmake compiler:c++11-lib >+USES= compiler:c++11-lib gmake pkgconfig >+ >+CXXFLAGS+= -std=c++11 > > DESKTOP_ENTRIES= "GSpiceUI" "Circuit Simulator GUI" \ > "${PREFIX}/share/pixmaps/gspiceui-48x48.xpm" \ >@@ -38,18 +29,9 @@ PORTEXAMPLES= * > PLIST_FILES= bin/gspiceui share/pixmaps/gspiceui-48x48.xpm \ > man/man1/gspiceui.1.gz > >-GNUCAP_RUN_DEPENDS= gnucap:${PORTSDIR}/cad/gnucap >-NGSPICE_RUN_DEPENDS= ngspice:${PORTSDIR}/cad/ngspice_rework >- > post-patch: >- @${REINPLACE_CMD} -e \ >- 's|:= -Ofast -pipe|+= -I.|g ; \ >- s|^INCLUDES |#INCLUDES |g ; \ >- s|$$(WXCFG)|$$(WX_CONFIG)|g ; \ >- s|$$(CC)|$$(CXX)|g' ${WRKSRC}/src/Makefile >- @${REINPLACE_CMD} -e \ >- 's|share/gspiceui|${DOCSDIR}|g' \ >- ${WRKSRC}/src/main/HelpTasks.cpp >+ @${REINPLACE_CMD} -e 's|share/gspiceui|${DOCSDIR}|g' \ >+ ${WRKSRC}/src/main/HelpTasks.cpp > > do-install: > ${INSTALL_PROGRAM} ${WRKSRC}/bin/gspiceui ${STAGEDIR}${PREFIX}/bin >diff --git a/cad/gspiceui/distinfo b/cad/gspiceui/distinfo >index 30bf7b1..c1323db 100644 >--- a/cad/gspiceui/distinfo >+++ b/cad/gspiceui/distinfo >@@ -1,2 +1,2 @@ >-SHA256 (gspiceui-v1.0.00.tar.gz) = ff8d38b9bb10bf695c00a0660dcbd14a43072e93851c5100a85133919736d5da >-SIZE (gspiceui-v1.0.00.tar.gz) = 612517 >+SHA256 (gspiceui-v1.1.00.tar.gz) = 22cbe0a8800f9fade43235c74df2e3defb06f2d6e0ac57cff81d058ab89da564 >+SIZE (gspiceui-v1.1.00.tar.gz) = 1048236 >diff --git a/cad/gspiceui/files/patch-src_Makefile b/cad/gspiceui/files/patch-src_Makefile >new file mode 100644 >index 0000000..1dd97ea >--- /dev/null >+++ b/cad/gspiceui/files/patch-src_Makefile >@@ -0,0 +1,35 @@ >+--- src/Makefile.orig 2015-03-29 12:25:24 UTC >++++ src/Makefile >+@@ -38,13 +38,12 @@ DESTDIR = /usr/local/bin >+ #*************************************************************************************************** >+ >+ # Which compiler >+-CXX = g++ >+ >+ # Application name >+ PROG = gspiceui >+ >+ # wxWidgets configuration utility >+-WXCFG = wx-config --unicode --version=$(GSPICEUI_WXLIB) >++WXCFG = $(WX_CONFIG) >+ >+ # Dependency file >+ DEPS = Makefile.deps >+@@ -71,7 +70,7 @@ BINDIR = $(ROOT)/bin >+ # -Og Optimize debugging experience but don't break debugging >+ ifeq ($(GSPICEUI_DBG),0) >+ # Options for release (not using -Wall since it's GCC specific) >+- CXXFLAGS := -O1 -pipe $(shell $(WXCFG) --cxxflags) >++ CXXFLAGS += $(shell $(WXCFG) --cxxflags) >+ else >+ # Options for development >+ CXXFLAGS := -g -Og -Wall -Wextra -pipe $(shell $(WXCFG) --cxxflags) >+@@ -83,7 +82,7 @@ ifeq ($(GSPICEUI_WXLIB),2.8) >+ endif >+ >+ # Includes >+-INCLUDES = -I/usr/include -I/usr/X11R6/include -I. >++INCLUDES = -I. >+ >+ # Libraries >+ # (The pkg-config stuff was requested by a user, somehow pangox was missing) >diff --git a/cad/gspiceui/files/patch-src_TypeDefs.hpp b/cad/gspiceui/files/patch-src_TypeDefs.hpp >new file mode 100644 >index 0000000..b71877d >--- /dev/null >+++ b/cad/gspiceui/files/patch-src_TypeDefs.hpp >@@ -0,0 +1,25 @@ >+--- src/TypeDefs.hpp.orig 2015-04-06 10:28:07 UTC >++++ src/TypeDefs.hpp >+@@ -57,16 +57,18 @@ extern bool g_bDebug; // Declared in >+ //************************************************************************************************** >+ // Type definitions >+ >+-//typedef unsigned long ulong; >+-//typedef unsigned int uint; >+-//typedef unsigned char uchar; >++#ifdef __BSD__ >++typedef unsigned long ulong; >++typedef unsigned int uint; >++typedef unsigned char uchar; >++#endif >+ >+ typedef wxStaticText wxLabel; >+ >+ //************************************************************************************************** >+ // Operating System specific macro declarations >+ >+-#ifdef __WXOSX__ >++#if defined(__WXOSX__) || defined(__BSD__) >+ #define EXP10(X) pow(10.0,X) >+ #define EXP10F(X) powf(10.0,X) >+ #else >diff --git a/cad/gspiceui/pkg-descr b/cad/gspiceui/pkg-descr >index 55cc3b8..75e935c 100644 >--- a/cad/gspiceui/pkg-descr >+++ b/cad/gspiceui/pkg-descr >@@ -1,6 +1,6 @@ >-GSpiceUI (GNU Spice GUI) is intended to provide a graphical frontend to freely >-available circuit simulators, including gnucap and ngspice. It can use >-gnetlist to import schematics or net list files and gwave to display >-simulation results. >+gSpiceUI is intended to provide a GUI for freely available electronic >+circuit simulation engines ie. NG-Spice and GNU-Cap. The utility gnetlist is >+used to convert schematic files to netlist files, Gwave or Gaw to display >+simulation results and gschem is the preferred schematic capture tool. > >-WWW: http://sourceforge.net/projects/gspiceui/ >+WWW: http://users.tpg.com.au/micksw012/gspiceui.html
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 202232
:
159743
|
159744
| 161453