From 2de0b974c76ffdf4e6609c284de6d40a3cd27f77 Mon Sep 17 00:00:00 2001
From: Christopher Spinrath <christopher.spinrath@rwth-aachen.de>
Date: Wed, 28 Aug 2013 14:43:44 +0200
Subject: [PATCH] set default wallpaper patch

---
 .../UbuntuCustomizationKit/customize-lip32/customize   |  5 +++++
 .../rootfs-patches/default-wallpaper.patch             | 10 ++++++++++
 .../UbuntuCustomizationKit/customize-lip64/customize   |  5 +++++
 .../rootfs-patches/default-wallpaper.patch             | 10 ++++++++++
 4 files changed, 30 insertions(+)
 create mode 100644 Installer-USB-Stick/UbuntuCustomizationKit/customize-lip32/rootfs-patches/default-wallpaper.patch
 create mode 100644 Installer-USB-Stick/UbuntuCustomizationKit/customize-lip64/rootfs-patches/default-wallpaper.patch

diff --git a/Installer-USB-Stick/UbuntuCustomizationKit/customize-lip32/customize b/Installer-USB-Stick/UbuntuCustomizationKit/customize-lip32/customize
index 659d9a3..a2c1b6f 100755
--- a/Installer-USB-Stick/UbuntuCustomizationKit/customize-lip32/customize
+++ b/Installer-USB-Stick/UbuntuCustomizationKit/customize-lip32/customize
@@ -69,4 +69,9 @@ install_packages
 
 #patch rootfs
 patch_all "$SCRIPT_DIR/rootfs-patches/" "/"
+
+#i.e. required for applying default-wallpaper patch
+echo "compiling glib2 schemas..."
+glib-compile-schemas /usr/share/glib-2.0/schemas
+
 finalize
diff --git a/Installer-USB-Stick/UbuntuCustomizationKit/customize-lip32/rootfs-patches/default-wallpaper.patch b/Installer-USB-Stick/UbuntuCustomizationKit/customize-lip32/rootfs-patches/default-wallpaper.patch
new file mode 100644
index 0000000..a0143dc
--- /dev/null
+++ b/Installer-USB-Stick/UbuntuCustomizationKit/customize-lip32/rootfs-patches/default-wallpaper.patch
@@ -0,0 +1,10 @@
+--- a/usr/share/glib-2.0/schemas/10_gsettings-desktop-schemas.gschema.override	2012-04-16 16:09:28.000000000 +0200
++++ b/usr/share/glib-2.0/schemas/10_gsettings-desktop-schemas.gschema.override	2013-08-28 12:57:47.709018364 +0200
+@@ -1,6 +1,6 @@
+ [org.gnome.desktop.background]
+ show-desktop-icons=true
+-picture-uri='file:///usr/share/backgrounds/warty-final-ubuntu.png'
++picture-uri='file:///usr/share/backgrounds/lip-wallpaper.png'
+ 
+ [org.gnome.desktop.wm.keybindings]
+ minimize = ['<Primary><Alt>KP_0']
diff --git a/Installer-USB-Stick/UbuntuCustomizationKit/customize-lip64/customize b/Installer-USB-Stick/UbuntuCustomizationKit/customize-lip64/customize
index 659d9a3..a2c1b6f 100755
--- a/Installer-USB-Stick/UbuntuCustomizationKit/customize-lip64/customize
+++ b/Installer-USB-Stick/UbuntuCustomizationKit/customize-lip64/customize
@@ -69,4 +69,9 @@ install_packages
 
 #patch rootfs
 patch_all "$SCRIPT_DIR/rootfs-patches/" "/"
+
+#i.e. required for applying default-wallpaper patch
+echo "compiling glib2 schemas..."
+glib-compile-schemas /usr/share/glib-2.0/schemas
+
 finalize
diff --git a/Installer-USB-Stick/UbuntuCustomizationKit/customize-lip64/rootfs-patches/default-wallpaper.patch b/Installer-USB-Stick/UbuntuCustomizationKit/customize-lip64/rootfs-patches/default-wallpaper.patch
new file mode 100644
index 0000000..a0143dc
--- /dev/null
+++ b/Installer-USB-Stick/UbuntuCustomizationKit/customize-lip64/rootfs-patches/default-wallpaper.patch
@@ -0,0 +1,10 @@
+--- a/usr/share/glib-2.0/schemas/10_gsettings-desktop-schemas.gschema.override	2012-04-16 16:09:28.000000000 +0200
++++ b/usr/share/glib-2.0/schemas/10_gsettings-desktop-schemas.gschema.override	2013-08-28 12:57:47.709018364 +0200
+@@ -1,6 +1,6 @@
+ [org.gnome.desktop.background]
+ show-desktop-icons=true
+-picture-uri='file:///usr/share/backgrounds/warty-final-ubuntu.png'
++picture-uri='file:///usr/share/backgrounds/lip-wallpaper.png'
+ 
+ [org.gnome.desktop.wm.keybindings]
+ minimize = ['<Primary><Alt>KP_0']
-- 
GitLab