Compare commits

..

1 commit

Author SHA1 Message Date
Till Hofmann
9869a294c8 Update to 1.5.0 2017-03-14 10:54:55 +01:00
5 changed files with 133 additions and 1 deletions

3
.gitignore vendored Normal file
View file

@ -0,0 +1,3 @@
/xkb-switch-532d92321ca15945e58e23c158b5e091eb2fdf18.tar.gz
/xkb-switch-d7c1856ac85b5a55577611cec4f2ceadc0907e12.tar.gz
/xkb-switch-da4ef22e362a0939556d20db50053ab631631adc.tar.gz

View file

@ -1 +0,0 @@
Orphaned for 6+ weeks

1
sources Normal file
View file

@ -0,0 +1 @@
SHA512 (xkb-switch-da4ef22e362a0939556d20db50053ab631631adc.tar.gz) = 645698772cff859339e314a62df66f3c50d36b2f262e0440968cd68878ba5132a4d79cac3bec2c0be2b37ed5df17b11c84f8973e12f71e3878d780980f2872d3

54
xkb-switch.manpage.patch Normal file
View file

@ -0,0 +1,54 @@
diff --git a/man/xkb-switch.1 b/man/xkb-switch.1
new file mode 100644
index 0000000..26b06f4
--- /dev/null
+++ b/man/xkb-switch.1
@@ -0,0 +1,48 @@
+.TH "xkb-switch" "1" "1.3.1" "J. Bromley, S. Mironov, Alexei Rad'kov" "User Commands"
+.SH "xkb-switch"
+.LP
+.B xkb\-switch
+is a C++ program that allows to query and change the XKB layout state.
+.SH "SYNTAX"
+.LP
+xkb\-switch [options]
+.SH "DESCRIPTION"
+.LP
+.B xkb\-switch
+is a C++ program that allows to query and change the XKB layout state. Originally ruby\-based code written by J. Bromley.
+.SH "OPTIONS"
+.LP
+.TP
+\fB\-s\fR <layout>
+Set current layout group to <layout>.
+.TP
+.BR \-l ", "\-\^\-list
+Display all layout groups.
+.TP
+.BR \-h ", "\-\^\-help
+Display a help message.
+.TP
+.BR \-v ", "\-\^\-version
+Show version number.
+.TP
+.BR \-w " "[\-p] ", "\-\^\-wait " "[\-p]
+Wait for group change and exits.
+If \fB\-p\fR is specified, print the new layout group.
+.TP
+.BR \-W
+Infinitely wait for group change.
+.TP
+.BR \-n ", " \-\^\-next
+Switch to the next layout group.
+.TP
+.BR \-x
+Print X layout string.
+.TP
+.BR \-p
+Display current layout group.
+.TP
+.BR \-\^\-test
+Run some internal tests.
+.SH "AUTHORS"
+.LP
+J. Bromley, S. Mironov, Alexei Rad'kov

75
xkb-switch.spec Normal file
View file

@ -0,0 +1,75 @@
%global commit da4ef22e362a0939556d20db50053ab631631adc
%global shortcommit %(c=%{commit}; echo ${c:0:7})
%global checkout 20160925git%{shortcommit}
Name: xkb-switch
Version: 1.5.0
Release: 1.%{checkout}%{?dist}
Summary: Switch your X keyboard layouts from the command line
License: GPLv3+
URL: https://github.com/ierton/xkb-switch
Source0: https://github.com/ierton/xkb-switch/archive/%{commit}/%{name}-%{commit}.tar.gz
BuildRequires: cmake
BuildRequires: libX11-devel
BuildRequires: libxkbfile-devel
%description
xkb-switch is a C++ program that allows to query and change the XKB layout
state.
%prep
%setup -q -n %{name}-%{commit}
%build
%cmake -DBUILD_XKBSWITCH_LIB:BOOL=OFF .
make %{?_smp_mflags}
%install
%make_install
install -p -D -m644 man/%{name}.1 %{buildroot}/%{_mandir}/man1/%{name}.1
%files
%license COPYING
%doc README.md
%{_mandir}/man1/%{name}.1.gz
%{_bindir}/xkb-switch
%changelog
* Tue Mar 14 2017 Till Hofmann <till.hofmann@posteo.de> - 1.5.0-1.20160925gitda4ef22
- Update to 1.5.0
* Sun Sep 25 2016 Till Hofmann <till.hofmann@posteo.de> - 1.4.0-1.20160925gitd7c1856
- Update to commit 1.4.0 (commit d7c1856)
- Remove upstreamed patch
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.1-2.20150719git532d923
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Sat Aug 01 2015 Till Hofmann <hofmann@kbsg.rwth-aachen.de> - 1.3.1-1.20150719git532d923
- Add man page
- Change version to the actual upstream version (found with xkb-switch -v)
* Sun Jul 19 2015 Till Hofmann <hofmann@kbsg.rwth-aachen.de> - 0-0.5.20150719git532d923
- Add libX11-devel build dependency
* Sat Jul 18 2015 Till Hofmann <hofmann@kbsg.rwth-aachen.de> - 0-0.4.20150719git532d923
- Update to commit 532d923 (fixed README permissions)
* Thu Jul 16 2015 Till Hofmann <hofmann@kbsg.rwth-aachen.de> - 0-0.3.20150715git8ab2a49
- Fix permissions of README.md
* Tue Jul 14 2015 Till Hofmann <hofmann@kbsg.rwth-aachen.de> - 0-0.2.20150715git8ab2a49
- Update to commit 8ab2a49 with fixed license
* Tue Jul 14 2015 Till Hofmann <hofmann@kbsg.rwth-aachen.de> - 0-0.1.20150714git97bf2c8
- Initial package