Compare commits

...

37 Commits

Author SHA1 Message Date
alan (NyxTrail) 4757569f6c
Update standards version to 4.7.2 2025-03-02 08:10:10 +00:00
alan (NyxTrail) ad66fda5c3
Update to new upstream version 0.1.11 2025-03-02 08:08:29 +00:00
alan (NyxTrail) dbcac775d6 Update upstream source from tag 'upstream/0.1.11'
Update to upstream version '0.1.11'
with Debian dir 41bb6b8f6b
2025-03-02 08:05:46 +00:00
alan (NyxTrail) 33e533a0a8
Remove unneeded ${shlibs:Depends} from dev pkg 2024-06-19 09:59:30 +00:00
alan (NyxTrail) 6d8ae6baa6
Add missing dependency of libhyprlang 2024-06-18 04:52:31 +00:00
alan (NyxTrail) cec96340ad
Update to new upstream version 0.1.9 2024-06-13 07:00:49 +00:00
alan (NyxTrail) 230ab7ac15 Update upstream source from tag 'upstream/0.1.9'
Update to upstream version '0.1.9'
with Debian dir a81749f439
2024-06-13 06:59:57 +00:00
alan (NyxTrail) 5378c4097b
Add VCS fields to d/control 2024-04-16 17:35:18 +00:00
alan (NyxTrail) 997cf93def
Update distribution to unstable 2024-04-16 17:33:00 +00:00
alan (NyxTrail) e428bccbeb
Fix package name 2024-04-15 16:31:08 +00:00
alan (NyxTrail) 1c937264dc
Add all dependencies 2024-04-15 07:25:01 +00:00
alan (NyxTrail) f28fc1a061
Add new dependency: libtomlplusplus 2024-04-14 18:19:04 +00:00
alan (NyxTrail) a367b6fd7c
Update to latest release 2024-04-14 17:56:38 +00:00
alan (NyxTrail) 86a26f2785 Update upstream source from tag 'upstream/0.1.7'
Update to upstream version '0.1.7'
with Debian dir f4b42a45e9
2024-04-14 17:55:27 +00:00
alan (NyxTrail) 2ec2597a7f
Add a man page for hyprcursor-util 2024-03-29 07:31:47 +00:00
alan (NyxTrail) 36203f85b3
Remove unneeded debian/patches 2024-03-26 17:32:15 +00:00
alan (NyxTrail) 3873a2b1fe
Add copyright info for debian/* files 2024-03-26 17:31:06 +00:00
alan (NyxTrail) 175a85f086
Fix dependencies 2024-03-25 19:55:14 +00:00
alan (NyxTrail) 427d963ca9
Remove unused tests 2024-03-25 19:49:42 +00:00
alan (NyxTrail) 6a1194dc9b
Update to new upstream version 2024-03-25 19:22:09 +00:00
alan (NyxTrail) 5f4833cd64 Update upstream source from tag 'upstream/0.1.5'
Update to upstream version '0.1.5'
with Debian dir 2b2db4aeb9
2024-03-25 19:18:26 +00:00
alan (NyxTrail) 2368ab4f9c
Add uscan rules to watch file 2024-03-25 19:07:52 +00:00
alan (NyxTrail) 8e02e89da5
Update to newest standards version 2024-03-25 18:55:26 +00:00
alan (NyxTrail) b0ffd898bd
Add upstream/metadata 2024-03-25 18:54:10 +00:00
alan (NyxTrail) 00e9e00b4d
Enable hardening flags 2024-03-25 18:47:52 +00:00
alan (NyxTrail) 3f389281bf
More detailed description 2024-03-25 18:43:51 +00:00
alan (NyxTrail) a0e22dcef3
Correct section for libs 2024-03-25 18:39:07 +00:00
alan (NyxTrail) f5ada6ba8f
Add another package for hyprcursor-util 2024-03-25 18:30:02 +00:00
alan (NyxTrail) 7a87eb0532
Add separate package for dev files 2024-03-25 18:21:56 +00:00
alan (NyxTrail) 446ffb5654
Update package name to reflect library version
- Also update package description
2024-03-25 18:06:52 +00:00
alan (NyxTrail) cce5613c0c
Update debian/watch version 2024-03-25 18:04:37 +00:00
alan (NyxTrail) d8a5e63148
Remove unused README 2024-03-25 18:04:21 +00:00
alan (NyxTrail) 71ce2fcc56
Simplify copyright file, fill in required fields 2024-03-25 18:03:56 +00:00
alan (NyxTrail) 7b529570c3
Update section, homepage and description in control file 2024-03-25 17:54:16 +00:00
alan (NyxTrail) b6cf42b17e
Add ITP bug number to changelog 2024-03-25 17:53:19 +00:00
alan (NyxTrail) c1cb3a2ac7
Simplify debian/rules
- Remove un-needed targets
- Skip dh_auto_test
  The tests succeed only if a valid hyprland cursor theme is installed.
2024-03-18 18:48:41 +00:00
alan (NyxTrail) b735670375
Initial debian/ files 2024-03-18 16:53:08 +00:00
16 changed files with 226 additions and 0 deletions

11
debian/changelog vendored Normal file
View File

@ -0,0 +1,11 @@
libhyprcursor (0.1.11-1) unstable; urgency=medium
* New upstream version 0.1.11
-- Alan M Varghese (NyxTrail) <alan@digistorm.in> Sun, 02 Mar 2025 08:05:54 +0000
libhyprcursor (0.1.9-1) unstable; urgency=low
* Initial release. Closes: #1067116
-- Alan M Varghese (NyxTrail) <alan@digistorm.in> Mon, 18 Mar 2024 16:41:48 +0000

50
debian/control vendored Normal file
View File

@ -0,0 +1,50 @@
Source: libhyprcursor
Section: x11
Priority: optional
Maintainer: Alan M Varghese (NyxTrail) <alan@digistorm.in>
Build-Depends: cmake,
debhelper-compat (= 13),
libcairo2-dev,
libhyprlang-dev (>= 0.4.2),
librsvg2-dev,
libtomlplusplus-dev,
libzip-dev,
pandoc,
pkgconf
Standards-Version: 4.7.2
Homepage: https://github.com/hyprwm/hyprcursor
Rules-Requires-Root: no
Vcs-Git: https://salsa.debian.org/NyxTrail/hyprcursor.git
Vcs-Browser: https://salsa.debian.org/NyxTrail/hyprcursor
Package: hyprcursor-util
Architecture: any
Depends: ${misc:Depends}, ${shlibs:Depends}
Description: Utility to manipulate hyprcusor and xcursor themes
hyprcursor is the cursor format, and associated files and utilities
for Hyprland.
.
This package contains hyprcursor-util; a binary to compile, pack,
unpack etc the hyprcursor and xcursor themes.
Package: libhyprcursor0
Section: libs
Architecture: any
Depends: ${misc:Depends}, ${shlibs:Depends}
Description: hyprland cursor format, library and utilities
hyprcursor is the cursor format, and associated files and utilities
for Hyprland.
.
This package contains hyprcursor; a cursor format, library and
utilities for Hyprland.
Package: libhyprcursor-dev
Section: libdevel
Architecture: any
Depends: ${misc:Depends},
libhyprcursor0 (= ${binary:Version})
Description: hyprland cursor format, library and utilities (headers)
hyprcursor is the cursor format, and associated files and utilities
for Hyprland.
.
This package contains the header files for hyprcursor.

38
debian/copyright vendored Normal file
View File

@ -0,0 +1,38 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: hyprcursor
Upstream-Contact: https://github.com/hyprwm/hyprcursor/issues
Source: https://github.com/hyprwm/hyprcursor
Files: *
Copyright: 2024, Hypr Development
License: BSD-3-Clause
Files: debian/*
Copyright: 2024, Alan M Varghese <alan@digistorm.in>
License: BSD-3-Clause
License: BSD-3-Clause
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
.
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
.
2. Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
.
3. Neither the name of the copyright holder nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.
.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

51
debian/hyprcursor-util.1.rst vendored Normal file
View File

@ -0,0 +1,51 @@
:title: hyprcursor-util
NAME
====
hyprcursor-util - A utility to compile, pack, unpack, etc. hyprcursor and xcursor themes
SYNOPSIS
========
**hyprcursor-util** -c <path> [-o <dir>]
**hyprcursor-util** -x <path> [-o <dir>] [--resize [mode]]
OPTIONS
=======
**-c <path>, --create <path>**
Create a compiled hyprcursor theme from a working state
**-x <path>, --extract <path>**
Extract an xcursor theme into a working state. This option uses the
external program **xcur2png(1)** for converting xcursor theme files to
a format required by hyprcursor.
**-o <path-to-dir>, --output <path-to-dir>**
Both **--create** and **--extract** supports the **-output** option to
specify an output directory. For safety reasons, **do not use this on
versions below 0.1.1** as it will nuke the specified directory without
asking.
Since v0.1.2, this directory is the parent, the theme will be written to
a subdirectory in it called **ACTION_NAME**.
**--resize [mode]**
For use with **--extract** option. Specify a default resize algorithm for
shapes. Default is **none**.
**-v, --version**
Print info about the version of hyprcursor-util.
DESCRIPTION
===========
Cursor themes can be in 3 states:
* **compiled hyprcursor** - these can be used by apps / compositors
* **compiled xcursor** - these can be used by xcursor
* **working state** - an easy to navigate mode where every cursor is a png/svg,
and all the meta is in files
AUTHORS
=======
This man page is written for the Debian GNU/Linux system by Alan M Varghese.
The information in this page is collected from the official README file
included with hyprcursor-util source files.

1
debian/hyprcursor-util.install vendored Normal file
View File

@ -0,0 +1 @@
usr/bin/hyprcursor-util

1
debian/hyprcursor-util.manpages vendored Normal file
View File

@ -0,0 +1 @@
usr/share/doc/hyprcursor-util/hyprcursor-util.1

3
debian/libhyprcursor-dev.install vendored Normal file
View File

@ -0,0 +1,3 @@
usr/include
usr/lib/*/libhyprcursor.so
usr/lib/*/pkgconfig

1
debian/libhyprcursor0.install vendored Normal file
View File

@ -0,0 +1 @@
usr/lib/*/libhyprcursor.so.*

