net-libs/openmq-cclient: Remove last-rited package

Closes: https://bugs.gentoo.org/787905
Closes: https://bugs.gentoo.org/731254
Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>
This commit is contained in:
Jakov Smolić
2021-09-02 22:32:18 +02:00
parent 8fede6a067
commit d8022a3e44
6 changed files with 0 additions and 192 deletions

View File

@@ -1 +0,0 @@
DIST openmq4.4u1b7-final-source.zip 6892740 BLAKE2B 0101648b1688411579b5d1133714b79af24788a548643546de80a708028a1c08af92e2534767eb0bd9f9eddbb16e77a1884880a5d4f9cbe4f0166dbce0b2045e SHA512 4bc51a3bc0a82ae41998ae3d60912d807ff069d6165ea9cfdc1c6eefc9e57b00ad91d6ed2efa032e76be744db3328511bb02023d14a64bd3b64c8667982fbe8c

View File

@@ -1,69 +0,0 @@
prefix=@prefix@
exec_prefix=@exec_prefix@
libdir=@libdir@
includedir=@includedir@
top_srcdir=@top_srcdir@
top_builddir=@top_builddir@
CC = @CC@
CXX = @CXX@
LIBTOOL = @LIBTOOL@
CFLAGS = @CFLAGS@
CXXFLAGS = @CXXFLAGS@
LDFLAGS = @LDFLAGS@
LTCC = $(LIBTOOL) --mode=compile --tag=CC $(CC)
LTCXX = $(LIBTOOL) --mode=compile --tag=CXX $(CXX)
LTLD = $(LIBTOOL) --mode=link --tag=CXX $(CXX)
NS_S_PR_CFLAGS = $(shell ${PKG_CONFIG} --cflags nss nspr)
NS_S_PR_LIBS = $(shell ${PKG_CONFIG} --libs nss nspr)
SRCS = $(shell find "$(top_srcdir)" -name examples -prune -o -type f '(' -name '*.cpp' -o -name '*.c' -not -name '*Test*' ')')
LTOBJS = $(subst .c,.lo,$(subst .cpp,.lo,$(SRCS)))
HDRS = $(top_srcdir)/cshim/mq/xa.h $(shell find "$(top_srcdir)"/cshim -type f -name 'mq*.h')
INSTHDRS = $(subst $(top_srcdir)/cshim,$(DESTDIR)$(includedir),$(HDRS))
LTLIBRARY = libmqcrt.la
INSTLTLIBRARY = $(DESTDIR)$(libdir)/$(LTLIBRARY)
.SUFFIXES:
.SUFFIXES: .cpp .c .lo
default: all
all: $(LTLIBRARY)
Makefile: Makefile.in
$(top_builddir)/config.status $@
.cpp.lo:
$(LTCXX) -o $@ $(NS_S_PR_CFLAGS) $(CXXFLAGS) -c $<
.c.lo:
$(LTCC) -o $@ $(NS_S_PR_CFLAGS) $(CFLAGS) -c $<
VERSIONNUMBER = $(shell { echo '#include "cshim/mqversion.h"'; echo '-version-number MQ_VMAJOR:MQ_VMINOR:MQ_VMICRO'; } | ${CC} -E - | grep version-number)
$(LTLIBRARY): $(LTOBJS)
version=` \
{ echo '#include "cshim/mqversion.h"' \
; echo '-version-number MQ_VMAJOR:MQ_VMINOR:MQ_VMICRO' \
; } \
| ${CC} -E - \
| grep version-number \
` \
&& $(LTLD) -o $@ --no-undefined $${version} $(CXXFLAGS) $(NS_S_PR_LIBS) $(LDFLAGS) -rpath $(libdir) $?
$(INSTLTLIBRARY): $(LTLIBRARY)
$(top_srcdir)/install-sh -d "$(dir $@)"
$(LIBTOOL) --mode=install cp $(LTLIBRARY) $@
$(DESTDIR)$(includedir)/%: $(top_srcdir)/cshim/%
$(top_srcdir)/install-sh -d "$(dir $@)"
cp -f "$<" "$@"
install: $(INSTLTLIBRARY) $(INSTHDRS)

View File

