[gentoo-commits] repo/gentoo:master commit in: dev-libs/ucommon/, dev-libs/ucommon/files/, profiles/
commit: 1247d466833d71d852809d6b036e4906108ae8cd Author: Jakov Smolić gentoo org> AuthorDate: Tue Aug 9 07:12:07 2022 + Commit: Jakov Smolić gentoo org> CommitDate: Tue Aug 9 07:12:07 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1247d466 dev-libs/ucommon: treeclean Closes: https://bugs.gentoo.org/830581 Signed-off-by: Jakov Smolić gentoo.org> dev-libs/ucommon/Manifest | 1 - .../ucommon-6.0.3-install_gcrypt.m4_file.patch | 126 -- 0-c++17-dynamic-exception-specifications.patch | 502 - dev-libs/ucommon/metadata.xml | 5 - dev-libs/ucommon/ucommon-7.0.0.ebuild | 75 --- profiles/package.mask | 6 - 6 files changed, 715 deletions(-) diff --git a/dev-libs/ucommon/Manifest b/dev-libs/ucommon/Manifest deleted file mode 100644 index 57e037574aea.. --- a/dev-libs/ucommon/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST ucommon-7.0.0.tar.gz 837905 BLAKE2B ddc82d5d1a88d66f353d9e69eacd7cfaaa0204acb8b9c4152559a009d287f2ffdb7feedc6fc0303c93a39d607498dd15bf83798d088857582f79be435d010ca7 SHA512 d32f8603d920eb98b5d4bc75224a7a8bb8bf2001a8dd3152626a8438ea4c39503a7446dec3aa90cf464b7abb68a6e42bac488ef9705517bd333b64bce219915b diff --git a/dev-libs/ucommon/files/ucommon-6.0.3-install_gcrypt.m4_file.patch b/dev-libs/ucommon/files/ucommon-6.0.3-install_gcrypt.m4_file.patch deleted file mode 100644 index 502a27b1844b.. --- a/dev-libs/ucommon/files/ucommon-6.0.3-install_gcrypt.m4_file.patch +++ /dev/null @@ -1,126 +0,0 @@ /dev/null -+++ m4/libgcrypt.m4 -@@ -0,0 +1,123 @@ -+dnl Autoconf macros for libgcrypt -+dnl Copyright (C) 2002, 2004 Free Software Foundation, Inc. -+dnl -+dnl This file is free software; as a special exception the author gives -+dnl unlimited permission to copy and/or distribute it, with or without -+dnl modifications, as long as this notice is preserved. -+dnl -+dnl This file is distributed in the hope that it will be useful, but -+dnl WITHOUT ANY WARRANTY, to the extent permitted by law; without even the -+dnl implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -+ -+ -+dnl AM_PATH_LIBGCRYPT([MINIMUM-VERSION, -+dnl [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND ]]]) -+dnl Test for libgcrypt and define LIBGCRYPT_CFLAGS and LIBGCRYPT_LIBS. -+dnl MINIMUN-VERSION is a string with the version number optionalliy prefixed -+dnl with the API version to also check the API compatibility. Example: -+dnl a MINIMUN-VERSION of 1:1.2.5 won't pass the test unless the installed -+dnl version of libgcrypt is at least 1.2.5 *and* the API number is 1. Using -+dnl this features allows to prevent build against newer versions of libgcrypt -+dnl with a changed API. -+dnl -+AC_DEFUN([AM_PATH_LIBGCRYPT], -+[ AC_ARG_WITH(libgcrypt-prefix, -+AC_HELP_STRING([--with-libgcrypt-prefix=PFX], -+ [prefix where LIBGCRYPT is installed (optional)]), -+ libgcrypt_config_prefix="$withval", libgcrypt_config_prefix="") -+ if test x$libgcrypt_config_prefix != x ; then -+ if test x${LIBGCRYPT_CONFIG+set} != xset ; then -+LIBGCRYPT_CONFIG=$libgcrypt_config_prefix/bin/libgcrypt-config -+ fi -+ fi -+ -+ AC_PATH_TOOL(LIBGCRYPT_CONFIG, libgcrypt-config, no) -+ tmp=ifelse([$1], ,1:1.2.0,$1) -+ if echo "$tmp" | grep ':' >/dev/null 2>/dev/null ; then -+ req_libgcrypt_api=`echo "$tmp" | sed 's/\(.*\):\(.*\)/\1/'` -+ min_libgcrypt_version=`echo "$tmp" | sed 's/\(.*\):\(.*\)/\2/'` -+ else -+ req_libgcrypt_api=0 -+ min_libgcrypt_version="$tmp" -+ fi -+ -+ AC_MSG_CHECKING(for LIBGCRYPT - version >= $min_libgcrypt_version) -+ ok=no -+ if test "$LIBGCRYPT_CONFIG" != "no" ; then -+req_major=`echo $min_libgcrypt_version | \ -+ sed 's/\([[0-9]]*\)\.\([[0-9]]*\)\.\([[0-9]]*\)/\1/'` -+req_minor=`echo $min_libgcrypt_version | \ -+ sed 's/\([[0-9]]*\)\.\([[0-9]]*\)\.\([[0-9]]*\)/\2/'` -+req_micro=`echo $min_libgcrypt_version | \ -+ sed 's/\([[0-9]]*\)\.\([[0-9]]*\)\.\([[0-9]]*\)/\3/'` -+libgcrypt_config_version=`$LIBGCRYPT_CONFIG --version` -+major=`echo $libgcrypt_config_version | \ -+ sed 's/\([[0-9]]*\)\.\([[0-9]]*\)\.\([[0-9]]*\).*/\1/'` -+minor=`echo $libgcrypt_config_version | \ -+ sed 's/\([[0-9]]*\)\.\([[0-9]]*\)\.\([[0-9]]*\).*/\2/'` -+micro=`echo $libgcrypt_config_version | \ -+ sed 's/\([[0-9]]*\)\.\([[0-9]]*\)\.\([[0-9]]*\).*/\3/'` -+if test "$major" -gt "$req_major"; then -+ok=yes -+else -+if test "$major" -eq "$req_major"; then -+if test "$minor" -gt "$req_minor"; then -+ ok=yes -+else -+ if test "$minor" -eq "$req_minor"; then -+ if test "$micro" -ge "$req_micro"; then -+ ok=yes -+ fi -
[gentoo-commits] repo/gentoo:master commit in: dev-libs/ucommon/, dev-libs/ucommon/files/
commit: 2d5affeb067f6f193c0718bc5a9cc8eb8eef44d5 Author: David Seifert gentoo org> AuthorDate: Sat May 8 23:18:57 2021 + Commit: David Seifert gentoo org> CommitDate: Sat May 8 23:18:57 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d5affeb dev-libs/ucommon: Fix building under GCC 11 Closes: https://bugs.gentoo.org/730018 Closes: https://bugs.gentoo.org/787173 Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: David Seifert gentoo.org> 0-c++17-dynamic-exception-specifications.patch | 502 + dev-libs/ucommon/ucommon-7.0.0.ebuild | 55 ++- 2 files changed, 529 insertions(+), 28 deletions(-) diff --git a/dev-libs/ucommon/files/ucommon-7.0.0-c++17-dynamic-exception-specifications.patch b/dev-libs/ucommon/files/ucommon-7.0.0-c++17-dynamic-exception-specifications.patch new file mode 100644 index 000..49e4b782897 --- /dev/null +++ b/dev-libs/ucommon/files/ucommon-7.0.0-c++17-dynamic-exception-specifications.patch @@ -0,0 +1,502 @@ +--- a/commoncpp/exception.cpp b/commoncpp/exception.cpp +@@ -53,14 +53,14 @@ + + namespace ost { + +-Exception::Exception(const String& what_arg) throw(): ++Exception::Exception(const String& what_arg) : + _what(what_arg) + {} + +-Exception::~Exception() throw() ++Exception::~Exception() + {} + +-const char *Exception::what() const throw() ++const char *Exception::what() const noexcept + { + return _what.c_str(); + } +@@ -70,22 +70,22 @@ + return _what.c_str(); + } + +-IOException::IOException(const String &what_arg, long systemError) throw() : ++IOException::IOException(const String &what_arg, long systemError) : + Exception(what_arg), _systemError(systemError), + _systemErrorString(NULL) { + } + +-IOException::~IOException() throw() ++IOException::~IOException() + { + delete [] _systemErrorString; + } + +-long IOException::getSystemError() const throw() ++long IOException::getSystemError() const + { + return _systemError; + } + +-const char* IOException::getSystemErrorString() const throw() ++const char* IOException::getSystemErrorString() const + { + const uint32_t errStrSize = 2048; + if ( !_systemErrorString ) +--- a/commoncpp/persist.cpp b/commoncpp/persist.cpp +@@ -39,7 +39,7 @@ + return _what; + } + +-PersistException::~PersistException() throw() ++PersistException::~PersistException() + { + } + +@@ -114,7 +114,7 @@ + TypeManager::remove(myName.c_str()); + } + +-PersistEngine::PersistEngine(std::iostream& stream, EngineMode mode) throw(PersistException) : ++PersistEngine::PersistEngine(std::iostream& stream, EngineMode mode) : + myUnderlyingStream(stream), myOperationalMode(mode) + { + } +@@ -125,7 +125,7 @@ + myUnderlyingStream.sync(); + } + +-void PersistEngine::writeBinary(const uint8_t* data, const uint32_t size) throw(PersistException) ++void PersistEngine::writeBinary(const uint8_t* data, const uint32_t size) + { + if(myOperationalMode != modeWrite) + throw("Cannot write to an input Engine"); +@@ -133,14 +133,14 @@ + } + + +-void PersistEngine::readBinary(uint8_t* data, uint32_t size) throw(PersistException) ++void PersistEngine::readBinary(uint8_t* data, uint32_t size) + { + if(myOperationalMode != modeRead) + throw("Cannot read from an output Engine"); + myUnderlyingStream.read((char *)data,size); + } + +-void PersistEngine::write(const PersistObject *object) throw(PersistException) ++void PersistEngine::write(const PersistObject *object) + { + // Pre-step, if object is NULL, then don't serialize it - serialize a + // marker to say that it is null. +@@ -181,7 +181,7 @@ + } + } + +-void PersistEngine::read(PersistObject &object) throw(PersistException) ++void PersistEngine::read(PersistObject &object) + { + uint32_t id = 0; + read(id); +@@ -202,7 +202,7 @@ + readObject(&object); + } + +-void PersistEngine::read(PersistObject *&object) throw(PersistException) ++void PersistEngine::read(PersistObject *&object) + { + uint32_t id = 0; + read(id); +@@ -237,7 +237,7 @@ + throw(PersistException(std::string("Unable to instantiate object of class ")+className)); + } + +-void PersistEngine::readObject(PersistObject* object) throw(PersistException) ++void PersistEngine::readObject(PersistObject* object) + { + // Okay then - we can make this object + myArchiveVector.push_back(object); +@@ -251,7 +251,7 @@ + throw( PersistException("Missing End-of-Object marker")); + } + +-const std::string PersistEngine::readClass() throw(PersistException) ++const std::string PersistEngine::readClass() + { + // Okay - read the identifier for the class in... + uint32_t classId = 0; +@@ -269,14 +269,14 @@ + return className; + } + +-void PersistEngine::write(const std::string& str) throw(PersistException) ++void PersistEngine::write(const std::string& str) + { + uint32_t len = (uint32_t)str.length(); + write(len); + writeBinary((uint8_t*)str.c_str(),
[gentoo-commits] repo/gentoo:master commit in: dev-libs/ucommon/, dev-libs/ucommon/files/6.1/, dev-libs/ucommon/files/
commit: 4e548d33fb7ee416a87d971675e8e70dba7b0a44 Author: Marty E. Plummer startmail com> AuthorDate: Mon Apr 9 01:22:56 2018 + Commit: Aaron Bauman gentoo org> CommitDate: Sat Apr 14 00:11:52 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e548d33 dev-libs/ucommon: remove duplicate patch Package-Manager: Portage-2.3.28, Repoman-2.3.9 Closes: https://github.com/gentoo/gentoo/pull/7905 .../ucommon/files/6.1/install_gcrypt.m4_file.patch | 128 - ...ch => ucommon-6.0.3-disable_rtf_gen_doxy.patch} | 4 +- patch => ucommon-6.0.3-gcrypt_autotools.patch} | 3 - ... => ucommon-6.0.3-install_gcrypt.m4_file.patch} | 2 - ...h => ucommon-6.1.10-disable_rtf_gen_doxy.patch} | 4 +- ...patch => ucommon-6.1.10-gcrypt_autotools.patch} | 3 - .../files/ucommon-6.3.1-gcrypt_autotools.patch | 8 +- dev-libs/ucommon/ucommon-6.0.3.ebuild | 10 +- dev-libs/ucommon/ucommon-6.1.10.ebuild | 10 +- dev-libs/ucommon/ucommon-6.3.1.ebuild | 8 +- dev-libs/ucommon/ucommon-6.5.2.ebuild | 4 +- dev-libs/ucommon/ucommon-6.5.7.ebuild | 4 +- 12 files changed, 29 insertions(+), 159 deletions(-) diff --git a/dev-libs/ucommon/files/6.1/install_gcrypt.m4_file.patch b/dev-libs/ucommon/files/6.1/install_gcrypt.m4_file.patch deleted file mode 100644 index 5fb0cc3b878..000 --- a/dev-libs/ucommon/files/6.1/install_gcrypt.m4_file.patch +++ /dev/null @@ -1,128 +0,0 @@ -diff --git a/m4/libgcrypt.m4 b/m4/libgcrypt.m4 -new file mode 100644 /dev/null -+++ m4/libgcrypt.m4 -@@ -0,0 +1,123 @@ -+dnl Autoconf macros for libgcrypt -+dnl Copyright (C) 2002, 2004 Free Software Foundation, Inc. -+dnl -+dnl This file is free software; as a special exception the author gives -+dnl unlimited permission to copy and/or distribute it, with or without -+dnl modifications, as long as this notice is preserved. -+dnl -+dnl This file is distributed in the hope that it will be useful, but -+dnl WITHOUT ANY WARRANTY, to the extent permitted by law; without even the -+dnl implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -+ -+ -+dnl AM_PATH_LIBGCRYPT([MINIMUM-VERSION, -+dnl [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND ]]]) -+dnl Test for libgcrypt and define LIBGCRYPT_CFLAGS and LIBGCRYPT_LIBS. -+dnl MINIMUN-VERSION is a string with the version number optionalliy prefixed -+dnl with the API version to also check the API compatibility. Example: -+dnl a MINIMUN-VERSION of 1:1.2.5 won't pass the test unless the installed -+dnl version of libgcrypt is at least 1.2.5 *and* the API number is 1. Using -+dnl this features allows to prevent build against newer versions of libgcrypt -+dnl with a changed API. -+dnl -+AC_DEFUN([AM_PATH_LIBGCRYPT], -+[ AC_ARG_WITH(libgcrypt-prefix, -+AC_HELP_STRING([--with-libgcrypt-prefix=PFX], -+ [prefix where LIBGCRYPT is installed (optional)]), -+ libgcrypt_config_prefix="$withval", libgcrypt_config_prefix="") -+ if test x$libgcrypt_config_prefix != x ; then -+ if test x${LIBGCRYPT_CONFIG+set} != xset ; then -+LIBGCRYPT_CONFIG=$libgcrypt_config_prefix/bin/libgcrypt-config -+ fi -+ fi -+ -+ AC_PATH_TOOL(LIBGCRYPT_CONFIG, libgcrypt-config, no) -+ tmp=ifelse([$1], ,1:1.2.0,$1) -+ if echo "$tmp" | grep ':' >/dev/null 2>/dev/null ; then -+ req_libgcrypt_api=`echo "$tmp" | sed 's/\(.*\):\(.*\)/\1/'` -+ min_libgcrypt_version=`echo "$tmp" | sed 's/\(.*\):\(.*\)/\2/'` -+ else -+ req_libgcrypt_api=0 -+ min_libgcrypt_version="$tmp" -+ fi -+ -+ AC_MSG_CHECKING(for LIBGCRYPT - version >= $min_libgcrypt_version) -+ ok=no -+ if test "$LIBGCRYPT_CONFIG" != "no" ; then -+req_major=`echo $min_libgcrypt_version | \ -+ sed 's/\([[0-9]]*\)\.\([[0-9]]*\)\.\([[0-9]]*\)/\1/'` -+req_minor=`echo $min_libgcrypt_version | \ -+ sed 's/\([[0-9]]*\)\.\([[0-9]]*\)\.\([[0-9]]*\)/\2/'` -+req_micro=`echo $min_libgcrypt_version | \ -+ sed 's/\([[0-9]]*\)\.\([[0-9]]*\)\.\([[0-9]]*\)/\3/'` -+libgcrypt_config_version=`$LIBGCRYPT_CONFIG --version` -+major=`echo $libgcrypt_config_version | \ -+ sed 's/\([[0-9]]*\)\.\([[0-9]]*\)\.\([[0-9]]*\).*/\1/'` -+minor=`echo $libgcrypt_config_version | \ -+ sed 's/\([[0-9]]*\)\.\([[0-9]]*\)\.\([[0-9]]*\).*/\2/'` -+micro=`echo $libgcrypt_config_version | \ -+ sed 's/\([[0-9]]*\)\.\([[0-9]]*\)\.\([[0-9]]*\).*/\3/'` -+if test "$major" -gt "$req_major"; then -+ok=yes -+else -+if test "$major" -eq "$req_major"; then -+if test "$minor" -gt "$req_minor"; then -+ ok=yes -+else -+ if test "$minor" -eq "$req_minor"; then -+ if test "$micro" -ge "$req_micro"; then -+ ok=yes -+ fi -+ fi -+fi -+