Commit Graph

57 Commits

Author SHA1 Message Date
Olaf Schulz 952373dfea Prepare version 1.6 2020-06-14 01:25:20 +02:00
Olaf Schulz a9faf4d710 Add command line actions and fix DBus-issue
A second instance of the app now waits until
it sends it's messages to the primary one.
This fixes issue #12 .

New command line options:
 --version --layer --hide --show --toggle
 --move --pos and --quit
 They can be used to send commands to the primary
 instance of the app.
2020-06-14 00:05:43 +02:00
Olaf Schulz be464bfcf5 Makefile: Add installation of *.desktop file 2020-06-10 22:28:10 +02:00
Olaf Schulz 88f719dc91 Use ADNW/KOY icons in Gnome 3.x indicator 2020-06-10 09:06:19 +02:00
Olaf Schulz aebe6ffe19 Integration of ADNW und KOY:
• Renaming of Optionvalue from NEO_2 to NEO2.
• Code cleanup (Tab indentation and redundant switch cases)
• Add Jonathan Vetter to Authors
2020-06-08 20:57:27 +02:00
Olaf Schulz c660404b3e Minor changes and svg source for layer added. 2019-11-13 11:38:37 +01:00
Olaf Schulz 02188f4d4c Allow manual re-sizing of window.
Changes in config-manager:
  Add 'color_event_box' option for debugging.

Changes in main window:
  The Gtk.Images was replaced by ScalingImage-objects. They reacts
  on window size changes.

Changes in key overlay:
  The combination of 1 VBox + 6 Hboxes was replaced by one Gtk.Layout
  element. A signal handler connects the element with window size changes.
2019-11-12 10:05:58 +01:00
Olaf Schulz 76277466c0 Add switch 'UBUNTU=1/0' to build package with pbuilder also against ubuntu bionic. 2019-01-25 17:21:56 +01:00
Olaf Schulz 8e99b6f5f5 Avoid valac warning and add test target 'deb-packages_as_user' 2019-01-25 14:07:55 +01:00
Olaf Schulz d2004964cb Derive release version from debian changelog
• Replace fixed RELEASE_VERSION variable in Makefile
by automatic generation.
• The manual set of this variable by './release' was removed.
• Remove dist-folder from clean-target because we want hold the results.
  (Several other make targets depends on clean.)
• Remove libunique-3.0-dev dependency from debian/control.

  deb packages, but
2019-01-25 11:52:55 +01:00
Olaf Schulz 264804d174 Remove libunique dependency
libunique-3.0 should not be used in Gtk3 application anymore.
Its functionality was replaced by Gtk.Application.
Moreover, the argument 1-5 now looks the displayed layer
again changes by key events.
2019-01-25 03:22:18 +01:00
Marco Herrn 3dc9f43a41 Update make targets for distribution package creation
- Create debian packages for one release and multiple architectures
- All distribution packages are put to dist/
2019-01-08 16:17:30 +01:00
Olaf Schulz 37a92a9754 Add debuild* targets to Makefile 2018-12-21 00:58:19 +01:00
Olaf Schulz 5501bd22d7 Remove '-0' from version to avoid lintian warning 2018-12-21 00:40:09 +01:00
Olaf Schulz c67e3b3191 Made project buildable with debuild 9 2018-12-21 00:05:48 +01:00
Olaf Schulz 91b2fa9a29 Fix install target in Makefile 2018-12-19 13:32:38 +01:00
Olaf Schulz e25e6289c9 Fix makefile target 2018-12-19 13:30:27 +01:00
Olaf Schulz 3ba695edbd Shift man-page from 'debian' into 'man'
Change suggested in #5.
2018-12-19 11:13:50 +01:00
Olaf Schulz 5ac7c2dcf6 Refactoring of Makefile
- Add several double quotes to avoid problems with filenames with spaces.
- Shift several double quotes from Makefile variables to usage of this
  variables.
- Remove -r flag from one 'rm' call for security.
- Prepend 'rm -r' call by check if folder is no top-level directory.
        Before, the construction '$(VAR1)/$(VAR2)' looks dangerous,
        even if both variables are currently non-empty.
2018-12-19 00:46:22 +01:00
Olaf Schulz 078e64909e Merge branch 'make-dist-package' into unstable 2018-12-18 23:36:27 +01:00
Olaf Schulz 6fc54d8cdb Add release version string to Makefile
The VERSION variable (relevant for  debian package system) now
depends on the new variable RELEASE_VERSION.
2018-12-18 21:38:39 +01:00
Olaf Schulz 6258f8461d Merge branch 'make-src-package' into unstable 2018-12-18 21:34:11 +01:00
Olaf Schulz 8e2795c045 Add release version string to Makefile
The VERSION variable (relevant for  debian package system) now
depends on the new variable RELEASE_VERSION.
2018-12-18 21:27:59 +01:00
Marco Herrn f7b444d2f8 Add make target 'dist-package' 2018-12-18 17:04:19 +01:00
Marco Herrn e516525531 Add make target 'src-package' 2018-12-18 16:35:48 +01:00
Marco Herrn 03756a7f6f Fix 'clean' target
- Also delete 'bin/' and '.build_env'
2018-12-18 16:18:19 +01:00
Olaf Schulz 3b57b6c232 Omit usage of builtin echo command if newline character is used 2017-12-24 10:48:17 +01:00
Olaf Schulz 8e165fb091 • (Re-)Add missing target for src/version.vala
• Windows-Build: Add target to download GTK dlls for cross compilation.
• Windows-Build: Add target to build libgee for cross compilation.
• Windows-Build: Now, build_cross_win depends on above targets.
2017-12-23 20:53:45 +01:00
Olaf Schulz 077fc067d7 Add build target for windows. (This only build a very striped version\!) 2017-11-17 16:56:34 +01:00
Olaf Schulz 40bc020add Propagate shared asset folder from Makefile
and fix error in automatic search of asset folder.
2017-11-12 17:55:30 +01:00
Olaf Schulz 5d49593858 Bugfixes and remove of deprecated warnings.
- Makefile: Do not rebuild app for install target
- Show/Hide-Bug: Prevent window position at screen center in i3-wm.
- Set parent window option of about dialog.
- Switch from Gtk.VBox to Gtk.Box.
- Switch from Gdk.x11_get_default_xdisplay() to Gdk.X11.get_default_xdisplay()
- Switch from Gdk.x11_get_default_root_xwindow() to Gdk.X11.get_default_root_xwindow()
2017-11-12 12:59:17 +01:00
Olaf Schulz 93636f251e Update 2017
• Änderung des Namens der Konfigurationsdatei:
  .neo_layout_viewer.conf => neo_layout_viewer.conf
  (Da sie standardmäßig im '.config'-Verzeichnis erstellt wird, braucht
  sie nicht „doppelt“ versteckt werden.)
