--- libfakekey-0.1.orig/tests/Makefile.am +++ libfakekey-0.1/tests/Makefile.am @@ -2,4 +2,4 @@ noinst_PROGRAMS=fakekey-test -fakekey_test_LDADD=../src/libfakekey.la \ No newline at end of file +fakekey_test_LDADD=../src/libfakekey.la $(X11_LIBS) --- libfakekey-0.1.orig/tests/Makefile.in +++ libfakekey-0.1/tests/Makefile.in @@ -184,7 +184,7 @@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ INCLUDES = -I${top_srcdir}/src -I${top_srcdir} $(FAKEKEY_CFLAGS) -fakekey_test_LDADD = ../src/libfakekey.la +fakekey_test_LDADD = ../src/libfakekey.la $(X11_LIBS) all: all-am .SUFFIXES: --- libfakekey-0.1.orig/debian/libfakekey-dev.docs +++ libfakekey-0.1/debian/libfakekey-dev.docs @@ -0,0 +1 @@ +doc/html --- libfakekey-0.1.orig/debian/watch +++ libfakekey-0.1/debian/watch @@ -0,0 +1,4 @@ +version=2 + +http://projects.o-hand.com/matchbox/sources/libfakekey/0.1/libfakekey-(.*)\.tar.gz \ + debian uupdate --- libfakekey-0.1.orig/debian/libfakekey0.install +++ libfakekey-0.1/debian/libfakekey0.install @@ -0,0 +1 @@ +debian/tmp/usr/lib/lib*.so.* --- libfakekey-0.1.orig/debian/control +++ libfakekey-0.1/debian/control @@ -0,0 +1,36 @@ +Source: libfakekey +Section: libs +Priority: optional +Maintainer: Moray Allan +Uploaders: Thibaut GIRKA +Build-Depends: cdbs (>= 0.4.21), debhelper (>= 5.0.0), pkg-config (>= 0.18), doxygen, libxtst-dev, autotools-dev +Standards-Version: 3.9.1 + +Package: libfakekey-dev +Section: libdevel +Architecture: any +Depends: libfakekey0 (= ${binary:Version}), libxtst-dev, ${misc:Depends} +Description: library for converting characters to X key-presses [development] + libfakekey is a simple library for converting UTF-8 characters into 'fake' X + key-presses. + . + This package contains the libfakekey development files. + +Package: libfakekey0 +Section: libs +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: library for converting characters to X key-presses [runtime] + libfakekey is a simple library for converting UTF-8 characters into 'fake' X + key-presses. + . + This package contains the libfakekey runtime library. + +Package: libfakekey0-udeb +Section: debian-installer +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +XC-Package-Type: udeb +Description: library for converting characters to X key-presses [runtime] + This is a udeb, or a microdeb, for the debian-installer. + --- libfakekey-0.1.orig/debian/changelog +++ libfakekey-0.1/debian/changelog @@ -0,0 +1,19 @@ +libfakekey (0.1-3) unstable; urgency=low + + * Merge LDADD patch by Matthias Klose . + * Update standards version. + + -- Moray Allan Sat, 07 May 2011 18:50:18 +0100 + +libfakekey (0.1-2) unstable; urgency=low + + * Provide udeb: patch from Thibaut Girka. Closes: #592505. + * Add Thibaut as an uploader. + + -- Moray Allan Wed, 18 Aug 2010 01:10:50 +0200 + +libfakekey (0.1-1) unstable; urgency=low + + * Initial release. + + -- Moray Allan Sat, 15 Apr 2006 17:32:30 +0100 --- libfakekey-0.1.orig/debian/copyright +++ libfakekey-0.1/debian/copyright @@ -0,0 +1,23 @@ +This package was debianised by Moray Allan on +Sat, 15 Apr 2006 17:32:30 +0100. + +It was downloaded from http://projects.o-hand.com/matchbox/sources/ + +Upstream author: Matthew Allum + +Copyright: + + Copyright (C) 2004 OpenedHand + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + +On Debian GNU/Linux systems, the complete text of the GNU Lesser General +Public License can be found in '/usr/share/common-licenses/LGPL-2'. --- libfakekey-0.1.orig/debian/libfakekey-dev.install +++ libfakekey-0.1/debian/libfakekey-dev.install @@ -0,0 +1,3 @@ +debian/tmp/usr/include/fakekey/* +debian/tmp/usr/lib/pkgconfig/*.pc +debian/tmp/usr/lib/lib*.so --- libfakekey-0.1.orig/debian/libfakekey0-udeb.install +++ libfakekey-0.1/debian/libfakekey0-udeb.install @@ -0,0 +1 @@ +debian/tmp/usr/lib/lib*.so.* --- libfakekey-0.1.orig/debian/compat +++ libfakekey-0.1/debian/compat @@ -0,0 +1 @@ +5 --- libfakekey-0.1.orig/debian/rules +++ libfakekey-0.1/debian/rules @@ -0,0 +1,7 @@ +#!/usr/bin/make -f +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/autotools.mk + +DEB_DH_INSTALL_ARGS = --list-missing + +DEB_CONFIGURE_EXTRA_FLAGS = --enable-doxygen-docs --- libfakekey-0.1.orig/debian/libfakekey0.shlibs +++ libfakekey-0.1/debian/libfakekey0.shlibs @@ -0,0 +1,2 @@ +libfakekey 0 libfakekey0 (>= 0.1) +udeb: libfakekey 0 libfakekey0-udeb --- libfakekey-0.1.orig/doc/man/manmb/fakekey_repeat.mb +++ libfakekey-0.1/doc/man/manmb/fakekey_repeat.mb @@ -0,0 +1 @@ +.so manmb/FakeKey.mb --- libfakekey-0.1.orig/doc/man/manmb/fakekey_press_keysym.mb +++ libfakekey-0.1/doc/man/manmb/fakekey_press_keysym.mb @@ -0,0 +1 @@ +.so manmb/FakeKey.mb --- libfakekey-0.1.orig/doc/man/manmb/fakekey_reload_keysyms.mb +++ libfakekey-0.1/doc/man/manmb/fakekey_reload_keysyms.mb @@ -0,0 +1 @@ +.so manmb/FakeKey.mb --- libfakekey-0.1.orig/doc/man/manmb/fakekey_init.mb +++ libfakekey-0.1/doc/man/manmb/fakekey_init.mb @@ -0,0 +1 @@ +.so manmb/FakeKey.mb --- libfakekey-0.1.orig/doc/man/manmb/fakekey_send_keyevent.mb +++ libfakekey-0.1/doc/man/manmb/fakekey_send_keyevent.mb @@ -0,0 +1 @@ +.so manmb/FakeKey.mb --- libfakekey-0.1.orig/doc/man/manmb/fakekey_release.mb +++ libfakekey-0.1/doc/man/manmb/fakekey_release.mb @@ -0,0 +1 @@ +.so manmb/FakeKey.mb --- libfakekey-0.1.orig/doc/man/manmb/FakeKey.mb +++ libfakekey-0.1/doc/man/manmb/FakeKey.mb @@ -0,0 +1,168 @@ +.TH "FakeKey -" mb "15 Apr 2006" "Version 0.1" "libfakekey" \" -*- nroff -*- +.ad l +.nh +.SH NAME +FakeKey - \- yada yada yada + +.PP +.SS "Typedefs" + +.in +1c +.ti -1c +.RI "typedef \fBFakeKey\fP \fBFakeKey\fP" +.br +.RI "\fIOpaque structure used for all operations. \fP" +.in -1c +.SS "Enumerations" + +.in +1c +.ti -1c +.RI "enum \fBFakeKeyModifier\fP " +.br +.RI "\fIenumerated types for mb_pixbuf_img_transform \fP" +.in -1c +.SS "Functions" + +.in +1c +.ti -1c +.RI "\fBFakeKey\fP * \fBfakekey_init\fP (Display *xdpy)" +.br +.RI "\fIInitiates FakeKey. \fP" +.ti -1c +.RI "int \fBfakekey_press\fP (\fBFakeKey\fP *fk, const unsigned char *utf8_char_in, int len_bytes, int modifiers)" +.br +.RI "\fISends a Keypress to the server for the supplied UTF8 character. \fP" +.ti -1c +.RI "void \fBfakekey_repeat\fP (\fBFakeKey\fP *fk)" +.br +.RI "\fIRepreats a press of the currently held key ( from \fBfakekey_press\fP ). \fP" +.ti -1c +.RI "void \fBfakekey_release\fP (\fBFakeKey\fP *fk)" +.br +.RI "\fIReleases the currently held key ( from \fBfakekey_press\fP ). \fP" +.ti -1c +.RI "int \fBfakekey_reload_keysyms\fP (\fBFakeKey\fP *fk)" +.br +.RI "\fIResyncs the internal list of keysyms with the server. \fP" +.ti -1c +.RI "int \fBfakekey_press_keysym\fP (\fBFakeKey\fP *fk, KeySym keysym, int flags)" +.br +.RI "\fI\fBfakekey_press\fP but with an X keysym rather than a UTF8 Char. \fP" +.ti -1c +.RI "int \fBfakekey_send_keyevent\fP (\fBFakeKey\fP *fk, KeyCode keycode, Bool is_press, int modifiers)" +.br +.in -1c +.SH "Detailed Description" +.PP +yada yada yada +.PP +Always remember to release held keys +.SH "Function Documentation" +.PP +.SS "\fBFakeKey\fP* fakekey_init (Display * xdpy)" +.PP +Initiates FakeKey. +.PP +\fBParameters:\fP +.RS 4 +\fIxdpy\fP X Display connection. +.RE +.PP +\fBReturns:\fP +.RS 4 +new \fBFakeKey\fP reference on success, NULL on fail. +.RE +.PP + +.SS "int fakekey_press (\fBFakeKey\fP * fk, const unsigned char * utf8_char_in, int len_bytes, int modifiers)" +.PP +Sends a Keypress to the server for the supplied UTF8 character. +.PP +\fBParameters:\fP +.RS 4 +\fIfk\fP \fBFakeKey\fP refernce from \fBfakekey_init\fP +.br +\fIutf8_char_in\fP Pointer to a single UTF8 Character data. +.br +\fIlen_bytes\fP Lenth in bytes of character, or -1 in ends with 0 +.br +\fImodifiers\fP OR'd list of \fBFakeKeyModifier\fP modifiers keys to press with the key. +.RE +.PP +\fBReturns:\fP +.RS 4 +.RE +.PP + +.SS "int fakekey_press_keysym (\fBFakeKey\fP * fk, KeySym keysym, int flags)" +.PP +\fBfakekey_press\fP but with an X keysym rather than a UTF8 Char. +.PP +\fBParameters:\fP +.RS 4 +\fIfk\fP \fBFakeKey\fP refernce from \fBfakekey_init\fP +.br +\fIkeysym\fP X Keysym to send +.br +\fIflags\fP +.RE +.PP +\fBReturns:\fP +.RS 4 +.RE +.PP + +.SS "void fakekey_release (\fBFakeKey\fP * fk)" +.PP +Releases the currently held key ( from \fBfakekey_press\fP ). +.PP +\fBParameters:\fP +.RS 4 +\fIfk\fP \fBFakeKey\fP refernce from \fBfakekey_init\fP +.RE +.PP + +.SS "int fakekey_reload_keysyms (\fBFakeKey\fP * fk)" +.PP +Resyncs the internal list of keysyms with the server. +.PP +Should be called if a MappingNotify event is recieved. +.PP +\fBParameters:\fP +.RS 4 +\fIfk\fP \fBFakeKey\fP refernce from \fBfakekey_init\fP +.RE +.PP +\fBReturns:\fP +.RS 4 +.RE +.PP + +.SS "void fakekey_repeat (\fBFakeKey\fP * fk)" +.PP +Repreats a press of the currently held key ( from \fBfakekey_press\fP ). +.PP +\fBParameters:\fP +.RS 4 +\fIfk\fP \fBFakeKey\fP refernce from \fBfakekey_init\fP +.RE +.PP + +.SS "int fakekey_send_keyevent (\fBFakeKey\fP * fk, KeyCode keycode, Bool is_press, int modifiers)" +.PP +\fBParameters:\fP +.RS 4 +\fIfk\fP \fBFakeKey\fP refernce from \fBfakekey_init\fP +.br +\fIkeycode\fP X Keycode to send +.br +\fIis_press\fP Is this a press ( or release ) +.br +\fImodifiers\fP +.RE +.PP +\fBReturns:\fP +.RS 4 +.RE +.PP + --- libfakekey-0.1.orig/doc/man/manmb/fakekey_press.mb +++ libfakekey-0.1/doc/man/manmb/fakekey_press.mb @@ -0,0 +1 @@ +.so manmb/FakeKey.mb