diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /sci-libs/xgks-pmel | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'sci-libs/xgks-pmel')
-rw-r--r-- | sci-libs/xgks-pmel/Manifest | 1 | ||||
-rw-r--r-- | sci-libs/xgks-pmel/files/aclocal.patch | 146 | ||||
-rw-r--r-- | sci-libs/xgks-pmel/metadata.xml | 10 | ||||
-rw-r--r-- | sci-libs/xgks-pmel/xgks-pmel-2.5.5.ebuild | 81 |
4 files changed, 238 insertions, 0 deletions
diff --git a/sci-libs/xgks-pmel/Manifest b/sci-libs/xgks-pmel/Manifest new file mode 100644 index 000000000000..4347b2de6ae9 --- /dev/null +++ b/sci-libs/xgks-pmel/Manifest @@ -0,0 +1 @@ +DIST xgks-pmel-2.5.5.tar.gz 1006581 SHA256 43a198aaa4d9497597e9253be19afc60d9dedda63a1fbcd718f77454d27adbb4 diff --git a/sci-libs/xgks-pmel/files/aclocal.patch b/sci-libs/xgks-pmel/files/aclocal.patch new file mode 100644 index 000000000000..48d44d747647 --- /dev/null +++ b/sci-libs/xgks-pmel/files/aclocal.patch @@ -0,0 +1,146 @@ +--- port/aclocal.m4.orig 2009-04-26 13:33:51.434402251 -0700 ++++ port/aclocal.m4 2009-04-26 13:43:33.466651210 -0700 +@@ -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 +--- port/configure.in.orig 2009-04-26 13:34:08.430308009 -0700 ++++ port/configure.in 2009-04-26 13:44:26.218430537 -0700 +@@ -24,8 +24,6 @@ + UC_PROG_FORTC + UC_PROG_NEQN + UC_PROG_TBL +-UC_PROG_NCDUMP +-UC_PROG_NCGEN + UC_PROG_INSTALL + + UC_UDPOSIX +--- port/master.mk.in.orig 2009-04-26 13:34:18.848400960 -0700 ++++ port/master.mk.in 2009-04-26 13:45:03.187651071 -0700 +@@ -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 new file mode 100644 index 000000000000..07c81cc7a968 --- /dev/null +++ b/sci-libs/xgks-pmel/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>sci-geosciences</herd> + <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 new file mode 100644 index 000000000000..c5a3dadd8e51 --- /dev/null +++ b/sci-libs/xgks-pmel/xgks-pmel-2.5.5.ebuild @@ -0,0 +1,81 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 + +inherit eutils fortran-2 toolchain-funcs multilib + +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} + sys-devel/flex + sys-apps/groff" + +src_prepare() { + epatch "${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 + + cd src/fortran + emake -j1 +} + +src_install() { + cd "${S}"/progs + + for tool in {defcolors,font,mi,pline,pmark}; do + newbin ${tool} xgks-${tool} + done + + cd "${S}" + dolib.a src/lib/libxgks.a + + dodoc COPYRIGHT HISTORY INSTALL README + doman doc/{xgks.3,xgks_synop.3} + if use doc; then + newdoc doc/binding/cbinding.me cbinding + newdoc doc/userdoc/userdoc.me userdoc + insinto /usr/share/doc/${P}/examples + doins progs/{hanoi.c,star.c} + 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} +} |