summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Zamarin <arthurzam@gentoo.org>2024-04-27 17:50:39 +0300
committerArthur Zamarin <arthurzam@gentoo.org>2024-04-27 17:53:04 +0300
commitd353a32c9b6785f0c744d9b10bd673d4d4a61f1b (patch)
tree6446705848154fa4e8dc8f29ac817b5241e06b6d /sci-libs
parentapp-backup/tsm: add 8.1.22.0 (diff)
downloadgentoo-d353a32c9b6785f0c744d9b10bd673d4d4a61f1b.tar.gz
gentoo-d353a32c9b6785f0c744d9b10bd673d4d4a61f1b.tar.bz2
gentoo-d353a32c9b6785f0c744d9b10bd673d4d4a61f1b.zip
sci-libs/xgks-pmel: treeclean
Closes: https://bugs.gentoo.org/731942 Bug: https://bugs.gentoo.org/898298 Bug: https://bugs.gentoo.org/863041 Bug: https://bugs.gentoo.org/886587 Bug: https://bugs.gentoo.org/879763 Bug: https://bugs.gentoo.org/295724 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'sci-libs')
-rw-r--r--sci-libs/xgks-pmel/Manifest1
-rw-r--r--sci-libs/xgks-pmel/files/aclocal.patch146
-rw-r--r--sci-libs/xgks-pmel/metadata.xml13
-rw-r--r--sci-libs/xgks-pmel/xgks-pmel-2.5.5.ebuild77
4 files changed, 0 insertions, 237 deletions
diff --git a/sci-libs/xgks-pmel/Manifest b/sci-libs/xgks-pmel/Manifest
deleted file mode 100644
index 22f455f7aad6..000000000000
--- a/sci-libs/xgks-pmel/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST xgks-pmel-2.5.5.tar.gz 1006581 BLAKE2B d44a956080382a7cb9758d54bc16528007a1b06abdb591cdff5cbdec4a292122916ff38503baca7ffb5a059eab21f26e5d9d6d71720a484201027032a62bf721 SHA512 001ef5742ebd93534569d650833ef04a82b01de819ceb2c3d3c750df58fd5bf9bbd538a79370b1d553db54477f409f6ab24958d3708260fb9ba7c8894ceb91c8
diff --git a/sci-libs/xgks-pmel/files/aclocal.patch b/sci-libs/xgks-pmel/files/aclocal.patch
deleted file mode 100644
index dbedb2e49f29..000000000000
--- a/sci-libs/xgks-pmel/files/aclocal.patch
+++ /dev/null
@@ -1,146 +0,0 @@
---- a/port/aclocal.m4
-+++ b/port/aclocal.m4
-@@ -582,26 +582,6 @@
- ])])
-
-
--# Check for ncdump(1)
--#
--define([UC_PROG_NCDUMP], [dnl
--AC_PROGRAM_CHECK(NCDUMP, ncdump, ncdump, UC_ABSPATH($exec_prefix)/ncdump)dnl
--if test `which "$NCDUMP" | wc -w` != 1; then
-- UC_NEED_VALUE(NCDUMP, [netCDF lister], /usr/local/unidata/bin/ncdump)dnl
--fi
--])
--
--
--# Check for ncgen(1)
--#
--define([UC_PROG_NCGEN], [dnl
--AC_PROGRAM_CHECK(NCGEN, ncgen, ncgen, UC_ABSPATH($exec_prefix)/ncgen)dnl
--if test `which "$NCGEN" | wc -w` != 1; then
-- UC_NEED_VALUE(NCGEN, [netCDF generator], /usr/local/unidata/bin/ncgen)dnl
--fi
--])
--
--
- # Test a script.
- #
- define([UC_TEST_SCRIPT],
-@@ -719,16 +699,6 @@
- ])
-
-
--# Check for McIDAS library.
--#
--define([UC_LIB_MCIDAS], [dnl
--echo checking for MCIDAS library
--UC_TEST_LIB(LD_MCIDAS, /home/mcidas/lib /home/mcidasd/lib, mcidas, McIDAS, dnl
-- -L/home/mcidas/lib -lmcidas)dnl
--AC_PROVIDE([$0])dnl
--])
--
--
- # Check for X11 library.
- #
- define([UC_LIB_X11], [dnl
-@@ -745,77 +715,6 @@
- define([UC_X11], [AC_REQUIRE([UC_CPP_X11])AC_REQUIRE([UC_LIB_X11])])
-
-
--# Check for netCDF header-file directory.
--#
--define([UC_CPP_NETCDF], [dnl
--echo checking for netCDF header-file
--UC_TEST_DIR(CPP_NETCDF, UC_ABSPATH($prefix/[[[include]]]), netcdf.h,
-- [netCDF [[include]]-directory], [-I/usr/local/unidata/[[include]]])dnl
--CPP_NETCDF=`case ${CPP_NETCDF} in -I*) echo ${CPP_NETCDF};; *) echo -I${CPP_NETCDF-};; esac`
--AC_PROVIDE([$0])dnl
--])
--
--
--# Check for netCDF library.
--#
--define([UC_LIB_NETCDF], [dnl
--echo checking for netCDF library
--UC_TEST_LIB(LD_NETCDF, UC_ABSPATH($prefix/lib), netcdf,
-- netCDF, -L/usr/local/unidata/lib -lnetcdf)dnl
--AC_PROVIDE([$0])dnl
--])
--
--
--# Check for netCDF implementation (header file and library).
--#
--define([UC_NETCDF], [AC_REQUIRE([UC_CPP_NETCDF])AC_REQUIRE([UC_LIB_NETCDF])])
--
--
--# Check for netCDF operators library.
--#
--define([UC_LIB_NCOPERS], [dnl
--echo checking for netCDF operators library
--UC_TEST_LIB(LD_NCOPERS, UC_ABSPATH($prefix/lib), ncopers,
-- netCDF-operators, [-L/usr/local/unidata/lib -lncopers])dnl
--AC_PROVIDE([$0])dnl
--])
--
--
--# Check for LDM header-file directory.
--#
--define([UC_CPP_LDM], [dnl
--echo checking for LDM header-file
--UC_TEST_DIR(CPP_LDM, UC_ABSPATH($prefix/[[[include]]]) dnl
-- UC_ABSPATH($prefix/../[[[include]]]) dnl
-- UC_ABSPATH($prefix/../ldm/[[[include]]]), ldm.h,
-- [LDM [[include]]-directory], [-I/usr/local/unidata/[[include]]])dnl
--CPP_LDM=`case ${CPP_LDM} in -I*) echo ${CPP_LDM};; *) echo -I${CPP_LDM-};; esac`
--if test -z "$CPP_LDM"; then
-- UC_NEED_VALUE(CPP_LDM, [LDM include directory], -I/home/ldm/include)dnl
--fi
--AC_PROVIDE([$0])dnl
--])
--
--
--# Check for LDM library.
--#
--define([UC_LIB_LDM], [dnl
--echo checking for LDM library
--UC_TEST_LIB(LD_LDM, UC_ABSPATH($prefix/lib) dnl
-- UC_ABSPATH($prefix/../lib) UC_ABSPATH($prefix/../ldm/lib), ldm,
-- LDM, -L/usr/local/unidata/lib -lldm)dnl
--if test -z "$LD_LDM"; then
-- UC_NEED_VALUE(LD_LDM, [LDM library], -L/home/ldm/lib -lldm)dnl
--fi
--AC_PROVIDE([$0])dnl
--])
--
--
--# Check for LDM implementation (header file and library).
--#
--define([UC_LDM], [AC_REQUIRE([UC_CPP_LDM])AC_REQUIRE([UC_LIB_LDM])])
--
--
- # Check for udres(3) library.
- #
- define([UC_LIB_UDRES], [dnl
---- a/port/configure.in
-+++ b/port/configure.in
-@@ -24,8 +24,6 @@
- UC_PROG_FORTC
- UC_PROG_NEQN
- UC_PROG_TBL
--UC_PROG_NCDUMP
--UC_PROG_NCGEN
- UC_PROG_INSTALL
-
- UC_UDPOSIX
---- a/port/master.mk.in
-+++ b/port/master.mk.in
-@@ -19,8 +19,6 @@
- INSTALL_DATA = @INSTALL_DATA@
- INSTALL_PROGRAM = @INSTALL_PROGRAM@
- FC = @FC@
--NCDUMP = @NCDUMP@
--NCGEN = @NCGEN@
- NEQN = @NEQN@
- OS = @OS@
- SHELL = /bin/sh
diff --git a/sci-libs/xgks-pmel/metadata.xml b/sci-libs/xgks-pmel/metadata.xml
deleted file mode 100644
index fafca56c2a24..000000000000
--- a/sci-libs/xgks-pmel/metadata.xml
+++ /dev/null
@@ -1,13 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>sci-geosciences@gentoo.org</email>
- <name>Gentoo Geosciences Project</name>
- </maintainer>
- <longdescription>
- XGKS is a level 2C implementation of the ANSI Graphical Kernel System (GKS) for
- X-windows, with a C and Fortran interface. This version has support for PMEL's
- Ferret visualization tool.
- </longdescription>
-</pkgmetadata>
diff --git a/sci-libs/xgks-pmel/xgks-pmel-2.5.5.ebuild b/sci-libs/xgks-pmel/xgks-pmel-2.5.5.ebuild
deleted file mode 100644
index f6a347c55989..000000000000
--- a/sci-libs/xgks-pmel/xgks-pmel-2.5.5.ebuild
+++ /dev/null
@@ -1,77 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit fortran-2 toolchain-funcs
-
-DESCRIPTION="PMEL fork of XGKS, an X11-based version of the ANSI Graphical Kernel System"
-HOMEPAGE="http://www.gentoogeek.org/viewvc/Linux/xgks-pmel/"
-SRC_URI="http://www.gentoogeek.org/files/${P}.tar.gz"
-
-LICENSE="UCAR-Unidata"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
-IUSE="doc"
-
-RDEPEND="x11-libs/libX11"
-DEPEND="${RDEPEND}"
-BDEPEND="
- app-alternatives/lex
- sys-apps/groff"
-
-PATCHES=( "${FILESDIR}"/aclocal.patch )
-
-src_configure() {
- sed -i -e "s:lib64:$(get_libdir):g" port/master.mk.in \
- fontdb/Makefile.in || die
-
- CFLAGS="${CFLAGS}" LD_X11='-L/usr/$(get_libdir) -lX11' \
- FC="$(tc-getFC)" CC="$(tc-getCC)" OS=linux \
- ./configure --prefix=/usr --exec_prefix=/usr/bin \
- || die
-}
-
-src_compile() {
- sed -i -e "s:port/all port/install:port/all:g" Makefile \
- || die
-
- # Fails parallel build, bug #295724
- emake -j1
- emake -C src/fortran -j1
-}
-
-src_install() {
- pushd progs >/dev/null || die
- local tool
- for tool in defcolors font mi pline pmark; do
- newbin ${tool} xgks-${tool}
- done
- popd >/dev/null || die
-
- dolib.a src/lib/libxgks.a
-
- dodoc COPYRIGHT HISTORY README
- doman doc/{xgks.3,xgks_synop.3}
- if use doc; then
- newdoc doc/binding/cbinding.me cbinding
- newdoc doc/userdoc/userdoc.me userdoc
-
- docinto examples
- dodoc progs/{hanoi.c,star.f}
- fi
-
- insinto /usr/include/xgks
- doins src/lib/gks*.h
- doins src/lib/gksm/gksm*.h
- doins src/fortran/f*.h
- doins src/lib/w*.h
- doins src/lib/{input.h,metafile.h,polylines.h,polymarkers.h,text.h}
-
- insinto /usr/include
- doins src/lib/xgks.h
- doins port/udposix.h
-
- insinto /usr/share/xgksfonts
- doins fontdb/{[1-9],*.gksfont}
-}