From b7356703750e84592380e5ee7f19659184dc3acb Mon Sep 17 00:00:00 2001 From: "alan (NyxTrail)" Date: Mon, 18 Mar 2024 16:53:08 +0000 Subject: [PATCH] Initial debian/ files --- debian/README.Debian | 8 +++++ debian/changelog | 6 ++++ debian/control | 18 ++++++++++ debian/copyright | 70 +++++++++++++++++++++++++++++++++++++ debian/patches/series | 1 + debian/rules | 23 ++++++++++++ debian/salsa-ci.yml | 10 ++++++ debian/source/format | 1 + debian/source/local-options | 4 +++ debian/source/options | 4 +++ debian/source/patch-header | 22 ++++++++++++ debian/tests/control | 9 +++++ debian/upstream/metadata | 16 +++++++++ debian/watch | 2 ++ 14 files changed, 194 insertions(+) create mode 100644 debian/README.Debian create mode 100644 debian/changelog create mode 100644 debian/control create mode 100644 debian/copyright create mode 100644 debian/patches/series create mode 100755 debian/rules create mode 100644 debian/salsa-ci.yml create mode 100644 debian/source/format create mode 100644 debian/source/local-options create mode 100644 debian/source/options create mode 100644 debian/source/patch-header create mode 100644 debian/tests/control create mode 100644 debian/upstream/metadata create mode 100644 debian/watch diff --git a/debian/README.Debian b/debian/README.Debian new file mode 100644 index 0000000..172a5c5 --- /dev/null +++ b/debian/README.Debian @@ -0,0 +1,8 @@ +hyprcursor for Debian + +Please edit this to provide information specific to +this hyprcursor Debian package. + + (Automatically generated by debmake Version 4.4.0) + + -- Alan M Varghese (NyxTrail) Mon, 18 Mar 2024 16:41:48 +0000 diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..23b5e8f --- /dev/null +++ b/debian/changelog @@ -0,0 +1,6 @@ +hyprcursor (0.1.4-1) UNRELEASED; urgency=low + + * Initial release. Closes: #nnnn + + + -- Alan M Varghese (NyxTrail) Mon, 18 Mar 2024 16:41:48 +0000 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..f28f77a --- /dev/null +++ b/debian/control @@ -0,0 +1,18 @@ +Source: hyprcursor +Section: unknown +Priority: optional +Maintainer: Alan M Varghese (NyxTrail) +Build-Depends: cmake, debhelper-compat (= 13) +Standards-Version: 4.6.1 +Homepage: +Rules-Requires-Root: no +#Vcs-Git: https://salsa.debian.org/debian/hyprcursor.git +#Vcs-Browser: https://salsa.debian.org/debian/hyprcursor + +Package: hyprcursor +Architecture: any +Multi-Arch: foreign +Depends: ${misc:Depends}, ${shlibs:Depends} +Description: auto-generated package by debmake + This Debian binary package was auto-generated by the + debmake(1) command provided by the debmake package. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..f3cfa6a --- /dev/null +++ b/debian/copyright @@ -0,0 +1,70 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: hyprcursor +Upstream-Contact: +Source: +# +# Please double check copyright with the licensecheck(1) command. + +Files: .clang-format + .github/workflows/ci.yaml + .gitignore + CMakeLists.txt + README.md + docs/DEVELOPERS.md + docs/END_USERS.md + docs/MAKING_THEMES.md + flake.lock + flake.nix + hyprcursor-util/CMakeLists.txt + hyprcursor-util/README.md + hyprcursor-util/src/main.cpp + hyprcursor.pc.in + include/hyprcursor/hyprcursor.h + include/hyprcursor/hyprcursor.hpp + include/hyprcursor/shared.h + libhyprcursor/Log.hpp + libhyprcursor/hyprcursor.cpp + libhyprcursor/hyprcursor_c.cpp + libhyprcursor/internalDefines.hpp + libhyprcursor/internalSharedTypes.hpp + nix/default.nix + nix/overlays.nix + tests/test.c + tests/test.cpp +Copyright: __NO_COPYRIGHT_NOR_LICENSE__ +License: __NO_COPYRIGHT_NOR_LICENSE__ + +#---------------------------------------------------------------------------- +# Files marked as NO_LICENSE_TEXT_FOUND may be covered by the following +# license/copyright files. + +#---------------------------------------------------------------------------- +# License file: LICENSE + BSD 3-Clause License + . + Copyright (c) 2024, Hypr Development + . + 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. diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..4a97dfa --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +# You must remove unused comment lines for the released package. diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..e36cfee --- /dev/null +++ b/debian/rules @@ -0,0 +1,23 @@ +#!/usr/bin/make -f +# You must remove unused comment lines for the released package. +#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_configure: + cmake --no-warn-unused-cli -DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_INSTALL_PREFIX:PATH=/usr -S . -B ./build + +override_dh_auto_build: + cmake --build ./build --config Release --target all -j`nproc 2>/dev/null || getconf NPROCESSORS_CONF` + +override_dh_auto_clean: + rm -rf build/ + dh_clean + +#override_dh_auto_configure: +# dh_auto_configure -- \ +# -DCMAKE_LIBRARY_ARCHITECTURE="$(DEB_TARGET_MULTIARCH)" diff --git a/debian/salsa-ci.yml b/debian/salsa-ci.yml new file mode 100644 index 0000000..11a64c6 --- /dev/null +++ b/debian/salsa-ci.yml @@ -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 diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/debian/source/local-options b/debian/source/local-options new file mode 100644 index 0000000..77effbe --- /dev/null +++ b/debian/source/local-options @@ -0,0 +1,4 @@ +# +# ### gbp-buildpackage(1) user may like this. ### +#abort-on-upstream-changes +#unapply-patches diff --git a/debian/source/options b/debian/source/options new file mode 100644 index 0000000..077de7d --- /dev/null +++ b/debian/source/options @@ -0,0 +1,4 @@ +# +# ### dgit-maint-merge(7) workflow user need this ### +# single-debian-patch +# auto-commit diff --git a/debian/source/patch-header b/debian/source/patch-header new file mode 100644 index 0000000..6ff0a40 --- /dev/null +++ b/debian/source/patch-header @@ -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. diff --git a/debian/tests/control b/debian/tests/control new file mode 100644 index 0000000..f61fd44 --- /dev/null +++ b/debian/tests/control @@ -0,0 +1,9 @@ +# +# DEP-8: autopkgtest - automatic as-installed package testing +# Please check * https://dep-team.pages.debian.net/deps/dep8/ +# * /usr/share/doc/autopkgtest +# +# !!! Please make sure to edit this to a valid test, otherwise build will fails +# +#Tests: testcode.sh +#Restrictions: allow-stderr, breaks-testbed, needs-internet, needs-root diff --git a/debian/upstream/metadata b/debian/upstream/metadata new file mode 100644 index 0000000..dc2feb0 --- /dev/null +++ b/debian/upstream/metadata @@ -0,0 +1,16 @@ +# +# DEP-12: Per-package machine-readable metadata about Upstream +# Please check * https://dep-team.pages.debian.net/deps/dep12/ +# * https://wiki.debian.org/UpstreamMetadata +Reference: + Author: + Title: + Journal: + Year: + Volume: + Number: + Pages: + DOI: + PMID: + URL: + eprint: diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..76575dc --- /dev/null +++ b/debian/watch @@ -0,0 +1,2 @@ +# You must remove unused comment lines for the released package. +version=3