aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Ammerlaan <andrewammerlaan@riseup.net>2021-01-30 15:21:40 +0100
committerAndrew Ammerlaan <andrewammerlaan@riseup.net>2021-01-30 15:21:40 +0100
commitb82206858b0c9ab584060c5697960bb44b5eefa4 (patch)
treea32302cb262787f3517ffe163e2085d2ff1a00b2
parentsci-misc/elmer-elmer-grid: remove pack, included in elmer-fem now (diff)
downloadsci-b82206858b0c9ab584060c5697960bb44b5eefa4.tar.gz
sci-b82206858b0c9ab584060c5697960bb44b5eefa4.tar.bz2
sci-b82206858b0c9ab584060c5697960bb44b5eefa4.zip
sci-misc/elmer-front: remove pack, obsolete
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@riseup.net>
-rw-r--r--sci-misc/elmer-front/Manifest1
-rw-r--r--sci-misc/elmer-front/elmer-front-6.0_p4651.ebuild43
-rw-r--r--sci-misc/elmer-front/elmer-front-9999.ebuild50
-rw-r--r--sci-misc/elmer-front/files/elmer-front-6.0_p4651-out-of-source.patch30
-rw-r--r--sci-misc/elmer-front/files/elmer-front-6.0_p4651-tcltk8.6.patch55
-rw-r--r--sci-misc/elmer-front/files/elmer-front-6.0_p4651-underlinking.patch16
-rw-r--r--sci-misc/elmer-front/files/elmer-front-Makefile-install.patch18
-rw-r--r--sci-misc/elmer-front/metadata.xml11
8 files changed, 0 insertions, 224 deletions
diff --git a/sci-misc/elmer-front/Manifest b/sci-misc/elmer-front/Manifest
deleted file mode 100644
index 1afe23899..000000000
--- a/sci-misc/elmer-front/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST elmer-front-6.0_p4651.tar.gz 1458292 SHA256 5613131bd35778975cd4fd2cb2c05d7165a83cc8a0afbe4aa0e0be9d8f1f89f7 SHA512 6970290749884e52deac47d5ccf94447ee8518cf71471bca77793fb8edfd417959e01248a886f3459db506c8e12396e76a048db40b0c13980ee99734f4e58e78 WHIRLPOOL 13c068399b8601d6e1bbba21549026a3181d0a18a909f2cbfc58816ddd402e8e587e3a7fc4017ecc40426c54735df56b8adb6877d7f86a05fd8a1edcb8fe86cc
diff --git a/sci-misc/elmer-front/elmer-front-6.0_p4651.ebuild b/sci-misc/elmer-front/elmer-front-6.0_p4651.ebuild
deleted file mode 100644
index 03458dc96..000000000
--- a/sci-misc/elmer-front/elmer-front-6.0_p4651.ebuild
+++ /dev/null
@@ -1,43 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-AUTOTOOLS_AUTORECONF=true
-
-inherit autotools-utils multilib
-
-ELMER_ROOT="elmerfem"
-MY_PN=${PN/elmer-/}
-
-DESCRIPTION="Finite element programs, libraries, and visualization tools - elmer frontend"
-HOMEPAGE="https://www.csc.fi/web/elmer"
-SRC_URI="http://elmerfem.svn.sourceforge.net/viewvc/${ELMER_ROOT}/release/${PV%_p*}/${MY_PN}/?view=tar&pathrev=4651 -> ${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-RDEPEND="
- dev-lang/tcl:0=
- dev-lang/tk:0=
- sci-misc/elmer-fem
- sci-libs/elmer-eio
- virtual/opengl"
-DEPEND="${RDEPEND}"
-
-S="${WORKDIR}"/front/front
-
-PATCHES=(
- "${FILESDIR}"/${P}-tcltk8.6.patch
- "${FILESDIR}"/${P}-underlinking.patch
- "${FILESDIR}"/${P}-out-of-source.patch
-)
-
-src_configure() {
- local myeconfargs=(
- --with-eioc --with-matc --with-tcltk --with-x
- )
- autotools-utils_src_configure
-}
diff --git a/sci-misc/elmer-front/elmer-front-9999.ebuild b/sci-misc/elmer-front/elmer-front-9999.ebuild
deleted file mode 100644
index 6bf0cb0cf..000000000
--- a/sci-misc/elmer-front/elmer-front-9999.ebuild
+++ /dev/null
@@ -1,50 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-AUTOTOOLS_AUTORECONF=true
-
-inherit autotools-utils multilib subversion
-
-ELMER_ROOT="elmerfem"
-MY_PN=${PN/elmer-/}
-
-DESCRIPTION="Finite element programs, libraries, and visualization tools - elmer frontend"
-HOMEPAGE="https://www.csc.fi/web/elmer"
-SRC_URI=""
-ESVN_REPO_URI="https://elmerfem.svn.sourceforge.net/svnroot/elmerfem/trunk/${MY_PN}"
-ESVN_PROJECT="${MY_PN}"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS=""
-IUSE=""
-
-RDEPEND="
- dev-lang/tcl:0=
- dev-lang/tk:0=
- sci-misc/elmer-fem
- sci-libs/elmer-eio
- virtual/opengl"
-DEPEND="${RDEPEND}"
-
-S="${WORKDIR}/front"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-6.0_p4651-tcltk8.6.patch
- "${FILESDIR}"/${PN}-6.0_p4651-underlinking.patch
- "${FILESDIR}"/${PN}-6.0_p4651-out-of-source.patch
-)
-
-src_prepare() {
- subversion_src_prepare
- autotools-utils_src_prepare
-}
-
-src_configure() {
- local myeconfargs=(
- --with-eioc --with-matc --with-tcltk --with-x
- )
- autotools-utils_src_configure
-}
diff --git a/sci-misc/elmer-front/files/elmer-front-6.0_p4651-out-of-source.patch b/sci-misc/elmer-front/files/elmer-front-6.0_p4651-out-of-source.patch
deleted file mode 100644
index 872c03f21..000000000
--- a/sci-misc/elmer-front/files/elmer-front-6.0_p4651-out-of-source.patch
+++ /dev/null
@@ -1,30 +0,0 @@
- src/Makefile.am | 9 +++++----
- 1 file changed, 5 insertions(+), 4 deletions(-)
-
-diff --git a/src/Makefile.am b/src/Makefile.am
-old mode 100755
-new mode 100644
-index 894a547..dc7c77b
---- a/src/Makefile.am
-+++ b/src/Makefile.am
-@@ -87,15 +87,16 @@ endif
- ElmerFront_LDADD = -lX11
-
- install-data-local:
-- @echo "Installing tcl scripts to ${prefix}/share/elmerfront/tcl"
-+ @echo "Installing tcl scripts to ${DESTDIR}${prefix}/share/elmerfront/tcl"
-
- mkdir -p "$(DESTDIR)${prefix}/share/elmerfront/tcl"
-- cp -r ./tcl/* "$(DESTDIR)${prefix}/share/elmerfront/tcl"
-+ cp -r "${srcdir}"/tcl/* "$(DESTDIR)${prefix}/share/elmerfront/tcl"
-+ cp -r "${builddir}"/tcl/* "$(DESTDIR)${prefix}/share/elmerfront/tcl"
- rm -rf `find $(DESTDIR)$(prefix)/share/elmerfront/tcl -name .svn`
-
-- @echo "Installing *.edf *.rgb to ${prefix}/share/elmerfront/lib"
-+ @echo "Installing *.edf *.rgb to ${DESTDIR}${prefix}/share/elmerfront/lib"
- mkdir -p "$(DESTDIR)${prefix}/share/elmerfront/lib"
-- cp -r ./lib/* "$(DESTDIR)${prefix}/share/elmerfront/lib"
-+ cp -r "${srcdir}"/lib/* "$(DESTDIR)${prefix}/share/elmerfront/lib"
- rm -rf `find $(DESTDIR)$(prefix)/share/elmerfront/lib -name .svn`
-
-
diff --git a/sci-misc/elmer-front/files/elmer-front-6.0_p4651-tcltk8.6.patch b/sci-misc/elmer-front/files/elmer-front-6.0_p4651-tcltk8.6.patch
deleted file mode 100644
index 7fa7605b7..000000000
--- a/sci-misc/elmer-front/files/elmer-front-6.0_p4651-tcltk8.6.patch
+++ /dev/null
@@ -1,55 +0,0 @@
- src/ecif_userinterface_TCL.cpp | 18 +++++++++++++++++-
- 1 file changed, 17 insertions(+), 1 deletion(-)
-
-diff --git a/src/ecif_userinterface_TCL.cpp b/src/ecif_userinterface_TCL.cpp
-index 7f581a8..53e0432 100644
---- a/src/ecif_userinterface_TCL.cpp
-+++ b/src/ecif_userinterface_TCL.cpp
-@@ -622,7 +622,11 @@ UserInterface_TCL::createTclEnvironment(Hinst application)
-
- // *** Invoke application-specific initialization.
- if (My_Tcl_AppInit(interp) != TCL_OK) {
-+#if TCL_MAJOR_VERSION <=8 && TCL_MINOR_VERSION < 6
- WishPanic("My_Tcl_AppInit failed: %s\n", interp->result);
-+#else
-+ WishPanic("My_Tcl_AppInit failed: %s\n", Tcl_GetStringResult(interp));
-+#endif
- }
-
- // Result value is the Tcl interpreter
-@@ -4685,11 +4689,19 @@ UserInterface_TCL::sendCommandToGui(Tcl_Interp* interp, const char* cmd, const c
- Tcl_DStringFree( &dstring );
- }
-
-+#if TCL_MAJOR_VERSION <=8 && TCL_MINOR_VERSION < 6
- if (interp->result[0] != '\0') {
-+#else
-+ if (Tcl_GetStringResult(interp)[0] != '\0') {
-+#endif
-
- char err_buf[256];
- err_buf[255] = '\0';
-+#if TCL_MAJOR_VERSION <=8 && TCL_MINOR_VERSION < 6
- strncpy(err_buf, interp->result, 255);
-+#else
-+ strncpy(err_buf, Tcl_GetStringResult(interp), 255);
-+#endif
-
- char cmd_buf[256];
- cmd_buf[255] = '\0';
-@@ -5350,10 +5362,14 @@ UserInterface_TCL::start(int argc, char** argv)
- //--If we can't load the script (= start CONTROL-SIDE interpreter)
- if (code != TCL_OK) {
-
-- char* p = (char *)Tcl_GetVar(theInterp, "errorInfo", glob_flag);
-+ const char* p = (const char *)Tcl_GetVar(theInterp, "errorInfo", glob_flag);
-
- if ((p == NULL) || (*p == '\0')) {
-+#if TCL_MAJOR_VERSION <=8 && TCL_MINOR_VERSION < 6
- p = theInterp->result;
-+#else
-+ p = Tcl_GetStringResult(theInterp);
-+#endif
- }
-
- ((ofstream*)debugFile)->open("ElmerFront.log", ios::out);
diff --git a/sci-misc/elmer-front/files/elmer-front-6.0_p4651-underlinking.patch b/sci-misc/elmer-front/files/elmer-front-6.0_p4651-underlinking.patch
deleted file mode 100644
index b370ed494..000000000
--- a/sci-misc/elmer-front/files/elmer-front-6.0_p4651-underlinking.patch
+++ /dev/null
@@ -1,16 +0,0 @@
- src/Makefile.am | 2 ++
- 1 file changed, 2 insertions(+)
-
-diff --git a/src/Makefile.am b/src/Makefile.am
-index 01e3e48..894a547 100755
---- a/src/Makefile.am
-+++ b/src/Makefile.am
-@@ -84,6 +84,8 @@ ElmerFront_SOURCES = $(COMMON_SRCS)
-
- endif
-
-+ElmerFront_LDADD = -lX11
-+
- install-data-local:
- @echo "Installing tcl scripts to ${prefix}/share/elmerfront/tcl"
-
diff --git a/sci-misc/elmer-front/files/elmer-front-Makefile-install.patch b/sci-misc/elmer-front/files/elmer-front-Makefile-install.patch
deleted file mode 100644
index 6ecbe6f8e..000000000
--- a/sci-misc/elmer-front/files/elmer-front-Makefile-install.patch
+++ /dev/null
@@ -1,18 +0,0 @@
---- front/src/Makefile.am.old 2012-11-12 13:25:34.331046988 +0100
-+++ front/src/Makefile.am 2012-11-12 13:27:36.055100527 +0100
-@@ -85,13 +85,13 @@
- endif
-
- install-data-local:
-- @echo "Installing tcl scripts to ${prefix}/share/elmerfront/tcl"
-+ @echo "Installing tcl scripts to ${DESTDIR}${prefix}/share/elmerfront/tcl"
-
- mkdir -p "$(DESTDIR)${prefix}/share/elmerfront/tcl"
- cp -r ./tcl/* "$(DESTDIR)${prefix}/share/elmerfront/tcl"
- rm -rf `find $(DESTDIR)$(prefix)/share/elmerfront/tcl -name .svn`
-
-- @echo "Installing *.edf *.rgb to ${prefix}/share/elmerfront/lib"
-+ @echo "Installing *.edf *.rgb to ${DESTDIR}${prefix}/share/elmerfront/lib"
- mkdir -p "$(DESTDIR)${prefix}/share/elmerfront/lib"
- cp -r ./lib/* "$(DESTDIR)${prefix}/share/elmerfront/lib"
- rm -rf `find $(DESTDIR)$(prefix)/share/elmerfront/lib -name .svn`
diff --git a/sci-misc/elmer-front/metadata.xml b/sci-misc/elmer-front/metadata.xml
deleted file mode 100644
index 070aa2029..000000000
--- a/sci-misc/elmer-front/metadata.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>sci@gentoo.org</email>
- <name>Gentoo Science Project</name>
- </maintainer>
- <upstream>
- <remote-id type="sourceforge">svn</remote-id>
- </upstream>
-</pkgmetadata>