Skip to content

Instantly share code, notes, and snippets.

View sharkwouter's full-sized avatar

Wouter Wijsman sharkwouter

  • gridscale
  • Cologne, Germany
  • 21:29 (UTC +02:00)
View GitHub Profile
--2020-05-02 11:56:54-- http://kcat.strangesoft.net/openal-releases/openal-soft-1.14.tar.bz2
Resolving kcat.strangesoft.net (kcat.strangesoft.net)... 107.170.232.238
Connecting to kcat.strangesoft.net (kcat.strangesoft.net)|107.170.232.238|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://kcat.strangesoft.net/openal-releases/openal-soft-1.14.tar.bz2 [following]
--2020-05-02 11:56:55-- https://kcat.strangesoft.net/openal-releases/openal-soft-1.14.tar.bz2
Connecting to kcat.strangesoft.net (kcat.strangesoft.net)|107.170.232.238|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 221579 (216K) [application/x-bzip2]
Saving to: 'openal-soft-1.14.tar.bz2'
@sharkwouter
sharkwouter / gist:ed27247d0eef78be8844d4b53387061b
Created May 1, 2020 20:06
openal with new toolchain in docker
--2020-05-01 20:01:14-- http://kcat.strangesoft.net/openal-releases/openal-soft-1.14.tar.bz2
Resolving kcat.strangesoft.net (kcat.strangesoft.net)... 107.170.232.238
Connecting to kcat.strangesoft.net (kcat.strangesoft.net)|107.170.232.238|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://kcat.strangesoft.net/openal-releases/openal-soft-1.14.tar.bz2 [following]
--2020-05-01 20:01:15-- https://kcat.strangesoft.net/openal-releases/openal-soft-1.14.tar.bz2
Connecting to kcat.strangesoft.net (kcat.strangesoft.net)|107.170.232.238|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 221579 (216K) [application/x-bzip2]
Saving to: 'openal-soft-1.14.tar.bz2'
-- The C compiler identification is GNU 9.3.0
-- The CXX compiler identification is GNU 9.3.0
-- Check for working C compiler: /usr/local/pspdev/bin/psp-gcc
-- Check for working C compiler: /usr/local/pspdev/bin/psp-gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/local/pspdev/bin/psp-g++
-- Check for working CXX compiler: /usr/local/pspdev/bin/psp-g++ -- works
Deleting old version of SDL2-2.0.9
Extracting 2.0.9.tar.gz...
Extracting 2.0.9.tar.gz...
-- The C compiler identification is GNU 9.3.0
-- Check for working C compiler: /usr/local/pspdev/bin/psp-gcc
-- Check for working C compiler: /usr/local/pspdev/bin/psp-gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
@sharkwouter
sharkwouter / gist:f39f9e9891f95ed5855b302d5831df75
Created April 25, 2020 15:59
Build errors OpenAL Debian 10
ls: cannot access '/usr/local/pspdev/psp/lib/libopenal.a': No such file or directory
ls: cannot access '/usr/local/pspdev/psp/include/AL/al.h': No such file or directory
ls: cannot access '/usr/local/pspdev/psp/include/AL/alc.h': No such file or directory
--2020-04-25 17:53:00-- http://kcat.strangesoft.net/openal-releases/openal-soft-1.14.tar.bz2
Resolving kcat.strangesoft.net (kcat.strangesoft.net)... 107.170.232.238
Connecting to kcat.strangesoft.net (kcat.strangesoft.net)|107.170.232.238|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://kcat.strangesoft.net/openal-releases/openal-soft-1.14.tar.bz2 [following]
--2020-04-25 17:53:00-- https://kcat.strangesoft.net/openal-releases/openal-soft-1.14.tar.bz2
Connecting to kcat.strangesoft.net (kcat.strangesoft.net)|107.170.232.238|:443... connected.
import pygame
import pygameMenu
import flatpakmanager_steamos
import pyflatpak
import math
pygame.init()
pygame.joystick.init()
joysticks = [pygame.joystick.Joystick(x) for x in range(pygame.joystick.get_count())]
for joystick in joysticks:
--- a/post_install.sh
+++ b/post_install.sh
@@ -90,6 +90,28 @@ Name=postlogon
EOF
#
+# Make set_hd_mode.sh run at the first logon
+#
+cat - > /target/home/steam/.config/autostart/set_hd_mode.desktop << 'EOF'
+[Desktop Entry]