summaryrefslogtreecommitdiffstats
path: root/debian/patches
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches')
-rw-r--r--debian/patches/revert_gnome_tour.patch29
-rw-r--r--debian/patches/series1
2 files changed, 30 insertions, 0 deletions
diff --git a/debian/patches/revert_gnome_tour.patch b/debian/patches/revert_gnome_tour.patch
new file mode 100644
index 0000000..09db0d3
--- /dev/null
+++ b/debian/patches/revert_gnome_tour.patch
@@ -0,0 +1,29 @@
+diff --git a/data/gnome-welcome-tour b/data/gnome-welcome-tour
+index 51c9b599..c4792962 100755
+--- a/data/gnome-welcome-tour
++++ b/data/gnome-welcome-tour
+@@ -2,12 +2,20 @@
+
+ cfgdir=${XDG_CONFIG_DIR:-$HOME/.config}
+
+-# Don't do anything if gnome-tour isn't installed
+-gnome_tour_path=$(which gnome-tour 2>/dev/null)
+-if test -z "${gnome_tour_path}"; then
++# Don't do anything if yelp isn't installed
++yelp_path=$(which yelp 2>/dev/null)
++if test -z "${yelp_path}"; then
+ rm -f $cfgdir/run-welcome-tour
+ exit
+ fi
+
+-gnome-tour
++if [ ! -d $cfgdir/yelp ]; then
++ mkdir $cfgdir/yelp
++ cat <<EOF >>$cfgdir/yelp/yelp.cfg
++[documents/help%3Agnome-help]
++geometry=(1024, 709)
++EOF
++fi
++
++yelp help:gnome-help/getting-started
+ rm -f $cfgdir/run-welcome-tour
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..c5c50e6
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+revert_gnome_tour.patch