147 Commits
Author SHA1 Message Date
Ikey Doherty d1b7a86867 Bump version to 0.4.1
Signed-off-by: Ikey Doherty <ikey@solus-project.com>
v0.4.1
2017-10-11 16:19:59 +01:00
Ikey Doherty 0c252321e3 Document config properly for use-libintercept
Signed-off-by: Ikey Doherty <ikey@solus-project.com>
2017-10-11 16:18:06 +01:00
Ikey Doherty b9d677dee1 Let the fine folks know where they can get LSI
Signed-off-by: Ikey Doherty <ikey@solus-project.com>
2017-10-11 16:02:33 +01:00
Ikey Doherty 86fbf11040 Merge pull request #12 from alunux/master
Use `value` instead `default` keyword in with-shim build option
2017-10-11 14:30:42 +01:00
La Ode Muh. Fadlun Akbar ec67c801ad meson_options: Use value instead default keyword in with-shim option 2017-10-11 17:45:01 +07:00
Ikey Doherty 0a02c111a0 Can't go to bed with that looking me in the face.
Signed-off-by: Ikey Doherty <ikey@solus-project.com>
2017-10-11 02:57:58 +01:00
Ikey Doherty 48a9bac406 Fix up RST remnants, add some more debugging info
Signed-off-by: Ikey Doherty <ikey@solus-project.com>
2017-10-11 02:47:37 +01:00
Ikey Doherty 8de8962099 Improve README formatting
Signed-off-by: Ikey Doherty <ikey@solus-project.com>
2017-10-11 02:42:40 +01:00
Ikey Doherty de9380dc8d Make the README somewhat useful.
Signed-off-by: Ikey Doherty <ikey@solus-project.com>
2017-10-11 02:40:46 +01:00
Ikey Doherty 9bd423fb34 intercept: Dedupe the list
Signed-off-by: Ikey Doherty <ikey@solus-project.com>
2017-10-11 01:58:20 +01:00
Ikey Doherty 75d2e9cc45 Restore option for controlling libcxx abi for LD_PRELOAD, fixes steam runtime
Signed-off-by: Ikey Doherty <ikey@solus-project.com>
2017-10-11 01:28:48 +01:00
Ikey Doherty 7d0acc9891 Add script to magically make a tarball, bump version to 0.4
Signed-off-by: Ikey Doherty <ikey@solus-project.com>
v0.4
2017-10-11 00:32:29 +01:00
Ikey Doherty 7bae532d85 Update README with details about the intercept library
Signed-off-by: Ikey Doherty <ikey@solus-project.com>
2017-10-11 00:23:16 +01:00
Ikey Doherty 4f332c9acf Update mkgobuildy to install directly to the system
Signed-off-by: Ikey Doherty <ikey@solus-project.com>
2017-10-11 00:16:54 +01:00
Ikey Doherty f2dddd9f88 intercept: Catch the last of the SDL offenders like steamwebhelper
This now ensures steamwebhelper is also using our SDL as it was previously
loading from a relative location. This actually fixes issues on my local
system whereby the steam trailer videos couldn't full screen properly,
now using our own SDL, they can.

Signed-off-by: Ikey Doherty <ikey@solus-project.com>
2017-10-11 00:15:52 +01:00
Ikey Doherty 94d5c6d939 intercept: Pretty print stuff
Signed-off-by: Ikey Doherty <ikey@solus-project.com>
2017-10-10 23:38:12 +01:00
Ikey Doherty f4564e2ab8 intercept: Be spammy only on demand, and provide relevant information
Signed-off-by: Ikey Doherty <ikey@solus-project.com>
2017-10-10 23:33:11 +01:00
Ikey Doherty 8d85cb3bed Fix storage of the use-libintercept setting
Signed-off-by: Ikey Doherty <ikey@solus-project.com>
2017-10-10 23:28:40 +01:00
Ikey Doherty fb2e84cb97 frontend: Teach UI how to control the libintercept setting
Signed-off-by: Ikey Doherty <ikey@solus-project.com>
2017-10-10 23:23:48 +01:00
Ikey Doherty e1f2783d11 shim: Allow disabling libintercept from config
Note libintercept requires that we use the native runtime, otherwise very
bad things will happen. ™

