summaryrefslogtreecommitdiff
path: root/dev-java/libmatthew-java
diff options
context:
space:
mode:
Diffstat (limited to 'dev-java/libmatthew-java')
-rw-r--r--dev-java/libmatthew-java/Manifest4
-rw-r--r--dev-java/libmatthew-java/files/libmatthew-java-0.7.2-makefile-fixes.patch70
-rw-r--r--dev-java/libmatthew-java/libmatthew-java-0.7.2-r2.ebuild56
-rw-r--r--dev-java/libmatthew-java/metadata.xml8
4 files changed, 0 insertions, 138 deletions
diff --git a/dev-java/libmatthew-java/Manifest b/dev-java/libmatthew-java/Manifest
deleted file mode 100644
index fa584308f0d2..000000000000
--- a/dev-java/libmatthew-java/Manifest
+++ /dev/null
@@ -1,4 +0,0 @@
-AUX libmatthew-java-0.7.2-makefile-fixes.patch 2545 BLAKE2B 9662d03e04b55a3041807661b9503644b0595e3cf0ae4479eef9818dbd9edbfa5d7c4a9886e51c1adfc194dec5c06746ac18c559bd4d6768a49c3a8bfef802c9 SHA512 698883f9f0a6485c7d751c70441d0791ddeb78260eceeefff1661983d04d81960c652f9dd64522cd3431981549689b8c9d3051674da5b0871124c912b4d9e3f3
-DIST libmatthew-java-0.7.2.tar.gz 40601 BLAKE2B 92686eb0136ab72c7a7a9bb93a142099f9fa8207a0abe8052a824f46601aa88412bc132be424886b6dc6f7d1b48f5b84f800132031b42ae1c17d5a63c8589393 SHA512 d4a0024fb17221dff4d787b83fd5d9b4a189db0b3110291066f037dc33c009d479a3b94ec8d7c00ab5a39731ec8015dba212f367a858f4329e9d203325fec02a
-EBUILD libmatthew-java-0.7.2-r2.ebuild 1344 BLAKE2B 8be14f4753f0115a80917a799e154ebcc74de813ebfa74182238d729b011c790630d1889794e4586330013b2362711c534187ade14f160ba9899ff3c6e1ae950 SHA512 cbe3f643bd0ba0f03d5b0a8996408979e056d31ac7fe30b694d42106fd5c3fa7dc6e68a2bd505e2e4a232becaa770617e013c495f5dd7ed374735c9e5b27e615
-MISC metadata.xml 242 BLAKE2B 6bf5b48906c64a18d9f27e7ecec168ed039f8d390792d62aedb8c86627a13ff09d583a736982057d245fe5db27c4016257125d69792d6bbe424e7d2a35067675 SHA512 50f4d6219b995b723d6ebbb4f2a18adbf558a685f862aea00f072254dcc0fe6c1388e4aeaf21fb3ce0fb840a2ef4851807536d037c9682b21cb1986198715a4f
diff --git a/dev-java/libmatthew-java/files/libmatthew-java-0.7.2-makefile-fixes.patch b/dev-java/libmatthew-java/files/libmatthew-java-0.7.2-makefile-fixes.patch
deleted file mode 100644
index 1132a7e1ce76..000000000000
--- a/dev-java/libmatthew-java/files/libmatthew-java-0.7.2-makefile-fixes.patch
+++ /dev/null
@@ -1,70 +0,0 @@
-diff -Nur libmatthew-java-0.7.2/Makefile libmatthew-java-0.7.2_patched/Makefile
---- libmatthew-java-0.7.2/Makefile 2009-04-05 12:46:42.000000000 +0300
-+++ libmatthew-java-0.7.2_patched/Makefile 2010-02-28 12:07:15.000000000 +0200
-@@ -6,13 +6,12 @@
- CC?=gcc
- LD?=gcc
- JPPFLAGS+=-C -P
--CFLAGS+=-Wall -Os -pedantic -Werror
-+CFLAGS+=-Wall -pedantic
- CSTD?=-std=c99
- CSHAREFLAG+=-fpic -fno-stack-protector
- GCJJNIFLAG=-fjni
- JVERCFLAGS+=-source 1.5
- JCFLAGS+=
--INCLUDES+=-I$(JAVA_HOME)/include -I$(JAVA_HOME)/include/linux
- JAVADOCFLAGS?=-quiet -author -link http://java.sun.com/j2se/1.4.2/docs/api/
-
- LDVER?=$(shell ld -v | cut -d' ' -f1)
-@@ -20,9 +20,8 @@
-
- ifeq ($(LDVER),GNU)
- LDSHAREFLAGS+=-fpic -shared
--else
--LDSHAREFLAGS+=-lc
- endif
-+LDLIBS=-lc
-
- PREFIX?=/usr/local
- JARDIR?=$(PREFIX)/share/java
-@@ -62,12 +61,7 @@
- io-$(IOVER).jar: .classes
- (cd classes; $(JAR) cf ../$@ cx/ath/matthew/io/*class)
- unix-$(UNIXVER).jar: .classes
--ifeq ($(DEBUG),enable)
-- echo "Class-Path: $(JARDIR)/debug-$(DEBUG).jar" > Manifest
--else
-- echo "Class-Path: " > Manifest
--endif
-- (cd classes; $(JAR) cfm ../$@ ../Manifest cx/ath/matthew/unix/*class)
-+ (cd classes; $(JAR) cf ../$@ cx/ath/matthew/unix/*class)
-
- hexdump-$(HEXVER).jar: .classes
- (cd classes; $(JAR) cf ../$@ cx/ath/matthew/utils/Hexdump.class)
-@@ -75,7 +69,7 @@
- %.o: %.c %.h
- $(CC) $(CFLAGS) $(CSTD) $(CSHAREFLAG) $(INCLUDES) -c -o $@ $<
- lib%.so: %.o
-- $(CC) $(LDFLAGS) $(LDSHAREFLAGS) -o $@ $<
-+ $(CC) $(LDFLAGS) $(LDSHAREFLAGS) -o $@ $< $(LDLIBS)
- unix-java.h: .classes
- $(JAVAH) -classpath classes -o $@ cx.ath.matthew.unix.UnixServerSocket cx.ath.matthew.unix.UnixSocket cx.ath.matthew.unix.USInputStream cx.ath.matthew.unix.USOutputStream
- cgi-java.h: .classes
-@@ -91,13 +85,11 @@
- tar zcf $@ libmatthew-java-$(MATTVER)
-
- debug-enable-$(DEBUGVER).jar: cx/ath/matthew/debug/Debug.jpp
-- make .enabledebug
-- echo "Class-Path: $(JARDIR)/hexdump.jar" > Manifest
-- (cd classes;jar cfm ../$@ ../Manifest cx/ath/matthew/debug/*.class)
-+ $(MAKE) .enabledebug
-+ (cd classes;jar cf ../$@ cx/ath/matthew/debug/*.class)
- debug-disable-$(DEBUGVER).jar: cx/ath/matthew/debug/Debug.jpp
-- make .disabledebug
-- echo "Class-Path: $(JARDIR)/hexdump.jar" > Manifest
-- (cd classes;jar cfm ../$@ ../Manifest cx/ath/matthew/debug/*.class)
-+ $(MAKE) .disabledebug
-+ (cd classes;jar cf ../$@ cx/ath/matthew/debug/*.class)
- .enabledebug: cx/ath/matthew/debug/Debug.jpp
- mkdir -p classes
- cpp $(PPFLAGS) $(JPPFLAGS) -DDEBUGSETTING=true < cx/ath/matthew/debug/Debug.jpp > cx/ath/matthew/debug/Debug.java
diff --git a/dev-java/libmatthew-java/libmatthew-java-0.7.2-r2.ebuild b/dev-java/libmatthew-java/libmatthew-java-0.7.2-r2.ebuild
deleted file mode 100644
index 2145bc2cde7a..000000000000
--- a/dev-java/libmatthew-java/libmatthew-java-0.7.2-r2.ebuild
+++ /dev/null
@@ -1,56 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-JAVA_PKG_IUSE="doc source"
-
-inherit java-pkg-2 flag-o-matic toolchain-funcs
-
-DESCRIPTION="A selection of libraries for Java"
-HOMEPAGE="http://www.matthew.ath.cx/projects/java/"
-SRC_URI="mirror://gentoo/${P}.tar.gz"
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="amd64 ppc64 x86"
-
-RDEPEND="
- >=virtual/jre-1.5"
-
-DEPEND="
- >=virtual/jdk-1.5"
-
-PATCHES=( "${FILESDIR}"/${P}-makefile-fixes.patch )
-DOCS=( INSTALL changelog README )
-
-src_prepare() {
- default
- sed -i -e '167d;' cx/ath/matthew/unix/UnixSocket.java || die "sed failed"
- rm -v "${S}"/cx/ath/matthew/debug/Debug.java || die "rm failed"
-}
-
-src_compile() {
- CC=$(tc-getCC) \
- LD=$(tc-getCC) \
- INCLUDES="$(java-pkg_get-jni-cflags)" \
- emake -j1 \
- JARDIR=/usr/share/libmatthew-java/lib \
- JCFLAGS="$(java-pkg_javac-args)" \
- all \
- $(usev doc)
-}
-
-src_install() {
- java-pkg_newjar cgi-0.5.jar cgi.jar
- java-pkg_newjar debug-disable-1.1.jar debug-disable.jar
- java-pkg_newjar debug-enable-1.1.jar debug-enable.jar
- java-pkg_newjar hexdump-0.2.jar hexdump.jar
- java-pkg_newjar io-0.1.jar io.jar
- java-pkg_newjar unix-0.5.jar unix.jar
- java-pkg_doso libcgi-java.so
- java-pkg_doso libunix-java.so
- einstalldocs
- use source && java-pkg_dosrc cx/
- use doc && java-pkg_dojavadoc doc
-}
diff --git a/dev-java/libmatthew-java/metadata.xml b/dev-java/libmatthew-java/metadata.xml
deleted file mode 100644
index 37998bf40746..000000000000
--- a/dev-java/libmatthew-java/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>java@gentoo.org</email>
- <name>Java</name>
- </maintainer>
-</pkgmetadata>