SHA256
8
0
forked from pool/sdbus-cpp

28 Commits

Author SHA256 Message Date
2c6f3d5d67 Accepting request 1228539 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/1228539
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sdbus-cpp?expand=0&rev=10
2024-12-05 16:10:24 +00:00
9d9f477cab Fix minor dep issue that was missed in the update
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/sdbus-cpp?expand=0&rev=24
2024-12-05 14:26:20 +00:00
fb9e7c9f6f - Update to version 2.1.0:
* Add SDBUSCPP_REGISTER_STRUCT macro to conveniently teach sdbus-c++ about user-defined structs
  * Extend the SDBUSCPP_REGISTER_STRUCT macro with serialization of user-defined structs as dicts, and deserialization of dicts into user-defined structs
  * Make createPlainMessage() function public
  * Solve the problem of sending large D-Bus messages properly (through the event loop thread)
  * Fix partially renamed BUILD_DOXYGEN_DOC CMake option
  * Change googletest to default version 1.14.0
  * Add version parameter to the xml2cpp codegen tool
  * A few other internal refactorings and improvements
- Changes since version 2.0.0:
  * A new major version with revamped API, bringing numerous new features, simplifications, fixes and breaking changes improving not only API consistency, safety and expressiveness, but also performance
  * Add section 'Migrating to sdbus-c++ v2' to the 'Using sdbus-c++' document providing the complete list of breaking API/ABI/behavior changes and migration notes
  * Switch to C++20 standard (but the API is backwards-compatible with C++17, skipping C++20 features in such a case)
  * Add strong types to public API
  * Add support for string_view as a D-Bus type representation
  * Enable compile-time D-Bus signature generation
  * Redesign Object vtable registration API
  * Improve Proxy signal subscription API
  * Refactor object manager API for consistency
  * Introduce native sd-event integration
  * Let callbacks take message objects by value
  * Simplify async D-Bus connection handling
  * Simplify async call state flag
  * Make Variant constructor explicit
  * Use optional for passing potential call errors
  * Rename and re-organize CMake options
  * Rename connection creation methods
  * Have all async function names finish with *Async for consistency
  * Implement more flexible searching for sd-bus libs
  * Add new `SDBUSCPP_SDBUS_LIB` CMake configuration variable determining which sd-bus library shall be picked
  * Make Variant conversion operator explicit
  * Use sd-bus API to get the current message
  * Use sd_bus_match_signal() for signal registration
  * Provide also const char* overloads for convenience functions
  * Disable move in generated adaptor and proxy classes
  * Improve and make more efficient some Message API
  * Add Slot-returning overloads of async method calls
  * Remove floating_slot_t tag and use return_slot_t instead
  * Add [[nodiscard]] to many relevant API functions
  * Add proper fix for timeout handling
  * Fix for external event loops in which the event loop thread ID was not correctly initialized (now fixed and simplified by not needing the thread ID anymore)
  * Remove deprecated stuff
  * Add `SDBUSCPP_` prefix to CMake configuration variables to avoid conflicts with downstream projects
  * Require systemd of at least v238
  * Many other fixes and updates in code, tests, build system, CI, and documentation
* 
- Update to new version 1.6.0:
  - Add support for enums in D-Bus serialization and signatures
  - Add support for std::variant as an alternative C++ type for D-Bus Variant
  - Add support for implicit conversions between std::variant and sdbus::Variant
  - Fix missing includes
* 
- Update to new version 1.5.0:
  - Improve handling of exceptions from callback handlers
  - Add support for async registration of matches
  - Correctly add libsystemd dependency to pkgconfi
  - Fix request name signal handling issue
  - Add INSTALL_TESTS CMake option
  - Minor UnixFd cleanups
  - Additional little fixes and updates in code, build system, CI, and documentation
* 
- Update to new version 1.4.0:
  - Implement API for convenient asynchronous property get/set on the client-side
  - Add support for FreeBSD systems (including support for basu implementation of sd-bus on non-systemd machines)
  - Add support for direct, peer-to-peer connections
  - Add option to create IConnection directly from an underlying sd_bus instance
  - Some additional CMake-related and code bug fixes
