- added patches
fix https://github.com/arximboldi/zug/issues/45 + zug-gcc15.patch OBS-URL: https://build.opensuse.org/package/show/KDE:Extra/zug?expand=0&rev=6
This commit is contained in:
commit
0148ce5416
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -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
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
3
zug-0.1.1.tar.gz
Normal file
3
zug-0.1.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:1b9c8f962e40baa6f0c6af35f957444850063d550078a3ebd0227727b8ef193c
|
||||
size 102857
|
13
zug-gcc15.patch
Normal file
13
zug-gcc15.patch
Normal file
@ -0,0 +1,13 @@
|
||||
Index: zug-0.1.1/zug/sequence.hpp
|
||||
===================================================================
|
||||
--- zug-0.1.1.orig/zug/sequence.hpp
|
||||
+++ zug-0.1.1/zug/sequence.hpp
|
||||
@@ -72,7 +72,7 @@ struct sequence_data
|
||||
|
||||
sequence_data& operator=(sequence_data&& other)
|
||||
{
|
||||
- impl_ = std::move(other.impl);
|
||||
+ impl_ = std::move(other.impl_);
|
||||
impl_.reductor.current(this);
|
||||
}
|
||||
|
25
zug.changes
Normal file
25
zug.changes
Normal file
@ -0,0 +1,25 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 12 10:18:34 UTC 2025 - pgajdos@suse.com
|
||||
|
||||
- added patches
|
||||
fix https://github.com/arximboldi/zug/issues/45
|
||||
+ zug-gcc15.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 24 07:20:34 UTC 2023 - Christophe Marin <christophe@krop.fr>
|
||||
|
||||
- Update to 0.1.1:
|
||||
* Fix license in nix build file
|
||||
- Drop patch, merged upstream:
|
||||
* 0001-Drop-unused-copy-of-Catch2.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 10 09:29:50 UTC 2023 - Christophe Marin <christophe@krop.fr>
|
||||
|
||||
- Add patch:
|
||||
* 0001-Drop-unused-copy-of-Catch2.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 28 08:16:59 UTC 2023 - Christophe Marin <christophe@krop.fr>
|
||||
|
||||
- Init immer, a new build dependency for krita.
|
73
zug.spec
Normal file
73
zug.spec
Normal file
@ -0,0 +1,73 @@
|
||||
#
|
||||
# spec file for package zug
|
||||
#
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
#
|
||||
# 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: zug
|
||||
Version: 0.1.1
|
||||
Release: 0
|
||||
Summary: Transducers for C++
|
||||
License: BSL-1.0
|
||||
URL: https://sinusoid.es/zug/
|
||||
Source0: https://github.com/arximboldi/zug/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||
# https://github.com/arximboldi/zug/issues/45
|
||||
Patch0: zug-gcc15.patch
|
||||
BuildRequires: boost-devel
|
||||
BuildRequires: cmake
|
||||
BuildRequires: gcc-c++
|
||||
# includes catch2/catch.hpp
|
||||
BuildRequires: cmake(Catch2) < 3.0
|
||||
|
||||
%description
|
||||
zug is a C++ library providing transducers. Transducers are composable
|
||||
sequential transformations independent of the source. They can be used to
|
||||
express algorithms over pull-based sequences (iterators, files) but also push
|
||||
based sequences (signals, events, asynchronous streams) in a generic way.
|
||||
|
||||
%package devel
|
||||
Summary: Transducers for C++
|
||||
|
||||
%description devel
|
||||
zug is a C++ library providing transducers. Transducers are composable
|
||||
sequential transformations independent of the source. They can be used to
|
||||
express algorithms over pull-based sequences (iterators, files) but also push
|
||||
based sequences (signals, events, asynchronous streams) in a generic way.
|
||||
|
||||
%prep
|
||||
%autosetup -p1
|
||||
|
||||
sed -i 's#lib/cmake/Zug#%{_lib}/cmake/Zug#' CMakeLists.txt
|
||||
|
||||
%build
|
||||
%cmake -Dzug_BUILD_EXAMPLES=FALSE \
|
||||
-Dzug_BUILD_DOCS:BOOL=FALSE
|
||||
|
||||
%cmake_build
|
||||
|
||||
%install
|
||||
%cmake_install
|
||||
|
||||
%check
|
||||
# %%ctest won't work
|
||||
%{__cmake} --build %{__builddir} %{?_smp_mflags} -t check
|
||||
|
||||
%files devel
|
||||
%license LICENSE
|
||||
%doc README.rst
|
||||
%{_includedir}/zug/
|
||||
%{_libdir}/cmake/Zug/
|
||||
|
||||
%changelog
|
Loading…
x
Reference in New Issue
Block a user