@@ -1,13 +0,0 @@
Seems they've never seen gcc on AIX.
--- cshim/mqbasictypes.h.orig 2010-03-01 18:00:38 +0100
+++ cshim/mqbasictypes.h 2010-03-01 18:00:58 +0100
@@ -64,7 +64,7 @@
#endif
#endif
-#if (defined(__IBMC__) || defined (__IBMCPP__)) && defined(__unix__)
+#if ((defined(__IBMC__) || defined (__IBMCPP__)) && defined(__unix__)) || defined(_AIX)
#ifndef AIX
#define AIX
#endif

View File

@@ -1,15 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<!-- maintainer-needed -->
<longdescription lang="en">
Open message queue is an enterprise quality, production ready, scalable
messaging server. It provides a complete Java Message Service (JMS)
implementation for message oriented system integration. In addition,
Open MQ provides the additional enterprise features that are necessary
for enterprise deployments, large and small. It gets its roots from Java
Message Queue and provides all the features, functions and capabilities
of the currently available licensed product: Java System Message Queue.
These ebuilds install the c-client library only.
</longdescription>
</pkgmetadata>

View File

@@ -1,89 +0,0 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="5"
inherit autotools epatch toolchain-funcs versionator
DESCRIPTION="C-Client Library for Open Source Java Message Service (JMS)"
HOMEPAGE="https://mq.java.net/"
# set this for rc and final versions to the build-number of open-mq
MY_BUILDV="b7"
LICENSE="|| ( CDDL GPL-2-with-linking-exception )"
SLOT="0"
KEYWORDS="~amd64 ~x86"
if [[ $(x=( $(get_all_version_components) ); echo ${x[3]}) == '.' ]]; then
MY_PV=$(replace_version_separator 2 'u' $(get_version_component_range 1-3))
else
MY_PV=$(get_version_component_range 1-2)
fi
if [[ ${PV} == *rc* || ${PV} == *beta* ]]; then
for x in $(get_version_components); do
if [[ ${x} == rc* ]]; then
MY_BUILDV="${MY_BUILDV}-${x}"
break
fi
if [[ ${x} == beta* ]]; then
MY_BUILDV=b${x#beta}
break
fi
done
else
MY_BUILDV="${MY_BUILDV}-final"
fi
MY_ZIPV=$(replace_version_separator 1 _ $(get_version_component_range 1-2))
SRC_URI="http://download.java.net/mq/open-mq/${MY_PV}/${MY_BUILDV}/openmq${MY_ZIPV}-source.zip -> openmq${MY_PV}${MY_BUILDV}-source.zip"
RDEPEND="
dev-libs/nss
dev-libs/nspr
"
DEPEND="${RDEPEND}
virtual/pkgconfig
app-arch/unzip
"
S="${WORKDIR}/mq/src/share/cclient"
src_prepare() {
epatch "${FILESDIR}"/${P}-aix-gcc.patch
einfo "avoiding potential conflict with <xa.h>"
mkdir cshim/mq || die
mv cshim/xa.h cshim/mq/ || die
ln -s mq/xa.h cshim/xa.h || die
sed -i -e 's,"xa.h","mq/xa.h",' cshim/mqxaswitch.h || die
eend $?
cp "${FILESDIR}"/Makefile.in-4 Makefile.in || die
cat > configure.ac <<-EOF
AC_INIT(local-libtool, 0)
AC_PROG_CC
AC_PROG_CXX
AC_PROG_LIBTOOL
AC_OUTPUT(Makefile)
EOF
# bug #778329
sed -e 's/--no-undefined/-no-undefined/' \
-e "s/'\*Test\*' ')')/'\*Test\*' ')' | grep -v examples)/" \
-i "${S}"/Makefile.in || die
eautoreconf
}
src_configure() {
tc-export PKG_CONFIG
econf --disable-static
}
src_install() {
default
dodoc -r "${WORKDIR}"/mq/src/doc/en/.
find "${ED}" -name '*.la' -delete || die
}

View File

@@ -183,11 +183,6 @@ app-eselect/eselect-audicle
app-eselect/eselect-miniaudicle
media-sound/audicle
# Sam James <sam@gentoo.org> (2021-08-04)
# Fails to build with GCC 11. Library with no reverse-dependencies.
# bug #731254, bug #787905. Removal on 2021-09-04.
net-libs/openmq-cclient
# David Seifert <soap@gentoo.org> (2021-08-04)
# Last release over 4 years ago, upstream pretty much dead, the
# ecosystem has switched to dev-util/pkgconf, which is alive. Testing