debian/0000755000000000000000000000000011733207341007167 5ustar debian/watch0000644000000000000000000000017611561323533010225 0ustar version=2 http://projects.o-hand.com/matchbox/sources/matchbox-keyboard/0.1/matchbox-keyboard-(.*)\.tar.gz \ debian uupdate debian/matchbox-keyboard.install0000644000000000000000000000022111561323533014156 0ustar debian/tmp/usr/bin/matchbox-keyboard debian/tmp/usr/share/matchbox-keyboard/* debian/tmp/usr/share/pixmaps/* debian/tmp/usr/share/applications/* debian/control0000644000000000000000000000315211733177665010612 0ustar Source: matchbox-keyboard Section: embedded Priority: optional Maintainer: Moray Allan Uploaders: Thibaut GIRKA Build-Depends: debhelper (>= 9.0.0), dh-autoreconf (>= 5), pkg-config, libfakekey-dev, libx11-dev, libxft-dev, libgtk2.0-dev, libpng-dev Standards-Version: 3.9.3 Package: matchbox-keyboard Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Recommends: matchbox-keyboard-im Description: on-screen keyboard Matchbox-keyboard is an on-screen 'virtual' or 'software' keyboard, designed for touch-screen devices running X. . Matchbox is a base environment for the X Window System running on non-desktop embedded platforms such as handhelds, set-top boxes, kiosks and anything else for which screen space, input mechanisms or system resources are limited. Package: matchbox-keyboard-im Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: on-screen keyboard Matchbox-keyboard is an on-screen 'virtual' or 'software' keyboard, designed for touch-screen devices running X. . Matchbox is a base environment for the X Window System running on non-desktop embedded platforms such as handhelds, set-top boxes, kiosks and anything else for which screen space, input mechanisms or system resources are limited. . This package provides a GTK+ input module for use with Matchbox-keyboard or other on-screen keyboards. Package: matchbox-keyboard-udeb Architecture: any Section: debian-installer Depends: ${shlibs:Depends}, ${misc:Depends} XC-Package-Type: udeb Description: on-screen keyboard This is a udeb, or a microdeb, for the debian-installer. debian/matchbox-keyboard.10000644000000000000000000000117211561323533012656 0ustar .\" matchbox-keyboard.1 .\" Copyright 2006 Moray Allan .TH matchbox-keyboard 1 "Apr 15 2006" "" .SH NAME matchbox-keyboard \- on-screen keyboard .SH SYNOPSIS .B matchbox-keyboard .\" .SH DESCRIPTION .B matchbox-keyboard is an on-screen `virtual' or `software' keyboard, designed for touch-screen devices running X. Matchbox is a base environment for the X Window System running on non-desktop embedded platforms such as handhelds, set-top boxes, kiosks and anything else for which screen space, input mechanisms or system resources are limited. .\" .SH AUTHOR .B matchbox-keyboard was written by Matthew Allum . debian/matchbox-keyboard-im.install0000644000000000000000000000006711733205004014562 0ustar usr/lib/*/gtk-2.0/2.10.0/immodules/libmb-im-invoker.so debian/changelog0000644000000000000000000000375711733206666011066 0ustar matchbox-keyboard (0.1+svn20080916-9) unstable; urgency=low * Move from cdbs to dh 9. * Switch to 3.0 (quilt) source format. * Stop using deprecated dh_gtkmodules. -- Moray Allan Fri, 23 Mar 2012 23:56:25 +0000 matchbox-keyboard (0.1+svn20080916-8) unstable; urgency=low * Patch from Nobuhiro Iwamatsu for libpng 1.5. Closes: #649820. -- Moray Allan Sun, 18 Mar 2012 21:45:53 +0000 matchbox-keyboard (0.1+svn20080916-7) unstable; urgency=low * Build-depend on libpng-dev instead of libpng12-dev. Closes: #662428. -- Moray Allan Sat, 17 Mar 2012 19:35:17 +0000 matchbox-keyboard (0.1+svn20080916-6) unstable; urgency=low * Add support for xmonad (patch from Joey Hess). Closes: #536847. -- Moray Allan Thu, 19 Jan 2012 19:40:53 +0000 matchbox-keyboard (0.1+svn20080916-5) unstable; urgency=low * Improve Finnish layout (patch from Timo Jyrinki ). Closes: #560965. * Add Xrender to LDADD. Closes: #555588. -- Moray Allan Sat, 07 May 2011 21:12:11 +0100 matchbox-keyboard (0.1+svn20080916-4) unstable; urgency=low * Build udeb: patch from Thibaut Girka. Closes: #593090. * Add Thibaut as an uploader. -- Moray Allan Wed, 18 Aug 2010 22:15:27 +0200 matchbox-keyboard (0.1+svn20080916-3) unstable; urgency=low * Split out matchbox-keyboard-im. Closes: #539057, #541271. -- Moray Allan Wed, 11 Nov 2009 17:40:00 +0100 matchbox-keyboard (0.1+svn20080916-2) unstable; urgency=low * Include GTK input module. Closes: #538041. -- Moray Allan Tue, 28 Jul 2009 16:38:38 +0200 matchbox-keyboard (0.1+svn20080916-1) unstable; urgency=low * New upstream version from SVN. -- Moray Allan Sun, 21 Sep 2008 14:30:52 +0200 matchbox-keyboard (0.1-1) unstable; urgency=low * Initial release. Closes: #321077. -- Moray Allan Sat, 15 Apr 2006 18:25:17 +0100 debian/source/0000755000000000000000000000000011733177226010477 5ustar debian/source/format0000644000000000000000000000001411733177226011705 0ustar 3.0 (quilt) debian/copyright0000644000000000000000000000157611561323533011134 0ustar This package was debianised by Moray Allan on Sat, 15 Apr 2006 18:25:17 +0100. It was downloaded from http://matchbox.handhelds.org/sources/ Upstream author: Matthew Allum Copyright: Copyright (c) 2005 OpenedHand Ltd - http://o-hand.com 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, 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 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. On Debian GNU/Linux systems, the complete text of the GNU General Public License can be found in '/usr/share/common-licenses/GPL-2'. debian/matchbox-keyboard.docs0000644000000000000000000000000711733200127013434 0ustar README debian/matchbox-keyboard.manpages0000644000000000000000000000003311561323533014304 0ustar debian/matchbox-keyboard.1 debian/compat0000644000000000000000000000000211733204313010361 0ustar 9 debian/matchbox-keyboard-udeb.install0000644000000000000000000000032011733205607015075 0ustar debian/tmp/usr/lib/*/gtk-2.0/2.10.0/immodules/libmb-im-invoker.so debian/tmp/usr/bin/matchbox-keyboard debian/tmp/usr/share/matchbox-keyboard/keyboard.xml debian/S65matchbox-keyboard /lib/debian-installer.d/ debian/S65matchbox-keyboard0000644000000000000000000000023311561323533013012 0ustar if [ "$DEBIAN_FRONTEND" = gtk ] && [ -z "$LIVE_INSTALLER_MODE" ]; then matchbox-keyboard -d & export GTK_IM_MODULE=matchbox-im-invoker fi debian/rules0000755000000000000000000000074511733206677010270 0ustar #!/usr/bin/make -f DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed -Wl,--no-add-needed %: dh $@ --with autoreconf override_dh_autoreconf: dh_autoreconf --as-needed override_dh_auto_configure: dh_auto_configure -- --enable-gtk-im # --enable-cairo override_dh_install: dh_install --list-missing override_dh_installchangelogs: dh_installchangelogs ChangeLog override_dh_makeshlibs: dh_makeshlibs -Xim debian/patches/0000755000000000000000000000000011733207275010624 5ustar debian/patches/linking-fix0000644000000000000000000000075411733207275012774 0ustar Description: Link with Xrender (#555588) --- a/src/Makefile.am +++ b/src/Makefile.am @@ -16,7 +16,7 @@ bin_PROGRAMS = matchbox-keyboard -matchbox_keyboard_LDADD = $(FAKEKEY_LIBS) $(XFT_LIBS) $(EXPAT_LIBS) $(CAIRO_LIBS) $(PNG_LIBS) +matchbox_keyboard_LDADD = $(FAKEKEY_LIBS) $(XFT_LIBS) $(EXPAT_LIBS) $(CAIRO_LIBS) $(PNG_LIBS) $(X11_LIBS) -lXrender matchbox_keyboard_SOURCES = \ matchbox-keyboard.c matchbox-keyboard.h \ debian/patches/keyboard-fi.xml-improvements0000644000000000000000000000404411733202757016272 0ustar Description: Improvement for Finnish keyboard layout (#560965) The current keyboard-fi.xml has bugs that hinder its usage experience. For example instead of ; there is double entry for :, and capitalization of some letters is the wrong way around. . The attached, updated keyboard-fi.xml fixes the problems and has a few other minor improvements based on real world usage on Neo FreeRunner. Author: Timo Jyrinki Last-Update: 2009-12-13 --- a/layouts/keyboard-fi.xml +++ b/layouts/keyboard-fi.xml @@ -52,7 +52,6 @@ - @@ -160,8 +159,10 @@ - - + + + + @@ -224,8 +225,8 @@ - - + + @@ -297,7 +298,7 @@ - + @@ -343,7 +344,7 @@ - + @@ -351,13 +352,13 @@ - + - + - + @@ -373,4 +374,4 @@ - \ No newline at end of file + debian/patches/series0000644000000000000000000000010311733202621012021 0ustar keyboard-fi.xml-improvements linking-fix libpng-fix xmonad-support debian/patches/libpng-fix0000644000000000000000000000077211733202074012604 0ustar Description: Fix build with libpng 1.5 (#649820) Author: Nobuhiro Iwamatsu Last-Update: 2012-03-16 --- a/src/matchbox-keyboard-image.c +++ b/src/matchbox-keyboard-image.c @@ -64,8 +64,11 @@ fclose(fd); return NULL; } - +#if PNG_LIBPNG_VER_MAJOR == 1 && PNG_LIBPNG_VER_MINOR >= 4 + if ( setjmp( png_jmpbuf ( png_ptr ) ) ) { +#else if ( setjmp( png_ptr->jmpbuf ) ) { +#endif png_destroy_read_struct( &png_ptr, &info_ptr, NULL); fclose(fd); return NULL; debian/patches/xmonad-support0000644000000000000000000000265511733202045013545 0ustar Description: Add support for xmonad (#536847) The attached patch adds support for xmonad. Without this patch, matchbox-keyboard can be focused like any other window, which makes it not useful. With the patch, xmonad does not manage it at all. . It might be better to use the STRUTS property to communicate with xmonad, but just uncommenting the code that was already there Worked for Me. Author: Joey Hess Last-Update: 2009-09-13 --- a/src/matchbox-keyboard-ui.c +++ b/src/matchbox-keyboard-ui.c @@ -643,6 +643,7 @@ char *wm_name; boolean have_matchbox_wm = False; boolean have_ewmh_wm = False; + boolean have_xmonad_wm = False; /* atom_wm_protocols = { @@ -698,6 +699,8 @@ if (wm_name && streq(wm_name, "matchbox")) have_matchbox_wm = True; + else if (wm_name && streq(wm_name, "xmonad")) + have_xmonad_wm = True; win_attr.override_redirect = False; /* Set to true for extreme case */ win_attr.event_mask @@ -813,15 +816,12 @@ PropModeReplace, (unsigned char *) &atom_NET_WM_WINDOW_TYPE_TOOLBAR, 1); } - else + else if (have_xmonad_wm) { - /* XChangeProperty(ui->xdpy, ui->xwin, atom_NET_WM_WINDOW_TYPE, XA_ATOM, 32, PropModeReplace, (unsigned char *) &atom_NET_WM_WINDOW_TYPE_DOCK, 1); - */ - } } }