Package Details: gspiceui 1.2.87-2

Git Clone URL: https://aur.archlinux.org/gspiceui.git (read-only, click to copy)
Package Base: gspiceui
Description: A GUI to various freely available Spice electronic ciruit simulators
Upstream URL: http://users.tpg.com.au/micksw012/gspiceui.html
Licenses: GPL
Submitter: None
Maintainer: bidulock
Last Packager: bidulock
Votes: 44
Popularity: 0.000000
First Submitted: 2005-09-23 20:19 (UTC)
Last Updated: 2023-02-03 06:28 (UTC)

Dependencies (4)

Required by (0)

Sources (2)

Latest Comments

1 2 Next › Last »

glenjo commented on 2023-01-29 17:25 (UTC) (edited on 2023-01-29 17:44 (UTC) by glenjo)

Could not get the patch applied properly - user error!

dreieck commented on 2022-07-21 15:28 (UTC) (edited on 2022-07-21 20:13 (UTC) by dreieck)

The wx/wx.h: No such file or directory error I could fix by applying the following changes to src/Makefile:

 # Specify the version of the wxWidgets library to compile against
-GSPICEUI_WXLIB = 3.0
+GSPICEUI_WXLIB = $(pacman -Q wxgtk2 | awk '{print $2}' | awk -F. '{print $1"."$2}')

@@ -52,5 +52,5 @@
 # Indentify the wxWidgets configuration utility to use :
-# (for GTK3 -> wx-config-gtk3 or for GTK2 -> wx-config)
-#   wxgtk2      --> /usr/bin/wx-config       --> wxWidgets 3.0.4  built on GTK2 --> broken (relocation error)
-#   wxgtk3      --> /usr/bin/wx-config-gtk3  --> wxWidgets 3.0.4  built on GTK3 --> broken (relocation error)
+# (for GTK3 -> wx-config or for GTK2 -> wx-config-gtk2)
+#   wxgtk2      --> /usr/bin/wx-config-gtk2  --> wxWidgets 3.2.0  built on GTK2
+#   wxgtk3      --> /usr/bin/wx-config       --> wxWidgets 3.2.0  built on GTK3
 #   wxgtk2.8    --> /usr/bin/wx-config-2.8   --> wxWidgets 2.8.12 built on GTK2 --> works with warnings and only if debugging is switched on
@@ -58,6 +58,6 @@
 ifeq ($(GSPICEUI_DEBUG),0)
-  WXCFG  = /usr/bin/wx-config
+  WXCFG  = /usr/bin/wx-config-gtk2
 #  WXCFG  = /usr/local/bin/wx-config
 else
-  WXCFG  = /usr/bin/wx-config
+  WXCFG  = /usr/bin/wx-config-gtk2
 #  WXCFG  = /usr/local/bin/wx-config

(→ download patch.)

Instead of wx-config-gtk2 and wx-config, also wx-config --toolkit=gtk2 and wx-config --toolkit=gtk3 could be used. That seems to be more future-proof.

Issue reported upstream: → Here.

dreieck commented on 2022-07-21 14:30 (UTC) (edited on 2022-07-21 14:32 (UTC) by dreieck)

With the new wxwidgets-gtk*-packages, it fails to build for me with TypeDefs.hpp:30:10: fatal error: wx/wx.h: No such file or directory:

g++ -c -O3 -std=c++17 -pipe  -I. App_gSpiceUI.cpp -o obj/App_gSpiceUI.o
g++ -c -O3 -std=c++17 -pipe  -I. CmdLinePcr.cpp -o obj/CmdLinePcr.o
g++ -c -O3 -std=c++17 -pipe  -I. Config.cpp -o obj/Config.o
g++ -c -O3 -std=c++17 -pipe  -I. TypeDefs.cpp -o obj/TypeDefs.o
In file included from Config.hpp:23,
                 from Config.cpp:17:
TypeDefs.hpp:30:10: fatal error: wx/wx.h: No such file or directory
   30 | #include <wx/wx.h>
      |          ^~~~~~~~~
compilation terminated.
In file included from CmdLinePcr.hpp:24,
                 from CmdLinePcr.cpp:17:
TypeDefs.hpp:30:10: fatal error: wx/wx.h: No such file or directory
   30 | #include <wx/wx.h>
      |          ^~~~~~~~~
compilation terminated.
In file included from CmdLinePcr.hpp:24,
                 from App_gSpiceUI.hpp:23,
                 from App_gSpiceUI.cpp:17:
TypeDefs.hpp:30:10: fatal error: wx/wx.h: No such file or directory
   30 | #include <wx/wx.h>
      |          ^~~~~~~~~
make[1]: *** [Makefile:176: obj/Config.o] Error 1
compilation terminated.
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [Makefile:176: obj/App_gSpiceUI.o] Error 1
make[1]: *** [Makefile:176: obj/CmdLinePcr.o] Error 1
In file included from TypeDefs.cpp:17:
TypeDefs.hpp:30:10: fatal error: wx/wx.h: No such file or directory
   30 | #include <wx/wx.h>
      |          ^~~~~~~~~
compilation terminated.

wx/wx.h is present at /usr/include/wx-3.2/wx/wx.h, provided by the package wxwidgets-common.
So something needs to be specified manually to find that file.

Regards!

blackvladimir commented on 2015-06-12 17:10 (UTC)

It works for me. I uninstalled wxgtk2.8 so only wxgtk package is in place and compilation goes without error.

pazpi commented on 2015-05-12 16:19 (UTC)

I have some problems to build this version with wxgtk version 3.0.2-4. In order to compile I have to copy the folder /usr/include/wx-3.0/ in /usr/include/wx and the file /usr/lib/wx/include/gtk2-unicode-3.0/wx/setup.h in /usr/include/wx cp -r /usr/include/wx-3.0 /usr/include/wx cp /usr/lib/wx/include/gtk2-unicode-3.0/wx/setup.h /usr/include/wx I haven't test with wxgtk2-8 but I think it should be work fine

Neutrino commented on 2015-05-07 00:35 (UTC)

There is a new version after 3,5 years!: gspiceui 1.1.00 For building the PKGBUILD needs only a few changes: INSTALLDIR= --> DESTDIR= ; pkgver=..; pkgrel=..; md5sums=..; and "depends()" maybe only "wxgtk" ? (to check) The http://sourceforge.net/projects/gspiceui/files/gSpiceUI/gspiceui-v1.1.00/release-notes-v1.1.00.txt/download says: "- gSpiceUI can now be built against the latest version of wxWidgets ie. v3.0.02." I built it with this PKGBUILD: http://neutrino.project-insanity.org/files/PKGBUILD

p90 commented on 2015-03-02 10:03 (UTC)

Hm, with wxgtk2.8 installed, compilation fails because it cannot find wx.h. I had to install the normal wxgtk package as well to get it to work. If it matters, I am running an pure 686 system.

bidulock commented on 2015-01-03 04:33 (UTC)

You need a package() function to build under pacman 4.2.0 and the form "make || return 1" is unnecessary.

blackvladimir commented on 2014-11-04 16:18 (UTC)

New revision of package. Looks like it needs wxgtk2.8; it does not need to be from multilib. Also homepage updated.

sirrus233 commented on 2014-11-02 13:14 (UTC)

Actually, I was just able to get this to install. The package seems to require the lib32-wxgtk2.8 package from the Multilib repository. Both standard wxgtk and lib32-wxgtk from the AUR don't seem to work.