From 0f558761aa2dee1017b4751e4017205e015a9560 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 29 Jun 2022 12:04:12 +0100 Subject: gentoo resync : 29.12.2022 --- dev-libs/log4cpp/Manifest | 2 + .../log4cpp/files/log4cpp-1.1.3-fix-version.patch | 9 ++++ dev-libs/log4cpp/log4cpp-1.1.3-r1.ebuild | 63 ++++++++++++++++++++++ 3 files changed, 74 insertions(+) create mode 100644 dev-libs/log4cpp/files/log4cpp-1.1.3-fix-version.patch create mode 100644 dev-libs/log4cpp/log4cpp-1.1.3-r1.ebuild (limited to 'dev-libs/log4cpp') diff --git a/dev-libs/log4cpp/Manifest b/dev-libs/log4cpp/Manifest index 7ba6de960af1..b450437ca6c6 100644 --- a/dev-libs/log4cpp/Manifest +++ b/dev-libs/log4cpp/Manifest @@ -4,6 +4,8 @@ AUX 1.0-gcc43.patch 1166 BLAKE2B 2669ceaed022d24e5090a6b96e856ab9612c5818b216949 AUX log4cpp-1.1-automake-1.13.patch 242 BLAKE2B 17ac8a6529025edf8f46109906ec2bb2087f56ced626f4f3ddf47c000714b85ba558af1680ae3ab29f5aca8799185e25bed7a7c563d6950f1f3159e58f60eba8 SHA512 22abe490efd1a6b500265744abb2f58345fd9f6df881f1d932d7a95e6076397009c0bbd190eb803c0a4800035c0e435493164393674d19c611825235cb59fcc5 AUX log4cpp-1.1-cmath-fix.patch 206 BLAKE2B 7caa58dcb66cc184b1f88a99ea6c6c0d21233c9bbd9b7da6727f735f73c98849c0cc95a3e90913847805ecbc1bd84ee56436d3fed6736259251e1c94363f436f SHA512 926e10166d162863c6c1774ce3a6e523a27ae999df68f9423c2ee94042152078d931eda77b07c323890850918832396a3603c3a9226310af90cd3946a7de7ffe AUX log4cpp-1.1-glibc-2.31.patch 647 BLAKE2B 80d59c50d322531258f79a8a90385e1565ac0c5658071682dd13ee22b0fba22f1f4b799c4c08a59f07a57eeea2cafa7ffa76902951870854a1dafbf7805abdf2 SHA512 b27fe0c8218dd48c5b72ffc0ba0eb103c610b665777e643929b18b52e23ddf9f6e87bb4c9798f077aaedfcbe1d9ca44342499b15b4c209e5097e7b07269f0fcf +AUX log4cpp-1.1.3-fix-version.patch 314 BLAKE2B 27dabdf67a2c3a53ff1f10b1c4b2b1796e144213b2ba545ffd800d21bcae22e8248cf53da73d951a3e712b45e2fcac97f4c5d131bf260ca9680699df8ba527ae SHA512 1ecba987f5295d507babff49f3d0d37d7e998ac2014ee430a981f7c64c35f1d10f2a3810bcfd7e8ca037a0fdadac61972ff93bf37cf6f543d7cedc6b836edb49 DIST log4cpp-1.1.3.tar.gz 595639 BLAKE2B fc7d643aa70d739e38ec5aba127b4e760a47a064f4032690586c4698ec83a2b7f219d8476650d3bfc5e25563de0852869429ec45171233c6bd5c08b69476b169 SHA512 88e5e10bce8d7d6421c3dcf14aa25385159c4ae52becdc1f3666ab86e1ad3f633786d82afe398c517d4faaa57b3e7b7c0b524361d81c6b9040dbded5cecc19de +EBUILD log4cpp-1.1.3-r1.ebuild 1499 BLAKE2B 9669f7c3ef7437c1cd14066db6b14c179609fee8fa12ba5e078380b3f8d8c14d8f84cd46cd1d8843d2734e36633af1278f75c87c37f7dfaa10c8a579c88e7f67 SHA512 aeb1cd193f5289cfb9745861732a91400e205af7fb8658c03441f56d4728c1fe631beb7652906c76aeb29667862071eeec9a8845095b678883fc59f502976726 EBUILD log4cpp-1.1.3.ebuild 1264 BLAKE2B 914800599aeb18dd35d0c6b9246b7d69df9f742f85d444cfa887ede2f562a6f7c5abaa4daa20c635931963ddb66bce62f640bfb5533eda359f756d32e0c936c0 SHA512 0c4dc5a1a772d5f051ee4b7de5eac4afba20d24c4eadf7b75c6c0c8e322ebd9f58a0708ab35873c0f97d9979750a9c3792762895321575d6ba25a38ce3b038d2 MISC metadata.xml 245 BLAKE2B fc64c325a442c85782c437edf7e7835b640d7d42d6161da3d4e803c0e81c7e1df99baa33c812e6da007a7286084aa97678109e21c72f684a4b7ab5903f1d281a SHA512 8ae4a6eeb33b2013ef7200430fbd5e9e24c72b8c1f02a7b36d7c62a122c5a10a184e4b86645f1e5ad3ee0b384fd786b2d7d063cdd1befb911f6d4bad7506862a diff --git a/dev-libs/log4cpp/files/log4cpp-1.1.3-fix-version.patch b/dev-libs/log4cpp/files/log4cpp-1.1.3-fix-version.patch new file mode 100644 index 000000000000..9676bacfc9dd --- /dev/null +++ b/dev-libs/log4cpp/files/log4cpp-1.1.3-fix-version.patch @@ -0,0 +1,9 @@ +https://src.fedoraproject.org/rpms/log4cpp/raw/rawhide/f/log4cpp-version-1.1.3.patch +--- a/configure.in ++++ b/configure.in +@@ -1,4 +1,4 @@ +-AC_INIT(log4cpp, 1.1) ++AC_INIT(log4cpp, 1.1.3) + + # autoconf 2.50 or higher to rebuild aclocal.m4, because the + # AC_CREATE_PREFIX_CONFIG_H macro needs the AS_DIRNAME macro. diff --git a/dev-libs/log4cpp/log4cpp-1.1.3-r1.ebuild b/dev-libs/log4cpp/log4cpp-1.1.3-r1.ebuild new file mode 100644 index 000000000000..e84b5498cc10 --- /dev/null +++ b/dev-libs/log4cpp/log4cpp-1.1.3-r1.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools multilib-minimal + +DESCRIPTION="C++ classes for flexible logging to files, syslog and other destinations" +HOMEPAGE="http://log4cpp.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" +S="${WORKDIR}/${PN}" + +LICENSE="LGPL-2.1" +SLOT="0/5" +KEYWORDS="~amd64 ~arm ~ppc ~riscv ~s390 ~x86" +IUSE="doc static-libs test" +RESTRICT="!test? ( test )" + +BDEPEND="doc? ( app-doc/doxygen )" + +PATCHES=( + "${FILESDIR}"/1.0-doc_install_path.patch + "${FILESDIR}"/1.0-gcc43.patch + "${FILESDIR}"/1.0-asneeded.patch + "${FILESDIR}"/${PN}-1.1-cmath-fix.patch + "${FILESDIR}"/${PN}-1.1-automake-1.13.patch + "${FILESDIR}"/${PN}-1.1-glibc-2.31.patch + "${FILESDIR}"/${PN}-1.1.3-fix-version.patch +) + +MULTILIB_CHOST_TOOLS=( + /usr/bin/log4cpp-config +) + +src_prepare() { + default + + mv configure.{in,ac} || die + + # Build tests conditionally + if ! use test; then + sed -i -e '/^SUBDIRS/s/ tests//' Makefile.am || die + fi + + eautoreconf +} + +multilib_src_configure() { + # Bashisms call configure tests to malfunction / config.h to be misgenerated + # which then causes a build failure later on in the package (w/ GCC 12, + # anyway). + CONFIG_SHELL="${BROOT}"/bin/bash ECONF_SOURCE="${S}" econf \ + --without-idsa \ + $(use_enable doc doxygen) \ + $(use_enable static-libs static) +} + +multilib_src_install_all() { + einstalldocs + + # Package installs .pc files + find "${D}" -name '*.la' -delete || die +} -- cgit v1.2.3