Package: lxinput
Version: 0.1.1-2
Severity: normal
Tags: patch
User: [email protected]
Usertags: origin-ubuntu maverick ubuntu-patch
Forwarding patch from Ubuntu to fix location of the settings file.
Forwarded also upstream.
changelog:
* Switch to dpkg-source 3.0 (quilt) format
* debian/patches/01-update-config-file.patch
- Update configuration file location (LP: #563530)
-- System Information:
Debian Release: squeeze/sid
APT prefers lucid-updates
APT policy: (500, 'lucid-updates'), (500, 'lucid-security'), (500,
'lucid-proposed'), (500, 'lucid')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32-22-generic (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
=== modified file 'debian/changelog'
=== added directory 'debian/patches'
=== added file 'debian/patches/01-update-config-file.patch'
--- debian/patches/01-update-config-file.patch 1970-01-01 00:00:00 +0000
+++ debian/patches/01-update-config-file.patch 2010-05-19 20:27:54 +0000
@@ -0,0 +1,15 @@
+Index: lxinput/src/lxinput.c
+===================================================================
+--- lxinput.orig/src/lxinput.c 2010-05-19 22:27:39.000000000 +0200
++++ lxinput/src/lxinput.c 2010-05-19 22:27:49.000000000 +0200
+@@ -138,8 +138,8 @@
+
+ static void load_settings()
+ {
+- /* load settings form LXDE config files */
+- file = g_build_filename( g_get_user_config_dir(), "lxde/config", NULL );
++ /* load settings from current session config files */
++ file = g_build_filename( g_get_user_config_dir(), "lxsession/", g_getenv("DESKTOP_SESSION"), "/desktop.conf", NULL );
+ gboolean ret = g_key_file_load_from_file( kf, file, 0, NULL );
+
+ if( ret )
=== added file 'debian/patches/series'
--- debian/patches/series 1970-01-01 00:00:00 +0000
+++ debian/patches/series 2010-05-19 20:27:36 +0000
@@ -0,0 +1 @@
+01-update-config-file.patch
=== added directory 'debian/source'
=== added file 'debian/source/format'
--- debian/source/format 1970-01-01 00:00:00 +0000
+++ debian/source/format 2010-05-19 20:15:09 +0000
@@ -0,0 +1 @@
+3.0 (quilt)