* 
- Update to new version 1.3.0:
  - Add support for light-weight proxies (proxies without own event loop threads)
  - Extend documentation with explicit mapping between D-Bus and corresponding C++ types
  - Support move semantics in generated adaptor and proxy classes
  - Adaptations for libsystemd v251
  - Fix for proper complete sending of long D-Bus messages by explicitly flushing them
  - Add support for std::future-based async calls
  - Fix race condition in async Proxy::callMethod
  - Fix pseudo-connection static lifetime issue with Phoenix pattern
  - Speed up performance of of serialization of arrays of trivial D-Bus types
  - Make sdbus::Struct a tuple-like class, so it's usable wherever std::tuple is
  - Add support for std::array, std::span and std::unordered_map as additional C++ types for D-Bus array types
  - Add support for libelogind as an addition to libsystemd
  - Add support for std::future-based async methods in codegen tool
  - Additional little fixes and improvements in code, build system, CI, and documentation
* 
- Update to new version 1.2.0:
  - Add support for match rules
  - Add support for session bus connection at custom address
  - Add CMake variable for extra libsystemd config options
  - Use pseudo D-Bus connection for plain messages
  - Rename dont_request_slot tag to floating_slot
  - Add validity checks for names and paths
  - Remove executable flag from source files
  - Detect missing type after array declaration
  - Fix invalid assert on event fd
  - Enable move for ObjectPath and Signature
  - Add printer for std::chrono in googletest v1.11.0
  - Fix potential undefined behavior in creation of sdbus::Error
  - Additional little fixes and improvements in code, build system, and documentation
* 
- Update to new version 1.1.0:
  - Fix timeout handling for asynchronous method calls
  - Add support for unregistering signal handler
  - Add support for chrono literals in sdbus-c++-xml2cpp generator
  - Additional little fixes and improvements in code, build system, and documentation
* 
- Update to new version 1.0.0
- Bump package name for new SOVERSION
* 
- Update to new version 0.9.0
- Drop patch merged upstream: 0001-Find-and-link-against-pthread.patch
- Use more wildcards to pick files to package
* 
- Initial packaging of version 0.8.3
- Imported from Fedora https://src.fedoraproject.org/rpms/systemd/blob/rawhide/f/systemd.spec
- Change source tarball name to sdbus-cpp-<version>.tar.gz
- Add 0001-Find-and-link-against-pthread.patch to fix build failure
- Use cmake_build doc, without --target, unsupported on SUSE
- Set CMAKE_INSTALL_DOCDIR to /usr/share/doc/packages/sdbus-c++ to match _docdir
- Explicitly list files in document page, wildcard not supported
- Use SPDX license identifier
- Set Group
- Add ldconfig post/postun
- Change main package name to libsdbus-c++0
- Move cmake files to -devel package
- Move changelog to sdbus-cpp.changes file
- Move AUTHORS/ChangeLog/NEWS/README to -devel package
- Apply changes from 'osc service localrun format_spec_file'
- Remove 'undefine __cmake_in_source_build', not needed
- Fix dependency from -devel/-bin packages to lib package

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/sdbus-cpp?expand=0&rev=23
2024-12-05 14:04:59 +00:00
27d1e3d3fd Accepting request 1170078 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/1170078
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sdbus-cpp?expand=0&rev=9
2024-04-25 18:49:33 +00:00
d118dbeab9 Accepting request 1170077 from home:bluca:branches:devel:libraries:c_c++
* 
- Update to new version 1.5.0:
  - Add support for enums in D-Bus serialization and signatures
  - Add support for std::variant as an alternative C++ type for D-Bus Variant
  - Add support for implicit conversions between std::variant and sdbus::Variant
  - Fix missing includes

OBS-URL: https://build.opensuse.org/request/show/1170077
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/sdbus-cpp?expand=0&rev=21
2024-04-24 20:26:13 +00:00
afcc054437 Accepting request 1151300 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/1151300
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sdbus-cpp?expand=0&rev=8
2024-02-26 18:47:09 +00:00
5cd522738e Accepting request 1151298 from home:bluca:branches:devel:libraries:c_c++
* 
- Update to new version 1.5.0:
  - Improve handling of exceptions from callback handlers
  - Add support for async registration of matches
  - Correctly add libsystemd dependency to pkgconfi
  - Fix request name signal handling issue
  - Add INSTALL_TESTS CMake option
  - Minor UnixFd cleanups
  - Additional little fixes and updates in code, build system, CI, and documentation