• Bugfix Icon-Pfad von Indicator-Applet war irrtümlich fixiert und wird
  nun aus dem Asset-Pfad abgeleitet.
• Neben ./asset wird nun auch ../asset als möglicher Standort für die
  Grafiken angenommen.
• Info-Popup: Zeigt nun an, welche Config-Datei geladen wurde.
• Makefile baut neues Binary nur noch bei geänderten Sourcen oder geänderten
  Umgebungsvariablen.
• Info-Popup: Zeigt git-commit id an.
2017-11-12 02:52:38 +01:00
Olaf Schulz 246bd2457b Add gtk window hint. This info is useful for tiling window managers. 2015-01-10 22:06:24 +01:00
Olaf Schulz 3ba5117e83 Bugfixes:
• Die virtuelle Tastatur funktioniert jetzt wieder für alle Ebenen.
 Vorher gab es ein Problem auf der ersten Ebene, bei dem als
 Modifier-Maske 33 ausgewählt wird, obwohl sie 0 sein müsste. Dieser
 Fehler tritt aber nur auf, wenn das Neo-Layout aktiviert war. Als
 Workaround wird nun die Maske 33 auf 0 gemappt.
• Die Konfigurationsdatei wurde jetzt nicht mehr mehrfach angelegt. Es gibt drei
Standardpfade unter denen die Konfiguration gesucht wird. Durch Wahl der
falschen Vergleichsvariable wurde die Konfigurationsdatei
.neo_layout_viewer.conf aber nur im aktuellen Verzeichnis gesucht.
2014-06-08 17:36:56 +02:00
Olaf Schulz 6d21425b4c Swap selected build types between all and release target 2013-12-09 02:07:25 +01:00
Olaf Schulz 95b8c9a708 Add install and unistall option to Makefile 2013-12-09 00:32:12 +01:00
Olaf Schulz ce2b307cae Add system wide search for config file and asset folder. This is
a preparation for the install option in Makefile.
2013-12-08 02:35:03 +01:00
Olaf Schulz 883b24176d • Change startup beheaviour of the application:
If a second instance will be started the window of the first instance
	will be toggled (and not shown). Now, it's possible to map the
	toggle-window shortcut on the same key binding as the
	(external) application start.
• Add new config file option: show_on_startup
2013-12-08 01:09:00 +01:00
Olaf Schulz 012c3277fc Change some annotations 2013-12-07 14:19:54 +01:00
Olaf Schulz e0b870e32f Update README and install instructions. Fix compiling error for older vala versions <0.16 2013-09-17 22:59:44 +02:00
rixx 543d7df500 added Arch Linux bugfix and includes for gcc to replace workaround requiring changes in /usr/include/…
workaround for Arch Linux error - libgee-1.0 has its header still in /usr/include/gee-0.8
2013-09-13 20:12:27 +02:00
Olaf Schulz 54971f58ab Add missing file. 2012-11-02 18:56:29 +01:00
Olaf Schulz 7c2aa5d4ef Add indicator menu for gnome 3. The Makefile contains now
a flag to select the desired icon type: none, tray (for gnome 2.x) or
indicator (for gnome 3.x).
2012-11-02 18:53:56 +01:00
Olaf Schulz c0e4b6c1f8 Switch to Gdk-3.0. Virtual keyboard functionality does not work anymore. 2012-11-01 22:40:54 +01:00
Olaf Schulz 8d4e988f39 Fix KeybindingManager issues after update on gdk 3.0 2012-11-01 20:41:15 +01:00
Olaf Schulz 7b836018c5 Update to gtk 3.0. 2012-11-01 13:57:52 +01:00
Olaf Schulz d6a7a90644 Add -lm to compiler options. This and the previous commit
fixes the issues of
https://github.com/YggdrasiI/NeoLayoutViewer/issues/1
.
2012-08-14 15:55:37 +02:00
Olaf Schulz 64620df692 Limit number of application instances to one. Show first application window, if second instance is started. 2011-10-23 03:48:20 +02:00
Olaf Schulz 884558f4e9 Remove image loading error, if executeable not called from bin dir 2011-10-21 13:47:35 +02:00
Olaf Schulz 397e740425 Deutsches Readme 2011-10-21 02:54:42 +02:00