quicksynergy (0.9-1) debian-dir only changes

Summary

 debian/changelog                             |   86 +++++++
 debian/compat                                |    1 
 debian/control                               |   21 +
 debian/copyright                             |   33 ++
 debian/install                               |    2 
 debian/manpages                              |    1 
 debian/menu                                  |    4 
 debian/patches/100_oldconfig_transition.diff |   75 ++++++
 debian/patches/series                        |    1 
 debian/quicksynergy.1                        |   16 +
 debian/quicksynergy.desktop                  |   10 
 debian/quicksynergy.xpm                      |  321 +++++++++++++++++++++++++++
 debian/rules                                 |    6 
 debian/watch                                 |    3 
 14 files changed, 580 insertions(+)

    
download this patch

Patch contents

--- quicksynergy-0.9.orig/debian/quicksynergy.desktop
+++ quicksynergy-0.9/debian/quicksynergy.desktop
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Name=QuickSynergy
+Name[fr]=QuickSynergy
+Comment=A graphical interface for easily configuring Synergy
+Comment[fr]=Une interface graphique pour configurer simplement Synergy
+Exec=quicksynergy
+Icon=quicksynergy
+Terminal=false
+Type=Application
+Categories=GTK;Utility;
--- quicksynergy-0.9.orig/debian/manpages
+++ quicksynergy-0.9/debian/manpages
@@ -0,0 +1 @@
+debian/quicksynergy.1
--- quicksynergy-0.9.orig/debian/rules
+++ quicksynergy-0.9/debian/rules
@@ -0,0 +1,6 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/autotools.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
--- quicksynergy-0.9.orig/debian/watch
+++ quicksynergy-0.9/debian/watch
@@ -0,0 +1,3 @@
+version=3
+
+http://qa.debian.org/watch/sf.php/quicksynergy quicksynergy-(.+)\.tar\.gz
--- quicksynergy-0.9.orig/debian/menu
+++ quicksynergy-0.9/debian/menu
@@ -0,0 +1,4 @@
+?package(quicksynergy):needs="X11" section="Applications/System/Administration" \
+  title="QuickSynergy" command="/usr/bin/quicksynergy" \
+  longtitle="A graphical interface to easily configure Synergy" \
+  icon="/usr/share/pixmaps/quicksynergy.xpm"
--- quicksynergy-0.9.orig/debian/copyright
+++ quicksynergy-0.9/debian/copyright
@@ -0,0 +1,33 @@
+This package was debianized by Jeremie Corbier
+<jeremie.corbier@resel.enst-bretagne.fr> on Sun,  6 Aug 2006 17:58:45 +0200.
+
+It was downloaded from:
+http://sourceforge.net/project/showfiles.php?group_id=152489
+
+Copyright Holders: Otávio C. Cordeiro <otavio@gmail.com>
+                   César L. B. Silveira <cesarbs@gmail.com>
+
+License:
+
+ Copyright (C) 2006, 2007, 2008 César L. B. Silveira, Otávio C. Cordeiro
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of MER-
+ CHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+ Public License for more details.
+
+ You should have received a copy of the GNU General Public License along
+ with this program; if not, write to the Free Software Foundation, Inc.,
+ 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
+
+The complete text of the GNU General Public License can be found in
+`/usr/share/common-licenses/GPL'.
+
+The Debian packaging is (C) 2006, Jérémie Corbier
+<jeremie.corbier@resel.enst-bretagne.fr> and is licensed under the GNU General
+Public License (either version 2 or any later version).
--- quicksynergy-0.9.orig/debian/quicksynergy.1
+++ quicksynergy-0.9/debian/quicksynergy.1
@@ -0,0 +1,16 @@
+.TH QUICKSYNERGY 1 "August 2006"
+.SH NAME
+quicksynergy \- GUI for easily configuring Synergy.
+.SH SYNOPSIS
+.B quicksynergy
+.SH DESCRIPTION
+\fBquicksynergy\fP is a graphical interface (GUI) for easily configuring
+.I Synergy
+, an application that allows the user to share his mouse and keyboard between
+two or more computers.
+.SH AUTHOR
+The Linux version of quicksynergy was written by Cesar Blum <cesarbs@gmail.com>.
+.PP
+This manual page was written by Jeremie Corbier <jeremie.corbier@resel.enst-bretagne.fr>,
+for the Debian project (but may be used by others).
+
--- quicksynergy-0.9.orig/debian/compat
+++ quicksynergy-0.9/debian/compat
@@ -0,0 +1 @@
+5
--- quicksynergy-0.9.orig/debian/control
+++ quicksynergy-0.9/debian/control
@@ -0,0 +1,21 @@
+Source: quicksynergy
+Section: net
+Priority: optional
+Maintainer: Jeremie Corbier <jeremie.corbier@resel.enst-bretagne.fr>
+Build-Depends: debhelper (>= 5.0.0), cdbs, quilt, libgtk2.0-dev, libxml-parser-perl
+Standards-Version: 3.8.0
+Homepage: http://quicksynergy.sourceforge.net/
+Vcs-Git: git://git.famille-corbier.net/packages/quicksynergy.git/
+Vcs-Browser: http://git.famille-corbier.net/?p=packages/quicksynergy.git;a=summary
+
+Package: quicksynergy
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, synergy (>= 1.3.1)
+Description: GUI for easy configuration of Synergy
+ QuickSynergy is a graphical interface (GUI) for easily configuring Synergy,
+ an application that allows the user to share their mouse and keyboard between
+ two or more computers.
+ .
+ Without the need for any external hardware, Synergy uses the TCP-IP protocol
+ to share the resources, even between machines with different operating
+ systems, such as Mac OS, Linux and Windows.
--- quicksynergy-0.9.orig/debian/quicksynergy.xpm
+++ quicksynergy-0.9/debian/quicksynergy.xpm
@@ -0,0 +1,321 @@
+/* XPM */
+static char * quicksynergy_xpm[] = {
+"32 32 286 2",
+"  	c None",
+". 	c #797979",
+"+ 	c #ADADAD",
+"@ 	c #ACACAC",
+"# 	c #ABABAB",
+"$ 	c #AAAAAA",
+"% 	c #A9A9A9",
+"& 	c #A8A8A8",
+"* 	c #A7A7A7",
+"= 	c #9B9B9B",
+"- 	c #AFAFAF",
+"; 	c #DADBDC",
+"> 	c #CFD5DB",
+", 	c #CDD3DB",
+"' 	c #CCD3DA",
+") 	c #CBD1D9",
+"! 	c #CAD1D8",
+"~ 	c #C9D0D7",
+"{ 	c #C9CFD7",
+"] 	c #C7CED5",
+"^ 	c #C7CDD5",
+"/ 	c #C6CDD4",
+"( 	c #C5CCD3",
+"_ 	c #C4CBD2",
+": 	c #C3CAD1",
+"< 	c #C5C8CC",
+"[ 	c #D4D4D4",
+"} 	c #595959",
+"| 	c #AEAEAE",
+"1 	c #CED5DB",
+"2 	c #A9C5E2",
+"3 	c #A3C4E6",
+"4 	c #9ABCDF",
+"5 	c #B1BFCF",
+"6 	c #D0D1D2",
+"7 	c #CAD2DA",
+"8 	c #A2C4E6",
+"9 	c #9CC3EB",
+"0 	c #9BC2E9",
+"a 	c #8BACCE",
+"b 	c #7496BA",
+"c 	c #99A6B6",
+"d 	c #B5B6B8",
+"e 	c #5A5A5A",
+"f 	c #C9D0D9",
+"g 	c #A2C3E6",
+"h 	c #88A3BF",
+"i 	c #99A1A7",
+"j 	c #A8ADB2",
+"k 	c #AEB0B2",
+"l 	c #B1B2B2",
+"m 	c #828282",
+"n 	c #C7CFD7",
+"o 	c #9AC2EA",
+"p 	c #8CB5E1",
+"q 	c #6C7F93",
+"r 	c #D9D9D9",
+"s 	c #D1D7CA",
+"t 	c #C5D2B8",
+"u 	c #C4D1B7",
+"v 	c #C3D0B6",
+"w 	c #C2CFB5",
+"x 	c #C1CFB4",
+"y 	c #C0CEB3",
+"z 	c #BFCCB2",
+"A 	c #BDCBB0",
+"B 	c #BDCAB0",
+"C 	c #BBC9AE",
+"D 	c #BBC8AE",
+"E 	c #BAC6AF",
+"F 	c #C5C8C2",
+"G 	c #C6CED7",
+"H 	c #9AC1EA",
+"I 	c #8CB5E0",
+"J 	c #80ABD8",
+"K 	c #74A1D1",
+"L 	c #677A8F",
+"M 	c #D6D7D5",
+"N 	c #B1CC98",
+"O 	c #B4DA90",
+"P 	c #B4DA91",
+"Q 	c #86B957",
+"R 	c #B3C0A6",
+"S 	c #C5CCD5",
+"T 	c #97BFE8",
+"U 	c #8FB8E2",
+"V 	c #74A1D0",
+"W 	c #729FCF",
+"X 	c #D3D5D1",
+"Y 	c #ACCB8F",
+"Z 	c #C2E6A0",
+"` 	c #BEE49B",
+" .	c #8CC257",
+"..	c #65A527",
+"+.	c #ADBE9E",
+"@.	c #C3CBD4",
+"#.	c #91B9E4",
+"$.	c #7BA7D5",
+"%.	c #D2D4D0",
+"&.	c #ABCA8F",
+"*.	c #9BCC6B",
+"=.	c #5AA215",
+"-.	c #ACBC9D",
+";.	c #C2CAD2",
+">.	c #9DBFE3",
+",.	c #82ADDA",
+"'.	c #73A0D0",
+").	c #667A8F",
+"!.	c #D1D3CF",
+"~.	c #ABC98E",
+"{.	c #AFDA87",
+"].	c #7FBB48",
+"^.	c #4E9A06",
+"/.	c #64A527",
+"(.	c #ABBB9B",
+"_.	c #C2C8D0",
+":.	c #93B4D8",
+"<.	c #7CA5D1",
+"[.	c #7BA4D1",
+"}.	c #6A7C90",
+"|.	c #D0D2CE",
+"1.	c #AAC88D",
+"2.	c #A8D57D",
+"3.	c #86BF50",
+"4.	c #63A822",
+"5.	c #509B09",
+"6.	c #A9B999",
+"7.	c #C9CACC",
+"8.	c #BDC5CF",
+"9.	c #BAC5D2",
+"0.	c #B9C5D2",
+"a.	c #B9C4D1",
+"b.	c #B8C4D0",
+"c.	c #B8C3D0",
+"d.	c #B7C3CF",
+"e.	c #B6C2CF",
+"f.	c #B6C2CE",
+"g.	c #84898F",
+"h.	c #CFD1CD",
+"i.	c #A9C78C",
+"j.	c #BDE399",
+"k.	c #A9D67F",
+"l.	c #87BF51",
+"m.	c #61A61F",
+"n.	c #A7B798",
+"o.	c #7F7F7F",
+"p.	c #7D7D7D",
+"q.	c #CED0CC",
+"r.	c #A8C78B",
+"s.	c #BDE299",
+"t.	c #7EBA45",
+"u.	c #5CA319",
+"v.	c #A6B698",
+"w.	c #606060",
+"x.	c #6E6E6E",
+"y.	c #747474",
+"z.	c #787878",
+"A.	c #727272",
+"B.	c #646464",
+"C.	c #CDCFCB",
+"D.	c #A7C58A",
+"E.	c #9CCD6D",
+"F.	c #62A721",
+"G.	c #575757",
+"H.	c #767676",
+"I.	c #A0A0A0",
+"J.	c #A5A5A5",
+"K.	c #A4A4A4",
+"L.	c #CDCECB",
+"M.	c #A4C189",
+"N.	c #64A625",
+"O.	c #5AA017",
+"P.	c #6FAA36",
+"Q.	c #A7B79A",
+"R.	c #5C5C5C",
+"S.	c #565656",
+"T.	c #555555",
+"U.	c #585858",
+"V.	c #5B5B5B",
+"W.	c #CECECE",
+"X.	c #BFC6B8",
+"Y.	c #ADC398",
+"Z.	c #ACC297",
+"`.	c #ABC296",
+" +	c #ABC196",
+".+	c #AAC095",
+"++	c #A9BF94",
+"@+	c #A8BF93",
+"#+	c #A8BE93",
+"$+	c #ABBC9A",
+"%+	c #B8BBB6",
+"&+	c #999999",
+"*+	c #A3A3A3",
+"=+	c #A2A2A2",
+"-+	c #818181",
+";+	c #444444",
+">+	c #6A6A6A",
+",+	c #737373",
+"'+	c #7A7A7A",
+")+	c #7B7B7B",
+"!+	c #7C7C7C",
+"~+	c #636363",
+"{+	c #3E3E3E",
+"]+	c #909090",
+"^+	c #9F9F9F",
+"/+	c #A6A6A6",
+"(+	c #5D5D5D",
+"_+	c #616161",
+":+	c #5F5F5F",
+"<+	c #5E5E5E",
+"[+	c #545454",
+"}+	c #C6C6C6",
+"|+	c #C0C0C0",
+"1+	c #BEBEBE",
+"2+	c #BCBCBC",
+"3+	c #BABABA",
+"4+	c #B8B8B8",
+"5+	c #B6B6B6",
+"6+	c #B4B4B4",
+"7+	c #B1B1B1",
+"8+	c #B0B0B0",
+"9+	c #A1A1A1",
+"0+	c #9D9D9D",
+"a+	c #D3D3D3",
+"b+	c #D1D1D1",
+"c+	c #CFCFCF",
+"d+	c #CDCDCD",
+"e+	c #CCCCCC",
+"f+	c #CACACA",
+"g+	c #C7C7C7",
+"h+	c #C3C3C3",
+"i+	c #C2C2C2",
+"j+	c #BBBBBB",
+"k+	c #888888",
+"l+	c #FBFBFB",
+"m+	c #F8F8F8",
+"n+	c #F5F5F5",
+"o+	c #F2F2F2",
+"p+	c #EFEFEF",
+"q+	c #ECECEC",
+"r+	c #E9E9E9",
+"s+	c #E6E6E6",
+"t+	c #E3E3E3",
+"u+	c #DFDFDF",
+"v+	c #DCDCDC",
+"w+	c #D6D6D6",
+"x+	c #D0D0D0",
+"y+	c #8D8D8D",
+"z+	c #6C6C6C",
+"A+	c #BDBDBD",
+"B+	c #CBCBCB",
+"C+	c #F9F9F9",
+"D+	c #F6F6F6",
+"E+	c #F3F3F3",
+"F+	c #F0F0F0",
+"G+	c #EDEDED",
+"H+	c #E0E0E0",
+"I+	c #DDDDDD",
+"J+	c #DADADA",
+"K+	c #D7D7D7",
+"L+	c #C4C4C4",
+"M+	c #919191",
+"N+	c #9A9A9A",
+"O+	c #C8C8C8",
+"P+	c #C5C5C5",
+"Q+	c #C1C1C1",
+"R+	c #969696",
+"S+	c #878787",
+"T+	c #E2E2E2",
+"U+	c #F4F4F4",
+"V+	c #B9B9B9",
+"W+	c #BFBFBF",
+"X+	c #707070",
+"Y+	c #8A8A8A",
+"Z+	c #E4E4E4",
+"`+	c #8F8F8F",
+" @	c #808080",
+".@	c #949494",
+"+@	c #929292",
+"@@	c #8E8E8E",
+"#@	c #8C8C8C",
+"$@	c #8B8B8B",
+"%@	c #898989",
+"&@	c #868686",
+"*@	c #858585",
+"=@	c #838383",
+"                                                                ",
+"  . + + + @ # # $ $ $ % % & & * * =                             ",
+"  - ; > , ' ) ! ~ { ] ^ / ( _ : < [ }                           ",
+"  | 1 2 3 3 3 3 3 3 3 3 3 3 3 4 5 6 }                           ",
+"  | 7 8 9 9 9 9 9 9 9 9 9 0 a b c d e                           ",
+"  + f g 9 9 9 9 9 9 9 9 9 h i j k l & + @ @ # # # # $ $ % % m   ",
+"  + n g 9 9 9 9 9 9 9 o p q r s t u v w x y z z A B C D E F -   ",
+"  # G g 9 9 9 9 9 H I J K L M N O P P P P P P P P P P O Q R -   ",
+"  # S g 9 9 T U J V W W W L X Y Z Z Z Z Z Z Z Z Z Z `  ...+.|   ",
+"  $ @.g 9 #.$.V W W W W W L %.&.Z Z Z Z Z Z Z Z Z Z *.=...-.|   ",
+"  $ ;.>.,.'.W W W W W W W ).!.~.Z Z Z Z Z Z Z Z {.].^.^./.(.+   ",
+"  % _.:.<.[.[.[.[.[.[.[.[.}.|.1.Z Z Z Z Z Z 2.3.4.5.^.^./.6.+   ",
+"  & 7.8.9.0.a.b.c.d.e.e.f.g.h.i.Z Z j.k.l.m.^.^.^.^.^.^./.n.@   ",
+"  o.- + + @ # % & & * * & p.q.r.Z s.t.u.^.^.^.^.^.^.^.^./.v.@   ",
+"          w.x.y.z.. . z.A.B.C.D.E.F.^.^.^.^.^.^.^.^.^.^./.v.@   ",
+"        G.H.I.J.$ | + % K.. L.M.N.O.O.O.O.O.O.O.O.O.O.O.P.Q.@   ",
+"            R.e S.T.S.U.V.R.W.X.Y.Z.`. +.+.+++@+#+#+#+#+$+%+@   ",
+"                            &+& & & * J.K.*+*+=+*+*+J.J.J.J.-+  ",
+"                            ;+    T.>+,+'+)+!+!+. ,+~+          ",
+"                            {+    } ]+^+/+# - # J.I.. G.        ",
+"                                      R.e G.T.U.V.(+            ",
+"            _+w.w.w.w.:+<+<+e [+(+(+(+(+R.R.R.R.R.V.            ",
+"          ^+}+|+1+2+3+4+5+6+7+8++ # % * J.*+9+^+0+= )+          ",
+"          4+4+[ a+b+c+d+e+f+g+}+h+i+|+1+2+j+4+5+6+K.k+          ",
+"          |+|+l+m+n+o+p+q+r+s+t+u+v+r w+a+x+d+f+g+7+y+          ",
+"        z+A+B+C+D+E+F+G+r+s+t+H+I+J+K+[ b+W.f+g+L+5+M+B.        ",
+"        p.2+K+D+8+^+= = = = N+N+N+= $ B+W.B+O+P+Q+j+R+x.        ",
+"        S+3+T+U+@ 4+c+B+}+i+A+V+6+*+8+}+B+O+P+i+W+W+= X+        ",
+"        Y+4+T+Z+/+W+I+K+b+B+L+W+V+J.+ j+h+Q+1+j+j+j+=+y.        ",
+"        `+Q+1+2+3+A+1+2+3+4+5+6+7++ 8+& $ % * /+J.J.9+ @        ",
+"        ,+.@+@M+`+@@#@$@%@k+&@*@=@m  @o.p.)+'+. . . . z+        ",
+"                                                                "};
--- quicksynergy-0.9.orig/debian/install
+++ quicksynergy-0.9/debian/install
@@ -0,0 +1,2 @@
+debian/quicksynergy.desktop     usr/share/applications
+debian/quicksynergy.xpm         usr/share/pixmaps
--- quicksynergy-0.9.orig/debian/changelog
+++ quicksynergy-0.9/debian/changelog
@@ -0,0 +1,86 @@
+quicksynergy (0.9-1) unstable; urgency=low
+
+  * New upstream release.
+  * debian/rules: no need to specify synergys/c paths anymore.
+  * debian/control: added dependency on quilt.
+  * debian/patches: added 100_oldconfig_transition.diff, allows transitioning
+    between previous configuration file format and current one.
+
+ -- Jeremie Corbier <jeremie.corbier@resel.enst-bretagne.fr>  Mon, 16 Feb 2009 11:56:49 +0100
+
+quicksynergy (0.8.1-1) unstable; urgency=low
+
+  * New upstream release.
+  * debian/patches: removed 001_malloc-fixes.diff, accepted upstream.
+  * debian/control:
+    -> removed dependency on quilt, no more patches to be applied.
+    -> removed dependency on psmisc since quicksynergy no longer uses killall
+       to stop synergys/c.
+
+ -- Jeremie Corbier <jeremie.corbier@resel.enst-bretagne.fr>  Tue, 29 Jul 2008 13:08:10 +0200
+
+quicksynergy (0.8-1) unstable; urgency=low
+
+  * New upstream release.
+  * debian/quicksynergy.desktop: removed deprecated Encoding key.
+  * debian/control: made package description gender neutral, thanks to
+    Gerfried Fuchs for pointing this out (Closes: #482960).
+  * debian/copyright: updated copyright information.
+  * Bumped up Standards-Version to 3.8.0: no changes needed.
+
+ -- Jeremie Corbier <jeremie.corbier@resel.enst-bretagne.fr>  Wed, 16 Jul 2008 14:03:13 +0200
+
+quicksynergy (0.7-1) unstable; urgency=low
+
+  * New upstream release.
+  * Added quilt as a patch system:
+    -> 001_malloc-fixes.diff: fixed a few off-by-one string mem allocation
+       errors (Closes: #424403).
+  * debian/menu: comply with the new Debian menu structure.
+  * debian/control:
+    -> Homepage field update.
+    -> Use official Vcs fields.
+  * Bumped up Standards-Version to 3.7.3: no other changes than debian/menu
+    needed.
+
+ -- Jeremie Corbier <jeremie.corbier@resel.enst-bretagne.fr>  Mon, 07 Jan 2008 12:59:07 +0100
+
+quicksynergy (0.6-1) unstable; urgency=low
+
+  * New upstream release.
+  * debian/control:
+    -> add a build-dep on libxml-parser-perl needed by the new configure.
+    -> add a dependency on psmisc since quicksynergy uses killall to stop
+       external synergy processes.
+  * New upstream icon.
+  * Added XS-Vcs-* fields.
+
+ -- Jeremie Corbier <jeremie.corbier@resel.enst-bretagne.fr>  Sun, 20 May 2007 12:54:43 -0700
+
+quicksynergy (0.5-1) unstable; urgency=low
+
+  * New upstream release:
+    -> new "Settings" tab.
+    -> synergy process control code rewritten (Closes: #389703).
+    -> cleaner build system.
+  * debian/rules: adapted to the new build system.
+  * debian/quicksynergy.xpm: new upstream icon.
+  * Updated menu entries.
+
+ -- Jeremie Corbier <jeremie.corbier@resel.enst-bretagne.fr>  Sat, 23 Dec 2006 16:54:18 -0800
+
+quicksynergy (0.3.2.1-1) unstable; urgency=low
+
+  * New upstrem release:
+    -> Replace symlinks to /usr/share/autotools-1.9 by actual files.
+  * debian/control:
+    -> Removed Build-Dep on automake1.9: no more needed since those symlinks
+       were removed upstream.
+
+ -- Jeremie Corbier <jeremie.corbier@resel.enst-bretagne.fr>  Sun, 24 Sep 2006 10:30:53 -0700
+
+quicksynergy (0.3.2-1) unstable; urgency=low
+
+  * Initial release (Closes: #384245).
+
+ -- Jeremie Corbier <jeremie.corbier@resel.enst-bretagne.fr>  Fri, 18 Aug 2006 22:34:01 +0200
--- quicksynergy-0.9.orig/debian/patches/series
+++ quicksynergy-0.9/debian/patches/series
@@ -0,0 +1 @@
+100_oldconfig_transition.diff
--- quicksynergy-0.9.orig/debian/patches/100_oldconfig_transition.diff
+++ quicksynergy-0.9/debian/patches/100_oldconfig_transition.diff
@@ -0,0 +1,75 @@
+Transition to new configuration file format.
+
+Index: quicksynergy/src/synergy_config.c
+===================================================================
+--- quicksynergy.orig/src/synergy_config.c
++++ quicksynergy/src/synergy_config.c
+@@ -21,6 +21,7 @@
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <unistd.h>
++#include <string.h>
+ #include <sys/stat.h>
+ #include <sys/types.h>
+ #include <glib.h>
+@@ -28,6 +29,46 @@
+ #include "ui.h"
+ #include "intl.h"
+ 
++static qs_state_t *load_old_config(qs_state_t *state)
++{
++    FILE *f;
++    char key[16], value[48];
++    const char *home_dir = getenv("HOME");
++
++    /* Defaults */
++    state->above = _("Above");
++    state->below = _("Below");
++    state->left  = _("Left");
++    state->right = _("Right");
++    state->hostname = "";
++    state->client_name = "";
++    state->synergy_path = "/usr/bin";
++    state->running = 0;
++
++    chdir(home_dir);
++
++    if((f = fopen(QS_CONF_DIR QS_CONF_FILE, "r"))) {
++        do {
++            if(fscanf(f, "%15s%47s", key, value) != EOF) {
++                if(!strcmp(key, "Above"))
++                    state->above = strdup(value);
++                else if(!strcmp(key, "Below"))
++                    state->below = strdup(value);
++                else if(!strcmp(key, "Left"))
++                    state->left = strdup(value);
++                else if(!strcmp(key, "Right"))
++                    state->right = strdup(value);
++                else if(!strcmp(key, "Host"))
++                    state->hostname = strdup(value);
++            }
++        } while(!feof(f));
++
++        fclose(f);
++    }
++
++    return state;
++}
++
+ qs_state_t *load_config() {
+     const char *home_dir = getenv("HOME");
+     qs_state_t *state;
+@@ -41,6 +82,13 @@
+     
+     state = (qs_state_t *) malloc(sizeof(qs_state_t));
+     
++
++    /* Old config transition */
++    if(!g_key_file_has_group(key_file, "Settings")) {
++        g_key_file_free(key_file);
++        return load_old_config(state);
++    }
++
+     state->above =
+         (g_key_file_has_key(key_file, "Share", "Above", NULL)   ?
+          g_key_file_get_value(key_file, "Share", "Above", NULL) :