[SCM] Debian packaging of wesnoth branch, experimental, updated. 52393ded7cb0123699a9a0cff897b134eae84725

Gerfried Fuchs rhonda at debian.at
Thu Mar 18 19:10:31 UTC 2010


The following commit has been merged in the experimental branch:
commit 34913f9f94920fb3eac80a5200869004ba084905
Author: Gerfried Fuchs <rhonda at debian.at>
Date:   Sun Feb 28 21:49:48 2010 +0100

    Adjust -nolog -smallgui and _editor wrappers

diff --git a/debian/changelog b/debian/changelog
index 1faccbf..edccd5b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,5 +1,7 @@
 wesnoth (1:1.7.13-2) experimental; urgency=low
 
+  * Adjusted the -nolog, -smallgui and _editor wrapper scripts to be
+    universally usable.
   * Script debian/branchcheck written to create all the versioned files
     automatically, from .in files.
 
diff --git a/debian/wesnoth-1.7-nolog b/debian/wesnoth-1.7-nolog
new file mode 100644
index 0000000..bfdc4d3
--- /dev/null
+++ b/debian/wesnoth-1.7-nolog
@@ -0,0 +1,6 @@
+#!/bin/sh
+# generic wesnoth-nolog script
+# copyright 2009 by Gerfried Fuchs <rhonda at debian.at>
+# Licenced under BSD style
+
+$(echo $0 | sed -e s/-nolog$//) $* > /dev/null 2> /dev/null
diff --git a/debian/wesnoth-1.7-smallgui b/debian/wesnoth-1.7-smallgui
new file mode 100644
index 0000000..fbec491
--- /dev/null
+++ b/debian/wesnoth-1.7-smallgui
@@ -0,0 +1,10 @@
+#!/bin/sh
+# generic wesnoth-smallgui script
+# copyright 2009 by Gerfried Fuchs <rhonda at debian.at>
+# Licenced under BSD style
+
+cmd=$(basename $0)
+nosmall=$(echo $0 | sed -e s/-smallgui$//)
+
+echo "$cmd is deprecated -- please use $nosmall --smallgui directly!"
+$nosmall --smallgui $*
diff --git a/debian/wesnoth-1.7_editor b/debian/wesnoth-1.7_editor
new file mode 100644
index 0000000..79821ce
--- /dev/null
+++ b/debian/wesnoth-1.7_editor
@@ -0,0 +1,10 @@
+#!/bin/sh
+# generic wesnoth_editor script
+# copyright 2009 by Gerfried Fuchs <rhonda at debian.at>
+# Licenced under BSD style
+
+cmd=$(basename $0)
+noedit=$(echo $0 | sed -e s/_editor$//)
+
+echo "$0 is deprecated -- please use $noedit --editor directly!"
+$noedit --editor $*
diff --git a/debian/wesnoth-BRANCH-nolog.in b/debian/wesnoth-BRANCH-nolog.in
new file mode 100644
index 0000000..bfdc4d3
--- /dev/null
+++ b/debian/wesnoth-BRANCH-nolog.in
@@ -0,0 +1,6 @@
+#!/bin/sh
+# generic wesnoth-nolog script
+# copyright 2009 by Gerfried Fuchs <rhonda at debian.at>
+# Licenced under BSD style
+
+$(echo $0 | sed -e s/-nolog$//) $* > /dev/null 2> /dev/null
diff --git a/debian/wesnoth-BRANCH-smallgui.in b/debian/wesnoth-BRANCH-smallgui.in
new file mode 100644
index 0000000..fbec491
--- /dev/null
+++ b/debian/wesnoth-BRANCH-smallgui.in
@@ -0,0 +1,10 @@
+#!/bin/sh
+# generic wesnoth-smallgui script
+# copyright 2009 by Gerfried Fuchs <rhonda at debian.at>
+# Licenced under BSD style
+
+cmd=$(basename $0)
+nosmall=$(echo $0 | sed -e s/-smallgui$//)
+
+echo "$cmd is deprecated -- please use $nosmall --smallgui directly!"
+$nosmall --smallgui $*
diff --git a/debian/wesnoth-BRANCH_editor.in b/debian/wesnoth-BRANCH_editor.in
new file mode 100644
index 0000000..79821ce
--- /dev/null
+++ b/debian/wesnoth-BRANCH_editor.in
@@ -0,0 +1,10 @@
+#!/bin/sh
+# generic wesnoth_editor script
+# copyright 2009 by Gerfried Fuchs <rhonda at debian.at>
+# Licenced under BSD style
+
+cmd=$(basename $0)
+noedit=$(echo $0 | sed -e s/_editor$//)
+
+echo "$0 is deprecated -- please use $noedit --editor directly!"
+$noedit --editor $*
diff --git a/debian/wesnoth-nolog b/debian/wesnoth-nolog
deleted file mode 100644
index 5fccada..0000000
--- a/debian/wesnoth-nolog
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/bin/sh
-wesnoth $* > /dev/null 2> /dev/null
diff --git a/debian/wesnoth-smallgui b/debian/wesnoth-smallgui
deleted file mode 100644
index 03bb749..0000000
--- a/debian/wesnoth-smallgui
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh
-echo "wesnoth-smallgui is deprecated -- please use wesnoth --smallgui directly!"
-wesnoth --smallgui $*
diff --git a/debian/wesnoth_editor b/debian/wesnoth_editor
deleted file mode 100644
index 85f635f..0000000
--- a/debian/wesnoth_editor
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh
-echo "wesnoth_editor is deprecated -- please use wesnoth --editor directly!"
-wesnoth --editor $*

-- 
Debian packaging of wesnoth



More information about the Pkg-games-commits mailing list