r13340 - in packages/trunk/playonlinux/debian: . patches

Bertrand Marc bbk-guest at alioth.debian.org
Wed Feb 29 21:28:26 UTC 2012


Author: bbk-guest
Date: 2012-02-29 21:28:26 +0000 (Wed, 29 Feb 2012)
New Revision: 13340

Added:
   packages/trunk/playonlinux/debian/patches/disable_gl_check
Modified:
   packages/trunk/playonlinux/debian/changelog
   packages/trunk/playonlinux/debian/patches/series
Log:
New patch disable_gl_check

Modified: packages/trunk/playonlinux/debian/changelog
===================================================================
--- packages/trunk/playonlinux/debian/changelog	2012-02-29 21:01:43 UTC (rev 13339)
+++ packages/trunk/playonlinux/debian/changelog	2012-02-29 21:28:26 UTC (rev 13340)
@@ -3,8 +3,9 @@
   * 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 <beberking at gmail.com>  Wed, 29 Feb 2012 22:01:30 +0100
+ -- Bertrand Marc <beberking at gmail.com>  Wed, 29 Feb 2012 22:27:21 +0100
 
 playonlinux (4.0.14-1) unstable; urgency=low
 

Added: packages/trunk/playonlinux/debian/patches/disable_gl_check
===================================================================
--- packages/trunk/playonlinux/debian/patches/disable_gl_check	                        (rev 0)
+++ packages/trunk/playonlinux/debian/patches/disable_gl_check	2012-02-29 21:28:26 UTC (rev 13340)
@@ -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:]:
+ 			

Modified: packages/trunk/playonlinux/debian/patches/series
===================================================================
--- packages/trunk/playonlinux/debian/patches/series	2012-02-29 21:01:43 UTC (rev 13339)
+++ packages/trunk/playonlinux/debian/patches/series	2012-02-29 21:28:26 UTC (rev 13340)
@@ -2,3 +2,4 @@
 x-terminal-emulator.diff
 mscorefonts.diff
 disable_update_alert.diff
+disable_gl_check




More information about the Pkg-games-commits mailing list