r9025 - in packages/trunk/playonlinux/debian: . patches
Bertrand Marc
bbk-guest at alioth.debian.org
Tue Mar 3 22:36:20 UTC 2009
Author: bbk-guest
Date: 2009-03-03 22:36:20 +0000 (Tue, 03 Mar 2009)
New Revision: 9025
Modified:
packages/trunk/playonlinux/debian/patches/x-terminal-emulator.diff
packages/trunk/playonlinux/debian/rules
Log:
Fix permissions, change the name of the default terminal
Modified: packages/trunk/playonlinux/debian/patches/x-terminal-emulator.diff
===================================================================
--- packages/trunk/playonlinux/debian/patches/x-terminal-emulator.diff 2009-03-03 21:39:48 UTC (rev 9024)
+++ packages/trunk/playonlinux/debian/patches/x-terminal-emulator.diff 2009-03-03 22:36:20 UTC (rev 9025)
@@ -1,5 +1,5 @@
--- /dev/null
-+++ playonlinux-3.3.1/bash/terminals/system
++++ playonlinux-3.3.1/bash/terminals/Default
@@ -0,0 +1,2 @@
+#!/bin/sh
+x-terminal-emulator -e "$@"
@@ -20,7 +20,7 @@
### Terminal
-export POL_TERM="xterm"
-+export POL_TERM="system"
++export POL_TERM="Default"
if [ -e "$REPERTOIRE/configurations/options/terminal" ]
then
export POL_TERM=$(cat $REPERTOIRE/configurations/options/terminal)
@@ -28,7 +28,7 @@
if [ $POL_TERM = "" ]
then
- export POL_TERM="xterm"
-+ export POL_TERM="system"
++ export POL_TERM="Default"
fi
### Desktop
@@ -37,7 +37,7 @@
if [ $POL_TERM = "" ]
then
- export POL_TERM="xterm"
-+ export POL_TERM="system"
++ export POL_TERM="Default"
fi
### Language
@@ -46,7 +46,7 @@
if [ $POL_TERM = "" ]
then
- export POL_TERM="xterm"
-+ export POL_TERM="system"
++ export POL_TERM="Default"
fi
export POL_LANG=$(echo "$LANG" | cut -d\_ -f 1)
@@ -57,7 +57,7 @@
default_terminal = open(Variables.playonlinux_rep+"/configurations/options/terminal","r").read()
else:
- default_terminal = "xterm"
-+ default_terminal = "system"
++ default_terminal = "Default"
self.Term = wx.ComboBox(self.panelGeneral, -1, value=default_terminal, choices=os.listdir(Variables.playonlinux_env+"/bash/terminals"), pos=(20,120),style=wx.CB_READONLY)
self.buttonTestT = wx.Button(self.panelGeneral, 111, _("Tests"), pos=(230,120), size=(80,27))
Modified: packages/trunk/playonlinux/debian/rules
===================================================================
--- packages/trunk/playonlinux/debian/rules 2009-03-03 21:39:48 UTC (rev 9024)
+++ packages/trunk/playonlinux/debian/rules 2009-03-03 22:36:20 UTC (rev 9025)
@@ -38,6 +38,7 @@
chmod -x CHANGELOG
chmod +x lib/*
chmod +x lang/old/*
+ chmod +x bash/terminals/*
# Build architecture-independent files here.
More information about the Pkg-games-commits
mailing list