21
debian/rules vendored Executable file
View File

@ -0,0 +1,21 @@
#!/usr/bin/make -f
export DH_VERBOSE = 1
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic
export DEB_LDFLAGS_MAINT_APPEND = -Wl,-O1
%:
dh $@
override_dh_auto_test:
:
override_dh_auto_install:
dh_auto_install
mkdir -p debian/tmp/usr/share/doc/hyprcursor-util
pandoc debian/hyprcursor-util.1.rst --standalone \
--variable=header:"hyprcursor-util User Manual" \
--variable=section:1 \
--from rst \
--to man > debian/tmp/usr/share/doc/hyprcursor-util/hyprcursor-util.1

10
debian/salsa-ci.yml vendored Normal file
View File

@ -0,0 +1,10 @@
# For more information on what jobs are run see:
# https://salsa.debian.org/salsa-ci-team/pipeline
#
# To enable the jobs, go to your repository (at salsa.debian.org)
# and click over Settings > CI/CD > Expand (in General pipelines).
# In "CI/CD configuration file" write debian/salsa-ci.yml and click
# in "Save Changes". The CI tests will run after the next commit.
---
include:
- https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/recipes/debian.yml

1
debian/source/format vendored Normal file
View File

@ -0,0 +1 @@
3.0 (quilt)

