diff --git a/debian/.gitignore b/debian/.gitignore new file mode 100644 index 0000000000000000000000000000000000000000..6a9f93f39990a5aae3182d4ec86532f899310e14 --- /dev/null +++ b/debian/.gitignore @@ -0,0 +1,8 @@ +/*-stamp +/*.debhelper +/*.log +/*.substvars +/files +/pressure-vessel-libs-*/ +/pressure-vessel-relocatable/ +/tmp/ diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000000000000000000000000000000000000..56d3410f08e1e5799be0b8d49b0ae102c428855c --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +pressure-vessel (0.20190815.0) UNRELEASED; urgency=medium + + * Initial version + + -- Simon McVittie <smcv@collabora.com> Thu, 15 Aug 2019 13:59:12 +0100 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000000000000000000000000000000000000..ec635144f60048986bc560c5576355344005e6e7 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +9 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000000000000000000000000000000000000..7dd94b436f3d6c4dd42728b7df11a9311e3f9361 --- /dev/null +++ b/debian/control @@ -0,0 +1,53 @@ +Source: pressure-vessel +Section: games +Priority: optional +Maintainer: Simon McVittie <smcv@collabora.com> +Standards-Version: 4.4.0 +Build-Depends: + debhelper (>= 9), + libglib2.0-dev, + libxau-dev, + meson, + python3, + python3 (>= 3.5) | python3.5, + zlib1g <!nocheck>, +Vcs-Git: https://gitlab.steamos.cloud/steam/pressure-vessel.git +Vcs-Browser: https://gitlab.steamos.cloud/steam/pressure-vessel + +Package: pressure-vessel-relocatable +Architecture: amd64 i386 +Multi-Arch: foreign +Depends: + bubblewrap, + pressure-vessel-libs-amd64, + pressure-vessel-libs-i386, + ${misc:Depends}, + ${shlibs:Depends}, +Description: Steam container launcher + pressure-vessel puts Steam games in containers. + . + This package contains the launcher. + +Package: pressure-vessel-libs-amd64 +Architecture: amd64 +Multi-Arch: foreign +Depends: + libcapsule-tools-relocatable, + ${misc:Depends}, + ${shlibs:Depends}, +Description: Steam container launcher - cross-architecture dependencies + pressure-vessel puts Steam games in containers. + . + This package encapsulates the i386 cross-architecture dependencies. + +Package: pressure-vessel-libs-i386 +Architecture: i386 +Multi-Arch: foreign +Depends: + libcapsule-tools-relocatable, + ${misc:Depends}, + ${shlibs:Depends}, +Description: Steam container launcher - cross-architecture dependencies + pressure-vessel puts Steam games in containers. + . + This package encapsulates the i386 cross-architecture dependencies. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000000000000000000000000000000000000..a8314ce2e38d53b7089fc27baed213de21d49400 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,121 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: pressure-vessel +License: LGPL-2.1+ + +Files: + * + debian/* +Copyright: + 2019 Collabora Ltd. +License: Expat + +Files: + src/* + subprojects/* + tests/shellcheck.sh +Copyright: + 2014-2019 Red Hat, Inc + 2017-2019 Collabora Ltd. +License: LGPL-2.1+ + +Files: + src/* + tests/shellcheck.sh +Copyright: + 2014-2019 Red Hat, Inc + 2017-2019 Collabora Ltd. +License: LGPL-2.1+ + +Files: + build-aux/git-version-gen +Copyright: + 2007-2018 Free Software Foundation, Inc. +License: GPL-3+ + +Files: + subprojects/libglnx/* +Copyright: + 1995-1997 Peter Mattis + 1995-1997 Spencer Kimball + 1995-1997 Josh MacDonald + 2010-2011 Lennart Poettering + 2012-2017 Colin Walters + 2015 Canonical Limited + 2017 Red Hat, Inc. + 2017 Endless Mobile, Inc. + 2019 Collabora Ltd. +License: LGPL-2+ + +License: Expat + 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. +Comment: + SPDX-License-Identifier: MIT + +License: LGPL-2.1+ + SPDX-License-Identifier: LGPL-2.1-or-later + . + This program is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + . + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + . + You should have received a copy of the GNU Lesser General Public + License along with this library. If not, see <http://www.gnu.org/licenses/>. +Comment: + On Debian systems see /usr/share/common-licenses/LGPL-2.1 + +License: LGPL-2+ + SPDX-License-Identifier: LGPL-2-or-later + . + This program is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2 of the License, or (at your option) any later version. + . + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + . + You should have received a copy of the GNU Lesser General Public + License along with this library. If not, see <http://www.gnu.org/licenses/>. +Comment: + On Debian systems see /usr/share/common-licenses/LGPL-2 + +License: GPL-3+ + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + . + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + . + You should have received a copy of the GNU General Public License + along with this program. If not, see <https://www.gnu.org/licenses/>. +Comment: + On Debian systems see /usr/share/common-licenses/GPL-3 diff --git a/debian/gitlab-ci.yml b/debian/gitlab-ci.yml new file mode 100644 index 0000000000000000000000000000000000000000..2f17ceca95278b0bf80c1e578603f29e94d4ed1f --- /dev/null +++ b/debian/gitlab-ci.yml @@ -0,0 +1,14 @@ +include: + - project: 'steam/steam-ci-pipeline' + file: '/steam-gitlab-ci-common.yml' + + - project: 'steam/steam-ci-pipeline' + file: '/steam-gitlab-ci-pipeline.yml' + +variables: + BUILD_IMAGE: docker.internal.steamos.cloud/steamrt/sdk:scout-latest + STEAM_CI_USE_BINARIES_FROM: autopkgtest + +build: + variables: + BUILD_IMAGE: docker.internal.steamos.cloud/steamos/package-builder:buster diff --git a/debian/pressure-vessel-relocatable.install b/debian/pressure-vessel-relocatable.install new file mode 100644 index 0000000000000000000000000000000000000000..d3cfc0054e134c60d05f3d8b0aed129e17c20b9d --- /dev/null +++ b/debian/pressure-vessel-relocatable.install @@ -0,0 +1 @@ +usr/lib/pressure-vessel/relocatable diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000000000000000000000000000000000000..b3e17e20670352d43087324b0a5224a15b97b36c --- /dev/null +++ b/debian/rules @@ -0,0 +1,42 @@ +#!/usr/bin/make -f +# Copyright © 2019 Collabora Ltd. +# SPDX-License-Identifier: MIT +# (see debian/copyright) + +export LC_ALL=C.UTF-8 + +include /usr/share/dpkg/default.mk + +%: + dh $@ + +# We open-code the Meson clean, configure, build, test, install steps +# because the debhelper in SteamRT 1 'scout' is too old to have built-in +# knowledge of Meson. + +override_dh_auto_clean: + rm -fr _build + +override_dh_auto_configure: + if python3 -c 'if __import__("sys").version_info < (3, 5): raise SystemExit(1)'; then \ + python=python3; \ + else \ + python=python3.5; \ + fi; \ + meson _build \ + --prefix=/usr/lib/pressure-vessel/relocatable \ + -Dpython=/usr/bin/$$python \ + -Dversion=$(DEB_VERSION) \ + $(NULL) + +override_dh_auto_build: + ninja -C _build + +override_dh_auto_test: + meson test -C _build --verbose + +override_dh_auto_install: + DESTDIR=$(CURDIR)/debian/tmp ninja -C _build install + +override_dh_missing: + dh_missing --fail-missing diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000000000000000000000000000000000000..89ae9db8f88b823b6a7eabf55e203658739da122 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (native)