- 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
This commit is contained in:
Florian 2024-12-20 18:49:22 +00:00 committed by Git OBS Bridge
commit b57fc72f11
7 changed files with 214 additions and 0 deletions

23
.gitattributes vendored Normal file
View 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
View File

@ -0,0 +1 @@
.osc

17
_service Normal file
View File

@ -0,0 +1,17 @@
<!-- vim: set ft=xml ts=4 sw=4 noet: -->
<services>
<service name="obs_scm" mode="manual">
<param name="url">https://github.com/hyprwm/hyprcursor.git</param>
<param name="scm">git</param>
<param name="versionformat">@PARENT_TAG@</param>
<param name="versionrewrite-pattern">v(.*)</param>
<param name="revision">@PARENT_TAG@</param>
<param name="submodule">enable</param>
</service>
<service name="tar" mode="manual" />
<service name="recompress" mode="manual">
<param name="file">*.tar</param>
<param name="compression">xz</param>
</service>
<service name="set_version" mode="manual" />
</services>

3
hyprcursor-0.1.10.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:37a3de959d0f9911538291e442dd35964f56b19c082a9a447404f452f9fa12c6
size 23092

3
hyprcursor-0.1.9.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d3bfa1007b8a55bfb8b57948c00b8b496020d3ef9b514119f454266e510432ab
size 22628

75
hyprcursor.changes Normal file
View File

@ -0,0 +1,75 @@
-------------------------------------------------------------------
Fri Dec 20 14:37:57 UTC 2024 - Michal Hrusecky <michal.hrusecky@opensuse.org>
- 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" <sp1rit@disroot.org>
- 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" <sp1rit@disroot.org>
- 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" <sp1rit@disroot.org>
- Initial packaging of verion 0.1.4

92
hyprcursor.spec Normal file
View File

@ -0,0 +1,92 @@
#
# spec file for package hyprcursor
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2024 Florian "sp1rit" <sp1rit@disroot.org>
#
# 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