Browse Source

Merge branch 'debian-package' into unstable

master
Olaf Schulz 2 years ago
parent
commit
751a272866
11 changed files with 204 additions and 0 deletions
  1. +5
    -0
      debian/changelog
  2. +1
    -0
      debian/compat
  3. +29
    -0
      debian/control
  4. +29
    -0
      debian/copyright
  5. +2
    -0
      debian/docs
  6. +1
    -0
      debian/manpages
  7. +98
    -0
      debian/neo_layout_viewer.1
  8. +12
    -0
      debian/patches/install.diff
  9. +1
    -0
      debian/patches/series
  10. +25
    -0
      debian/rules
  11. +1
    -0
      debian/source/format

+ 5
- 0
debian/changelog View File

@ -0,0 +1,5 @@
neo-layout-viewer (1.0.0-SNAPSHOT-1) unstable; urgency=medium
* Initial debian package
-- Marco Herrn <marco@mherrn.de> Tue, 18 Dec 2018 16:48:01 +0100

+ 1
- 0
debian/compat View File

@ -0,0 +1 @@
11

+ 29
- 0
debian/control View File

@ -0,0 +1,29 @@
Source: neo-layout-viewer
Section: x11
Priority: optional
Maintainer: Marco Herrn <marco@mherrn.de>
Build-Depends: debhelper (>= 11),
valac,
libgee-0.8-dev,
libgtk-3-dev,
libx11-dev,
libunique-3.0-dev,
libappindicator3-dev
Standards-Version: 4.2.1
Homepage: https://github.com/YggdrasiI/NeoLayoutViewer
Vcs-Browser: https://github.com/YggdrasiI/NeoLayoutViewer
Vcs-Git: https://github.com/YggdrasiI/NeoLayoutViewer.git
Package: neo-layout-viewer
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
Description: Keyboard layout viewer for Neo 2
NeoLayoutViewer provides an easy way to display the NEO 2 keyboard layout
on screen.
.
The application window is an image of one of the six levels of the Neo 2
keyboard layout. If one of the Mod-keys (Shift, …) is pressed or released
the display switches to the corresponding level.
.
The application window can be hidden and moved via keyboard shortcuts. All
settings can be modified via config file.

+ 29
- 0
debian/copyright View File

