diff options
author | Thomas Beierlein <tomjbe@gentoo.org> | 2012-02-11 13:50:23 +0000 |
---|---|---|
committer | Thomas Beierlein <tomjbe@gentoo.org> | 2012-02-11 13:50:23 +0000 |
commit | c41b695bdf31bd8c0371061dac740e681319ec36 (patch) | |
tree | ffe4417ab34f4095adae46f6483342bd5a57ec50 /sci-electronics | |
parent | http://my.opera.com/desktopteam/blog/2012/02/10/new-11-62-snapshot (diff) | |
download | historical-c41b695bdf31bd8c0371061dac740e681319ec36.tar.gz historical-c41b695bdf31bd8c0371061dac740e681319ec36.tar.bz2 historical-c41b695bdf31bd8c0371061dac740e681319ec36.zip |
Version bump
Package-Manager: portage-2.1.10.45/cvs/Linux x86_64
Diffstat (limited to 'sci-electronics')
-rw-r--r-- | sci-electronics/gspiceui/ChangeLog | 10 | ||||
-rw-r--r-- | sci-electronics/gspiceui/Manifest | 15 | ||||
-rw-r--r-- | sci-electronics/gspiceui/files/gspiceui-1.0.0-flags.patch | 28 | ||||
-rw-r--r-- | sci-electronics/gspiceui/gspiceui-1.0.0.ebuild | 66 |
4 files changed, 116 insertions, 3 deletions
diff --git a/sci-electronics/gspiceui/ChangeLog b/sci-electronics/gspiceui/ChangeLog index 92f4be6bfbad..c23c1f031e87 100644 --- a/sci-electronics/gspiceui/ChangeLog +++ b/sci-electronics/gspiceui/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sci-electronics/gspiceui -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-electronics/gspiceui/ChangeLog,v 1.6 2011/07/15 22:56:38 calchan Exp $ +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-electronics/gspiceui/ChangeLog,v 1.7 2012/02/11 13:50:23 tomjbe Exp $ + +*gspiceui-1.0.0 (11 Feb 2012) + + 11 Feb 2012; Thomas Beierlein <tomjbe@gentoo.org> +gspiceui-1.0.0.ebuild, + +files/gspiceui-1.0.0-flags.patch: + Version bump 15 Jul 2011; Denis Dupeyron <calchan@gentoo.org> gspiceui-0.9.99.ebuild, gspiceui-0.9.99-r1.ebuild: diff --git a/sci-electronics/gspiceui/Manifest b/sci-electronics/gspiceui/Manifest index fa029084a8bf..1ce0a4c48ad5 100644 --- a/sci-electronics/gspiceui/Manifest +++ b/sci-electronics/gspiceui/Manifest @@ -1,7 +1,20 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + AUX gspiceui-0.9.99-examples.patch 2795 RMD160 ad0e9fa2af30a7951862ae0b472836be228c63ea SHA1 3fe69adccba6194f0bdf587bc952f7483dc75c1c SHA256 dcccdf788e3c23284ae402fb5e8af30933928be3c04609942a2a699edd83f31b AUX gspiceui-0.9.99-flags.patch 987 RMD160 e098fa43886802877a4c9c580f7c09216b0b66af SHA1 065840806df150d42eb4af023893c2fbc9bf8188 SHA256 f3fbd320b4b47b017cbf136954c9df7dfeee11355f039b6d07c8dbddd9239eca +AUX gspiceui-1.0.0-flags.patch 980 RMD160 b1507800dab6fe99d6f0ed674ec0e4ff97077c48 SHA1 7a1da7d6c4ff1a47af71edb628d55ca79ecc3159 SHA256 8f824c3abf1cb500fd296c55226c381d5ec9c086c61a2ac94a697d5a899a4056 DIST gspiceui-v0.9.99.tar.gz 574595 RMD160 5e8078ff3864a5ea0d5d811db5ad3bbbd296e5b3 SHA1 5d258093a3d3ea81be1fb2ab5dc13aa93164f90e SHA256 9d76db157c4b3f0d4b7bba289653f6646da5183eb7cdc08c9f1056aa7d3f9533 +DIST gspiceui-v1.0.00.tar.gz 612517 RMD160 9eba82f8d87044b9a0fbba2cd41671e7e7e9dd4d SHA1 eda07e6ea5ee20c06a4a95d42c91782f5a0148e0 SHA256 ff8d38b9bb10bf695c00a0660dcbd14a43072e93851c5100a85133919736d5da EBUILD gspiceui-0.9.99-r1.ebuild 1923 RMD160 6f4c8662a70569aa0c64092282d3e1926e5e13de SHA1 f6429d3161a0a352e05c063735ea991945509b65 SHA256 0f03e35bdd973e6bbe1a677b7129fc3447167de6d7962bda1b6995fe377dca1c EBUILD gspiceui-0.9.99.ebuild 1834 RMD160 399f9ef1020da7c08b52fb1fb9ad8f148431d9d3 SHA1 8ac7ab17ef9172dcd32ab38d4723015d14834a14 SHA256 c54fa6e69d42c58d7bbedff1349ecfcb125f26d8b839c9178e5b982d294cfb0b -MISC ChangeLog 1284 RMD160 286008d0a047230958548a773d51fad5b2be5376 SHA1 3d73b6079cc1ff94fd2ec3b432c2a98c4dedd989 SHA256 9ba669bb155f616f5a324e109c93c25ed98bf59e722ea4c4b01d49260a428654 +EBUILD gspiceui-1.0.0.ebuild 1803 RMD160 5a884a46eefa8c676e374c20e6562471de2a9475 SHA1 95ab98aae69b63669a051cf44a74b5c312fbd470 SHA256 ba4bc4f62158de36211e5c94fe4e6f74b890a97759e01296b338149cfbf11da8 +MISC ChangeLog 1443 RMD160 506ea5e14fc29390e42d05af949c33f357ae6bd2 SHA1 9aae671d054b38a706287ed84587cfe99b817e24 SHA256 3d167155332fb092c3aaa6794df319da9298820c320379bc3e2831ceeb6912cb MISC metadata.xml 426 RMD160 4f83194fc96fa997263115398ae5c9f0b4f25001 SHA1 dd8a38bdad3bc4db4c1d59b6aaf5a29b226cc205 SHA256 fcdf00fa0e75997dc6326344470c80e7c380f4c9d3e163f49581302387b36132 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.17 (GNU/Linux) + +iEYEARECAAYFAk82cioACgkQQe4uqXYgU9Xz/wCfcfj0eQA7LgQW2seR4/aQMrGS +6YoAn3YcRn4c+N/6fjdv1YiBIQG69KM9 +=eLoM +-----END PGP SIGNATURE----- diff --git a/sci-electronics/gspiceui/files/gspiceui-1.0.0-flags.patch b/sci-electronics/gspiceui/files/gspiceui-1.0.0-flags.patch new file mode 100644 index 000000000000..17cc77d8f8b7 --- /dev/null +++ b/sci-electronics/gspiceui/files/gspiceui-1.0.0-flags.patch @@ -0,0 +1,28 @@ +# drop -Ofast option understood only from gcc-4.6 on +# and make it respect LDFLAGS and CXXFLAGS +--- src/Makefile.old 2012-02-11 13:29:27.000000000 +0100 ++++ src/Makefile 2012-02-11 13:31:13.000000000 +0100 +@@ -59,13 +59,7 @@ + INSTALLDIR = /usr/local/bin + + # Compiler options +-ifeq ($(GSPICEUI_DBG),0) +- # Options for release (not using -Wall since it's GCC specific) +- CXXFLAGS := -Ofast -pipe $(shell $(WXCFG) --cxxflags) +-else +- # Options for development +- CXXFLAGS := -Wall -g -pipe $(shell $(WXCFG) --cxxflags) +-endif ++ CXXFLAGS += $(shell $(WXCFG) --cxxflags) + + # Includes + INCLUDES = -I/usr/include -I/usr/X11R6/include -I. +@@ -106,7 +100,7 @@ + # -o specify the output file name + + $(BINDIR)/$(PROG) : $(OBJS) +- $(CC) -pipe -o $(BINDIR)/$(PROG) obj/*.o $(LIBS) ++ $(CC) -pipe -o $(BINDIR)/$(PROG) obj/*.o $(LDFLAGS) $(LIBS) + ifeq ($(ROOT)/GSpiceUI.app,$(wildcard $(ROOT)/GSpiceUI.app)) + cp $(BINDIR)/$(PROG) $(ROOT)/GSpiceUI.app/Contents/MacOS/gspiceui + endif diff --git a/sci-electronics/gspiceui/gspiceui-1.0.0.ebuild b/sci-electronics/gspiceui/gspiceui-1.0.0.ebuild new file mode 100644 index 000000000000..c3011e38922a --- /dev/null +++ b/sci-electronics/gspiceui/gspiceui-1.0.0.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-electronics/gspiceui/gspiceui-1.0.0.ebuild,v 1.1 2012/02/11 13:50:23 tomjbe Exp $ + +EAPI="2" + +WX_GTK_VER="2.8" +inherit eutils wxwidgets + +MY_P="${PN}-v${PV}0" + +DESCRIPTION="GUI frontend for Ngspice and Gnucap" +HOMEPAGE="http://www.geda.seul.org/tools/gspiceui/" +SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="examples schematics waveform" + +DEPEND="x11-libs/wxGTK:2.8[X] + sci-electronics/electronics-menu" +RDEPEND="${DEPEND} + || ( sci-electronics/ngspice sci-electronics/gnucap ) + waveform? ( sci-electronics/gwave ) + schematics? ( sci-electronics/geda )" + +S="${WORKDIR}/${MY_P}" + +src_prepare() { + # Use Gentoo LDFLAGS and CXXFLAGS + epatch "${FILESDIR}/${P}-flags.patch" + + # Adjusting the doc path at src/main/HelpTasks.cpp + sed -i -e \ + "s:/share/gspiceui/html/User-Manual.html:/share/doc/${PF}/html/User-Manual.html:g" \ + src/main/HelpTasks.cpp || die +} + +src_install() { + dobin bin/gspiceui || die + dodoc ChangeLog ReadMe ToDo || die + doman gspiceui.1 || die + newicon src/icons/gspiceui-48x48.xpm gspiceui.xpm || die + + dohtml html/*.html html/*.jpg || die + + # installing examples and according model and symbol files + if use examples ; then + insinto /usr/share/doc/${PF}/sch + doins -r sch/* || die + insinto /usr/share/doc/${PF}/lib + doins -r lib/* || die + fi + + make_desktop_entry gspiceui "GNU Spice GUI" gspiceui "Electronics" +} + +pkg_postinst() { + if use examples ; then + elog "If you want to use the examples, copy from" + elog "/usr/share/doc/${PF} the sch and lib directory" + elog "side by side to your home directory to be able" + elog "to generate the netlists as normal user." + fi +} |