This is an automated email from the git hooks/post-receive script.

bmarc pushed a commit to branch master
in repository playonlinux.

commit 645ad5ecfa14494b53aa1319aba4be7fae7982cb
Author: Bertrand Marc <[email protected]>
Date:   Wed Feb 29 21:28:26 2012 +0000

    New patch disable_gl_check
---
 debian/changelog                |  3 ++-
 debian/patches/disable_gl_check | 27 +++++++++++++++++++++++++++
 debian/patches/series           |  1 +
 3 files changed, 30 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 54f1fa1..4fdba60 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,8 +3,9 @@ playonlinux (4.0.15-1) UNRELEASED; urgency=low
   * New upstream release.
   * Depends on x11-utils to provide xdpyinfo.
   * Refresh patches.
+  * Add new patch disable_gl_check to disable a stupid check using gcc.
 
- -- Bertrand Marc <[email protected]>  Wed, 29 Feb 2012 22:01:30 +0100
+ -- Bertrand Marc <[email protected]>  Wed, 29 Feb 2012 22:27:21 +0100
 
 playonlinux (4.0.14-1) unstable; urgency=low
 
diff --git a/debian/patches/disable_gl_check b/debian/patches/disable_gl_check
new file mode 100644
index 0000000..f9a9f18
--- /dev/null
+++ b/debian/patches/disable_gl_check
@@ -0,0 +1,27 @@
+--- a/python/mainwindow.py
++++ b/python/mainwindow.py
+@@ -692,24 +692,6 @@
+               if(os.popen("id -u").read() == "0\n" or os.popen("id 
-u").read() == "0"):
+                       wx.MessageBox(_("{0} is not supposed to be run as root. 
Sorry").format(os.environ["APPLICATION_TITLE"]),_("Error"))
+                       sys.exit()                      
+-              
+-              try:
+-                      
returncode=subprocess.call(os.environ["PLAYONLINUX"]+"/bin/x86.linux.check")
+-              except:
+-                      returncode=255
+-                      
+-              if(os.environ["POL_OS"] == "Linux" and returncode != 0):
+-                      wx.MessageBox(_("{0} is unable to find 32bits OpenGL 
libraries.\n\nYou might encounter problem with your 
games").format(os.environ["APPLICATION_TITLE"]),_("Error"))
+-                      print("Failed to load 32bits libraries : 
"+str(returncode))
+-              
+-              try:
+-                      
returncode=subprocess.call(os.environ["PLAYONLINUX"]+"/bin/amd64.linux.check")
+-              except:
+-                      returncode=255
+-
+-              if(os.environ["AMD64_COMPATIBLE"] == "True" and 
os.environ["POL_OS"] == "Linux" and returncode != 0):
+-                      wx.MessageBox(_("{0} is unable to find 64bits OpenGL 
libraries.\n\nYou might encounter problem with your 
games").format(os.environ["APPLICATION_TITLE"]),_("Error"))
+-                      print("Failed to load 64bits libraries : 
"+str(returncode))
+                                       
+               for f in  sys.argv[1:]:
+                       
diff --git a/debian/patches/series b/debian/patches/series
index d73c971..d871406 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -2,3 +2,4 @@ locale.diff
 x-terminal-emulator.diff
 mscorefonts.diff
 disable_update_alert.diff
+disable_gl_check

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-games/playonlinux.git

_______________________________________________
Pkg-games-commits mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-games-commits

Reply via email to