first commit

This commit is contained in:
Ward 2023-02-23 22:01:36 +02:00
commit 289163faa4
15 changed files with 340 additions and 0 deletions

View File

@ -0,0 +1,17 @@
gamescope (3.11.58.d6c1df4.openvr-99pika15) kinetic; urgency=medium
* Fix missing deps
-- Ward Nakchbandi <hotrod.master@hotmail.com> 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 <hotrod.master@hotmail.com> Sat, 15 Oct 2022 18:58:00 +0300
gamescope (3.11.47-1) kinetic; urgency=medium
* Initial Push to PPA
-- Ward Nakchbandi <hotrod.master@hotmail.com> Sat, 15 Oct 2022 18:58:00 +0300

View File

@ -0,0 +1,66 @@
Source: gamescope
Section: games
Priority: optional
Maintainer: Debian Games Team <team+pkg-games@tracker.debian.org>
Uploaders: Stephan Lachnit <stephanlachnit@debian.org>
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.

View File

@ -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 <https://www.valvesoftware.com/en/contact?contact-person=Pierre-Loup%20Griffais>
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 <stephanlachnit@debian.org>
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.

View File

@ -0,0 +1 @@
gamescope_3.11.58.d6c1df4.openvr-99pika15_source.buildinfo games optional

View File

@ -0,0 +1,2 @@
/usr/bin/gamescope /usr/games/gamescope

View File

@ -0,0 +1,4 @@
[DEFAULT]
upstream-branch = upstream/latest
debian-branch = debian/latest
pristine-tar = True

View File

@ -0,0 +1,35 @@
Description: <short summary of the patch>
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 <hotrod.master@hotmail.com>
---
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: <vendor|upstream|other>, <url of original patch>
Bug: <url in upstream bugtracker>
Bug-Debian: https://bugs.debian.org/<bugnumber>
Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
Forwarded: <no|not-needed|url proving that it has been forwarded>
Reviewed-By: <name and email of someone who approved the patch>
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',
],
)

View File

@ -0,0 +1,47 @@
Description: <short summary of the patch>
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 <hotrod.master@hotmail.com>
---
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: <vendor|upstream|other>, <url of original patch>
Bug: <url in upstream bugtracker>
Bug-Debian: https://bugs.debian.org/<bugnumber>
Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
Forwarded: <no|not-needed|url proving that it has been forwarded>
Reviewed-By: <name and email of someone who approved the patch>
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 <openvr.h>
#pragma GCC diagnostic pop
bool vr_init(int argc, char **argv);

View File

@ -0,0 +1,2 @@
#openvr_api-fix.patch
#0001_remove-forcefallback.patch

16
gamescope-master/debian/rules Executable file
View File

@ -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 $@

View File

@ -0,0 +1,3 @@
---
include:
- https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/recipes/debian.yml

View File

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

View File

@ -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

View File

@ -0,0 +1,2 @@
version=4
https://github.com/Plagman/gamescope/tags (?:.*?/)?v?@ANY_VERSION@@ARCHIVE_EXT@

2
orig.source.txt Normal file
View File

@ -0,0 +1,2 @@
gamescope_3.11.47.orig.tar.gz
#https://github.com/Plagman/gamescope