diff options
author | Stephan Lachnit <stephanlachnit@debian.org> | 2022-05-04 20:47:31 +0100 |
---|---|---|
committer | Stephan Lachnit <stephanlachnit@debian.org> | 2022-05-04 20:47:31 +0100 |
commit | fde02f97f4c71a45c7a2253890e995183c076089 (patch) | |
tree | a1f62978546e0daaed078e85e37aec1a3eae59c8 |
Import mangohud_0.6.7-1.debian.tar.xz
[dgit import tarball mangohud 0.6.7-1 mangohud_0.6.7-1.debian.tar.xz]
-rw-r--r-- | README.debian | 11 | ||||
-rw-r--r-- | changelog | 42 | ||||
-rw-r--r-- | clean | 1 | ||||
-rw-r--r-- | control | 74 | ||||
-rw-r--r-- | copyright | 204 | ||||
-rw-r--r-- | gbp.conf | 3 | ||||
-rw-r--r-- | mangoapp.install | 3 | ||||
-rw-r--r-- | mangohud.install | 6 | ||||
-rw-r--r-- | mangohudctl.install | 1 | ||||
-rw-r--r-- | patches/0001_fix-json-dep.patch | 16 | ||||
-rw-r--r-- | patches/0002_fix-libmangoapp-path.patch | 14 | ||||
-rw-r--r-- | patches/series | 2 | ||||
-rwxr-xr-x | rules | 17 | ||||
-rw-r--r-- | salsa-ci.yml | 4 | ||||
-rw-r--r-- | source/format | 1 | ||||
-rw-r--r-- | upstream/metadata | 4 | ||||
-rw-r--r-- | watch | 3 |
17 files changed, 406 insertions, 0 deletions
diff --git a/README.debian b/README.debian new file mode 100644 index 0000000..1bb7cd5 --- /dev/null +++ b/README.debian @@ -0,0 +1,11 @@ +mangohud for Debian +---------------- + +Upstream includes a file include/nvml.h, which is probably non-free. However, +upstream offers two tarballs, one with this file, and one without it. In +Debian, we use the DFSG variant of the upstream tarballs. If one wants to use +Nvidia's ML library, it's a simple as adding libnvidia-ml-dev to the build +dependencies and change -Dwith_nvml=disabled to -Dwith_nvml=system in the +rules file. + + -- Stephan Lachnit <stephanlachnit@protonmail.com> Fri, 30 Oct 2020 13:28:02 +0100 diff --git a/changelog b/changelog new file mode 100644 index 0000000..0754074 --- /dev/null +++ b/changelog @@ -0,0 +1,42 @@ +mangohud (0.6.7-1) unstable; urgency=medium + + * New upstream version 0.6.7 + + -- Stephan Lachnit <stephanlachnit@debian.org> Wed, 04 May 2022 21:47:31 +0200 + +mangohud (0.6.6-1) unstable; urgency=medium + + * New upstream version 0.6.6 + + -- Stephan Lachnit <stephanlachnit@debian.org> Thu, 28 Oct 2021 11:33:42 +0200 + +mangohud (0.6.5-2) unstable; urgency=medium + + * Update standards version to 4.6.0.1, no changes needed + * Upload to unstable + + -- Stephan Lachnit <stephanlachnit@debian.org> Wed, 13 Oct 2021 14:19:31 +0200 + +mangohud (0.6.5-1) experimental; urgency=medium + + * New upstream version 0.6.5 + + -- Stephan Lachnit <stephanlachnit@debian.org> Thu, 08 Jul 2021 21:55:39 +0200 + +mangohud (0.6.4-1) experimental; urgency=medium + + * New upstream version 0.6.4 + + -- Stephan Lachnit <stephanlachnit@debian.org> Thu, 24 Jun 2021 17:16:26 +0200 + +mangohud (0.6.3-1) experimental; urgency=medium + + * New upstream version 0.6.3 + + -- Stephan Lachnit <stephanlachnit@debian.org> Mon, 14 Jun 2021 20:45:49 +0200 + +mangohud (0.6.1-1) unstable; urgency=medium + + * Initial release. (Closes: #954844) + + -- Stephan Lachnit <stephanlachnit@protonmail.com> Sun, 29 Nov 2020 20:52:47 +0100 @@ -0,0 +1 @@ +imgui.ini @@ -0,0 +1,74 @@ +Source: mangohud +Section: games +Priority: optional +Maintainer: Debian Games Team <team+pkg-games@tracker.debian.org> +Uploaders: Stephan Lachnit <stephanlachnit@debian.org> +Build-Depends: debhelper-compat (= 13), + meson, + pkg-config, + glslang-tools, + mesa-common-dev, + libdbus-1-dev, + libdrm-dev, + libvulkan-dev, + libglew-dev, + libopengl-dev, + nlohmann-json3-dev, + libglfw3-dev, + libspdlog-dev, + libx11-dev, + libwayland-dev, + libxnvctrl-dev, + libxrandr-dev, + python3-mako, + python3-setuptools, +Rules-Requires-Root: no +Standards-Version: 4.6.0.1 +Homepage: https://github.com/flightlessmango/MangoHud +Vcs-Browser: https://salsa.debian.org/games-team/mangohud +Vcs-Git: https://salsa.debian.org/games-team/mangohud.git + +Package: mangohud +Section: misc +Architecture: any +Multi-Arch: same +Depends: ${misc:Depends}, + ${shlibs:Depends}, +Recommends: mangoctl, +Suggests: libxnvctrl0, + goverlay, +Description: Vulkan/OpenGL overlay for monitoring FPS, temperatures, CPU/GPU load and more + MangoHud is a highly customizable overlay for Vulkan and OpenGL application to + monitoring FPS, temperatures, CPU/GPU load and more. + . + This package includes the libraries for MangoHud and includes a script called + mangohud to start it on any OpenGL or Vulkan application. + To get data for Nvidia GPUs, you need to install libxnvctrl0. + +Package: mangoapp +Section: misc +Architecture: any +Multi-Arch: no +Depends: mangohud (= ${binary:Version}), + ${misc:Depends}, + ${shlibs:Depends}, +Suggests: gamescope, +Description: Application to render MangoHud with gamescope + MangoHud is a highly customizable overlay for Vulkan and OpenGL application to + monitoring FPS, temperatures, CPU/GPU load and more. + . + This package contains an application called mangoapp to use mangohud with the + gamescope compositor. + +Package: mangohudctl +Section: misc +Architecture: any +Multi-Arch: no +Depends: mangohud (= ${binary:Version}), + ${misc:Depends}, + ${shlibs:Depends}, +Description: Application to control MangoHud + MangoHud is a highly customizable overlay for Vulkan and OpenGL application to + monitoring FPS, temperatures, CPU/GPU load and more. + . + This package contains an optional CLI application to control MangoHud. diff --git a/copyright b/copyright new file mode 100644 index 0000000..ba0701f --- /dev/null +++ b/copyright @@ -0,0 +1,204 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: MangoHud +Upstream-Contact: flightlessmango <https://github.com/flightlessmango> +Source: https://github.com/flightlessmango/MangoHud + +Files: * +Copyright: 2020-2022 flightlessmango <https://github.com/flightlessmango> +License: MIT + +Files: bin/gen_enum_to_str.py + include/vulkan/vk_util.h + src/vulkan.cpp + src/mesa/c11_compat.h + src/mesa/util/macros.h + src/mesa/util/os_socket.c + src/mesa/util/os_socket.h +Copyright: 2014-2019 Intel Corporation +License: MIT + +Files: include/elfhacks.h + src/elfhacks.cpp + src/real_dlsym.cpp +Copyright: 2007-2008 Pyry Haulos <pyry.haulos@gmail.com> +License: Zlib + +Files: include/filesystem.h +Copyright: 2018 Steffen Schümann <s.schuemann@pobox.com> +License: MIT + +Files: include/KHR/khrplatform.h +Copyright: 2008-2018 The Khronos Group Inc. +License: MIT + +Files: src/forkawesome.h +Copyright: 2018 Fork Awesome <https://forkawesome.github.io> +License: OFL-1.1 + +Files: src/mesa/c99_compat.h + src/mesa/no_extern_c.h + src/mesa/util/detect_os.h + src/mesa/util/os_time.c + src/mesa/util/os_time.h +Copyright: 2007-2014 VMware, Inc. +License: MIT + +Files: subprojects/imgui-*/* + src/gl/imgui_impl_opengl3.cpp + src/gl/imgui_impl_opengl3.h +Copyright: 2014-2021 Omar Cornut <omar@miracleworld.net> +License: MIT + +Files: subprojects/imgui-*/imgui_draw.cpp +Copyright: 2014-2021 Omar Cornut <omar@miracleworld.net> + 2004, 2005 Tristan Grimmer +License: MIT + +Files: subprojects/imgui-*/imstb_rectpack.h + subprojects/imgui-*/imstb_textedit.h + subprojects/imgui-*/imstb_truetype.h +Copyright: 2017 Sean Barrett +License: MIT + +Files: subprojects/imgui-*/meson.build + subprojects/imgui-*/meson_options.txt +Copyright: 2020 The Meson development team +License: MIT + +Files: subprojects/imgui-*/backends/imgui_impl_marmalade.cpp + subprojects/imgui-*/backends/imgui_impl_marmalade.h +Copyright: 2015 Giovanni Zito +License: MIT + +Files: debian/* +Copyright: 2020-2022 Stephan Lachnit <stephanlachnit@debian.org> +License: MIT + +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: Zlib + This software is provided 'as-is', without any express or implied + warranty. In no event will the authors be held liable for any damages + arising from the use of this software. + . + Permission is granted to anyone to use this software for any purpose, + including commercial applications, and to alter it and redistribute it + freely, subject to the following restrictions: + . + 1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. + 2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. + 3. This notice may not be removed or altered from any source distribution. + +License: OFL-1.1 + This Font Software is licensed under the SIL Open Font License, Version 1.1. + This license is copied below, and is also available with a FAQ at: + http://scripts.sil.org/OFL + . + . + ----------------------------------------------------------- + SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007 + ----------------------------------------------------------- + . + PREAMBLE + The goals of the Open Font License (OFL) are to stimulate worldwide + development of collaborative font projects, to support the font creation + efforts of academic and linguistic communities, and to provide a free and + open framework in which fonts may be shared and improved in partnership + with others. + . + The OFL allows the licensed fonts to be used, studied, modified and + redistributed freely as long as they are not sold by themselves. The + fonts, including any derivative works, can be bundled, embedded, + redistributed and/or sold with any software provided that any reserved + names are not used by derivative works. The fonts and derivatives, + however, cannot be released under any other type of license. The + requirement for fonts to remain under this license does not apply + to any document created using the fonts or their derivatives. + . + DEFINITIONS + "Font Software" refers to the set of files released by the Copyright + Holder(s) under this license and clearly marked as such. This may + include source files, build scripts and documentation. + . + "Reserved Font Name" refers to any names specified as such after the + copyright statement(s). + . + "Original Version" refers to the collection of Font Software components as + distributed by the Copyright Holder(s). + . + "Modified Version" refers to any derivative made by adding to, deleting, + or substituting -- in part or in whole -- any of the components of the + Original Version, by changing formats or by porting the Font Software to a + new environment. + . + "Author" refers to any designer, engineer, programmer, technical + writer or other person who contributed to the Font Software. + . + PERMISSION & CONDITIONS + Permission is hereby granted, free of charge, to any person obtaining + a copy of the Font Software, to use, study, copy, merge, embed, modify, + redistribute, and sell modified and unmodified copies of the Font + Software, subject to the following conditions: + . + 1) Neither the Font Software nor any of its individual components, + in Original or Modified Versions, may be sold by itself. + . + 2) Original or Modified Versions of the Font Software may be bundled, + redistributed and/or sold with any software, provided that each copy + contains the above copyright notice and this license. These can be + included either as stand-alone text files, human-readable headers or + in the appropriate machine-readable metadata fields within text or + binary files as long as those fields can be easily viewed by the user. + . + 3) No Modified Version of the Font Software may use the Reserved Font + Name(s) unless explicit written permission is granted by the corresponding + Copyright Holder. This restriction only applies to the primary font name as + presented to the users. + . + 4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font + Software shall not be used to promote, endorse or advertise any + Modified Version, except to acknowledge the contribution(s) of the + Copyright Holder(s) and the Author(s) or with their explicit written + permission. + . + 5) The Font Software, modified or unmodified, in part or in whole, + must be distributed entirely under this license, and must not be + distributed under any other license. The requirement for fonts to + remain under this license does not apply to any document created + using the Font Software. + . + TERMINATION + This license becomes null and void if any of the above conditions are + not met. + . + DISCLAIMER + THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT + OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE + COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL + DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM + OTHER DEALINGS IN THE FONT SOFTWARE. diff --git a/gbp.conf b/gbp.conf new file mode 100644 index 0000000..51bf8e6 --- /dev/null +++ b/gbp.conf @@ -0,0 +1,3 @@ +[DEFAULT] +upstream-branch = upstream/latest +debian-branch = debian/latest diff --git a/mangoapp.install b/mangoapp.install new file mode 100644 index 0000000..8806b8a --- /dev/null +++ b/mangoapp.install @@ -0,0 +1,3 @@ +usr/bin/mangoapp +usr/lib/*/mangohud/libMangoApp.so +usr/share/vulkan/implicit_layer.d/libMangoApp.json diff --git a/mangohud.install b/mangohud.install new file mode 100644 index 0000000..a91a9d2 --- /dev/null +++ b/mangohud.install @@ -0,0 +1,6 @@ +usr/lib/*/mangohud/libMangoHud.so +usr/lib/*/mangohud/libMangoHud_dlsym.so +usr/share/vulkan/implicit_layer.d/MangoHud.json +usr/share/doc/mangohud/MangoHud.conf.example +usr/bin/mangohud +usr/share/man/man1/mangohud.1 diff --git a/mangohudctl.install b/mangohudctl.install new file mode 100644 index 0000000..1cf8c6a --- /dev/null +++ b/mangohudctl.install @@ -0,0 +1 @@ +usr/bin/mangohudctl diff --git a/patches/0001_fix-json-dep.patch b/patches/0001_fix-json-dep.patch new file mode 100644 index 0000000..b2145a6 --- /dev/null +++ b/patches/0001_fix-json-dep.patch @@ -0,0 +1,16 @@ +Description: fix wrong meson dependency usge +Author: Stephan Lachnit <stephanlachnit@debian.org> +Forwarded: no + +--- a/meson.build ++++ b/meson.build +@@ -273,8 +273,7 @@ + + if get_option('mangoapp') or get_option('mangoapp_layer') + glfw3_dep = dependency('glfw3') +- json_sp = subproject('nlohmann_json') +- json_dep = json_sp.get_variable('nlohmann_json_dep') ++ json_dep = dependency('nlohmann_json') + endif + + subdir('src') diff --git a/patches/0002_fix-libmangoapp-path.patch b/patches/0002_fix-libmangoapp-path.patch new file mode 100644 index 0000000..0c1dfc0 --- /dev/null +++ b/patches/0002_fix-libmangoapp-path.patch @@ -0,0 +1,14 @@ +Description: fix missing install dir +Author: Stephan Lachnit <stephanlachnit@debian.org> +Forwarded: no + +--- a/src/meson.build ++++ b/src/meson.build +@@ -282,6 +282,7 @@ + gnu_symbol_visibility : 'hidden', + include_directories : [inc_common], + link_args : link_args, ++ install_dir : libdir_mangohud, + install : true + ) + endif diff --git a/patches/series b/patches/series new file mode 100644 index 0000000..83bc65d --- /dev/null +++ b/patches/series @@ -0,0 +1,2 @@ +0001_fix-json-dep.patch +0002_fix-libmangoapp-path.patch @@ -0,0 +1,17 @@ +#!/usr/bin/make -f + +export DEB_BUILD_MAINT_OPTIONS = hardening=+all + +%: + dh $@ + +override_dh_auto_configure: + dh_auto_configure -- \ + -Duse_system_vulkan=enabled \ + -Duse_system_spdlog=enabled \ + -Dwith_nvml=disabled \ + -Dwith_xnvctrl=enabled \ + -Dwith_wayland=enabled \ + -Dmangoapp=true \ + -Dmangohudctl=true \ + -Dmangoapp_layer=true diff --git a/salsa-ci.yml b/salsa-ci.yml new file mode 100644 index 0000000..33c3a64 --- /dev/null +++ b/salsa-ci.yml @@ -0,0 +1,4 @@ +--- +include: + - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/salsa-ci.yml + - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/pipeline-jobs.yml diff --git a/source/format b/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/upstream/metadata b/upstream/metadata new file mode 100644 index 0000000..1988604 --- /dev/null +++ b/upstream/metadata @@ -0,0 +1,4 @@ +Bug-Database: https://github.com/flightlessmango/MangoHud/issues +Bug-Submit: https://github.com/flightlessmango/MangoHud/issues/new +Repository: https://github.com/flightlessmango/MangoHud.git +Repository-Browse: https://github.com/flightlessmango/MangoHud @@ -0,0 +1,3 @@ +version=4 +opts="filenamemangle=s%(?:.*?)?MangoHud-v(\d[\d.]*)-Source-DFSG\.tar\.xz%mangohud-$1.tar.xz%" \ + https://github.com/flightlessmango/MangoHud/releases (?:.*?/)?MangoHud-v(\d[\d.]*)-Source-DFSG\.tar\.xz |