diff --git a/.github/release-nest-v3 b/.github/release-nest-v3 index 56a6051..d8263ee 100644 --- a/.github/release-nest-v3 +++ b/.github/release-nest-v3 @@ -1 +1 @@ -1 \ No newline at end of file +2 \ No newline at end of file diff --git a/debian/changelog b/debian/changelog index 6d8d068..a17039f 100644 --- a/debian/changelog +++ b/debian/changelog @@ -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) + * New upstream version: v0.6.2 - -- ferreo Wed, 18 Jan 2023 21:48:14 +0000 + -- Alan M Varghese (NyxTrail) 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) 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 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) Thu, 01 Feb 2024 19:19:45 +0000 diff --git a/debian/control b/debian/control index 0bcd8e0..29a19ef 100644 --- a/debian/control +++ b/debian/control @@ -1,19 +1,25 @@ -Source: upstream-name -Section: admin +Source: hyprland-protocols +Section: x11 Priority: optional -Maintainer: name -Standards-Version: 4.6.1 -Build-Depends: debhelper-compat (= 13) +Maintainer: Alan M Varghese (NyxTrail) +Uploaders: Mo Zhou +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. diff --git a/debian/copyright b/debian/copyright index e69de29..1f3e8f7 100644 --- a/debian/copyright +++ b/debian/copyright @@ -0,0 +1,48 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: hyprland-protocols +Upstream-Contact: vaxerski +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 + 2024 outfoxxed +License: BSD-3-Clause + +Files: debian/* +Copyright: + 2023 Matthias Geiger + 2024 Alan M Varghese +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. diff --git a/debian/rules b/debian/rules index 64a084a..2d33f6a 100755 --- a/debian/rules +++ b/debian/rules @@ -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 $@ diff --git a/debian/upstream/metadata b/debian/upstream/metadata new file mode 100644 index 0000000..80047ff --- /dev/null +++ b/debian/upstream/metadata @@ -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 diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..b9d7257 --- /dev/null +++ b/debian/watch @@ -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 diff --git a/main.sh b/main.sh index d80ca48..28534a5 100755 --- a/main.sh +++ b/main.sh @@ -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