added xdg autostart file [release 0.1.svn20110124-2mamba;Fri Feb 04 2011]

This commit is contained in:
Silvan Calarco 2024-01-06 06:58:56 +01:00
parent 36913b2f0b
commit dba8ce3b9c
3 changed files with 87 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# matchbox-keyboard
matchbox-keyboard is a lightweight software or virtual keyboard for X improving much the original xkbd. Features include easy flexible XML configuration of layouts, international support, low footprint and few dependencies. It also scales to larger displays much better than the original xkbd.

View File

@ -0,0 +1,7 @@
[Desktop Entry]
Name=Matchbox Keyboard
Icon=matchbox-keyboard
Exec=matchbox-keyboard -d
Terminal=false
Type=Application
X-GNOME-Autostart-enabled=true

78
matchbox-keyboard.spec Normal file
View File

@ -0,0 +1,78 @@
Name: matchbox-keyboard
Version: 0.1.svn20110124
Release: 2mamba
Summary: A lightweight software or virtual keyboard for X improving much the original xkbd
Group: Graphical Desktop/Applications/Utilities
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://matchbox-project.org/?p=1
# svn co http://svn.o-hand.com/repos/matchbox/trunk matchbox
# make dist
Source: http://matchbox-project.org/sources/matchbox-keyboard/%{version}/matchbox-keyboard-%{version}.tar.gz
Source1: matchbox-keyboard.desktop
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libexpat-devel
BuildRequires: libfakekey-devel
BuildRequires: libX11-devel
BuildRequires: libXft-devel
BuildRequires: libXtst-devel
## AUTOBUILDREQ-END
Requires(post):libgtk
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
matchbox-keyboard is a lightweight software or virtual keyboard for X improving much the original xkbd. Features include easy flexible XML configuration of layouts, international support, low footprint and few dependencies. It also scales to larger displays much better than the original xkbd.
%prep
%setup -q -n %{name}-0.1
%build
%configure \
--enable-cairo \
--enable-gtk-im
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
install -D -m0644 %{SOURCE1} %{buildroot}%{_sysconfdir}/xdg/autostart/matchbox-keyboard.desktop
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post
%{_bindir}/gtk-query-immodules-2.0 \
> %{_sysconfdir}/gtk-2.0/gtk.immodules
:
%postun
%{_bindir}/gtk-query-immodules-2.0 \
> %{_sysconfdir}/gtk-2.0/gtk.immodules
:
%files
%defattr(-,root,root)
%{_sysconfdir}/xdg/autostart/matchbox-keyboard.desktop
%{_bindir}/matchbox-keyboard
%{_datadir}/applications/inputmethods/matchbox-keyboard.desktop
%{_datadir}/matchbox-keyboard/keyboard*.xml
%{_datadir}/pixmaps/matchbox-keyboard.png
%{_libdir}/gtk-2.0/*/immodules/libmb-im-invoker.la
%{_libdir}/gtk-2.0/*/immodules/libmb-im-invoker.so
%doc AUTHORS COPYING ChangeLog README
%changelog
* Fri Feb 04 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 0.1.svn20110124-2mamba
- added xdg autostart file
* Mon Jan 24 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 0.1.svn20110124-1mamba
- update to 0.1.svn20110124
* Mon Jan 24 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 0.1-2mamba
- rebuilt with cairo support enabled
* Fri Jan 14 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 0.1-1mamba
- package created by autospec