OBS-URL: https://build.opensuse.org/request/show/1151298
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/sdbus-cpp?expand=0&rev=19
2024-02-26 12:13:51 +00:00
8dd657929b Accepting request 1116991 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/1116991
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sdbus-cpp?expand=0&rev=7
2023-10-11 21:56:38 +00:00
6ed14b33a6 Accepting request 1116990 from home:bluca:branches:devel:libraries:c_c++
* Update to new version 1.4.0:
  - Implement API for convenient asynchronous property get/set on the client-side
  - Add support for FreeBSD systems (including support for basu implementation of sd-bus on non-systemd machines)
  - Add support for direct, peer-to-peer connections
  - Add option to create IConnection directly from an underlying sd_bus instance
  - Some additional CMake-related and code bug fixes

OBS-URL: https://build.opensuse.org/request/show/1116990
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/sdbus-cpp?expand=0&rev=17
2023-10-11 12:46:21 +00:00
bd6e71a56e Accepting request 1106088 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/1106088
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sdbus-cpp?expand=0&rev=6
2023-08-28 15:14:59 +00:00
99d375e536 Accepting request 1106087 from home:bluca:branches:devel:libraries:c_c++
* Update to new version 1.3.0:
  - Add support for light-weight proxies (proxies without own event loop threads)
  - Extend documentation with explicit mapping between D-Bus and corresponding C++ types
  - Support move semantics in generated adaptor and proxy classes
  - Adaptations for libsystemd v251
  - Fix for proper complete sending of long D-Bus messages by explicitly flushing them
  - Add support for std::future-based async calls
  - Fix race condition in async Proxy::callMethod
  - Fix pseudo-connection static lifetime issue with Phoenix pattern
  - Speed up performance of of serialization of arrays of trivial D-Bus types
  - Make sdbus::Struct a tuple-like class, so it's usable wherever std::tuple is
  - Add support for std::array, std::span and std::unordered_map as additional C++ types for D-Bus array types
  - Add support for libelogind as an addition to libsystemd
  - Add support for std::future-based async methods in codegen tool
  - Additional little fixes and improvements in code, build system, CI, and documentation

OBS-URL: https://build.opensuse.org/request/show/1106087
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/sdbus-cpp?expand=0&rev=15
2023-08-26 22:04:27 +00:00
366f39d10f Accepting request 994102 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/994102
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sdbus-cpp?expand=0&rev=5
2022-08-09 13:29:12 +00:00
6bf7c5eb41 Accepting request 994101 from home:bluca:branches:devel:libraries:c_c++
* 
- Update to new version 1.2.0:
  - Add support for match rules
  - Add support for session bus connection at custom address
  - Add CMake variable for extra libsystemd config options
  - Use pseudo D-Bus connection for plain messages
  - Rename dont_request_slot tag to floating_slot
  - Add validity checks for names and paths
  - Remove executable flag from source files
  - Detect missing type after array declaration
  - Fix invalid assert on event fd
  - Enable move for ObjectPath and Signature
  - Add printer for std::chrono in googletest v1.11.0
  - Fix potential undefined behavior in creation of sdbus::Error
  - Additional little fixes and improvements in code, build system, and documentation

OBS-URL: https://build.opensuse.org/request/show/994101
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/sdbus-cpp?expand=0&rev=13
2022-08-09 10:06:22 +00:00
7efaded344 Accepting request 942130 from devel:libraries:c_c++
* 
- Update to new version 1.1.0:
  - Fix timeout handling for asynchronous method calls
  - Add support for unregistering signal handler
  - Add support for chrono literals in sdbus-c++-xml2cpp generator
  - Additional little fixes and improvements in code, build system, and documentation

OBS-URL: https://build.opensuse.org/request/show/942130
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sdbus-cpp?expand=0&rev=4
2021-12-22 19:18:18 +00:00
9b67017f64 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/sdbus-cpp?expand=0&rev=12 2021-12-22 14:44:52 +00:00
28278f9f1a Accepting request 942125 from home:bluca:branches:devel:libraries:c_c++
* 
- Update to new version 1.1.0

OBS-URL: https://build.opensuse.org/request/show/942125
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/sdbus-cpp?expand=0&rev=11
2021-12-22 14:27:27 +00:00
d4ef59fbde Accepting request 927756 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/927756
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sdbus-cpp?expand=0&rev=3
2021-10-29 20:33:32 +00:00
24333ab5ba Accepting request 927753 from home:bluca:branches:devel:libraries:c_c++
Use %license to pick the COPYING file and automatically use a binary-package-name specific installation directory, avoiding conflicts when the library package is renamed due to ABI changes. Also install the license in the other binary packages too.

