From b57fc72f117b5989ceca7f968905d132f35e6b7a24d62a3a20bc27ce9c1e8b50 Mon Sep 17 00:00:00 2001 From: Florian Date: Fri, 20 Dec 2024 18:49:22 +0000 Subject: [PATCH] - Update to version 0.1.10: + A standard, nice update + Fixes: - docs: mention timeouts to be > 0 - core: initialize C shape data fully + Other: - Add wiki to readme - only alloc as much as needed when reading in cursor images - Use XDG_DATA_DIRS to query themes - nix: pkg: add missing dep xcur2png - Correction in hotspot coordinates documentation OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/hyprcursor?expand=0&rev=7 --- .gitattributes | 23 ++++++++++ .gitignore | 1 + _service | 17 ++++++++ hyprcursor-0.1.10.tar.xz | 3 ++ hyprcursor-0.1.9.tar.xz | 3 ++ hyprcursor.changes | 75 ++++++++++++++++++++++++++++++++ hyprcursor.spec | 92 ++++++++++++++++++++++++++++++++++++++++ 7 files changed, 214 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 _service create mode 100644 hyprcursor-0.1.10.tar.xz create mode 100644 hyprcursor-0.1.9.tar.xz create mode 100644 hyprcursor.changes create mode 100644 hyprcursor.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/_service b/_service new file mode 100644 index 0000000..7d626a8 --- /dev/null +++ b/_service @@ -0,0 +1,17 @@ + + + + https://github.com/hyprwm/hyprcursor.git + git + @PARENT_TAG@ + v(.*) + @PARENT_TAG@ + enable + + + + *.tar + xz + + + diff --git a/hyprcursor-0.1.10.tar.xz b/hyprcursor-0.1.10.tar.xz new file mode 100644 index 0000000..8c637a8 --- /dev/null +++ b/hyprcursor-0.1.10.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:37a3de959d0f9911538291e442dd35964f56b19c082a9a447404f452f9fa12c6 +size 23092 diff --git a/hyprcursor-0.1.9.tar.xz b/hyprcursor-0.1.9.tar.xz new file mode 100644 index 0000000..26028ca --- /dev/null +++ b/hyprcursor-0.1.9.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d3bfa1007b8a55bfb8b57948c00b8b496020d3ef9b514119f454266e510432ab +size 22628 diff --git a/hyprcursor.changes b/hyprcursor.changes new file mode 100644 index 0000000..6334a07 --- /dev/null +++ b/hyprcursor.changes @@ -0,0 +1,75 @@ +------------------------------------------------------------------- +Fri Dec 20 14:37:57 UTC 2024 - Michal Hrusecky + +- Update to version 0.1.10: + + A standard, nice update + + Fixes: + - docs: mention timeouts to be > 0 + - core: initialize C shape data fully + + Other: + - Add wiki to readme + - only alloc as much as needed when reading in cursor images + - Use XDG_DATA_DIRS to query themes + - nix: pkg: add missing dep xcur2png + - Correction in hotspot coordinates documentation + +------------------------------------------------------------------- +Mon Jun 10 17:39:28 UTC 2024 - Florian "spirit" + +- Update to version 0.1.9: + + A small housekeeping update with a few minor patches. + + Fixes: + - fixed nearest size search for png cursor themes + - Fixed getconf command in build instructions + - add option to not use default fallbacks (env and first + available) + +- Changes from version 0.1.8: + + A minor update with some cleanups + + Fixes: + - util: fixed printing overrides + - Count cursor-less themes as invalid + + Other: + - Add validation for cursor file names and propagate the error + from parsing HL cursor + - Properly report error on zip_close + +------------------------------------------------------------------- +Sat Apr 13 17:27:14 UTC 2024 - Florian "sp1rit" + +- Update to 0.1.7: + + A small patch to fix 0.1.6's accidental toml / theme finding + regressions + + Fixes: + - lib: fixes to toml manifest searching and extensions when + packing + - lib: fixed missing overrides + - lib: fixed manifest reading permission issues + - lib: round hotspots in getShapes + +- Changes from update 0.1.6: + + A small patch to hyprcursor to fix some permission issues and add + a few stuff KDE requested. + (This release is ABI-compatible with 0.1.5) + + New stuff: + - Added user-defined logging + - Added a raw data API + - Added support for .toml wherever .hl is used + + Fixes: + - Fixed up permission issues on themes + +- Changes from update 0.1.5: + + A small update to fix a few minor annoyances. + + New stuff: + - lib: avoid arithmetic on void* + - util: wrap paths in quotes in shell invocations + - lib: accept theme names for lookup + - lib: set size to 0 for svg images + +- Dropped "fix_include_dir_permissions.patch" as the fix has been + included upstream. + +------------------------------------------------------------------- +Sat Mar 16 19:45:21 UTC 2024 - Florian "sp1rit" + +- Initial packaging of verion 0.1.4 diff --git a/hyprcursor.spec b/hyprcursor.spec new file mode 100644 index 0000000..17499ed --- /dev/null +++ b/hyprcursor.spec @@ -0,0 +1,92 @@ +# +# spec file for package hyprcursor +# +# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2024 Florian "sp1rit" +# +# 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/ +# + + +%define sover 0 + +Name: hyprcursor +Version: 0.1.10 +Release: 0 +Summary: Library and utilities for the hyprland cursor format +License: BSD-3-Clause +URL: https://wiki.hyprland.org/hypr-ecosystem/hyprcursor/ +Source0: %{name}-%{version}.tar.xz +BuildRequires: cmake +BuildRequires: fdupes +BuildRequires: gcc-c++ +BuildRequires: pkg-config +BuildRequires: pkgconfig(cairo) +BuildRequires: pkgconfig(hyprlang) >= 0.4.2 +BuildRequires: pkgconfig(librsvg-2.0) +BuildRequires: pkgconfig(libzip) +BuildRequires: pkgconfig(tomlplusplus) >= 3.4.0 + +%description +Utilities for the hyprland cursor format. + +%package -n lib%{name}%{sover} +Summary: Library for the hyprland cursor format +Group: System/Libraries + +%description -n lib%{name}%{sover} +Library for handling the hyprlang cursor format. + +%package devel +Summary: Development files for hyprcursor +Group: Development/Libraries/Other +Requires: lib%{name}%{sover} = %{version} + +%description devel +Library for handling the hyprland cursor format. + +This subpackage contains development files for hyprcursor. + +%prep +%autosetup -p1 + +%build +%cmake +%cmake_build + +%install +%cmake_install +%fdupes %{buildroot}/%{_includedir}/ + +%post -n lib%{name}%{sover} -p /sbin/ldconfig +%postun -n lib%{name}%{sover} -p /sbin/ldconfig + +%files +%license LICENSE +%doc README.md +%doc docs/MAKING_THEMES.md +%{_bindir}/%{name}-util + +%files -n lib%{name}%{sover} +%license LICENSE +%doc docs/END_USERS.md +%{_libdir}/lib%{name}.so.%{sover} +%{_libdir}/lib%{name}.so.%{version} + +%files devel +%doc docs/DEVELOPERS.md +%{_includedir}/%{name} +%{_includedir}/%{name}.hpp +%{_libdir}/lib%{name}.so +%{_libdir}/pkgconfig/%{name}.pc + +%changelog