Git Product home page Git Product logo

gamescope-pkg's Introduction

Gamescope packages for Ubuntu 22.04

This repo contains unofficial Gamescope packages for Ubuntu/Pop!_OS 22.04. Currently they are published as .deb files in Github releases, though I would like to make a proper deban archive in future.

I should do a reasonable job of keeping them up to date with Gamescope releases, as there's a bot which should raise a PR when a new release needs packaging.

Support

These are unsupported by me, but they are even more unsupported by the Gamescope team who have nothing to do with them. Please don't raise issues on the Gamescope issue tracker without reproducing against Gamescope master. Feel free to raise issues / discussions in this repo though.

Licence

These build scripts are GPL licenced. Gamescope itself is MIT. (Gamescope guys, if you'd like this MIT I'll happily relicence). If you PR to this repo, please give a comment that you assign me the right to relicence your code under any GPL-compatible OSI-approved licence, to allow me to switch to MIT if needed.

Maybe TODO

  • debian archive (in gh pages? ubuntu ppa?)
  • more OSes than just Ubuntu 22.04? (though the packages as-is should work on 22.10 and newish Debian as well)
  • gpg signing
  • master / nightly builds
  • bot to update vendored deps as well as gamescope itself
  • keep an eye on weirdness to do with libwayland: gamescope links against vendored libwayland-client etc., but vendored libsdl2 links against system libwayland-client etc. I'm surprised this seems to work but very suspicious it might break something.

Technical notes

Dependencies

A lot of gamescope's dependencies are newer than what's available in Ubuntu 22.04. To address this, I'm pulling new versions from other dists (Debian Sid and Ubuntu 22.10), compiling them, and "vendoring" the compiled versions as part of the gamescope package. This is done in a way that won't interfere with anything else on your system: they're all in /opt/gamescope/lib/..., and gamescope dynamically links against them in an isolated way that shouldn't affect subprocesses (your games). See ubuntu_22.04/02-gamescope/gamescope-wrapper.sh for details.

Build scripts

The package build scripts here are almost aggressively not DRY, because generalized packaging scripts are unreadable to me. This is also a nearly pedagogical exercize in figuring out how to build a binary debian package from scratch. This may have to change if I support more dists etc in future, but for now at least you can read what's going on...

gamescope-pkg's People

Contributors

akdor1154 avatar github-actions[bot] avatar

Stargazers

Kevin Feng avatar Raff Rodriiguez avatar  avatar adam kaminski avatar abaiqi avatar Ian Levesque avatar James avatar Kim André avatar Polemos avatar  avatar michel memeteau avatar  avatar Serg avatar  avatar  avatar Dmitriy Pushkov avatar Jeremy Soller avatar  avatar Adi avatar elight avatar EnderIce2 avatar  avatar Tatsuya Shiozawa avatar Kyle avatar  avatar Tyrone Matthew Phanghegar avatar  avatar Ven avatar Daniel M. S. avatar Michal Maděra avatar  avatar Nguyễn Vân Phong avatar Sara Murray avatar  avatar

Watchers

 avatar  avatar

gamescope-pkg's Issues

Missing pandoc in Kubuntu 22.04

Hello, I just wanted to inform you that I successfully installed gamescope using your script. I encountered a small issue: the pandoc command was missing, so I had to install it manually using the following command:

sudo apt install pandoc -y

How do I use this?

This is likely my own misunderstanding, but I'm struggling to figure out how to use the repo to get Gamescope working. There are at least 4 different make files, a Python script buried a few layers down that has a main() function, but there aren't any clear instructions in the README file on how to put it all together, and I'm not fluent enough in Python or how make files work to figure it out. I've tried running a few of the make files, and the Python script, but all of them just throw errors without seeming to accomplish anything. I've also tried installing the .deb package under the releases tab, but that didn't help me with the missing dependencies for Gamescope.

Ubuntu 24.04

Ubuntu 24.04 is about to be released. I suppose you can drop some of the workarounds by adding support to it. Perhaps you can even drop support for 22.04 to incentivize people to upgrade.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.