commit e0f048241ba4e9c505cbdb867923c0188dabce82
Author: Jacek Konieczny <[email protected]>
Date:   Sun Feb 8 13:53:40 2015 +0100

    Disable steam-runtime in the steamdeps script
    
    Steam starts the script with LD_LIBRARY_PATH pointed to the
    steam-runtime, a set of Ubuntu-compatible shared libraries used as a
    portable environment for running games. Unfortunately our poldek or RPM
    is incompatible with some versions of libraries there, which makes
    package install fail.

 steamdeps.patch | 21 +++++++++++++++++----
 1 file changed, 17 insertions(+), 4 deletions(-)
---
diff --git a/steamdeps.patch b/steamdeps.patch
index f4cea94..71cc5d3 100644
--- a/steamdeps.patch
+++ b/steamdeps.patch
@@ -1,6 +1,6 @@
 diff -dur steam.orig/steamdeps steam/steamdeps
 --- steam.orig/steamdeps       2014-02-11 01:25:25.000000000 +0100
-+++ steam/steamdeps    2014-06-14 12:23:17.512765217 +0200
++++ steam/steamdeps    2015-02-08 13:53:00.628717189 +0100
 @@ -20,21 +20,91 @@
  # This is the set of supported dependency formats
  SUPPORTED_STEAM_DEPENDENCY_VERSION = [ '1' ]
@@ -307,7 +307,20 @@ diff -dur steam.orig/steamdeps steam/steamdeps
                return False
  
        return True
-@@ -355,10 +441,20 @@
+@@ -314,7 +400,11 @@
+               sys.stderr.write( "Usage: %s dependencies.txt\n" % sys.argv[0] )
+               return 1
+ 
+-      # Make sure we can open the file
++      # disable steam runtime, so their libs won't conflict our binaries
++      os.unsetenv("LD_LIBRARY_PATH")
++      os.unsetenv("LD_PRELOAD")
++
++        # Make sure we can open the file
+       try:
+               fp = open(sys.argv[1])
+       except Exception as e:
+@@ -355,10 +445,20 @@
        
                row = []
                for section in line.split( "|" ):
@@ -329,7 +342,7 @@ diff -dur steam.orig/steamdeps steam/steamdeps
                        packages[ package.name ] = package
                        row.append( package )
  
-@@ -375,32 +471,43 @@
+@@ -375,32 +475,43 @@
        if ( "COLUMNS" in os.environ ):
                del os.environ[ "COLUMNS" ]
  
@@ -380,7 +393,7 @@ diff -dur steam.orig/steamdeps steam/steamdeps
  
        # If we have anything to install, do it!
        if ( len(needed) > 0 ):
-@@ -409,8 +516,12 @@
+@@ -409,8 +520,12 @@
                                print( "Package %s is installed with version 
'%s' but doesn't match requirements: %s" % (package.name, package.installed, 
package) )
                        else:
                                print( "Package %s needs to be installed" % 
package.name )
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/steam-launcher.git/commitdiff/e0f048241ba4e9c505cbdb867923c0188dabce82

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to