@ -0,0 +1,29 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: neo-layout-viewer
Source: https://github.com/YggdrasiI/NeoLayoutViewer
Files: *
Copyright: 2011-2018 Olaf Schulz <yggtrash@googlemail.com>
2013 rixx <rike.kunze@gmail.com>
License: LGPL-3.0+
Files: debian/*
Copyright: 2018 Marco Herrn <marco@mherrn.de>
License: LGPL-3.0+
License: LGPL-3.0+
This package 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 3 of the License, or (at your option) any later version.
.
This package 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.
.
You should have received a copy of the GNU Lesser General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
.
On Debian systems, the complete text of the GNU Lesser General
Public License can be found in "/usr/share/common-licenses/LGPL-3".

+ 2
- 0
debian/docs View File

@ -0,0 +1,2 @@
AUTHORS
README.md

+ 1
- 0
debian/manpages View File

@ -0,0 +1 @@
debian/neo_layout_viewer.1

+ 98
- 0
debian/neo_layout_viewer.1 View File

@ -0,0 +1,98 @@
.\" Hey, EMACS: -*- nroff -*-
.\" (C) Copyright 2018 Marco Herrn <marco@mherrn.de>,
.\"
.\" First parameter, NAME, should be all caps
.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
.\" other parameters are allowed: see man(7), man(1)
.TH Neo-layout-viewer 1 "December 19 2018"
.\" Please adjust this date whenever revising the manpage.
.\"
.\" Some roff macros, for reference:
.\" .nh disable hyphenation
.\" .hy enable hyphenation
.\" .ad l left justify
.\" .ad b justify to both left and right margins
.\" .nf disable filling
.\" .fi enable filling
.\" .br insert line break
.\" .sp <n> insert n+1 empty lines
.\" for manpage-specific macros, see man(7)
.SH NAME
neo-layout-viewer \- keyboard layout viewer for Neo 2
.SH SYNOPSIS
.B neo-layout-viewer
.SH DESCRIPTION
This manual page documents briefly the
.B neo-layout-viewer
commands.
.B NeoLayoutViewer
provides an easy way to display the
.B NEO 2
keyboard layout on screen.
.PP
The application window is an image of one of the six levels of the
.B Neo 2
keyboard layout. If one of the Mod-keys (Shift, …) is pressed or released
the display switches to the corresponding level.
.PP
The application window can be hidden and moved via keyboard shortcuts. All
settings can be modified via config file.
.PP
.SH OPTIONS
.B neo-layout-viewer
doesn't support any command line options.
.SH KEYBINDINGS
NeoLayoutViewer supports two keyboard shortcuts:
.TP
.B <Ctrl><Alt>q
Hide/Show the application window
.TP
.B <Ctrl><Alt>n
Move the application window around. This cycles the position of the
application window between 8 different positions (each screen corner
and centered on the screen edges.).
The used positions can be reduced, see below.
.PP
Both shortcuts can be adapted by modifying the
.B config file
(see below).
.SH CONFIGURATION
The single configuration file is located in
~/.config/neo_layout_viewer.conf. This file is created on the first start
of the application.
.PP
The config entries in the generated file are commented to identify the
meaning of those options. The most important ones are:
.TP
.B width
The exact width of the application window. To avoid unexpected behavior on
on other resolutions, the width argument is ignored if it exceeds the range
[screen_width * min_width, screen_width * min_width]
.TP
.B max_width, min_width
This relative values limits the application window size.
As example, max_with = 0.5 restricts the size on 50% of the screen width.
The height can't be restricted directly.
.TP
.B display_function_keys
Whether to display the function key row
.TP
.B display_numpad
Whether to display the numpad block
.TP
.B show_shortcut
The keyboard shortcut to hide/display the application window
.TP
.B move_shortcut
The keyboard shortcut to move the window around. To remove the shortcut
just leave it empty.
.SH SEE ALSO
.TP
.I http://neo-layout.org/
The official homepage of the Neo 2 keyboard layout at
.\" .BR bar (1),
.\" .BR baz (1).
.\" .br
.\" The programs are documented fully by
.\" .IR "The Rise and Fall of a Fooish Bar" ,
.\" available via the Info system.

+ 12
- 0
debian/patches/install.diff View File

@ -0,0 +1,12 @@
Debianize Makefile
--- a/Makefile
+++ b/Makefile
@@ -14,7 +14,7 @@
BINDIR = bin
# Path prefix for 'make install'
-PREFIX = /usr/local
+PREFIX = $(DESTDIR)/usr
APPNAME = NeoLayoutViewer
GIT_COMMIT_VERSION=$(shell git log --oneline --max-count=1 | head --bytes=7)

+ 1
- 0
debian/patches/series View File

@ -0,0 +1 @@
install.diff

+ 25
- 0
debian/rules View File

@ -0,0 +1,25 @@
#!/usr/bin/make -f
# See debhelper(7) (uncomment to enable)
# output every command that modifies files on the build system.
#export DH_VERBOSE = 1
# see FEATURE AREAS in dpkg-buildflags(1)
#export DEB_BUILD_MAINT_OPTIONS = hardening=+all
# see ENVIRONMENT in dpkg-buildflags(1)
# package maintainers to append CFLAGS
#export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic
# package maintainers to append LDFLAGS
#export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
%:
dh $@
# dh_make generated override targets
# This is example for Cmake (See https://bugs.debian.org/641051 )
#override_dh_auto_configure:
# dh_auto_configure -- # -DCMAKE_LIBRARY_PATH=$(DEB_HOST_MULTIARCH)

+ 1
- 0
debian/source/format View File

@ -0,0 +1 @@
3.0 (quilt)

Loading…
Cancel
Save