diff options
Diffstat (limited to 'sci-electronics/gspeakers')
-rw-r--r-- | sci-electronics/gspeakers/Manifest | 7 | ||||
-rw-r--r-- | sci-electronics/gspeakers/files/gspeakers-0.11-gcc43.patch | 50 | ||||
-rw-r--r-- | sci-electronics/gspeakers/files/gspeakers-0.11-glib-single-include.patch | 117 | ||||
-rw-r--r-- | sci-electronics/gspeakers/gspeakers-0.11-r2.ebuild | 41 | ||||
-rw-r--r-- | sci-electronics/gspeakers/metadata.xml | 14 |
5 files changed, 229 insertions, 0 deletions
diff --git a/sci-electronics/gspeakers/Manifest b/sci-electronics/gspeakers/Manifest new file mode 100644 index 000000000000..063ec96c205a --- /dev/null +++ b/sci-electronics/gspeakers/Manifest @@ -0,0 +1,7 @@ +AUX gspeakers-0.11-gcc43.patch 1224 SHA256 9db7df395329c5aa056c561026c3de5b188d3b73ffe4bb69c92e69367e9b7677 SHA512 13ac2ccd0bac188a7b9ac6cabe937ce8bc5ae5b48052f4db15902a7a2a21fd826353709955c8c8c3cc0aba952ab7c5a34b99c9b4080115160707bfc97b29ba78 WHIRLPOOL 2ad38137f89c13381967b9c92f1698e3904d626594789f498e31a1cb8e59c29538241d26d429fbf1b4d966dfef035942c8157edbf60721b4e86e11a6473f4f2d +AUX gspeakers-0.11-glib-single-include.patch 3393 SHA256 573996d595077937dc3ade1e9187108e375a6f1f79b880925ebfe28c31e384e7 SHA512 dfa91f565088c3e6a3af0abf454184dff48cc0598e22a0c9b5828373e573755b3c0c7a25dc2b909539f543e5392cc402f5b3677a1ce126e783b3bf32353ac100 WHIRLPOOL 16f0f6416bb50d9d306bd211167bf7c219278ea94490bc4da4cc926d7c4e97871a1d83d5cdd712efabc65830a96cf01fde98b943ccfcba971d47698d5be58e06 +DIST gspeakers-0.11.tar.gz 546406 SHA256 fe5941f9e17b57d47581b56afb47c35957bc1c1e254a2675a2ad913a9625dc3f SHA512 5a0c6374b5f18d089a1903c5718ba21b9932e4c6a99456e13d4f144eef243a623aca241590e941fa50300a642876b6be8684bcf036db724182c2ee925072bd20 WHIRLPOOL 9418d010b14b760b95c1a51729358c2f30ba7d8f7f5860136195cc7d687310d07ec93ce19525a042d44230e41b1b857895e975c48a4631ccab6de2d63b10d7b1 +EBUILD gspeakers-0.11-r2.ebuild 955 SHA256 a176d3c64e9a05ae04a4175406972b79356da0058b08e4ea6d39493b7dd473d2 SHA512 d632a362bba4d592dddb1c22be6e78a14df9746ea7671070ca49dfb09ef373e5d8e907986cfab6115e31a6a6601c8b57f7c6fbf2943b7593b167a504f81e0617 WHIRLPOOL ae6a0ba0f84b48943aaa94494bc11e3be5c52524a2dfbfcb88614956e74ff9fb994d1c210a98ef99537b367c3ae11110ca53553a6b5b17d25a42a532f95387d7 +MISC ChangeLog 2889 SHA256 6079d008239841089de3b29f3479f725a46bfa39a27edfd732664fbfe138cd0e SHA512 2eaa9bb2f49ffa507b86eb893bcc712676ffed511e59bc510bb9ea4f697ece99e4fc2e48cd2fb62847aa1a0bf21e56163f53348060454f5dd5eeb6903d5e3e92 WHIRLPOOL 55dc5bcf6530e379f6f6a460fb2ba1170484bb8a228c846234588be009bd585ac48fbc405f265d864c2963da1e47fc3bcdbe57e2b1efeb8b0294f67bea235d7d +MISC ChangeLog-2015 2784 SHA256 f400282e4bba1610c1d07bea3e05c6e9a2e03d4f97a97070f8b9c7349e0edc8d SHA512 fb8ea2cec8868062c12f3d9b23b97b59a218e8dbe3d1fc1086cb6c2dbd9ba833be69145b58f20d8c3956b3e5c215cc7a151c51d9ea04bf521c9f995e2aaeb0d1 WHIRLPOOL b6e8a7d37f5fc2218457dd68a3bdc6b74de765b423435f47481ebf404e5021666cee47879d74c5f90d6a3a0a0f0bef50d574fe3fc7597622fcc442b11c216a4d +MISC metadata.xml 477 SHA256 b15011b9e047deee86d44ae9ad034cad37cf86c1938e1fff8dc1dd41a2d15d4e SHA512 1fd8709df46492c1eaac4ac5296a76db4e276ef160f0c53200d361da6736abb7e26f48601083894b84de34068642cce5454ea65502f43930fd75d0c7637b9a77 WHIRLPOOL 6dbdca60e5fdf0fc2b78e8f7ce54b894167869f034f7abf20bab297a776fc4ff306a8e74e07b5ae16e66c6c0a89e4dab7b758646a251922716af28b3b18d02d2 diff --git a/sci-electronics/gspeakers/files/gspeakers-0.11-gcc43.patch b/sci-electronics/gspeakers/files/gspeakers-0.11-gcc43.patch new file mode 100644 index 000000000000..47576fd9a23d --- /dev/null +++ b/sci-electronics/gspeakers/files/gspeakers-0.11-gcc43.patch @@ -0,0 +1,50 @@ +--- gspeakers-0.11-orig/src/filterlinkframe.cc ++++ gspeakers-0.11/src/filterlinkframe.cc +@@ -22,6 +22,7 @@ + #include <stdio.h> + #include <fstream> + #include <sstream> ++#include <cstring> + #include "filterlinkframe.h" + #include "gspeakersplot.h" + #include "common.h" +--- gspeakers-0.11-orig/src/freqrespeditor.cc ++++ gspeakers-0.11/src/freqrespeditor.cc +@@ -20,6 +20,7 @@ + #include "freqrespeditor.h" + #include <fstream> + #include <stdio.h> ++#include <cstring> + #include <gtkmm/stock.h> + #include <gtkmm/frame.h> + #include <gtkmm/messagedialog.h> +--- gspeakers-0.11-orig/src/popupentry.cc ++++ gspeakers-0.11/src/popupentry.cc +@@ -26,6 +26,7 @@ + #include <gtkmm.h> + #include <gtk/gtkentry.h> /* see XXX below */ + #include <iostream> ++#include <cstring> + + using namespace std; + +--- gspeakers-0.11-orig/src/speakereditor.cc ++++ gspeakers-0.11/src/speakereditor.cc +@@ -18,6 +18,7 @@ + */ + + #include <fstream> ++#include <cstring> + #include <math.h> + #include "speakereditor.h" + #include "common.h" +--- gspeakers-0.11-orig/src/summedfreqrespplot.cc ++++ gspeakers-0.11/src/summedfreqrespplot.cc +@@ -20,6 +20,7 @@ + */ + + #include <fstream> ++#include <cstring> + #include <math.h> + #include "summedfreqrespplot.h" + #include "net.h" diff --git a/sci-electronics/gspeakers/files/gspeakers-0.11-glib-single-include.patch b/sci-electronics/gspeakers/files/gspeakers-0.11-glib-single-include.patch new file mode 100644 index 000000000000..344527abbeeb --- /dev/null +++ b/sci-electronics/gspeakers/files/gspeakers-0.11-glib-single-include.patch @@ -0,0 +1,117 @@ +Index: gspeakers-0.11/src/box.cc +=================================================================== +--- gspeakers-0.11.orig/src/box.cc ++++ gspeakers-0.11/src/box.cc +@@ -17,7 +17,7 @@ + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + +-#include <glib/gstrfuncs.h> ++#include <glib.h> + #include <sstream> + #include "box.h" + #include "common.h" +Index: gspeakers-0.11/src/boxlist.cc +=================================================================== +--- gspeakers-0.11.orig/src/boxlist.cc ++++ gspeakers-0.11/src/boxlist.cc +@@ -17,7 +17,7 @@ + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + +-#include <glib/gstrfuncs.h> ++#include <glib.h> + #include "boxlist.h" + #include "common.h" + +Index: gspeakers-0.11/src/cellitemcrossover.h +=================================================================== +--- gspeakers-0.11.orig/src/cellitemcrossover.h ++++ gspeakers-0.11/src/cellitemcrossover.h +@@ -22,7 +22,7 @@ + #define __GSPEAKERS_CELLITEM_CROSSOVER + + #include <glibmm/ustring.h> +-#include <glib/gstring.h> ++#include <glib.h> + #include <vector> + #include "part.h" + +Index: gspeakers-0.11/src/crossover.cc +=================================================================== +--- gspeakers-0.11.orig/src/crossover.cc ++++ gspeakers-0.11/src/crossover.cc +@@ -15,7 +15,7 @@ + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + +-#include <glib/gstrfuncs.h> ++#include <glib.h> + #include <sstream> + #include "crossover.h" + +Index: gspeakers-0.11/src/crossoverlist.cc +=================================================================== +--- gspeakers-0.11.orig/src/crossoverlist.cc ++++ gspeakers-0.11/src/crossoverlist.cc +@@ -15,7 +15,7 @@ + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + +-#include <glib/gstrfuncs.h> ++#include <glib.h> + #include "crossoverlist.h" + + CrossoverList::CrossoverList() +Index: gspeakers-0.11/src/net.cc +=================================================================== +--- gspeakers-0.11.orig/src/net.cc ++++ gspeakers-0.11/src/net.cc +@@ -17,7 +17,7 @@ + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + +-#include <glib/gstrfuncs.h> ++#include <glib.h> + #include <sstream> + #include <fstream> + #include "net.h" +Index: gspeakers-0.11/src/part.cc +=================================================================== +--- gspeakers-0.11.orig/src/part.cc ++++ gspeakers-0.11/src/part.cc +@@ -21,7 +21,7 @@ + #include <iostream> + #include <sstream> + #include <stdlib.h> +-#include <glib/gstrfuncs.h> ++#include <glib.h> + + using namespace sigc; + using namespace std; +Index: gspeakers-0.11/src/speaker.cc +=================================================================== +--- gspeakers-0.11.orig/src/speaker.cc ++++ gspeakers-0.11/src/speaker.cc +@@ -15,7 +15,7 @@ + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + +-#include <glib/gstrfuncs.h> ++#include <glib.h> + #include <sstream> + #include "speaker.h" + #include "common.h" +Index: gspeakers-0.11/src/speakerlist.cc +=================================================================== +--- gspeakers-0.11.orig/src/speakerlist.cc ++++ gspeakers-0.11/src/speakerlist.cc +@@ -15,7 +15,7 @@ + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + +-#include <glib/gstrfuncs.h> ++#include <glib.h> + #include "speakerlist.h" + #include "common.h" + diff --git a/sci-electronics/gspeakers/gspeakers-0.11-r2.ebuild b/sci-electronics/gspeakers/gspeakers-0.11-r2.ebuild new file mode 100644 index 000000000000..154f156946cf --- /dev/null +++ b/sci-electronics/gspeakers/gspeakers-0.11-r2.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +GCONF_DEBUG="no" + +inherit autotools eutils flag-o-matic gnome2 + +DESCRIPTION="GTK based loudspeaker enclosure and crossovernetwork designer" +HOMEPAGE="http://gspeakers.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +RDEPEND=" + dev-cpp/gtkmm:2.4 + >=dev-libs/libsigc++-2.6:2 + dev-libs/libxml2:2 + || ( + sci-electronics/gnucap + sci-electronics/ngspice + sci-electronics/spice ) +" +DEPEND="${RDEPEND} + virtual/pkgconfig +" + +src_prepare() { + sed -i -e "s/-O0//" src/Makefile.am + epatch "${FILESDIR}"/${P}-gcc43.patch + epatch "${FILESDIR}"/${P}-glib-single-include.patch + epatch "${FILESDIR}"/${P}-fix-sigc-includes.patch + epatch "${FILESDIR}"/${P}-c++11.patch + append-cxxflags '-std=c++11' + mv configure.in configure.ac || die + eautoreconf + gnome2_src_prepare +} diff --git a/sci-electronics/gspeakers/metadata.xml b/sci-electronics/gspeakers/metadata.xml new file mode 100644 index 000000000000..63a607ac044b --- /dev/null +++ b/sci-electronics/gspeakers/metadata.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>sci-electronics@gentoo.org</email> + <name>Gentoo Electronics Project</name> + </maintainer> + <longdescription> + GSpeakers is a GTK based loudspeaker and crossovernetwork design program. + </longdescription> + <upstream> + <remote-id type="sourceforge">gspeakers</remote-id> + </upstream> +</pkgmetadata> |