summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-04-10 07:18:38 +0000
committerSam James <sam@gentoo.org>2021-04-10 07:18:38 +0000
commit5e04f8ab93cf6e4f543431ec16ed29bfad58b76a (patch)
treea142e7c7d9c0dd2067dc4f9046474a041bb3b1fe
parentdev-java/jna: drop outdated, EAPI 2/4 package (diff)
downloadprefix-5e04f8ab93cf6e4f543431ec16ed29bfad58b76a.tar.gz
prefix-5e04f8ab93cf6e4f543431ec16ed29bfad58b76a.tar.bz2
prefix-5e04f8ab93cf6e4f543431ec16ed29bfad58b76a.zip
dev-java/libreadline-java: drop old EAPI 2 package
Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r--dev-java/libreadline-java/Manifest1
-rw-r--r--dev-java/libreadline-java/files/libreadline-java-0.8.0-darwin.patch42
-rw-r--r--dev-java/libreadline-java/files/libreadline-java-0.8.0-gmake.patch21
-rw-r--r--dev-java/libreadline-java/files/libreadline-java-0.8.0-ldflags.patch12
-rw-r--r--dev-java/libreadline-java/files/libreadline-java-0.8.0-respect-flags.patch27
-rw-r--r--dev-java/libreadline-java/files/termcap-to-ncurses.patch13
-rw-r--r--dev-java/libreadline-java/libreadline-java-0.8.0-r2.ebuild54
-rw-r--r--dev-java/libreadline-java/libreadline-java-0.8.0-r3.ebuild56
-rw-r--r--dev-java/libreadline-java/metadata.xml11
9 files changed, 0 insertions, 237 deletions
diff --git a/dev-java/libreadline-java/Manifest b/dev-java/libreadline-java/Manifest
deleted file mode 100644
index d425c5b2ea..0000000000
--- a/dev-java/libreadline-java/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST libreadline-java-0.8.0-src.tar.gz 77122 BLAKE2B cd25c3aea6189d0d48a10c26ad2f359e7f22533fd4a22d22b8491fd19c2d12c0fda6c8f1b8908bd66be8094efb374a51c6877eb89835360c4a2be8d9107d1336 SHA512 16bbb01a4852244387d63d8d5a7203e2862f235d8a68b436f33b586c7a6ea5297d1fabfa910c54bc33cfdc43b5dfe80e9eb4828b80196a974410c90387c3d1f2
diff --git a/dev-java/libreadline-java/files/libreadline-java-0.8.0-darwin.patch b/dev-java/libreadline-java/files/libreadline-java-0.8.0-darwin.patch
deleted file mode 100644
index 95f16badff..0000000000
--- a/dev-java/libreadline-java/files/libreadline-java-0.8.0-darwin.patch
+++ /dev/null
@@ -1,42 +0,0 @@
---- src/native/Makefile
-+++ src/native/Makefile
-@@ -54,7 +54,11 @@
- CC = gcc
- OBJ_EXT := o
- LIB_PRE := lib
-+ifeq ($(shell uname -s), Darwin)
-+LIB_EXT := dylib
-+else
- LIB_EXT := so
-+endif
- CFLAGS=-fPIC -DPOSIX
- endif
-
-@@ -97,9 +97,13 @@
- $(CC) -W1,$(ROOTDIR)/lib$(TG).exp -o $@ \
- $(OBJECTS) -W1,-e,_readline_init@12
- else
-+ifeq ($(shell uname -s), Darwin)
-+ $(CC) -bundle $(OBJECTS) $(LIBPATH) $($(TG)_LIBS) -o $@
-+else
- $(CC) -shared $(OBJECTS) $(LIBPATH) $($(TG)_LIBS) -o $@
- endif
- endif
-+endif
-
- getline.$(OBJ_EXT): getline.c
- $(CC) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) -D$(TG) -c getline.c
---- Makefile
-+++ Makefile
-@@ -140,7 +140,11 @@
- rpm --define _topdir$(RPM_BASE) -ba $(RPM_BASE)/SPECS/libreadline-java.spec
-
- test: $(JAR) build-native
-+ifeq ($(shell uname -s), Darwin)
-+ DYLD_LIBRARY_PATH=. java -jar $(JAR) src/test/tinputrc $(ARGS)
-+else
- LD_LIBRARY_PATH=. java -jar $(JAR) src/test/tinputrc $(ARGS)
-+endif
-
- clean:
- $(MAKE) -C src/native clean
diff --git a/dev-java/libreadline-java/files/libreadline-java-0.8.0-gmake.patch b/dev-java/libreadline-java/files/libreadline-java-0.8.0-gmake.patch
deleted file mode 100644
index 6de5cde18e..0000000000
--- a/dev-java/libreadline-java/files/libreadline-java-0.8.0-gmake.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-Index: libreadline-java-0.8.0/src/native/Makefile
-===================================================================
---- libreadline-java-0.8.0.orig/src/native/Makefile
-+++ libreadline-java-0.8.0/src/native/Makefile
-@@ -69,13 +69,13 @@ all: $(T_LIBS)
- lib: $(ROOTDIR)/$(LIB_PRE)$(TG).$(LIB_EXT)
-
- JavaReadline:
-- make TG=$@ lib
-+ $(MAKE) TG=$@ lib
-
- JavaEditline:
-- make TG=$@ lib
-+ $(MAKE) TG=$@ lib
-
- JavaGetline:
-- make TG=$@ lib
-+ $(MAKE) TG=$@ lib
-
- $(ROOTDIR)/$(LIB_PRE)$(TG).$(LIB_EXT): $(OBJECTS)
- ifeq (MSC,$(WIN32))
diff --git a/dev-java/libreadline-java/files/libreadline-java-0.8.0-ldflags.patch b/dev-java/libreadline-java/files/libreadline-java-0.8.0-ldflags.patch
deleted file mode 100644
index e0783bdab5..0000000000
--- a/dev-java/libreadline-java/files/libreadline-java-0.8.0-ldflags.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -Nur libreadline-java-0.8.0/src/native/Makefile libreadline-java-0.8.0_patched/src/native/Makefile
---- libreadline-java-0.8.0/src/native/Makefile 2003-01-07 12:14:35.000000000 +0200
-+++ libreadline-java-0.8.0_patched/src/native/Makefile 2010-09-13 20:31:56.000000000 +0300
-@@ -97,7 +97,7 @@
- $(CC) -W1,$(ROOTDIR)/lib$(TG).exp -o $@ \
- $(OBJECTS) -W1,-e,_readline_init@12
- else
-- $(CC) -shared $(OBJECTS) $(LIBPATH) $($(TG)_LIBS) -o $@
-+ $(CC) -shared $(LDFLAGS) $(OBJECTS) $(LIBPATH) $($(TG)_LIBS) -o $@
- endif
- endif
-
diff --git a/dev-java/libreadline-java/files/libreadline-java-0.8.0-respect-flags.patch b/dev-java/libreadline-java/files/libreadline-java-0.8.0-respect-flags.patch
deleted file mode 100644
index 9af21ba83d..0000000000
--- a/dev-java/libreadline-java/files/libreadline-java-0.8.0-respect-flags.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-diff --git a/src/native/Makefile b/src/native/Makefile
-index 679adb7..a1f2a6a 100644
---- a/src/native/Makefile
-+++ b/src/native/Makefile
-@@ -51,11 +51,11 @@ JavaEditline_LIBS = -ledit -ltermcap
- ifeq (cygwin,$(WIN32))
- JavaGetline_LIBS = -lcygwin
- endif
--CC = gcc
-+CC ?= gcc
- OBJ_EXT := o
- LIB_PRE := lib
- LIB_EXT := so
--CFLAGS=-fPIC -DPOSIX
-+CFLAGS += -fPIC -DPOSIX
- endif
-
-
-@@ -97,7 +97,7 @@ ifeq (CYGWIN,$(WIN32))
- $(CC) -W1,$(ROOTDIR)/lib$(TG).exp -o $@ \
- $(OBJECTS) -W1,-e,_readline_init@12
- else
-- $(CC) -shared $(OBJECTS) $(LIBPATH) $($(TG)_LIBS) -o $@
-+ $(CC) -shared $(LDFLAGS) $(OBJECTS) $(LIBPATH) $($(TG)_LIBS) -o $@
- endif
- endif
-
diff --git a/dev-java/libreadline-java/files/termcap-to-ncurses.patch b/dev-java/libreadline-java/files/termcap-to-ncurses.patch
deleted file mode 100644
index 22921c80ba..0000000000
--- a/dev-java/libreadline-java/files/termcap-to-ncurses.patch
+++ /dev/null
@@ -1,13 +0,0 @@
---- src/native/Makefile.org 2004-09-07 16:43:16.703100016 +0200
-+++ src/native/Makefile 2004-09-07 16:43:28.804919625 +0200
-@@ -45,8 +45,8 @@
- CFLAGS=-DWIN32=$(WIN32) -D__IBMC__
- else
- INCLUDES = -I $(JAVAINCLUDE) -I $(JAVANATINC)
--LIBPATH = -L/usr/lib/termcap
--JavaReadline_LIBS = -lreadline -ltermcap -lhistory
-+LIBPATH =
-+JavaReadline_LIBS = -lreadline -lncurses -lhistory
- JavaEditline_LIBS = -ledit -ltermcap
- ifeq (cygwin,$(WIN32))
- JavaGetline_LIBS = -lcygwin
diff --git a/dev-java/libreadline-java/libreadline-java-0.8.0-r2.ebuild b/dev-java/libreadline-java/libreadline-java-0.8.0-r2.ebuild
deleted file mode 100644
index 9bed7c0c1b..0000000000
--- a/dev-java/libreadline-java/libreadline-java-0.8.0-r2.ebuild
+++ /dev/null
@@ -1,54 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/libreadline-java/libreadline-java-0.8.0-r2.ebuild,v 1.12 2012/01/01 13:31:35 sera Exp $
-
-JAVA_PKG_IUSE="doc source"
-
-inherit java-pkg-2 eutils
-
-DESCRIPTION="A JNI-wrapper to GNU Readline."
-HOMEPAGE="http://java-readline.sourceforge.net/"
-SRC_URI="mirror://sourceforge/java-readline/${P}-src.tar.gz"
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="~amd64-linux ~x86-linux"
-IUSE="elibc_FreeBSD"
-
-COMMON_DEP="sys-libs/ncurses"
-RDEPEND=">=virtual/jre-1.4
- ${COMMON_DEP}"
-DEPEND=">=virtual/jdk-1.4
- ${COMMON_DEP}"
-RESTRICT="test"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
- epatch "${FILESDIR}/termcap-to-ncurses.patch"
- # bug #157387, reported upstream
- epatch "${FILESDIR}/${P}-gmake.patch"
-
- epatch "${FILESDIR}/${P}-darwin.patch"
-
- # bug #157390
- sed -i "s/^\(JC_FLAGS =\)/\1 $(java-pkg_javac-args)/" Makefile || die
- if use elibc_FreeBSD; then
- sed -i -e '/JAVANATINC/s:linux:freebsd:' Makefile || die "sed JAVANATINC failed"
- fi
-}
-
-src_compile() {
- emake -j1 || die "failed to compile"
- if use doc; then
- emake -j1 apidoc || die "failed to generate docs"
- fi
-}
-
-src_install() {
- java-pkg_doso *$(get_libname)
- java-pkg_dojar *.jar
- use source && java-pkg_dosrc src/*
- use doc && java-pkg_dojavadoc api
- dodoc ChangeLog NEWS README README.1st TODO || die
-}
diff --git a/dev-java/libreadline-java/libreadline-java-0.8.0-r3.ebuild b/dev-java/libreadline-java/libreadline-java-0.8.0-r3.ebuild
deleted file mode 100644
index ef13cde7f0..0000000000
--- a/dev-java/libreadline-java/libreadline-java-0.8.0-r3.ebuild
+++ /dev/null
@@ -1,56 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/libreadline-java/libreadline-java-0.8.0-r3.ebuild,v 1.8 2012/05/04 18:49:51 sera Exp $
-
-EAPI=2
-JAVA_PKG_IUSE="doc source"
-
-inherit java-pkg-2 eutils
-
-DESCRIPTION="A JNI-wrapper to GNU Readline."
-HOMEPAGE="http://java-readline.sourceforge.net/"
-SRC_URI="mirror://sourceforge/java-readline/${P}-src.tar.gz"
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="~amd64-linux ~x86-linux"
-IUSE="elibc_FreeBSD"
-
-COMMON_DEP="sys-libs/ncurses"
-RDEPEND=">=virtual/jre-1.4
- ${COMMON_DEP}"
-DEPEND=">=virtual/jdk-1.4
- ${COMMON_DEP}"
-RESTRICT="test"
-
-java_prepare() {
- epatch "${FILESDIR}/termcap-to-ncurses.patch"
- # bug #157387, reported upstream
- epatch "${FILESDIR}/${P}-gmake.patch"
-
- epatch "${FILESDIR}/${P}-darwin.patch"
-
- # bug #157390
- sed -i "s/^\(JC_FLAGS =\)/\1 $(java-pkg_javac-args)/" Makefile || die
- if use elibc_FreeBSD; then
- sed -i -e '/JAVANATINC/s:linux:freebsd:' Makefile || die "sed JAVANATINC failed"
- fi
-
- #Respect CC CFLAGS LDFLAGS #336302 #296741
- epatch "${FILESDIR}"/${P}-respect-flags.patch
-}
-
-src_compile() {
- emake -j1 || die "failed to compile"
- if use doc; then
- emake -j1 apidoc || die "failed to generate docs"
- fi
-}
-
-src_install() {
- java-pkg_doso *$(get_libname)
- java-pkg_dojar *.jar
- use source && java-pkg_dosrc src/*
- use doc && java-pkg_dojavadoc api
- dodoc ChangeLog NEWS README README.1st TODO || die
-}
diff --git a/dev-java/libreadline-java/metadata.xml b/dev-java/libreadline-java/metadata.xml
deleted file mode 100644
index ee80557bb2..0000000000
--- a/dev-java/libreadline-java/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>java@gentoo.org</email>
- <name>Java</name>
- </maintainer>
- <upstream>
- <remote-id type="sourceforge">java-readline</remote-id>
- </upstream>
-</pkgmetadata>