From 289163faa4653c1b5a8780bc84801ef220527a3d Mon Sep 17 00:00:00 2001 From: Ward Date: Thu, 23 Feb 2023 22:01:36 +0200 Subject: [PATCH] first commit --- gamescope-master/debian/changelog | 17 +++ gamescope-master/debian/control | 66 +++++++++ gamescope-master/debian/copyright | 138 ++++++++++++++++++ gamescope-master/debian/files | 1 + gamescope-master/debian/gamescope.links | 2 + gamescope-master/debian/gbp.conf | 4 + .../patches/0001_remove-forcefallback.patch | 35 +++++ .../debian/patches/openvr_api-fix.patch | 47 ++++++ gamescope-master/debian/patches/series | 2 + gamescope-master/debian/rules | 16 ++ gamescope-master/debian/salsa-ci.yml | 3 + gamescope-master/debian/source/format | 1 + gamescope-master/debian/upstream/metadata | 4 + gamescope-master/debian/watch | 2 + orig.source.txt | 2 + 15 files changed, 340 insertions(+) create mode 100644 gamescope-master/debian/changelog create mode 100644 gamescope-master/debian/control create mode 100644 gamescope-master/debian/copyright create mode 100644 gamescope-master/debian/files create mode 100644 gamescope-master/debian/gamescope.links create mode 100644 gamescope-master/debian/gbp.conf create mode 100644 gamescope-master/debian/patches/0001_remove-forcefallback.patch create mode 100644 gamescope-master/debian/patches/openvr_api-fix.patch create mode 100644 gamescope-master/debian/patches/series create mode 100755 gamescope-master/debian/rules create mode 100644 gamescope-master/debian/salsa-ci.yml create mode 100644 gamescope-master/debian/source/format create mode 100644 gamescope-master/debian/upstream/metadata create mode 100644 gamescope-master/debian/watch create mode 100644 orig.source.txt diff --git a/gamescope-master/debian/changelog b/gamescope-master/debian/changelog new file mode 100644 index 0000000..4ab75ff --- /dev/null +++ b/gamescope-master/debian/changelog @@ -0,0 +1,17 @@ +gamescope (3.11.58.d6c1df4.openvr-99pika15) kinetic; urgency=medium + + * Fix missing deps + + -- Ward Nakchbandi Sat, 15 Oct 2022 18:58:00 +0300 + +gamescope (3.11.58.d6c1df4.openvr-99pika10) kinetic; urgency=medium + + * Update to git to support HDR + + -- Ward Nakchbandi Sat, 15 Oct 2022 18:58:00 +0300 + +gamescope (3.11.47-1) kinetic; urgency=medium + + * Initial Push to PPA + + -- Ward Nakchbandi Sat, 15 Oct 2022 18:58:00 +0300 diff --git a/gamescope-master/debian/control b/gamescope-master/debian/control new file mode 100644 index 0000000..6ef2c60 --- /dev/null +++ b/gamescope-master/debian/control @@ -0,0 +1,66 @@ +Source: gamescope +Section: games +Priority: optional +Maintainer: Debian Games Team +Uploaders: Stephan Lachnit +Rules-Requires-Root: no +Build-Depends: + debhelper-compat (= 13), + meson, + pkg-config, + libx11-dev, + libxdamage-dev, + libxcomposite-dev, + libxrender-dev, + libxext-dev, + libxfixes-dev, + libxxf86vm-dev, + libxtst-dev, + libxres-dev, + libdrm-dev, + libvulkan-dev, + libwayland-dev, + wayland-protocols, + libxkbcommon-dev, + libcap-dev, + libsdl2-dev, + libpipewire-0.3-dev, + libstb-dev, + libwlroots-dev, + libliftoff-dev, + glslang-tools, + cmake, + hwdata, + hwdata-dev, + libopenvr-dev, + vkroots-dev, + libxmuu-dev, + libxmu-dev, + libdisplay-info-dev, + libjsoncpp-dev, + xwayland, +Standards-Version: 4.6.1 +Homepage: https://github.com/Plagman/gamescope +Vcs-Browser: https://salsa.debian.org/games-team/gamescope +Vcs-Git: https://salsa.debian.org/games-team/gamescope.git + +Package: gamescope +Architecture: any +Depends: + ${shlibs:Depends}, + ${misc:Depends}, + xwayland, + vkroots, + libdisplay-info, + hwdata, +Suggests: + libcap2-bin, +Description: Micro-compositor for game scaling + Gamescope wraps your games to give them scaling and fullscreen options. It + provides a Wayland compositor to your games, but gamescope runs under both + Wayland and X.org. + . + Your game sees a virtual display at the resolution you specified. You see a + scaled view in a window or fullscreen. This is useful when either the game or + your system do not permit running the game at native window/screen sizes. You + can also use integer scaling to keep your pixels sharp and pixelated. diff --git a/gamescope-master/debian/copyright b/gamescope-master/debian/copyright new file mode 100644 index 0000000..a1d5ebd --- /dev/null +++ b/gamescope-master/debian/copyright @@ -0,0 +1,138 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Source: https://github.com/Plagman/gamescope +Upstream-Name: gamescope +Upstream-Contact: Pierre-Loup A. Griffais + +Files: + * +Copyright: + 2013-2022, Valve Corporation + 2022, NVIDIA CORPORATION +License: BSD-2-Clause + +Files: + protocol/gamescope-input-method.xml +Copyright: + 2008-2011 Kristian Høgsberg + 2010-2011 Intel Corporation + 2012-2013 Collabora, Ltd. + 2012, 2013 Intel Corporation + 2015, 2016 Jan Arne Petersen + 2017, 2018 Red Hat, Inc. + 2018 Purism SPC + 2021 Valve Corporation +License: MIT + +Files: + protocol/gamescope-pipewire.xml + protocol/gamescope-xwayland.xml +Copyright: + 2021 Valve Corporation +License: MIT + +Files: + src/shaders/NVIDIAImageScaling/* +Copyright: + 2022 NVIDIA CORPORATION & AFFILIATES +License: MIT + +Files: + src/shaders/ffx_*.h +Copyright: + 2021 Advanced Micro Devices, Inc. +License: MIT + +Files: + src/gpuvis_trace_utils.h +Copyright: + Michael Sartain +License: public-domain-dual + This software is dual-licensed to the public domain and under the following + license: you are granted a perpetual, irrevocable license to copy, modify, + publish, and distribute this file as you see fit. + +Files: + src/modegen.cpp +Copyright: + 2005-2006 Luc Verhaegen +License: MIT + +Files: + src/steamcompmgr.cpp +Copyright: + 2003 Keith Packard + Matthew Hawn +License: MIT-old + +Files: + src/udev_is_boot_vga.c +Copyright: + Aaron Plattner +License: public-domain + Public domain + +Files: + debian/* +Copyright: + 2022 Stephan Lachnit +License: BSD-2-Clause + +License: BSD-2-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. + . + 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. + +License: MIT + Permission is hereby granted, free of charge, to any person obtaining a + copy of this software and associated documentation files (the "Software"), + to deal in the Software without restriction, including without limitation + the rights to use, copy, modify, merge, publish, distribute, sublicense, + and/or sell copies of the Software, and to permit persons to whom the + Software is furnished to do so, subject to the following conditions: + . + The above copyright notice and this permission notice shall be included + in all copies or substantial portions of the Software. + . + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS + OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. + IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY + CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, + TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE + SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +License: MIT-old + Permission to use, copy, modify, distribute, and sell this software and its + documentation for any purpose is hereby granted without fee, provided that + the above copyright notice appear in all copies and that both that + copyright notice and this permission notice appear in supporting + documentation, and that the name of Keith Packard not be used in + advertising or publicity pertaining to distribution of the software without + specific, written prior permission. Keith Packard makes no + representations about the suitability of this software for any purpose. It + is provided "as is" without express or implied warranty. + . + KEITH PACKARD DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, + INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO + EVENT SHALL KEITH PACKARD BE LIABLE FOR ANY SPECIAL, INDIRECT OR + CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, + DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER + TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR + PERFORMANCE OF THIS SOFTWARE. diff --git a/gamescope-master/debian/files b/gamescope-master/debian/files new file mode 100644 index 0000000..66f40cc --- /dev/null +++ b/gamescope-master/debian/files @@ -0,0 +1 @@ +gamescope_3.11.58.d6c1df4.openvr-99pika15_source.buildinfo games optional diff --git a/gamescope-master/debian/gamescope.links b/gamescope-master/debian/gamescope.links new file mode 100644 index 0000000..2855b3e --- /dev/null +++ b/gamescope-master/debian/gamescope.links @@ -0,0 +1,2 @@ +/usr/bin/gamescope /usr/games/gamescope + diff --git a/gamescope-master/debian/gbp.conf b/gamescope-master/debian/gbp.conf new file mode 100644 index 0000000..645ac76 --- /dev/null +++ b/gamescope-master/debian/gbp.conf @@ -0,0 +1,4 @@ +[DEFAULT] +upstream-branch = upstream/latest +debian-branch = debian/latest +pristine-tar = True diff --git a/gamescope-master/debian/patches/0001_remove-forcefallback.patch b/gamescope-master/debian/patches/0001_remove-forcefallback.patch new file mode 100644 index 0000000..2af070f --- /dev/null +++ b/gamescope-master/debian/patches/0001_remove-forcefallback.patch @@ -0,0 +1,35 @@ +Description: + TODO: Put a short summary on the line above and replace this paragraph + with a longer explanation of this change. Complete the meta-information + with other relevant fields (see below for details). To make it easier, the + information below has been extracted from the changelog. Adjust it or drop + it. + . + gamescope (3.11.58.7bd30dd-99pika4) kinetic; urgency=medium + . + * Update to git to support HDR +Author: Ward Nakchbandi + +--- +The information above should follow the Patch Tagging Guidelines, please +checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here +are templates for supplementary fields that you might want to add: + +Origin: , +Bug: +Bug-Debian: https://bugs.debian.org/ +Bug-Ubuntu: https://launchpad.net/bugs/ +Forwarded: +Reviewed-By: +Last-Update: 2023-01-19 + +--- gamescope-3.11.58.7bd30dd.orig/meson.build ++++ gamescope-3.11.58.7bd30dd/meson.build +@@ -6,7 +6,6 @@ project( + default_options: [ + 'cpp_std=c++20', + 'warning_level=2', +- 'force_fallback_for=wlroots,libliftoff', + ], + ) + diff --git a/gamescope-master/debian/patches/openvr_api-fix.patch b/gamescope-master/debian/patches/openvr_api-fix.patch new file mode 100644 index 0000000..237c9b5 --- /dev/null +++ b/gamescope-master/debian/patches/openvr_api-fix.patch @@ -0,0 +1,47 @@ +Description: + TODO: Put a short summary on the line above and replace this paragraph + with a longer explanation of this change. Complete the meta-information + with other relevant fields (see below for details). To make it easier, the + information below has been extracted from the changelog. Adjust it or drop + it. + . + gamescope (3.11.58.7bd30dd-99pika4) kinetic; urgency=medium + . + * Update to git to support HDR +Author: Ward Nakchbandi + +--- +The information above should follow the Patch Tagging Guidelines, please +checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here +are templates for supplementary fields that you might want to add: + +Origin: , +Bug: +Bug-Debian: https://bugs.debian.org/ +Bug-Ubuntu: https://launchpad.net/bugs/ +Forwarded: +Reviewed-By: +Last-Update: 2023-01-19 + +--- gamescope-3.11.58.7bd30dd.orig/meson.build ++++ gamescope-3.11.58.7bd30dd/meson.build +@@ -36,7 +36,7 @@ dep_x11 = dependency('x11') + vulkan_dep = dependency('vulkan') + + if get_option('enable_openvr_support') +- openvr_dep = dependency('openvr_api', required : false) ++ openvr_dep = dependency('openvr', required : false) + if not openvr_dep.found() + cmake = import('cmake') + openvr_var = cmake.subproject_options() +--- gamescope-3.11.58.7bd30dd.orig/src/vr_session.hpp ++++ gamescope-3.11.58.7bd30dd/src/vr_session.hpp +@@ -7,7 +7,7 @@ + + #pragma GCC diagnostic push + #pragma GCC diagnostic ignored "-Wnon-virtual-dtor" +-#include "../subprojects/openvr/headers/openvr.h" ++#include + #pragma GCC diagnostic pop + + bool vr_init(int argc, char **argv); diff --git a/gamescope-master/debian/patches/series b/gamescope-master/debian/patches/series new file mode 100644 index 0000000..56c0e7e --- /dev/null +++ b/gamescope-master/debian/patches/series @@ -0,0 +1,2 @@ +#openvr_api-fix.patch +#0001_remove-forcefallback.patch diff --git a/gamescope-master/debian/rules b/gamescope-master/debian/rules new file mode 100755 index 0000000..2c527d8 --- /dev/null +++ b/gamescope-master/debian/rules @@ -0,0 +1,16 @@ +#!/usr/bin/make -f + +export DEB_BUILD_MAINT_OPTIONS = hardening=+all + +override_dh_install: + dh_install + # Remove submodule conflicting files + rm -rf debian/gamescope/usr/include + rm -rf debian/gamescope/usr/lib/libopenvr_api.a + rm -rf debian/gamescope/usr/lib/x86_64-linux-gnu/libliftoff.a + rm -rf debian/gamescope/usr/lib/x86_64-linux-gnu/libwlroots.a + rm -rf debian/gamescope/usr/lib/x86_64-linux-gnu/pkgconfig/libliftoff.pc + rm -rf debian/gamescope/usr/lib/x86_64-linux-gnu/pkgconfig/wlroots.pc + +%: + dh $@ diff --git a/gamescope-master/debian/salsa-ci.yml b/gamescope-master/debian/salsa-ci.yml new file mode 100644 index 0000000..8424db4 --- /dev/null +++ b/gamescope-master/debian/salsa-ci.yml @@ -0,0 +1,3 @@ +--- +include: + - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/recipes/debian.yml diff --git a/gamescope-master/debian/source/format b/gamescope-master/debian/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/gamescope-master/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/gamescope-master/debian/upstream/metadata b/gamescope-master/debian/upstream/metadata new file mode 100644 index 0000000..4bea124 --- /dev/null +++ b/gamescope-master/debian/upstream/metadata @@ -0,0 +1,4 @@ +Bug-Database: https://github.com/Plagman/gamescope/issues +Bug-Submit: https://github.com/Plagman/gamescope/issues/new +Repository-Browse: https://github.com/Plagman/gamescope +Repository: https://github.com/Plagman/gamescope.git diff --git a/gamescope-master/debian/watch b/gamescope-master/debian/watch new file mode 100644 index 0000000..90a5e6c --- /dev/null +++ b/gamescope-master/debian/watch @@ -0,0 +1,2 @@ +version=4 +https://github.com/Plagman/gamescope/tags (?:.*?/)?v?@ANY_VERSION@@ARCHIVE_EXT@ diff --git a/orig.source.txt b/orig.source.txt new file mode 100644 index 0000000..e0cec25 --- /dev/null +++ b/orig.source.txt @@ -0,0 +1,2 @@ +gamescope_3.11.47.orig.tar.gz +#https://github.com/Plagman/gamescope