Signed-off-by: Ikey Doherty <ikey@solus-project.com>
2017-10-10 23:18:11 +01:00
Ikey Doherty 13afbe69c3 lsi: Teach configuration about libintercept toggle
Signed-off-by: Ikey Doherty <ikey@solus-project.com>
2017-10-10 23:17:29 +01:00
Ikey Doherty b458346f5a Fix invalid date range for copyright assignment
Signed-off-by: Ikey Doherty <ikey@solus-project.com>
2017-10-10 23:12:53 +01:00
Ikey Doherty bf4fcfe533 Fix another trace of autotools
Signed-off-by: Ikey Doherty <ikey@solus-project.com>
2017-10-10 23:11:39 +01:00
Ikey Doherty b7ba890433 Start updating README for meson
Signed-off-by: Ikey Doherty <ikey@solus-project.com>
2017-10-10 23:10:47 +01:00
Ikey Doherty faa0c3a154 Nuke ancient TODO that knows not of which it speaks
Signed-off-by: Ikey Doherty <ikey@solus-project.com>
2017-10-10 23:06:32 +01:00
Ikey Doherty 99e54dd74b Drastically simplify gitignore..
Signed-off-by: Ikey Doherty <ikey@solus-project.com>
2017-10-10 23:05:58 +01:00
Ikey Doherty 5d18366a17 Nuke old autotools cruft
Signed-off-by: Ikey Doherty <ikey@solus-project.com>
2017-10-10 23:05:30 +01:00
Ikey Doherty 6154f2373c Allow installing .desktop files once more
Signed-off-by: Ikey Doherty <ikey@solus-project.com>
2017-10-10 23:03:51 +01:00
Ikey Doherty fe80861f66 frontend: Fix linking once more
Signed-off-by: Ikey Doherty <ikey@solus-project.com>
2017-10-10 23:00:12 +01:00
Ikey Doherty 38ec05ce98 Move lsi into new subdir to be reused as static lib
Signed-off-by: Ikey Doherty <ikey@solus-project.com>
2017-10-10 22:59:33 +01:00
Ikey Doherty d983f8ebdf Add currently failing build for frontend
Signed-off-by: Ikey Doherty <ikey@solus-project.com>
2017-10-10 22:54:51 +01:00
Ikey Doherty 4d3abc5e37 Enable GTK frontend, don't build Shim for 32-bit
Signed-off-by: Ikey Doherty <ikey@solus-project.com>
2017-10-10 22:52:45 +01:00
Ikey Doherty 47e50b789f shim: Only set LD_AUDIT if we were built with libintercept enabled
Signed-off-by: Ikey Doherty <ikey@solus-project.com>
2017-10-10 22:51:40 +01:00
Ikey Doherty 9905a2bc81 intercept: Allow controlling build of this library
Signed-off-by: Ikey Doherty <ikey@solus-project.com>
2017-10-10 22:50:28 +01:00
Ikey Doherty 11e1d8ae5f shim: Build lsi-steam or not at all, depending on meson options
Signed-off-by: Ikey Doherty <ikey@solus-project.com>
2017-10-10 22:46:19 +01:00
Ikey Doherty 00e78f705e Only build frontend and look for GTK if its requested
Signed-off-by: Ikey Doherty <ikey@solus-project.com>
2017-10-10 22:44:02 +01:00
Ikey Doherty 54c685bb1a Set things up to be configured via meson options
Signed-off-by: Ikey Doherty <ikey@solus-project.com>
2017-10-10 22:42:07 +01:00
Ikey Doherty a61e22d677 shim: When using native runtime, load liblsi-intercept in LD_AUDIT
liblsi-intercept has a simple job of stopping Steam from trying to
replace all of the system libraries in a mish-mash approach. Even when
we have STEAM_RUNTIME=0, and even with the advent of the new "prefer host
libraries" system, the internal replacements and pinning system actually
break massively.

To counteract this issue, we use our own rtld-audit implementation when
launching the real Steam, which will severely restrict which libraries the
main Steam binaries are actually allowed to load. This is on a whitelist
basis and ensures that the host libraries will be used where appropriate,
i.e. SDL, X11, etc. This prevents compatibility issues as well as the random
crashes we're now seeing with Steam beta.

Signed-off-by: Ikey Doherty <ikey@solus-project.com>
2017-10-10 22:31:25 +01:00
Ikey Doherty 93b0f82279 Hack stuff up so we can build shim again
Signed-off-by: Ikey Doherty <ikey@solus-project.com>
2017-10-10 22:27:54 +01:00
Ikey Doherty d870577a55 intercept: Add missing modelines
Signed-off-by: Ikey Doherty <ikey@solus-project.com>
2017-10-10 22:07:15 +01:00
Ikey Doherty fd252e265d Move common helpers to common.h to fix compilation warnings
Signed-off-by: Ikey Doherty <ikey@solus-project.com>
2017-10-10 22:07:02 +01:00
Ikey Doherty 3684dfe11e intercept: More unused code
Signed-off-by: Ikey Doherty <ikey@solus-project.com>
2017-10-10 22:04:22 +01:00
Ikey Doherty d5b31dbf54 intercept: That guy is unused
Signed-off-by: Ikey Doherty <ikey@solus-project.com>
2017-10-10 22:03:43 +01:00
Ikey Doherty f6dcc30d33 shim: Ensure we disable GTK_MODULES (thanks @cybre!)
Same reason as XMODIFIERS - it'll stop Steam starting up properly

Signed-off-by: Ikey Doherty <ikey@solus-project.com>
2017-10-10 21:56:11 +01:00
Ikey Doherty 7a2670f3e1 intercept: Completely clamp down on Steam, allow only Steam's own libs
Signed-off-by: Ikey Doherty <ikey@solus-project.com>
2017-10-10 21:54:59 +01:00
Ikey Doherty 61d9296a6c Let's pretend that one didnt happen
Signed-off-by: Ikey Doherty <ikey@solus-project.com>
2017-10-10 21:07:36 +01:00
Ikey Doherty f2bbe963b6 Clean up script so LD_AUDIT is a thing again
Signed-off-by: Ikey Doherty <ikey@solus-project.com>
2017-10-10 20:52:12 +01:00
Ikey Doherty 4547d8582a One more test to ensure this isnt environment related
Signed-off-by: Ikey Doherty <ikey@solus-project.com>
2017-10-10 20:50:50 +01:00
Ikey Doherty 1db376fa38 Turns out fatal is bad always because Steam is bad. Also, preload again
Signed-off-by: Ikey Doherty <ikey@solus-project.com>
2017-10-10 20:45:36 +01:00
Ikey Doherty 0bf704fc79 We like segfaults
Signed-off-by: Ikey Doherty <ikey@solus-project.com>
2017-10-10 20:44:08 +01:00