summaryrefslogtreecommitdiff
path: root/sci-electronics
diff options
context:
space:
mode:
Diffstat (limited to 'sci-electronics')
-rw-r--r--sci-electronics/Manifest.gzbin8709 -> 8712 bytes
-rw-r--r--sci-electronics/geda/Manifest1
-rw-r--r--sci-electronics/geda/geda-1.10.2-r100.ebuild96
-rw-r--r--sci-electronics/gwave/Manifest2
-rw-r--r--sci-electronics/gwave/files/gwave-20190116-lfs-shim.patch14
-rw-r--r--sci-electronics/gwave/gwave-20190116-r100.ebuild63
6 files changed, 176 insertions, 0 deletions
diff --git a/sci-electronics/Manifest.gz b/sci-electronics/Manifest.gz
index 63c7b09a9b8d..12e35bf25c8a 100644
--- a/sci-electronics/Manifest.gz
+++ b/sci-electronics/Manifest.gz
Binary files differ
diff --git a/sci-electronics/geda/Manifest b/sci-electronics/geda/Manifest
index db4ad08a7562..2a6512ab287a 100644
--- a/sci-electronics/geda/Manifest
+++ b/sci-electronics/geda/Manifest
@@ -1,5 +1,6 @@
AUX geda-1.10.2-drop-xorn.patch 1958 BLAKE2B 874d2457d1589fd6a5f0eabea50b8ecda860a3e4b29df748077cb855f9da9d693ef2036497562430d9d70c3c6bb7a8746ca2b46da784d37bc5228531370a2971 SHA512 6deacf5624fde0dcb9ed0059e63a23b44cffeb35975e8a2d3872a6cdb878625207e4c168f9a88a7fca848f23be1b128f2377701b57d651e9b05cd264ece76ca7
AUX geda-1.10.2-fix-gtk-sheet.patch 431 BLAKE2B 47a72f0b16a90398c03f0c37fbdbd357a612d4896c2274e498606b5a69ea970598687965416e6ab62d5d2187851aeebd0bf96d530ab4094ac33e9080fa90bf3e SHA512 7b21ab5a23589b6fc4bbcea851f6f1c1c64cb02ee0a914e6533721d057e06f491a6c9787f1408974845672b526027ef47361e8b20c7cb3df050d18912e121a47
DIST geda-gaf-1.10.2.tar.gz 14441491 BLAKE2B d6ecc4bc1390ff457396ae406fdeee909418f63d8c50e537215fa0a1131cfda91339f44ddc2c91ca0f3772f4416be1c4448fea45336c78bb601fb9b4df399b14 SHA512 c7beabf019762d9d3b4faa63f1345fb064ebbb6e0203a6c5bcab6b740d20db9f3cedf85c2f99e3ab1cb5396c06886fad1dbd5201eb7bad9e77c03511cf23b1a1
+EBUILD geda-1.10.2-r100.ebuild 2055 BLAKE2B 4c9d742129ce909068db578967c203ea30979c918010b0ea45e0c47b554d83ddc67a3ca63a650b877c3a0336ee0b4c325dc8c7db7b41f5d604cb90a98517f58b SHA512 9ee1d541bbfe4756dfbbdd6cd26cd76cc315a8018f2966a1f24e8364ffaa1460e1231f35524a5e134bd2c36028d73ba099e574b1f7df868e0001ebb79bf27df6
EBUILD geda-1.10.2-r2.ebuild 1861 BLAKE2B 1b111464fa6383c68f86d152708408cda686b64918ae4bf779d244c20c58c31cfb3d01b11d9a5da41a997b7d6426df6ff2bc50b025a7c31cf90b4fad745019e9 SHA512 bdc2731f7820d5f35d4a382b77a5dfce18f28551e7aeffcf3870f152e27355d734e7cc8177ce270f24f2e2e81d0c7fca2424d551faffbfd28b5cc7d7c9f8e4ea
MISC metadata.xml 1035 BLAKE2B 496676114ecd6d8bbf65df2b434297289541e9e2893cf0665428d738c51759472e835e8e457016313927384b3a87e2c4c13368a03a87aff3972c4c2379fd43dc SHA512 03908f8900a1da38cc29f9bd071724217d9dd2e1f253c1b08d5348a21e7ff04b2e244a943d9794cfa889cecb016810950bd0790953919c4160af7009c3251c2d
diff --git a/sci-electronics/geda/geda-1.10.2-r100.ebuild b/sci-electronics/geda/geda-1.10.2-r100.ebuild
new file mode 100644
index 000000000000..93666fb0cfa9
--- /dev/null
+++ b/sci-electronics/geda/geda-1.10.2-r100.ebuild
@@ -0,0 +1,96 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DOCS_BUILDER="doxygen"
+DOCS_DEPEND="
+ media-gfx/graphviz
+ media-gfx/imagemagick
+ virtual/latex-base
+"
+GUILE_COMPAT=( 2-2 )
+inherit autotools docs guile-single xdg
+
+MY_PN=${PN}-gaf
+MY_P=${MY_PN}-${PV}
+
+DESCRIPTION="GPL Electronic Design Automation (gEDA):gaf core package"
+HOMEPAGE="http://geda-project.org/ http://wiki.geda-project.org/geda:gaf"
+SRC_URI="http://ftp.geda-project.org/${MY_PN}/stable/v$(ver_cut 1-2)/${PV}/${MY_P}.tar.gz"
+S="${WORKDIR}/${MY_P}"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="debug fam nls"
+REQUIRED_USE="${GUILE_REQUIRED_USE}"
+
+RDEPEND="
+ ${GUILE_DEPS}
+ dev-libs/glib:2
+ sci-electronics/electronics-menu
+ x11-libs/cairo
+ x11-libs/gdk-pixbuf
+ x11-libs/gtk+:2
+ x11-libs/pango
+ nls? ( virtual/libintl )
+ fam? ( app-admin/gamin )
+"
+
+DEPEND="${RDEPEND}
+ dev-util/desktop-file-utils
+ x11-misc/shared-mime-info"
+BDEPEND="
+ sys-apps/groff
+ virtual/pkgconfig
+ nls? ( sys-devel/gettext )
+"
+
+PATCHES=(
+ # Xorn requires python2
+ "${FILESDIR}/${P}-drop-xorn.patch"
+
+ "${FILESDIR}/${PN}-1.10.2-fix-gtk-sheet.patch"
+)
+
+pkg_setup() {
+ guile-single_pkg_setup
+}
+
+src_prepare() {
+ guile-single_src_prepare
+ rm -r xorn || die
+
+ # remove compressed files, compressed by portage in install phase
+ rm docs/wiki/media/geda/gsch2pcb-libs.tar.gz || die
+ rm docs/wiki/media/geda/pcb_plugin_template.tar.gz || die
+ rm docs/wiki/media/pcb/plugin_debug_window.tar.gz || die
+
+ # -Wmaybe-uninitialized is made fatal, which is not ideal for building
+ # releases. Upstream is working on fixing these anyway.
+ sed -i '/Werror_maybe_uninitialized_IF_SUPPORTED/d' configure.ac || die
+
+ eautoreconf
+}
+
+src_configure() {
+ local myconf=(
+ --disable-rpath
+ --disable-update-xdg-database
+ $(use_enable doc doxygen)
+ $(use_enable debug assert)
+ $(use_enable nls)
+ $(use_with fam libfam)
+ )
+
+ local -x GUILE_SNARF="${GUILESNARF}"
+
+ econf "${myconf[@]}"
+}
+
+src_install() {
+ guile_src_install
+
+ find "${D}" -name '*.la' -delete || die
+}
diff --git a/sci-electronics/gwave/Manifest b/sci-electronics/gwave/Manifest
index f97ab56a03ac..6628f2d5c218 100644
--- a/sci-electronics/gwave/Manifest
+++ b/sci-electronics/gwave/Manifest
@@ -1,6 +1,8 @@
AUX gwave-20190116-as-needed.patch 4951 BLAKE2B 793ce3ac5eef8bacc7bd2959efcf6a22c93dbbda9a9785dfe6135983ff496c733e10bd873a396150f9443afbcd5efc16b3769f339837b3102d21f5d3bafa9e7c SHA512 35d07b15bcdb027bfba21a1eedbb2f212866777be6117afd111e9706b11799e6c7a54772069f07ea61a24db5d16cb2217c68456b0429f69a90990683b7ba7dfa
AUX gwave-20190116-fix-configure.patch 704 BLAKE2B 095e1de7917fc391d95ae867dc07990311f214495704d47d715ddf678edb12c748d0b9bdd98565f6efb0a1b3aa1fedbf015abe620b8fcfcf32c869f4a20700d9 SHA512 60e616dfa86c055d94ab0f9fa5add1fe1c15771c5ab084fbd351e60d6233cf429d80cddfad55ff5e0d7ae2e5d2249c4c402a20e2808c62fbabbb390ab2f0a703
+AUX gwave-20190116-lfs-shim.patch 295 BLAKE2B 96dff8e56b201545dd16fb6e2ae346d0c6478e195c7c97cb056155f125bd7d67c43ab9eca6c5f3f43d040e942d08723cb80441cbcbca2f16e0ccf0263b018a59 SHA512 1e92bf47c3cde5d277f3fb3408a3ae6d068780ec20a7566eaa417fea682e1a6332e64c068dbeb1306773240ab2d023fe5f665c1b3081ca99f5ea3eab4b951a1a
AUX gwave-20190116-multiple-little-bugfixes.patch 4003 BLAKE2B 328eba93e6f8a8c4df62cd47ce411550cd2938777201fe8bd72457f867f373cb70683d33ec7426f97c937c86ada314aed6cb94d287cea57726a995324d93e6cc SHA512 878a881d33898111c6bf528a6be8ee496fae5a07553656f1c64371cf191b2c80f85e51b72c4ed39fac54b961192b5ba774600c74515e2b0682ff139fd809a877
DIST gwave-20190116.tar.gz 472342 BLAKE2B d3781a757d288548600626c2105828162c9eb72930b1a3c741adc63eb275097a98f75fc73c31c4d57bee2e959952ca51e8af54090ff5ea0a2b780ee645da7e4e SHA512 5c83306dfa4aaf7a0e9bb27be3c8a0e9e47d02b15afe78938e23b815d302bb162ab35aab05b67ede132d0a7c51519b15ef64a7f87df4b8da9ca9b93b82410b7b
+EBUILD gwave-20190116-r100.ebuild 1399 BLAKE2B 17ae26ea7ac4e62d2363adfaa0728358824fa6d72e03bd1e56d6cb6bdf7b87e8b79b9080c808a5f6f685fa0a7f9d009c706cdf8d8bda856e84adf506d8e3e977 SHA512 74e131d9d52d4a0e8cd4f70740f7b90aae6b17ed572dd7463e2518295732e22bc1d0165fca1577fee96d8ad9cca6674f83c5e0a848ddc89aca5896aea9210300
EBUILD gwave-20190116.ebuild 1149 BLAKE2B 4f2679864cb54f2cb388f6820097c99af886357ec4224195a059f05c646ab468239e314278216e03c8a1f87d564e842f994f8c33cc7b2ea3a3a44db5a79b21b2 SHA512 125d4b5d395219191a7a0c13c4be2af5be68c0784440ff8a33ef29937d05fbc7cc4e5215d8022b2067e690c0eeb4a37d0391f0720caba9220244d04d8f935d8b
MISC metadata.xml 730 BLAKE2B 845a9e950954f0d44a5a8658e62b5f2751a06921becfe8daa75a9014e949f4da16f9d3593ccdfa2d54ca70305d7600d4a8f8843b913a8fa607eac23942af82b9 SHA512 0759a2afb347e0b2fb9dee6ea17740bc6a7d916af65d74954847ff8fbff9880e9faf6584ab410c3fe56dc1c9a1d8854171b3f6bce9ae8f0aaa6f8c689a413636
diff --git a/sci-electronics/gwave/files/gwave-20190116-lfs-shim.patch b/sci-electronics/gwave/files/gwave-20190116-lfs-shim.patch
new file mode 100644
index 000000000000..5957b6a1b6b0
--- /dev/null
+++ b/sci-electronics/gwave/files/gwave-20190116-lfs-shim.patch
@@ -0,0 +1,14 @@
+https://bugs.gentoo.org/886139
+
+--- a/spicefile/sp2sp.c
++++ b/spicefile/sp2sp.c
+@@ -234,7 +234,7 @@
+ }
+ of = stdout;
+ } else {
+- of = (FILE *)fopen64(outfilename, "w"); /* DJW: why is the cast needed? */
++ of = fopen(outfilename, "w");
+ if(!of) {
+ if(errno)
+ perror(outfilename);
+
diff --git a/sci-electronics/gwave/gwave-20190116-r100.ebuild b/sci-electronics/gwave/gwave-20190116-r100.ebuild
new file mode 100644
index 000000000000..2b2cd9972339
--- /dev/null
+++ b/sci-electronics/gwave/gwave-20190116-r100.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+GUILE_REQ_USE="networking"
+GUILE_COMPAT=( 2-2 )
+inherit autotools desktop flag-o-matic guile-single xdg
+
+DESCRIPTION="Analog waveform viewer for SPICE-like simulations"
+HOMEPAGE="http://gwave.sourceforge.net"
+SRC_URI="https://downloads.sourceforge.net/${PN}/gwave3/${P}.tar.gz"
+
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~x86"
+IUSE="gnuplot plotutils"
+SLOT="0"
+
+REQUIRED_USE="${GUILE_REQUIRED_USE}"
+
+DEPEND="
+ ${GUILE_DEPS}
+ >=x11-libs/gtk+-2.8.0:2=
+ sys-libs/readline:0=
+ sys-libs/ncurses:0="
+
+RDEPEND="${DEPEND}
+ sci-electronics/electronics-menu
+ gnuplot? ( sci-visualization/gnuplot )
+ plotutils? ( media-libs/plotutils )"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-multiple-little-bugfixes.patch
+ "${FILESDIR}"/${P}-as-needed.patch
+ "${FILESDIR}"/${P}-fix-configure.patch
+ "${FILESDIR}"/${P}-lfs-shim.patch
+)
+
+src_prepare() {
+ guile-single_src_prepare
+
+ sed -i \
+ -e "s|guile-snarf|${GUILESNARF}|" \
+ -e "s|guile-tools|${GUILE/guile/guile-tools}|" \
+ src/Makefile.am || die
+ sed -i \
+ -e "s|guile-tools|${GUILE/guile/guile-tools}|" \
+ scheme/Makefile.am || die
+
+ eautoreconf
+}
+
+src_configure() {
+ # https://bugs.gentoo.org/886139
+ append-lfs-flags
+ econf
+}
+
+src_install() {
+ guile-single_src_install
+ newicon icons/wave-drag-ok.xpm gwave.xpm
+ make_desktop_entry gwave "Gwave" gwave "Electronics"
+}