Upstream build
All checks were successful
PikaOS Package Build & Release (amd64-v3) / build (push) Successful in 18s

This commit is contained in:
ferreo 2025-02-07 15:46:17 +00:00
parent 6ab4e715d5
commit c0774de500
8 changed files with 111 additions and 89 deletions

View File

@ -1 +1 @@
1
2

25
debian/changelog vendored
View File

@ -1,5 +1,24 @@
upstream-name (1.0-101pika1) pika; urgency=medium
hyprland-protocols (0.6.2-1) unstable; urgency=medium
* Initial release. (Closes: #nnnn) <nnnn is the bug number of your ITP>
* New upstream version: v0.6.2
-- ferreo <harderthanfire@gmail.com> Wed, 18 Jan 2023 21:48:14 +0000
-- Alan M Varghese (NyxTrail) <alan@digistorm.in> Fri, 11 Oct 2024 14:10:12 +0000
hyprland-protocols (0.4.0-1) unstable; urgency=medium
* New upstream version: v0.4.0
-- Alan M Varghese (NyxTrail) <alan@digistorm.in> Fri, 11 Oct 2024 14:10:12 +0000
hyprland-protocols (0.2+20240505-1.1) unstable; urgency=medium
* Non-maintainer upload.
* No change source-only upload to allow testing migration.
-- Boyuan Yang <byang@debian.org> Sat, 27 Jul 2024 21:20:57 -0400
hyprland-protocols (0.2+20240505-1) unstable; urgency=low
* Initial release. Closes: #1051806
-- Alan M Varghese (NyxTrail) <alan@digistorm.in> Thu, 01 Feb 2024 19:19:45 +0000

38
debian/control vendored
View File

@ -1,19 +1,25 @@
Source: upstream-name
Section: admin
Source: hyprland-protocols
Section: x11
Priority: optional
Maintainer: name <email>
Standards-Version: 4.6.1
Build-Depends: debhelper-compat (= 13)
Maintainer: Alan M Varghese (NyxTrail) <alan@digistorm.in>
Uploaders: Mo Zhou <lumin@debian.org>
Build-Depends: debhelper-compat (= 13),
meson
Standards-Version: 4.7.0
Homepage: https://github.com/hyprwm/hyprland-protocols
Rules-Requires-Root: no
Vcs-Git: https://salsa.debian.org/debian/hyprland-protocols.git
Vcs-Browser: https://salsa.debian.org/debian/hyprland-protocols
Package: pkgname1
Architecture: linux-any
# Delete any of these lines if un-used
Depends: ${misc:Depends}, depends
Recommends: high priority optdepends
Conflicts: conflicts
Suggests: low priority optdepends
Breaks: also conflicts!?
Provides: provides
#
Description: pkgdesc
Package: hyprland-protocols
Architecture: all
Multi-Arch: foreign
Depends: ${misc:Depends}
Description: Wayland protocol extensions for Hyprland
hyprland protocols that add functionality not available in the
wayland-protocols package
.
It ships the following protocols:
hyprland_toplevel_export -> for exporting toplevel buffers (aka. windows)
for screensharing
hyprland_global_keybindings -> for managing global keybinds via D-Bus.

48
debian/copyright vendored
View File

@ -0,0 +1,48 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: hyprland-protocols
Upstream-Contact: vaxerski <vaxry@vaxry.net>
Source: https://github.com/hyprwm/hyprland-protocols
Files: *
Copyright: 2022-2023 Hypr Development
License: BSD-3-Clause
Files: protocols/hyprland-global-shortcuts-v1.xml
protocols/hyprland-toplevel-export-v1.xml
protocols/hyprland-focus-grab-v1.xml
Copyright:
2022 Vaxry <vaxry@vaxry.net>
2024 outfoxxed
License: BSD-3-Clause
Files: debian/*
Copyright:
2023 Matthias Geiger <matthias.geiger1024@tutanota.de>
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.

65
debian/rules vendored
View File

@ -1,67 +1,4 @@
#! /usr/bin/make -f
#!/usr/bin/make -f
## See debhelper(7) (uncomment to enable).
## Output every command that modifies files on the build system.
export DH_VERBOSE = 1
export PIKA_BUILD_ARCH = $(shell cat ../pika-build-arch)
## === the chain of command ===
## debuild runs a chain of dh functions in the following order:
## dh_testdir
## dh_clean
## dh_auto_clean
## dh_update_autotools_config
## dh_autoreconf
## dh_auto_configure
## dh_prep
## dh_build
## dh_auto_build
## dh_install
## dh_auto_install
## dh_installdocs
## dh_installchangelogs
## dh_perl
## dh_link
## dh_strip_nondeterminism
## dh_compress
## dh_fixperms
## dh_missing
## dh_dwz
## dh_strip
## dh_makeshlibs
## dh_shlibdeps
## dh_installdeb
## dh_gencontrol
## but you are most likely to only need to override the following:
## dh_clean
## dh_auto_configure
## dh_build
## dh_install
## === End end of region ===
## === overriding dh functions ===
## by default all dh functions will run a specific command based on the build system selected by "dh $@"
## if you have a makefile that does everything you need this is fine,
## but most likely you have no MakeFile and you want to add your own commands
## Note : overrides must be places above %:
## So here's a few examples:
## overriding dh_clean to make it not delete rust vendor files:
#override_dh_clean:
# echo "disabled"
## overriding dh_auto_configure to add custom configs:
#override_dh_auto_configure:
# $(srcdir)/configure -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_DATADIR=/usr/share -DCMAKE_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu -DBUILD_PLUGIN=OFF
## overriding dh_install to install files to a package:
#override_dh_auto_configure:
# mkdir -p debian/pikman/usr/bin
# cp pikman debian/pikman/usr/bin/
## === End end of region ===
## This here will start the build:
%:
dh $@

8
debian/upstream/metadata vendored Normal file
View File

@ -0,0 +1,8 @@
#
# DEP-12: Per-package machine-readable metadata about Upstream
# Please check * https://dep-team.pages.debian.net/deps/dep12/
# * https://wiki.debian.org/UpstreamMetadata
Bug-Database: https://github.com/hyprwm/hyprland-protocols/issues
Bug-Submit: https://github.com/hyprwm/hyprland-protocols/issues/new
Repository: https://github.com/hyprwm/hyprland-protocols
Repository-Browse: https://github.com/hyprwm/hyprland-protocols

4
debian/watch vendored Normal file
View File

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

10
main.sh
View File

@ -6,15 +6,15 @@ set -e
echo "$PIKA_BUILD_ARCH" > pika-build-arch
VERSION="1.0"
VERSION="0.6.2"
# Clone Upstream
mkdir -p ./src-pkg-name
cp -rvf ./debian ./src-pkg-name/
cd ./src-pkg-name/
git clone https://github.com/hyprwm/hyprland-protocols.git -b v"$VERSION"
cp -rvf ./debian ./hyprland-protocols/
cd ./hyprland-protocols/
# Get build deps
LOGNAME=root dh_make --createorig -y -l -p src-pkg-name_"$VERSION" || echo "dh-make: Ignoring Last Error"
LOGNAME=root dh_make --createorig -y -l -p hyprland-protocols_"$VERSION" || echo "dh-make: Ignoring Last Error"
apt-get build-dep ./ -y
# Build package