summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-analyzer/packetgarden/files')
-rw-r--r--net-analyzer/packetgarden/files/packetgarden-1.0-games-path.patch40
-rw-r--r--net-analyzer/packetgarden/files/packetgarden-1.0-launcher.patch28
2 files changed, 0 insertions, 68 deletions
diff --git a/net-analyzer/packetgarden/files/packetgarden-1.0-games-path.patch b/net-analyzer/packetgarden/files/packetgarden-1.0-games-path.patch
deleted file mode 100644
index 79ab76401..000000000
--- a/net-analyzer/packetgarden/files/packetgarden-1.0-games-path.patch
+++ /dev/null
@@ -1,40 +0,0 @@
---- pg_garden.py.orig 2007-02-06 20:33:04.000000000 +0100
-+++ pg_garden.py 2007-02-06 20:47:43.000000000 +0100
-@@ -331,7 +331,7 @@
- os.execl('pg_garden.exe')
- else:
- try:
-- os.execl('/usr/share/games/packetgarden/pg_garden.py')
-+ os.execl('/usr/share/packetgarden/pg_garden.py')
- except:
- os.execl('python ./pg_garden.py')
-
-@@ -1297,7 +1297,7 @@
- self.send.visible = 0
- self.send_label.visible = 0
- try:
-- cap = subprocess.Popen("gksudo --message='Packet Garden needs permission to read information from your network card.' python /usr/share/games/packetgarden/pg_packet.py " +self.device +" " +PG_DIR, shell=True)
-+ cap = subprocess.Popen("gksudo --message='Packet Garden needs permission to read information from your network card.' python /usr/share/packetgarden/pg_packet.py " +self.device +" " +PG_DIR, shell=True)
- except:
- cap = subprocess.Popen("gksudo --message='Packet Garden needs permission to read information from your network card.' python ./pg_packet.py " +self.device +" " +PG_DIR, shell=True)
- menu_toggle(1)
-@@ -1320,7 +1320,7 @@
- except:
- pass
- try:
-- subprocess.Popen("gksudo --message='Packet Garden needs permission to stop the capture process.' /usr/share/games/packetgarden/stop_capture", shell=True)
-+ subprocess.Popen("gksudo --message='Packet Garden needs permission to stop the capture process.' /usr/share/packetgarden/stop_capture", shell=True)
- except:
- subprocess.Popen("gksudo --message='Packet Garden needs permission to stop the capture process.' ./stop_capture", shell=True)
- menu_toggle(1)
---- pg_player.py.orig 2007-01-29 08:25:32.000000000 +0100
-+++ pg_player.py 2007-02-06 20:48:10.000000000 +0100
-@@ -86,7 +86,7 @@
- os.execl('pg_garden.exe')
- else: # defaults to Linux
- try:
-- os.execl('/usr/share/games/packetgarden/pg_garden.py')
-+ os.execl('/usr/share/packetgarden/pg_garden.py')
- except:
- os.execl('python ./pg_garden.py')
- elif self.event[1] == sdlconst.K_LEFT: self.left_key_down = 1
diff --git a/net-analyzer/packetgarden/files/packetgarden-1.0-launcher.patch b/net-analyzer/packetgarden/files/packetgarden-1.0-launcher.patch
deleted file mode 100644
index 9cadbe496..000000000
--- a/net-analyzer/packetgarden/files/packetgarden-1.0-launcher.patch
+++ /dev/null
@@ -1,28 +0,0 @@
---- packetgarden.orig 2007-02-06 01:51:24.000000000 +0100
-+++ packetgarden 2007-02-06 01:56:38.000000000 +0100
-@@ -6,20 +6,20 @@
- if [ "$1" = "-local" ]; then {
- export EXECDIR=.
- } else {
-- export EXECDIR=/usr/share/games/packetgarden/
-+ export EXECDIR=/usr/share/packetgarden/
- }
- fi
- if ls $HOME/.packetgarden; then {
- echo "user directory already exists"
-- $EXECDIR/pg_garden.py
-+ python $EXECDIR/pg_garden.py
- } else {
-- echo "first run.. copying game data from /usr/share/games/packetgarden to ~/.packetgarden.."
-+ echo "first run.. copying data from /usr/share/packetgarden to ~/.packetgarden.."
- mkdir $HOME/.packetgarden
- if [ "$1" = "-local" ]; then {
- cp -r config data guide logs labels stats $HOME/.packetgarden/
- } else {
-- cd /usr/share/games/packetgarden/ ; cp -r config data guide logs labels stats $HOME/.packetgarden/
-+ cd /usr/share/packetgarden/ ; cp -r config data guide logs labels stats $HOME/.packetgarden/
- } fi
-- $EXECDIR/pg_garden.py
-+ python $EXECDIR/pg_garden.py
- } fi
- } fi