diff options
author | Aisha Tammy <gentoo@aisha.cc> | 2020-09-22 07:37:27 -0400 |
---|---|---|
committer | Aisha Tammy <gentoo@aisha.cc> | 2020-09-22 07:37:27 -0400 |
commit | f78c28e2cf5f7832423579eca3243b9fd31e4737 (patch) | |
tree | 74da30d3cebe8cb7bd8495250e0b493d5103ca35 /sci-libs | |
parent | sci-biology/wise: drop package (diff) | |
download | sci-f78c28e2cf5f7832423579eca3243b9fd31e4737.tar.gz sci-f78c28e2cf5f7832423579eca3243b9fd31e4737.tar.bz2 sci-f78c28e2cf5f7832423579eca3243b9fd31e4737.zip |
sci-libs/Cgraph: drop package
nonexistent upstream
Closes: https://github.com/gentoo/sci/issues/46
Package-Manager: Portage-3.0.7, Repoman-3.0.1
Signed-off-by: Aisha Tammy <gentoo@aisha.cc>
Diffstat (limited to 'sci-libs')
-rw-r--r-- | sci-libs/Cgraph/Cgraph-2.04.ebuild | 40 | ||||
-rw-r--r-- | sci-libs/Cgraph/Manifest | 1 | ||||
-rw-r--r-- | sci-libs/Cgraph/files/Makefile.patch | 169 | ||||
-rw-r--r-- | sci-libs/Cgraph/files/fix-src.patch | 42 | ||||
-rw-r--r-- | sci-libs/Cgraph/metadata.xml | 8 |
5 files changed, 0 insertions, 260 deletions
diff --git a/sci-libs/Cgraph/Cgraph-2.04.ebuild b/sci-libs/Cgraph/Cgraph-2.04.ebuild deleted file mode 100644 index 85ab332a7..000000000 --- a/sci-libs/Cgraph/Cgraph-2.04.ebuild +++ /dev/null @@ -1,40 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -inherit eutils flag-o-matic multilib - -DESCRIPTION="C functions that generate PostScript for publication quality scientific plots" -HOMEPAGE="http://neurovision.berkeley.edu/software/A_Cgraph.html" -SRC_URI="http://neurovision.berkeley.edu/software/${PN}${PV}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -RDEPEND="!media-gfx/graphviz" -DEPEND="" - -S="${WORKDIR}"/${PN}/source - -src_prepare() { - epatch \ - "${FILESDIR}"/Makefile.patch \ - "${FILESDIR}"/fix-src.patch -} - -src_compile() { - use amd64 && append-flags -fPIC && append-ldflags -fPIC - emake CC=$(tc-getCC) CCFLAGS="${CFLAGS}" -} - -src_install() { - emake DESTDIR="${D}" LIB_DIR=/usr/$(get_libdir) install - dolib.so libcgraph.so.0.0.0 - dosym libcgraph.so.0.0.0 /usr/$(get_libdir)/libcgraph.so.0 - dosym libcgraph.so.0.0.0 /usr/$(get_libdir)/libcgraph.so - - dodoc ../docs/* -} diff --git a/sci-libs/Cgraph/Manifest b/sci-libs/Cgraph/Manifest deleted file mode 100644 index 96e44f882..000000000 --- a/sci-libs/Cgraph/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST Cgraph2.04.tar.gz 198572 BLAKE2B be3b6791d13867f5e1f9a0f0c8c3674649e6aac59faaa29c25e22d969599453efa8d2c30b42275af16945fd0e542d220e903137352a37d69bc14f1fd1d842414 SHA512 a24383cc2ed19907bbd08e56260f934975340443d842eb060099d8b2d2dd96d1f5a813a464cf390357e62972e04c973ec7d3d36a1bc4e82b4e84399dd9b03f54 diff --git a/sci-libs/Cgraph/files/Makefile.patch b/sci-libs/Cgraph/files/Makefile.patch deleted file mode 100644 index 038c16853..000000000 --- a/sci-libs/Cgraph/files/Makefile.patch +++ /dev/null @@ -1,169 +0,0 @@ ---- source/Makefile 2009-03-01 12:19:16.000000000 +0100 -+++ source/Makefile.new 2009-03-01 14:45:35.000000000 +0100 -@@ -3,17 +3,18 @@ - #CC=gcc - CC=cc - --INCLUDE_DIR=/usr/local/include -+INCLUDE_DIR=/usr/include - LIB_DIR=/usr/local/lib - - #LIB_FILE=libcgraph.sl - LIB_FILE=libcgraph.a -+LIB_FILE_SO=libcgraph.so - - - # NEXTSTEP/OPENSTEP multiple architecture compile flags - #ARCHS= - #ARCHS=-arch i386 -arch m68k -arch sparc -arch hppa --ARCHS=-arch i386 -arch m68k -+#ARCHS=-arch i386 -arch m68k - - - #CCFLAGS = -c -O -fpic -I/usr/include/X11R5 -@@ -33,15 +34,18 @@ - install: - # mkdir -p $(LIB_DIR) - # mkdir -p $(INCLUDE_DIR) -- cp $(LIB_FILE) $(LIB_DIR) -- ranlib -s $(LIB_DIR)/$(LIB_FILE) -- cp cgraph.h $(INCLUDE_DIR) -+ mkdir -p $(DESTDIR)/$(LIB_DIR)/ -+ mkdir -p $(DESTDIR)/$(INCLUDE_DIR)/cgraph/ -+ cp $(LIB_FILE) $(DESTDIR)/$(LIB_DIR)/ -+ ranlib $(DESTDIR)/$(LIB_DIR)/$(LIB_FILE) -+ cp cgraph.h $(DESTDIR)/$(INCLUDE_DIR)/cgraph/ - - # For NeXT - $(LIB_FILE): $(OBJS) Makefile - rm -f $(LIB_FILE) - ar r $(LIB_FILE) $(OBJS) -- ranlib -s $(LIB_FILE) -+ ranlib $(LIB_FILE) -+ $(CC) -shared $(CCFLAGS) $(LDFLAGS) -Wl,-soname,$(LIB_FILE_SO).0 -o $(LIB_FILE_SO).0.0.0 $(OBJS) -lc -lm - - # For Unix - #$(LIB_FILE): $(OBJS) Makefile -@@ -49,92 +52,92 @@ - - - cg_newfuncs.o: cglobals.h cgaxes.h cgfont.h -- $(CC) $(CCFLAGS) $(ARCHS) cg_newfuncs.c -+ $(CC) $(CCFLAGS) $(ARCHS) -c cg_newfuncs.c - - cgprint.o: cgprint.c cglobals.h -- $(CC) $(CCFLAGS) $(ARCHS) cgprint.c -+ $(CC) $(CCFLAGS) $(ARCHS) -c cgprint.c - - cgsave.o: cgsave.c cglobals.h -- $(CC) $(CCFLAGS) $(ARCHS) cgsave.c -+ $(CC) $(CCFLAGS) $(ARCHS) -c cgsave.c - - gaxlabel.o: gaxlabel.c cglobals.h cgaxes.h -- $(CC) $(CCFLAGS) $(ARCHS) gaxlabel.c -+ $(CC) $(CCFLAGS) $(ARCHS) -c gaxlabel.c - - gbott.o: gbott.c cglobals.h -- $(CC) $(CCFLAGS) $(ARCHS) gbott.c -+ $(CC) $(CCFLAGS) $(ARCHS) -c gbott.c - - bginit.o: bginit.c cglobals.h cgaxes.h cgfont.h version.h cgraph.h -- $(CC) $(CCFLAGS) $(ARCHS) bginit.c -+ $(CC) $(CCFLAGS) $(ARCHS) -c bginit.c - - bgstart.o: bgstart.c cglobals.h cgaxes.h cgfont.h version.h -- $(CC) $(CCFLAGS) $(ARCHS) bgstart.c -+ $(CC) $(CCFLAGS) $(ARCHS) -c bgstart.c - - gmark.o: gmark.c cglobals.h -- $(CC) $(CCFLAGS) $(ARCHS) gmark.c -+ $(CC) $(CCFLAGS) $(ARCHS) -c gmark.c - - glcmp.o: glcmp.c cglobals.h -- $(CC) $(CCFLAGS) $(ARCHS) glcmp.c -+ $(CC) $(CCFLAGS) $(ARCHS) -c glcmp.c - - gxaxs.o: gxaxs.c cglobals.h cgaxes.h cgfont.h -- $(CC) $(CCFLAGS) $(ARCHS) gxaxs.c -+ $(CC) $(CCFLAGS) $(ARCHS) -c gxaxs.c - - gxlog.o: gxlog.c cglobals.h cgaxes.h cgfont.h -- $(CC) $(CCFLAGS) $(ARCHS) gxlog.c -+ $(CC) $(CCFLAGS) $(ARCHS) -c gxlog.c - - gyaxs.o: gyaxs.c cgaxes.h cgfont.h cglobals.h -- $(CC) $(CCFLAGS) $(ARCHS) gyaxs.c -+ $(CC) $(CCFLAGS) $(ARCHS) -c gyaxs.c - - gylog.o: gylog.c cglobals.h cgaxes.h cgfont.h -- $(CC) $(CCFLAGS) $(ARCHS) gylog.c -+ $(CC) $(CCFLAGS) $(ARCHS) -c gylog.c - - gtext.o: gtext.c cglobals.h -- $(CC) $(CCFLAGS) $(ARCHS) gtext.c -+ $(CC) $(CCFLAGS) $(ARCHS) -c gtext.c - - gtrnc.o: gtrnc.c cglobals.h -- $(CC) $(CCFLAGS) $(ARCHS) gtrnc.c -+ $(CC) $(CCFLAGS) $(ARCHS) -c gtrnc.c - - gmesh.o: gmesh.c cglobals.h cgaxes.h -- $(CC) $(CCFLAGS) $(ARCHS) gmesh.c -+ $(CC) $(CCFLAGS) $(ARCHS) -c gmesh.c - - gstyl.o: gstyl.c cgaxes.h cglobals.h -- $(CC) $(CCFLAGS) $(ARCHS) gstyl.c -+ $(CC) $(CCFLAGS) $(ARCHS) -c gstyl.c - - gwdth.o: gwdth.c cglobals.h -- $(CC) $(CCFLAGS) $(ARCHS) gwdth.c -+ $(CC) $(CCFLAGS) $(ARCHS) -c gwdth.c - - gfont.o: gfont.c cglobals.h cgfont.h PS_font_names.h -- $(CC) $(CCFLAGS) $(ARCHS) gfont.c -+ $(CC) $(CCFLAGS) $(ARCHS) -c gfont.c - - grmle.o: grmle.c cglobals.h -- $(CC) $(CCFLAGS) $(ARCHS) grmle.c -+ $(CC) $(CCFLAGS) $(ARCHS) -c grmle.c - - gmlin.o: gmlin.c cglobals.h -- $(CC) $(CCFLAGS) $(ARCHS) gmlin.c -+ $(CC) $(CCFLAGS) $(ARCHS) -c gmlin.c - - gcord.o: gcord.c cglobals.h -- $(CC) $(CCFLAGS) $(ARCHS) gcord.c -+ $(CC) $(CCFLAGS) $(ARCHS) -c gcord.c - - gorig.o: gorig.c cglobals.h -- $(CC) $(CCFLAGS) $(ARCHS) gorig.c -+ $(CC) $(CCFLAGS) $(ARCHS) -c gorig.c - - - bgdash.o: bgdash.c cglobals.h -- $(CC) $(CCFLAGS) $(ARCHS) bgdash.c -+ $(CC) $(CCFLAGS) $(ARCHS) -c bgdash.c - - gprim.o: gprim.c cglobals.h -- $(CC) $(CCFLAGS) $(ARCHS) gprim.c -+ $(CC) $(CCFLAGS) $(ARCHS) -c gprim.c - - grset.o: grset.c cglobals.h -- $(CC) $(CCFLAGS) $(ARCHS) grset.c -+ $(CC) $(CCFLAGS) $(ARCHS) -c grset.c - - ggraycolor.o: ggraycolor.c cglobals.h -- $(CC) $(CCFLAGS) $(ARCHS) ggraycolor.c -+ $(CC) $(CCFLAGS) $(ARCHS) -c ggraycolor.c - - gstrk.o: gstrk.c cglobals.h -- $(CC) $(CCFLAGS) $(ARCHS) gstrk.c -+ $(CC) $(CCFLAGS) $(ARCHS) -c gstrk.c - - bgshow.o: bgshow.c cglobals.h -- $(CC) $(CCFLAGS) $(ARCHS) bgshow.c -+ $(CC) $(CCFLAGS) $(ARCHS) -c bgshow.c - - clean: - rm -f *.o *.a *.sl - diff --git a/sci-libs/Cgraph/files/fix-src.patch b/sci-libs/Cgraph/files/fix-src.patch deleted file mode 100644 index a19f23845..000000000 --- a/sci-libs/Cgraph/files/fix-src.patch +++ /dev/null @@ -1,42 +0,0 @@ -diff -uarN source/cgaxes.h source.new/cgaxes.h ---- source/cgaxes.h 1996-09-02 21:20:34.000000000 +0200 -+++ source.new/cgaxes.h 2009-03-01 18:53:22.000000000 +0100 -@@ -10,7 +10,7 @@ - float cgxticks,cgyticks; /* tick spacing for linear graphs */ - double cgldecy,cgldecx; /* the upper end of the lowest decade of */ - /* a log graph */ -- double cgudecy,cgudecx; /* the lower end of the highest decade -+ double cgudecy,cgudecx; /* the lower end of the highest decade */ - /* of a log graph */ - int cgxtix,cgytix; /* used for logarithmic tick marks */ - int cgprecision= 4; /* max # digits on screen graphs */ -diff -uarN source/gfont.c source.new/gfont.c ---- source/gfont.c 1998-08-31 19:27:43.000000000 +0200 -+++ source.new/gfont.c 2009-03-01 18:46:27.000000000 +0100 -@@ -5,7 +5,7 @@ - /* 9-09-87 starting */ - /******************************************************************/ - --/* Modified on 5/13/92 to work on NeXt's -+/* Modified on 5/13/92 to work on NeXt's */ - - - #include <string.h> -diff -uarN source/grset.c source.new/grset.c ---- source/grset.c 1996-09-02 21:20:30.000000000 +0200 -+++ source.new/grset.c 2009-03-01 18:46:07.000000000 +0100 -@@ -14,10 +14,10 @@ - - int cg_reset(void) - { -- lw_aorigin(-cgxorig,-cgyorig); /* Go to the bottom left corner of the page */ -- lw_linewidth(1.0); -- lw_gray(0.0); -- lw_dash(0,0.); -+ cg_aorigin(-cgxorig,-cgyorig); /* Go to the bottom left corner of the page */ -+ cg_linewidth(1.0); -+ cg_gray(0.0); -+ cg_dash(0,0.); - return(0); - } - diff --git a/sci-libs/Cgraph/metadata.xml b/sci-libs/Cgraph/metadata.xml deleted file mode 100644 index ae9640ffb..000000000 --- a/sci-libs/Cgraph/metadata.xml +++ /dev/null @@ -1,8 +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> -</pkgmetadata> |