4
debian/source/local-options vendored Normal file
View File

@ -0,0 +1,4 @@
#
# ### gbp-buildpackage(1) user may like this. ###
#abort-on-upstream-changes
#unapply-patches

4
debian/source/options vendored Normal file
View File

@ -0,0 +1,4 @@
#
# ### dgit-maint-merge(7) workflow user need this ###
# single-debian-patch
# auto-commit

22
debian/source/patch-header vendored Normal file
View File

@ -0,0 +1,22 @@
The automatically generated patch puts this free form text on top of it.
If you are using gbp-buildpackage(1), you probably don't need this file.
If you are using dgit-maint-merge(7), please consider text as follows.
The Debian packaging of foo is maintained in git, using the merging workflow
described in dgit-maint-merge(7). There isn't a patch queue that can be
represented as a quilt series.
A detailed breakdown of the changes is available from their canonical
representation - git commits in the packaging repository. For example, to see
the changes made by the Debian maintainer in the first upload of upstream
version 1.2.3, you could use:
% git clone https://git.dgit.debian.org/foo
% cd foo
% git log --oneline 1.2.3..debian/1.2.3-1 -- . ':!debian'
(If you have dgit, use `dgit clone foo`, rather than plain `git clone`.)
A single combined diff, containing all the changes, follows.

4
debian/upstream/metadata vendored Normal file
View File

@ -0,0 +1,4 @@
Bug-Database: https://github.com/hyprwm/hyprcursor/issues
Bug-Submit: https://github.com/hyprwm/hyprcursor/issues/new
Repository: https://github.com/hyprwm/hyprcursor
Repository-Browse: https://github.com/hyprwm/hyprcursor

4
debian/watch vendored Normal file
View File

@ -0,0 +1,4 @@
version=4
opts="searchmode=html" \
https://github.com/hyprwm/hyprcursor/tags \
https://github.com/hyprwm/hyprcursor/archive/refs/tags/v(\d+.\d+.\d+)\.tar\.gz