Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

linux-steam-integration: init at 0.7.2 #33051

Merged
merged 1 commit into from Jan 3, 2018

Conversation

etu
Copy link
Contributor

@etu etu commented Dec 25, 2017

Motivation for this change

Linux Steam Integration is the foundation of the work that the Solus Project have done to get steam to "work better" on their OS. It seems like they solve a lot of problems with their wrappers and things.

Things to solve:

  • 32bit build

Here's the script used by archlinux to see how they build it both as 64 and 32 bit. https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=linux-steam-integration

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option build-use-sandbox in nix.conf on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Fits CONTRIBUTING.md.

};

steamBinPath = "${stdenv.lib.makeBinPath (with pkgs; [ steam ])}/steam";
zenityBinPath = "${stdenv.lib.makeBinPath (with pkgs; [ zenity ])}/zenity";
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

these two can go in a let expression since they're not actual arguments for mkDerivation

@etu etu force-pushed the linux-steam-integration branch 3 times, most recently from 010c358 to 37fa40c Compare December 27, 2017 12:03
@etu etu changed the title [WIP] linux-steam-integration: init at 0.7.2 linux-steam-integration: init at 0.7.2 Dec 27, 2017
@etu
Copy link
Contributor Author

etu commented Dec 27, 2017

Since I got the 32bit parts to build I think this PR is ready. It at least works on my 64bit systems and don't complain about missing 32bit libraries when running lsi-steam.

@etu etu force-pushed the linux-steam-integration branch 7 times, most recently from 915e76d to d85c9f7 Compare December 27, 2017 14:00
@etu
Copy link
Contributor Author

etu commented Dec 28, 2017

cc @jagajaga, any opinions on this?

@jagajaga
Copy link
Member

Cc @abbradar

@etu etu force-pushed the linux-steam-integration branch 3 times, most recently from b3258a2 to 105f8f5 Compare January 1, 2018 19:14
@etu etu closed this Jan 1, 2018
@etu etu deleted the linux-steam-integration branch January 1, 2018 19:15
@etu etu restored the linux-steam-integration branch January 1, 2018 19:16
@etu etu reopened this Jan 1, 2018
homepage = https://github.com/solus-project/linux-steam-integration;
license = licenses.lgpl21;
maintainers = [ maintainers.etu ];
platforms = platforms.linux;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be platforms = [ "x86_64-linux" ];.
stdenv.lib.platforms.linux includes mips and arm arches where steam does not run.

name = "linux-steam-integration-${version}";

nativeBuildInputs = [ meson ninja pkgconfig git gettext gcc_multi ];
buildInputs = [ pkgs.gtk3 libressl ];
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is better to take gtk3 as an argument rather than using gtk3 from the pkgs attribute set.

@adisbladis adisbladis merged commit 0928735 into NixOS:master Jan 3, 2018
@etu etu deleted the linux-steam-integration branch January 4, 2018 13:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants