From aff5670de97596db023adf7034c7b2586d258773c5e69a21c569e667ac974bc6 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Wed, 12 Mar 2025 14:21:08 +0000 Subject: [PATCH] cppzmq-devel 4.10.0 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/cppzmq-devel?expand=0&rev=16 --- .gitattributes | 23 +++++++ .gitignore | 1 + cppzmq-4.10.0.tar.gz | 3 + cppzmq-4.8.1.tar.gz | 3 + cppzmq-devel.changes | 145 +++++++++++++++++++++++++++++++++++++++++++ cppzmq-devel.spec | 56 +++++++++++++++++ 6 files changed, 231 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 cppzmq-4.10.0.tar.gz create mode 100644 cppzmq-4.8.1.tar.gz create mode 100644 cppzmq-devel.changes create mode 100644 cppzmq-devel.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/cppzmq-4.10.0.tar.gz b/cppzmq-4.10.0.tar.gz new file mode 100644 index 0000000..ac9911f --- /dev/null +++ b/cppzmq-4.10.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c81c81bba8a7644c84932225f018b5088743a22999c6d82a2b5f5cd1e6942b74 +size 47099 diff --git a/cppzmq-4.8.1.tar.gz b/cppzmq-4.8.1.tar.gz new file mode 100644 index 0000000..86e23b0 --- /dev/null +++ b/cppzmq-4.8.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7a23639a45f3a0049e11a188e29aaedd10b2f4845f0000cf3e22d6774ebde0af +size 46316 diff --git a/cppzmq-devel.changes b/cppzmq-devel.changes new file mode 100644 index 0000000..1725437 --- /dev/null +++ b/cppzmq-devel.changes @@ -0,0 +1,145 @@ +------------------------------------------------------------------- +Sun Mar 9 16:06:47 UTC 2025 - Andreas Stieger + +- update to 4.10.0: + * message_t::rebuild with string argument, like the constructor + * Add DRAFT socket options for libzmq 4.3.2-4 + * Add function for adding file descriptor topoller_t + * Fix noexcept warnings + * Disambiguation from other max functions +- includes changes from 4.9.0: + * Type-safe socket.get(sockopt::type) + * GCC C++14 fix + * Support ZMQ_ONLY_FIRST_SUBSCRIBE + * Add pkg-config file and instructions + * Fix missing include + * Fix monitor test failures + * Improved documentation + +------------------------------------------------------------------- +Mon May 9 15:16:52 UTC 2022 - Christophe Giboudeaux + +- Update to 4.8.1 + * Fix fallback value for ZMQ_DEPRECATED + * Fix MSYS libzmq discovery + * Fix handshake event don't need DRAFT API in libzmq v4.3.0 and above + * Use chrono duration for poll default timeout + * context_t close no longer uses deprecated function + * Fix for potential memory leak in monitor_t::check_event + * Fix conversion warnings + * Deprecate confusing connected() function + * Add all draft socket types up to libzmq 4.3.4 + * Add support for socket_ref to multipart_t ctor/send/recv + * Expose zmq::fd_t + * Add poller_t::size function + +------------------------------------------------------------------- +Wed May 12 13:25:55 UTC 2021 - Frank Kunz + +- Update to version 4.7.1 + * Fixes syntax issues with MSVC + * Add shutdown() for context_t + * Typesafe context options + * Typesafe socket options + * Better C++ standard detection + * CMake fixes and improvements + * Multipart message encoding and decoding + * Fix (unlikely) UB in message_t constructor + * Improved poll() overloads + * Require non-null handlers to active_poller + * Fix socket move assignment bug + * Deprecate surprising message_t constructor from string literals + + +------------------------------------------------------------------- +Sat Apr 25 18:17:32 UTC 2020 - Todd R + +- Update to version 4.6.0 + * New generic algorithms for sending and receiving multipart messages + * New to_string and to_string_view member functions in message_t + * Less surprising behaviour when move assigning socket_t and context_t + * Return types for send and recv moved into zmq namespace + * Checks for 32/64bit-ness in cppzmqConfigVersion.cmake removed + * fixed issues when compiling with C++11 + * fixed and improved cmake build (in and out of source builds, libzmq discovery, fallback to pkg-config and more) + * updated README.md with clear design goals, supported platforms + * official CI support for Linux, MacOS and Windows + * unit tests infrastructure + * test code coverage brought to 77% + * updated code style (more details in .clang-format) + * socket_t: + + added support for draft ZMQ_SERVER and ZMQ_CLIENT sockets + + added support for draft ZMQ_RADIO and ZMQ_DISH sockets + * poller_t: + + poller_t became thin abstraction layer on zmq_poller_* + + functionality with std::function handlers split and moved to a new active_poller_t in zmq_addon.hpp + + simpler and safer implementation + + made non-copyable, but properly movable + + more consistent and robust error handling + + event type part of handler definition + + fixed a segfault issue when modifying poller_t from a handler + + added empty method indicating presence of registered sockets + * context_t: + + added methods for context options: setctxopt(int option_, int optval_) and int getctxopt(int option_) + * message_t: + + easier construction from iterable type e.g. std::string, std::array + + added != and == operators and equals method marked as deprecated + * multipart_t: + + added an operator<<(std::ostream) to easily print out multipart_t content + * monitor_t: + + build error in constructor #135 + + blocked when used without threads #134 + + move constructor was only partly initialized #130 + * socket::send(): improper EHOSTUNREACH handling #125 + * check for zmq_msg_gets did not properly exclude libzmq 4.0.X #114 + * CMake: + + export targets to config (requires CMake 3.0+ now) #118 #121 + + pkg-config fallback for libzmq installs via autotools #133 + * peekstr & peektyp: peek into parts of messages #124 + * allow empty handler parameter in zmq::poller_t::add() #119 #120 + * poller_t class based on new libzmq poller API #111 + +------------------------------------------------------------------- +Thu Jan 12 08:26:42 UTC 2017 - adrian@suse.de + +- adapt for Factory + +------------------------------------------------------------------- +Mon Jun 27 02:52:33 UTC 2016 - opensuse-packaging@opensuse.org + +- Update to version 0.0.0+git.20160406.0db7521: + * Class for multipart messaging + +------------------------------------------------------------------- +Fri Feb 05 21:23:16 UTC 2016 - opensuse-packaging@opensuse.org + +- Update to version 0.0.0+git.20160120.68a7b09: + + Fix backward compatibility + + Fixes assertion error, when destroing ctx while creating a socket + from a different thread: ./src/mutex.hpp:123 + + Extend C++11 guard to cover remaining use of std::vector data(). + + fixed type mismatch warnings (size_t to int) + + Avoid using deprecated function zmq_recvmsg + + Fix usage of zmq_msg_recv and zmq_recvmsg + + Make getsockopt() functions const + + Fix two issues in message_t's range constructor + + Correction to pull request #56 + + Fix warning 4996 in msvc debug build + + New fill constructor for message_t + + Updating zmq_ctx_shutdown to zmq_ctx_ctx which is imported in zmq.h + +------------------------------------------------------------------- +Mon Sep 21 08:06:01 UTC 2015 - mardnh@gmx.de + +- Update to version 0.1.0.git1436168018.a88bf3e: + + Fixes backward compatibility with zmq 3.x + + Problem: zmq_event_t removed in libzmq v4.1 + + Fix a misaligned load + + Add an rvalue overload for socket_t::send + + Fixed some const-correctness issues + +------------------------------------------------------------------- +Tue Nov 26 03:45:11 UTC 2013 - nevion@gmail.com + +-initial creation + diff --git a/cppzmq-devel.spec b/cppzmq-devel.spec new file mode 100644 index 0000000..697ff6d --- /dev/null +++ b/cppzmq-devel.spec @@ -0,0 +1,56 @@ +# +# spec file for package cppzmq-devel +# +# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2015, Martin Hauke +# Copyright (c) 2025 Andreas Stieger +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +Name: cppzmq-devel +Version: 4.10.0 +Release: 0 +Summary: Header-only C++ binding for libzmq +License: MIT +URL: https://github.com/zeromq/cppzmq +Source: https://github.com/zeromq/cppzmq/archive/v%{version}.tar.gz#/cppzmq-%{version}.tar.gz +BuildRequires: c++_compiler +BuildRequires: cmake +BuildRequires: pkgconfig +BuildRequires: pkgconfig(libzmq) + +%description +cppzmq is a header-only C++ binding for libzmq. + +%prep +%autosetup -n cppzmq-%{version} + +%build +%cmake \ + -DCPPZMQ_BUILD_TESTS=OFF \ + -DCPPZMQ_CMAKECONFIG_INSTALL_DIR=%{_libdir}/cmake/cppzmq +%cmake_build + +%install +%cmake_install + +%files +%license LICENSE +%doc README.md +%{_includedir}/zmq.hpp +%{_includedir}/zmq_addon.hpp +%{_libdir}/cmake/cppzmq/ +%{_libdir}/pkgconfig/cppzmq.pc + +%changelog