OBS-URL: https://build.opensuse.org/request/show/927753
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/sdbus-cpp?expand=0&rev=10
2021-10-27 11:26:33 +00:00
cf4d989107 Accepting request 927316 from home:bluca:branches:devel:libraries:c_c++
- Update to new version 1.0.0
- Bump package name for new SOVERSION

OBS-URL: https://build.opensuse.org/request/show/927316
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/sdbus-cpp?expand=0&rev=9
2021-10-26 09:51:48 +00:00
b92427b4d6 Accepting request 926981 from devel:libraries:c_c++
- Update to new version 0.9.0
- Drop patch merged upstream: 0001-Find-and-link-against-pthread.patch
- Use more wildcards to pick files to package

OBS-URL: https://build.opensuse.org/request/show/926981
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sdbus-cpp?expand=0&rev=2
2021-10-22 22:51:40 +00:00
de6ab10f20 Note patch being dropped as merged upstream in changelog
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/sdbus-cpp?expand=0&rev=8
2021-10-22 13:05:15 +00:00
6c184a7e9a Accepting request 926805 from home:bluca:branches:devel:libraries:c_c++
- Update to new version 0.9.0
- Use more wildcards to pick files to package

OBS-URL: https://build.opensuse.org/request/show/926805
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/sdbus-cpp?expand=0&rev=7
2021-10-22 12:59:22 +00:00
7caaaa1397 Accepting request 884894 from devel:libraries:c_c++
Apply changes from Factory review:
- Apply changes from 'osc service localrun format_spec_file'
- Remove 'undefine __cmake_in_source_build', not needed
- Refactor ldconfig hook
- Remove $dist from revision
- Fixed dependency from -devel/-bin to lib

--

I would like to request the inclusion of the sdbus-cpp library in SUSE distros. It's a C++ high-level API abstraction on top of the sd-bus library from libsystemd.

It is already available in Fedora 32/32/34:

https://src.fedoraproject.org/rpms/sdbus-cpp

Debian 10 (backports) and 11:

https://tracker.debian.org/pkg/sdbus-cpp

Ubuntu 21.04:

https://launchpad.net/ubuntu/+source/sdbus-cpp

(a backport for Ubuntu 20.04 has also been requested)

The spec file was imported from Fedora and adapted for SUSE.

OBS-URL: https://build.opensuse.org/request/show/884894
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sdbus-cpp?expand=0&rev=1
2021-04-14 08:10:18 +00:00
75f8bde8b0 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/sdbus-cpp?expand=0&rev=5 2021-04-13 09:01:38 +00:00
20e04d807f OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/sdbus-cpp?expand=0&rev=4 2021-04-13 09:01:12 +00:00
d01414dde7 Accepting request 882888 from home:bluca:branches:devel:libraries:c_c++
Remove dist from revision, refactor ldconfig hook

OBS-URL: https://build.opensuse.org/request/show/882888
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/sdbus-cpp?expand=0&rev=3
2021-04-04 09:48:00 +00:00
ff18a66e19 Accepting request 882835 from home:bluca:branches:devel:libraries:c_c++
* Apply changes from Factory review:
- Apply changes from 'osc service localrun format_spec_file'
- Remove 'undefine __cmake_in_source_build', not needed

OBS-URL: https://build.opensuse.org/request/show/882835
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/sdbus-cpp?expand=0&rev=2
2021-04-03 17:44:55 +00:00
251bcc5939 Accepting request 882630 from home:bluca:sdbus-cpp
I would like to request the inclusion of the sdbus-cpp library in SUSE distros. It's a C++ high-level API abstraction on top of the sd-bus library from libsystemd.

It is already available in Fedora 32/32/34:

https://src.fedoraproject.org/rpms/sdbus-cpp

Debian 10 (backports) and 11:

https://tracker.debian.org/pkg/sdbus-cpp

Ubuntu 21.04:

https://launchpad.net/ubuntu/+source/sdbus-cpp

(a backport for Ubuntu 20.04 has also been requested)

The spec file was imported from Fedora and adapted for SUSE.

OBS-URL: https://build.opensuse.org/request/show/882630
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/sdbus-cpp?expand=0&rev=1
2021-04-03 13:30:11 +00:00