From 70484d15bd9d09c8e40c0733ef0842f04831dce7 Mon Sep 17 00:00:00 2001 From: vinzv <> Date: Dec 06 2020 03:13:02 +0000 Subject: Update xcape to version 1.2 / rev 1 via SR 852592 https://build.opensuse.org/request/show/852592 by user vinzv + dimstar_suse See presentation on factory ML: https://lists.opensuse.org/archives/list/factory@lists.opensuse.org/thread/LYCDYOCH4U47736O5BPNM5Z4FXMTXMPV/ --- diff --git a/.files b/.files new file mode 100644 index 0000000..28886f9 Binary files /dev/null and b/.files differ diff --git a/.meta b/.meta new file mode 100644 index 0000000..92bb3d5 --- /dev/null +++ b/.meta @@ -0,0 +1,8 @@ + + xcape + Use a modifier key as another key when pressed and released on its own + +Example: +xcape -e 'Super_L=Alt_L|F1' maps Super key to Alt+F1 which is useful for opening whiskermenu in Xfce. + + diff --git a/.rev b/.rev new file mode 100644 index 0000000..656d322 --- /dev/null +++ b/.rev @@ -0,0 +1,10 @@ + + + d9367ced9239c61c43d1adab8e99202d + 1.2 + + dimstar_suse + See presentation on factory ML: https://lists.opensuse.org/archives/list/factory@lists.opensuse.org/thread/LYCDYOCH4U47736O5BPNM5Z4FXMTXMPV/ + 852592 + + diff --git a/xcape-1.2.tar.gz b/xcape-1.2.tar.gz new file mode 120000 index 0000000..8efa190 --- /dev/null +++ b/xcape-1.2.tar.gz @@ -0,0 +1 @@ +/ipfs/bafkreifcp3mij7mu6ayfrl3fuopn7y5ph4xy7o3wxkmsaabko27ap6ziee \ No newline at end of file diff --git a/xcape.changes b/xcape.changes new file mode 100644 index 0000000..a812a8b --- /dev/null +++ b/xcape.changes @@ -0,0 +1,5 @@ +------------------------------------------------------------------- +Thu Dec 1 09:47:24 UTC 2016 - adam@mizerski.pl + +- update to 1.2 +- spec cleanup diff --git a/xcape.spec b/xcape.spec new file mode 100644 index 0000000..c62de44 --- /dev/null +++ b/xcape.spec @@ -0,0 +1,54 @@ +# +# spec file for package xcape +# +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + + +Name: xcape +Version: 1.2 +Release: 0 +Summary: Use a modifier key as another key +License: GPL-3.0 +Group: System/X11/Utilities +Url: https://github.com/alols/xcape +Source0: https://github.com/alols/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz +BuildRequires: gcc +BuildRequires: make +BuildRequires: pkgconfig +BuildRequires: pkgconfig(x11) +BuildRequires: pkgconfig(xtst) + +%description +xcape allows you to use a modifier key as another key when pressed and released +on its own. The default behaviour is to generate the Escape key when Left Control +is pressed and released on its own. + +%prep +%setup -q + +%build +make %{?_smp_mflags} \ + CFLAGS="%{optflags}" + +%install +make install DESTDIR=%{buildroot} MANDIR="/share/man/man1" + +%files +%defattr(-,root,root) +%doc README.md LICENSE +%{_bindir}/%{name} +%{_mandir}/man1/* + +%changelog