--- xneur-0.9.3.orig/debian/docs +++ xneur-0.9.3/debian/docs @@ -0,0 +1,4 @@ +NEWS +README +TODO +AUTHORS --- xneur-0.9.3.orig/debian/xneur.NEWS +++ xneur-0.9.3/debian/xneur.NEWS @@ -0,0 +1,11 @@ +xneur (0.8.0+svn20080310-1) unstable; urgency=low + + From now we put dictionaries to /usr/share/xneur. Old dictionaries should be + removed in preinst. If you changed something there, your modified version + will be saved as .dpkg-bak + + If you wish to override default dictionaries with your own, feel free to put + them in /etc/xneur, they will have higher priority then ones in + /usr/share/xneur. + + -- Alexander GQ Gerasiov Sat, 22 Mar 2008 21:30:16 +0300 --- xneur-0.9.3.orig/debian/xneur.README.Debian +++ xneur-0.9.3/debian/xneur.README.Debian @@ -0,0 +1,28 @@ +XNeur for Debian +----------------- + +XNeur is auto/manual keyboard layout switcher. It's useful in multilingual (e.g. +English and Russian) configuration. It works on Xserver layer. After starting it +you can type some English text with keyboard layout turned to Russian. In +automatic mode XNeur will detect this, switch layout to English and convert typed +text to English too. In manual mode you control layout switching/text conversion +via hotkey. + +For now XNeur support English, Russian, Ukrainian, Belarusian, French, +Romanian, German and Kazakh. +Feel free to contribute. + +gXNeur is GTK frontend for xneur which shows XNeur's status in tray and gives +GUI to XNeur configuration. +kXNeur is KDE3 frontend. It may be less stable than gXNeur, but KDE users could +prefere it. + +For documentation in Russian see http://xneur.ru +Some English documentation is also avable there. + +NOTE: +Config files in /etc/xneur is just a TEMPLATE. On first run XNeur copies +configs into $HOME/.xneur, and after that only user's configs are used. + + -- Alexander GQ Gerasiov Wed, 23 Jul 2008 23:08:48 +0400 + --- xneur-0.9.3.orig/debian/libxnconfig-dev.install +++ xneur-0.9.3/debian/libxnconfig-dev.install @@ -0,0 +1,4 @@ +usr/include/ +usr/lib/libxnconfig.a +usr/lib/libxnconfig.so +usr/lib/pkgconfig/ --- xneur-0.9.3.orig/debian/control +++ xneur-0.9.3/debian/control @@ -0,0 +1,50 @@ +Source: xneur +Section: x11 +Priority: optional +Maintainer: Alexander GQ Gerasiov +Build-Depends: debhelper (>= 5), dpatch, libx11-dev, libxmu-headers, libxt-dev, libpcre3-dev, pkg-config, libaspell-dev, libgstreamer0.10-dev, libtool, libxosd-dev, libimlib2-dev, libxpm-dev +Standards-Version: 3.8.0 +Homepage: http://xneur.ru +XS-Vcs-Git: git://git.gq.net.ru/xneur.git +XS-Vcs-Browser: http://git.gq.net.ru/?p=xneur.git + +Package: xneur +Architecture: any +Depends: ${shlibs:Depends} +Recommends: gxneur (>=0.9.3) | kxneur (>=0.9.3) +Description: in-place conversion of text typed in with a wrong keyboard layout + When users work in multilingual environment (e.g. Russian+English), they + sometimes type in text with wrong keyboard layout. In auto mode XNeur can + automatically detect language of word user typed, switch keyboard layout and + convert word from one keyboard layout into another. In manual mode user has + ability to convert last typed word or some selected text with hot-keys. + The main idea of this utility is similar to Punto Switcher for MS Windows. + For now XNeur support English, Russian, Ukrainian, Belarusian, French, + Romanian, German and Kazakh. + +Package: libxnconfig9.0.3 +Architecture: any +Section: libs +Depends: ${shlibs:Depends} +Conflicts: libxnconfig, libxnconfig7, libxnconfig6, libxnconfig5, libxnconfig4 +Provides: libxnconfig +Replaces: libxnconfig +Description: xneur config file abstraction library + This package provides config file abstraction layer for XNeur, gXNeur and + any other XNeur's frontend. + +Package: libxnconfig-dev +Architecture: any +Section: libdevel +Depends: ${shlibs:Depends}, libpcre3-dev, libaspell-dev, libxnconfig9.0.3 (>= ${binary:Version}) +Description: Development files for xneur config file abstraction library + This package provides development files of config file abstraction library + for XNeur, gXNeur and any other XNeur's frontend. + +Package: xneur-dbg +Architecture: any +Section: libdevel +Priority: extra +Depends: xneur (= ${binary:Version}) +Description: XNeur debugging symbols + This package includes the debugging symbols for XNeur. --- xneur-0.9.3.orig/debian/rules +++ xneur-0.9.3/debian/rules @@ -0,0 +1,81 @@ +#!/usr/bin/make -f + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +CFLAGS = -Wall -g + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif + +configure: configure-stamp +configure-stamp: patch-stamp + dh_testdir + ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info --sysconfdir=/etc CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs" + touch configure-stamp + + +patch: patch-stamp +patch-stamp: + dpatch apply-all + dpatch cat-all >patch-stamp + +unpatch: + dpatch deapply-all + rm -rf patch-stamp debian/patched + +build: build-stamp + +build-stamp: configure-stamp + dh_testdir + + $(MAKE) + + touch $@ + +clean: unpatch + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + + [ ! -f Makefile ] || $(MAKE) distclean + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + $(MAKE) DESTDIR=$(CURDIR)/debian/tmp install + + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_installdirs -a + dh_link + dh_installchangelogs + dh_installdocs + dh_install -a --sourcedir=debian/tmp + dh_strip --dbg-package=xneur-dbg + dh_compress + dh_fixperms + dh_makeshlibs + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure --- xneur-0.9.3.orig/debian/watch +++ xneur-0.9.3/debian/watch @@ -0,0 +1,4 @@ +# Compulsory line, this is a version 3 file +version=3 + +http://xneur.ru/wiki/Downloads http://dists.xneur.ru/.*/xneur-([0-9.]+)\.tar\.bz2 --- xneur-0.9.3.orig/debian/changelog +++ xneur-0.9.3/debian/changelog @@ -0,0 +1,248 @@ +xneur (0.9.3-1) unstable; urgency=low + + * New Upstream Version + * Bump package versions and names in debian/control. + * 03_xneurrc.dpatch updated to new version. + * debian/control: new Build-Depends: libimlib2-dev, libxpm-dev + * 02_fix_build_gcc41.dpatch: Fix build with gcc 4.1 + + -- Alexander GQ Gerasiov Sun, 11 Jan 2009 02:38:12 +0300 + +xneur (0.9.2-1) unstable; urgency=low + + * New Upstream Version + * debian/rules: create symlink in doc with dh_link, not ln -s. + * 03_xneurrc.dpatch updated to new xneur version. + + -- Alexander GQ Gerasiov Tue, 04 Nov 2008 02:10:05 +0300 + +xneur (0.9.1-1) unstable; urgency=low + + * Imported Upstream version 0.9.1 + * README.Debian updated. + * Bump Standards-Version to 3.8.0 (no changes needed). + * Fix manpages installation (upstream fixed error in manpage section, + so we remove our workaround). + * Depends on libxpm-dev. + * debian/patches updated: + * Update (g|k)XNeur versions in recommends. + + -- Alexander GQ Gerasiov Wed, 23 Jul 2008 23:21:46 +0400 + +xneur (0.8.0+svn20080310-3) unstable; urgency=low + + * 08_ftbfs_on_amd64_fix.dpatch: pointer might be invalidated before + used in other thread. Fixed. + * Added description for 04_manpages.dpatch. + + -- Alexander GQ Gerasiov Tue, 25 Mar 2008 10:13:28 +0300 + +xneur (0.8.0+svn20080310-2) unstable; urgency=low + + * Added 08_ftbfs_on_amd64_fix: fix for FTBFS on archs where + size_of(int) != size_of(void *). + + -- Alexander GQ Gerasiov Mon, 24 Mar 2008 14:24:59 +0300 + +xneur (0.8.0+svn20080310-1) unstable; urgency=low + + * Imported SVN snapshot 2008.03.10 + * Standards-Version: 3.7.3 (no changes needed). + * Homepage, XS-Vcs-Git and XS-Vcs-Browser fields added. + * Patches were updated to new upstream version. + * 06_default_locale.dpatch removed: fixed upstream. + * libxnconfig8 was renamed into libxnconfig9. + * gXNeur/kXNeur versions in Recommends were updated. + * Added libtool to build-depends. + * Added 02_sigint_handle.dpatch: fix wrong sigint handle. Patch from + upstream SVN (changeset r17). + * Added copyright info about sounds. + * Priority for xneur-dbg changed to extra. + * Added patch 06_install_dict_dir: install dictionaries into + /usr/share/xneur + * Deal with old dictionaries in /etc/xneur: safely remove them in + preinst and announce changes in xneur.NEWS. + + -- Alexander GQ Gerasiov Sun, 23 Mar 2008 00:25:46 +0300 + +xneur (0.8.0-1) unstable; urgency=low + + * New upstream release + + German and Kazakh languages added; + + Sound notifications; + + aspell support. + * Patches updates: + + 02_libxnconfig_version dropped: fixed upstream; + + 04_manpages added: right section for xneurrc(5); + + 07_create_configdir: create ~/.xneur if not exists; + + other patches updated to new sources. + * New build-depends: libaspell-dev, libgstreamer0.10-dev. + * Updated recommends and conflicts (really libxnconfig should conflict + with previous version, not xneur): + + Updated frontends versions; + + Use Conflicts/Provides/Replaces trick to ensure only one version of + libxnconfig is installed. + * Updated library version and library package name. + * Installing manpages. + * Added xneur-dbg package. + * Some trash cleaned from debian dir (like comments from dh_make). + * libxnconfig-dev depends on libaspell-dev. + + -- Alexander GQ Gerasiov Sat, 20 Oct 2007 20:37:57 +0400 + +xneur (0.6.2-1) unstable; urgency=low + + * New upstream release + * Right fix for debian-rules-ignores-make-clean-error. Now it should be ok. + * Updated patches: 05_libdir, 03_xneurrc, 10_shmem_incorrect_usage. + * Added 02_libxnconfig_version.dpatch - set libxnconfig version to 7.0.0. + * Changed libxnconfig6 package name to libxnconfig7. + * Updated dependences in debian/control, added kxneur into recommended. + + -- Alexander GQ Gerasiov Wed, 18 Jul 2007 14:05:39 +0400 + +xneur (0.6.1-3) unstable; urgency=low + + * debian/rules: debian.changelog was missed, fixed. + * debian/control: libxnconfig6-dev depends on libpcre-dev. + * debian/rules: lintian warning debian-rules-ignores-make-clean-error fixed. + * debian/control: lintian warning substvar-source-version-is-deprecated. + + -- Alexander GQ Gerasiov Tue, 10 Jul 2007 11:08:51 +0400 + +xneur (0.6.1-2) unstable; urgency=low + + * 10_shmem_incorrect_usage.dpatch added: correct usage of shmem. Should + allow correct run of XNeur+frontend in multiuser environment. + * Added some forgotten changelog entries for 0.6.1-1. + + -- Alexander GQ Gerasiov Wed, 30 May 2007 18:19:24 +0400 + +xneur (0.6.1-1) unstable; urgency=low + + * New upstream release: + + libxnconfig changes; + + pkg-config dependence; + + some bugfixes. + * libxnconfig version updated to 6.0.0, binary was renamed into + libxnconfig6. + * 07_keysym_include.dpatch dropped: fixed upstream. + * watch file fixed. + * 05_libdir.dpatch added: install library into /usr/lib, not /usr/lib/xneur. + * 04_libxnconfig_libtool_call.dpatch dropped: fixed upstream. + * 06_default_locale.dpatch added: do not switch locale to ru_RU.UTF-8 on + start. + * Don't install upstream ChangeLog, because it's not uptodate. + * NEWS.Debian removed from xneur. + + -- Alexander GQ Gerasiov Tue, 22 May 2007 14:09:39 +0400 + +xneur (0.6.0-2) unstable; urgency=low + + * Patch 07_keysym_include to fix build in Dapper and Sarge. + * Some fixes in debian/rules. + * Upload to Debian (Closes: #406218). + + -- Alexander GQ Gerasiov Wed, 9 May 2007 11:22:22 +0400 + +xneur (0.6.0-1) unstable; urgency=low + + * New upstream release + * watch file fixed + * Patches dropped: + + 05_config_dir_permissions - fixed upstream + * Description updated. + * libxnconfig version updated to 5 + + -- Alexander GQ Gerasiov Fri, 27 Apr 2007 19:13:31 +0400 + +xneur (0.5.0-1) unstable; urgency=low + + * New upstream release + + Regexps as dictionary entries + + Belarusian language supported + + Localised interface (Russian, English, Ukranian, Belarusian) + + Per-window keyboard layout (as in GnomeWM) + + New operations: + # Cyrillic transliteration + # Case switching + * Patches dropped: + + 02_install_header, 90_xneur_script: fixed upstream + * Patches added: + + 04_libxnconfig_libtool_call - Tell libtool to use pcre library when + building libxnconfig.a + + 05_config_dir_permissions - fix permissions of config dirs created in + users's home + * New build-depend: libpcre3-dev + * watch file fixed. + * Typos in description fixed (thanks to Dmitri Gabinski) + * Menu item removed. + + -- Alexander GQ Gerasiov Thu, 22 Mar 2007 01:33:47 +0300 + +xneur (0.4.0-3) unstable; urgency=low + + * Bashism fixed in 90_xneur_script.dpatch. + + -- Alexander GQ Gerasiov Tue, 20 Feb 2007 23:54:50 +0300 + +xneur (0.4.0-2) unstable; urgency=low + + * Fixed some minor issues in package. + + -- Alexander GQ Gerasiov Tue, 23 Jan 2007 19:58:50 +0300 + +xneur (0.4.0-1) unstable; urgency=low + + * New upstream release + + Ukrainian added to supported languages. + + Beryl, Compiz, Ion and some other strange WM's now works (See DummyApp + option in xneurrc). + + Some other enhancements. + * Patches dropped: + + 01_no_chmod_on_etc: superseded by 01_config_installation + + 05_config_in_home: fixed upstream + * Patches added: + + 01_config_installation: disable installation of xneurrc-ua and breaking + of user's .xneurrc + + 03_xneurrc: fix some other default options and descriptions + + -- Alexander GQ Gerasiov Tue, 23 Jan 2007 12:36:49 +0300 + +xneur (0.3-4) unstable; urgency=low + + * Package description updated. + + -- Alexander GQ Gerasiov Thu, 11 Jan 2007 09:50:23 +0300 + +xneur (0.3-3) unstable; urgency=low + + * Fixed broken script /u/b/xneur. What happends with it? + + -- Alexander GQ Gerasiov Mon, 1 Jan 2007 14:25:57 +0300 + +xneur (0.3-2) unstable; urgency=low + + * Binary packages was broken (libxnconfig.so was missed). Fixed. + + -- Alexander GQ Gerasiov Thu, 28 Dec 2006 19:06:37 +0300 + +xneur (0.3-1) unstable; urgency=low + + * New upstream release + * New binary packages libxnconfig* + * Patches against upstream: + + 01_no_chmod_on_etc: Turn off chmoding for files in etc on make install. + + 02_install_header: Install libxnconfig/config_main.h + + 03_xneurrc: Change default LogLevel to Error. + + 05_config_in_home: Using $HOME/.xneur instead of /etc/xneur + + 90_xneur_script: xneur script. See README.Debian for details. + + -- Alexander GQ Gerasiov Wed, 27 Dec 2006 17:03:37 +0300 + +xneur (0.2.0-1) unstable; urgency=low + + * Initial release + + -- Alexander GQ Gerasiov Wed, 13 Dec 2006 10:19:54 +0300 + --- xneur-0.9.3.orig/debian/libxnconfig-dev.links +++ xneur-0.9.3/debian/libxnconfig-dev.links @@ -0,0 +1 @@ +usr/share/doc/libxnconfig9.0.3 usr/share/doc/libxnconfig-dev --- xneur-0.9.3.orig/debian/libxnconfig-dev.dirs +++ xneur-0.9.3/debian/libxnconfig-dev.dirs @@ -0,0 +1 @@ +usr/share/doc --- xneur-0.9.3.orig/debian/compat +++ xneur-0.9.3/debian/compat @@ -0,0 +1 @@ +5 --- xneur-0.9.3.orig/debian/xneur.install +++ xneur-0.9.3/debian/xneur.install @@ -0,0 +1,4 @@ +etc/xneur +usr/bin/xneur +usr/share/xneur +usr/share/man --- xneur-0.9.3.orig/debian/xneur.preinst +++ xneur-0.9.3/debian/xneur.preinst @@ -0,0 +1,62 @@ +#!/bin/sh +# preinst script for xneur +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `install' +# * `install' +# * `upgrade' +# * `abort-upgrade' +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + +# Remove a no-longer used conffile +rm_conffile() { + PKGNAME="$1" + CONFFILE="$2" + if [ -e "$CONFFILE" ]; then + md5sum="`md5sum \"$CONFFILE\" | sed -e \"s/ .*//\"`" + old_md5sum="`dpkg-query -W -f='${Conffiles}' $PKGNAME | sed -n -e \"\\\\' $CONFFILE '{s/ obsolete$//;s/.* //p}\"`" + if [ "$md5sum" != "$old_md5sum" ]; then + echo "Obsolete conffile $CONFFILE has been modified by you." + echo "Saving as $CONFFILE.dpkg-bak ..." + mv -f "$CONFFILE" "$CONFFILE".dpkg-bak + else + echo "Removing obsolete conffile $CONFFILE ..." + rm -f "$CONFFILE" + fi + fi +} + +case "$1" in + install|upgrade) + if dpkg --compare-versions "$2" lt "0.8.0+svn20080310"; then + for lang in be en fr ro ru uk ua kz de;do + for file in /etc/xneur/$lang/*;do + echo "$file" | grep -q ".dpkg" || rm_conffile xneur "$file" + done + test -d /etc/xneur/$lang && rmdir --ignore-fail-on-non-empty /etc/xneur/$lang + done + fi + ;; + + abort-upgrade) + ;; + + *) + echo "preinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + + --- xneur-0.9.3.orig/debian/copyright +++ xneur-0.9.3/debian/copyright @@ -0,0 +1,43 @@ +This package was debianized by Alexander Gerasiov on +Wed, 13 Dec 2006 10:19:54 +0300. + +It was downloaded from http://www.xneur.ru + +Upstream Author: XNeur Team + +Copyright: 2006, XNeur Team + +License: + + This package 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 package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY 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 package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +On Debian systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL'. + +Sounds: +GPL v2: +switch.wav (FreeDroid/sounds/effects/CameraTakePicture.wav) +layout1type.wav (FreeDroid/sounds/effects/item_sounds/Item_Drop_Sound_3.wav) +layout2type.wav (FreeDroid/sounds/effects/No_Ammo_Sound_0.wav) + +Free (no restriction): +itemback.wav (Sauerbraten/packages/sounds/free/itemback.wav) +layout1.wav (Sauerbraten/packages/sounds/free/) +layout2.wav (Sauerbraten/packages/sounds/free/) +replace.wav (Sauerbraten/packages/sounds/free/) + +The Debian packaging is (C) 2006, Alexander GQ Gerasiov and +is licensed under the GPL, see above. + --- xneur-0.9.3.orig/debian/libxnconfig9.0.3.install +++ xneur-0.9.3/debian/libxnconfig9.0.3.install @@ -0,0 +1,2 @@ +usr/lib/libxnconfig*.so.* + --- xneur-0.9.3.orig/debian/patches/10_shmem_incorrect_usage.dpatch +++ xneur-0.9.3/debian/patches/10_shmem_incorrect_usage.dpatch @@ -0,0 +1,21 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 10_shmem_incorrect_usage.dpatch by Alexander GQ Gerasiov +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Fix for shared memory usage. + +@DPATCH@ +diff -urNad xneur~/lib/config/xnconfig_memory.c xneur/lib/config/xnconfig_memory.c +--- xneur~/lib/config/xnconfig_memory.c 2008-07-23 22:28:19.000000000 +0400 ++++ xneur/lib/config/xnconfig_memory.c 2008-07-23 22:42:36.068249203 +0400 +@@ -34,7 +34,9 @@ + { + *need_init = FALSE; + +- key_t segment_key = ftok("/", getuid()); ++ char * key_file = PACKAGE_SYSCONFDIR_DIR; ++ key_t segment_key = ftok(key_file, getuid()); ++ + if (segment_key == -1) + { + log_message(ERROR, "Can't generate shared memory segment key"); --- xneur-0.9.3.orig/debian/patches/01_config_installation.dpatch +++ xneur-0.9.3/debian/patches/01_config_installation.dpatch @@ -0,0 +1,25 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 01_config_installation.dpatch by Alexander GQ Gerasiov +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Disable installation of xneurrc-*, cause it's just an example. + +@DPATCH@ +diff -urNad xneur~/etc/Makefile.in xneur/etc/Makefile.in +--- xneur~/etc/Makefile.in 2008-07-23 22:28:19.000000000 +0400 ++++ xneur/etc/Makefile.in 2008-07-23 22:30:39.279084250 +0400 +@@ -183,13 +183,7 @@ + target_alias = @target_alias@ + xneurrcdir = @sysconfdir@/xneur + xneurrc_DATA = \ +- xneurrc \ +- xneurrc-uk \ +- xneurrc-be \ +- xneurrc-fr \ +- xneurrc-kz \ +- xneurrc-ro \ +- xneurrc-de ++ xneurrc + + EXTRA_DIST = $(xneurrc_DATA) + all: all-am --- xneur-0.9.3.orig/debian/patches/03_xneurrc.dpatch +++ xneur-0.9.3/debian/patches/03_xneurrc.dpatch @@ -0,0 +1,93 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 03_xneurrc.dpatch by Alexander GQ Gerasiov +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Some patches to default xneurrc. + +@DPATCH@ +diff -urNad xneur~/etc/xneurrc xneur/etc/xneurrc +--- xneur~/etc/xneurrc 2009-01-11 00:32:42.000000000 +0300 ++++ xneur/etc/xneurrc 2009-01-11 00:36:30.011114081 +0300 +@@ -1,18 +1,22 @@ + # It's a X Neural Switcher configuration file by XNeur + # All values writted XNeur ++# See page at http://www.xneur.ru/wiki/Settings for details ++# Note: configuration file in /etc/xneur is just a template. On first run XNeur ++# copies it into user's .xneur/. So all changes in this file will affect only ++# new users, who didn't run XNeur before. + + # Config version + Version 0.9.3 + + # Work in manual mode +-ManualMode No ++ManualMode Yes + + # Level of messages program will write to output +-#LogLevel Error ++LogLevel Error + #LogLevel Warning + #LogLevel Log + #LogLevel Debug +-LogLevel Debug ++i#LogLevel Debug + + # Define used languages + # See Settings page on http://www.xneur.ru for details +@@ -86,20 +90,20 @@ + AddSound CorrectTwoCapitalLetter + AddSound ExecuteUserAction + +-# This option enable or disable mouse processing ++# This option enable or disable mouse processing + # Example: + #GrabMouse Yes + GrabMouse No + + # This option enable or disable self education of xneur + # Example: +-#EducationMode No +-EducationMode Yes ++EducationMode No ++#EducationMode Yes + + # This option enable or disable layout remember for each window + # Example: +-#LayoutRememberMode No +-LayoutRememberMode Yes ++LayoutRememberMode No ++#LayoutRememberMode Yes + + # Use this parameter to force enable layout remember for each application, not window. + # Option "LayoutRememberMode" must be enabled. +@@ -125,8 +129,7 @@ + # Add Applications names to draw flag in window + # Example: + #DrawFlagApp Gedit +-DrawFlagApp Gedit +-DrawFlagApp Pidgin ++#DrawFlagApp Pidgin + + # This option enable or disable correction of iNCIDENTAL CapsLock + # Example: +@@ -163,9 +166,9 @@ + FontOSD -*-*-*-*-*-*-32-*-*-*-*-*-*-u + + # Binds OSDs for some actions +-AddOSD XneurStart X Neural Switcher запущен +-AddOSD XneurReload X Neural Switcher перезагружен +-AddOSD XneurStop X Neural Switcher остановлен ++AddOSD XneurStart X Neural Switcher started ++AddOSD XneurReload X Neural Switcher reloaded ++AddOSD XneurStop X Neural Switcher stopped + AddOSD PressKeyLayout1 + AddOSD PressKeyLayout2 + AddOSD PressKeyLayout3 +@@ -183,6 +186,6 @@ + AddOSD ReplaceAbbreviation + AddOSD CorrectIncidentalCaps + AddOSD CorrectTwoCapitalLetter +-AddOSD ExecuteUserAction Запущен %s ++AddOSD ExecuteUserAction Started %s + + # That's all --- xneur-0.9.3.orig/debian/patches/02_fix_build_gcc41.dpatch +++ xneur-0.9.3/debian/patches/02_fix_build_gcc41.dpatch @@ -0,0 +1,48 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 02_fix_build_gcc41.dpatch by Alexander GQ Gerasiov +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: =Fix build with gcc 4.1. + +@DPATCH@ +diff -urNad xneur~/lib/x/xOSD.c xneur/lib/x/xOSD.c +--- xneur~/lib/x/xOSD.c 2009-01-11 00:24:15.000000000 +0300 ++++ xneur/lib/x/xOSD.c 2009-01-11 02:35:19.475613783 +0300 +@@ -87,4 +87,5 @@ + if (osd_text) {}; + } + +-#endif /* WITH_XOSD */ +\ No newline at end of file ++#endif /* WITH_XOSD */ ++ +diff -urNad xneur~/lib/x/xbtable.c xneur/lib/x/xbtable.c +--- xneur~/lib/x/xbtable.c 2009-01-11 02:33:25.000000000 +0300 ++++ xneur/lib/x/xbtable.c 2009-01-11 02:33:26.739613790 +0300 +@@ -181,4 +181,5 @@ + ubtable = (struct _xbtable *) malloc(total_actions * sizeof(struct _xbtable)); + for (int action = 0; action < total_actions; action++) + bind_user_action(action); +-} +\ No newline at end of file ++} ++ +diff -urNad xneur~/lib/x/xprogram.c xneur/lib/x/xprogram.c +--- xneur~/lib/x/xprogram.c 2009-01-11 00:24:15.000000000 +0300 ++++ xneur/lib/x/xprogram.c 2009-01-11 02:34:09.015614217 +0300 +@@ -1043,4 +1043,5 @@ + p->send_string_silent = xprogram_send_string_silent; + + return p; +-} +\ No newline at end of file ++} ++ +diff -urNad xneur~/lib/x/xwindow.c xneur/lib/x/xwindow.c +--- xneur~/lib/x/xwindow.c 2009-01-11 00:24:15.000000000 +0300 ++++ xneur/lib/x/xwindow.c 2009-01-11 02:34:47.743614073 +0300 +@@ -150,3 +150,4 @@ + + return p; + } ++ --- xneur-0.9.3.orig/debian/patches/00list +++ xneur-0.9.3/debian/patches/00list @@ -0,0 +1,4 @@ +01_config_installation +02_fix_build_gcc41 +03_xneurrc +10_shmem_incorrect_usage