Skip to content

Commit

Permalink
Bumping version number to indicate refactoring occurred.
Browse files Browse the repository at this point in the history
  • Loading branch information
digitaltrails committed Oct 25, 2023
1 parent fdab09c commit 38de4a3
Show file tree
Hide file tree
Showing 7 changed files with 61 additions and 10 deletions.
2 changes: 1 addition & 1 deletion PKGBUILD
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
pkgname=vdu_controls
pkgver=1.12.1
pkgver=1.20.0
pkgrel=1
pkgdesc="Visual Display Unit virtual control panel"
arch=('i686' 'x86_64')
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -229,12 +229,13 @@ Michael Hamilton

Version History
---------------
* 1.12.1
* 1.20.0
* Added options monochrome-tray and mono-light-tray to enable a monochrome tray-icon (dark and light).
* Optional $HOME/.config/vdu_controls/tray_icon.svg overrides the normal tray icon.
* Improved the adjustment of icon/window dimensions by scaling them in respect to the user's default-font height.
* Remove adjust-for-dpi in favour of the the above which automatically accounts for DPI.
* When a Preset is transitioning slowly (i.e. not immediately), the UI controls can be used to stop the transition.
* Considerable internal refactoring of option handling.

* 1.12.0
* Added an F10_key context menu shortcut to all application windows (KDE accessibility standard).
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = vdu_controls-digitaltrails
version = 1.12.1
version = 1.20.0
author = Michael Hamilton
author_email = [email protected]
description = A GUI for controlling Visual Display Units
Expand Down
55 changes: 52 additions & 3 deletions utils/make-tar
Original file line number Diff line number Diff line change
@@ -1,10 +1,59 @@
#!/bin/bash

if [ $# -ne 1 ]
if [ $# -ne 2 ]
then
echo "ERROR: please supply version parameter, e.g. 1.5.1"
echo "ERROR: please supply version parameter, e.g. 1.5.1 [git|local]"
exit 1
fi
version="$1"
source="$2"

git archive --format tgz --prefix=vdu_controls-$version/ HEAD > /home/michael/rpmbuild/SOURCES/vdu_controls-$version.tar.gz
if [ $source == "git" ]
then
git archive --format tgz --prefix=vdu_controls-$version/ HEAD > /home/michael/rpmbuild/SOURCES/vdu_controls-$version.tar.gz
exit 0
fi

# Local source
ln -s . vdu_controls-$version
tar --files-from=- -cvzf /home/michael/rpmbuild/SOURCES/vdu_controls-$version.tar.gz <<EOF
vdu_controls-$version/.gitignore
vdu_controls-$version/LICENSE.md
vdu_controls-$version/MANIFEST.in
vdu_controls-$version/README.md
vdu_controls-$version/docs/Makefile
vdu_controls-$version/docs/_build/man/vdu_controls.1
vdu_controls-$version/docs/_build/man/vdu_controls.1.html
vdu_controls-$version/docs/_config.yml
vdu_controls-$version/docs/conf.py
vdu_controls-$version/docs/index.rst
vdu_controls-$version/docs/make.bat
vdu_controls-$version/pyproject.toml
vdu_controls-$version/screen-shots/Screenshot_Large-330.png
vdu_controls-$version/screen-shots/Screenshot_Large.png
vdu_controls-$version/screen-shots/Screenshot_Small-227.png
vdu_controls-$version/screen-shots/Screenshot_Small.png
vdu_controls-$version/screen-shots/Screenshot_settings-300.png
vdu_controls-$version/screen-shots/Screenshot_settings.png
vdu_controls-$version/screen-shots/Screenshot_tray-200.png
vdu_controls-$version/screen-shots/Screenshot_tray.png
vdu_controls-$version/screen-shots/kickoff.png
vdu_controls-$version/setup.cfg
vdu_controls-$version/vdu_controls.py
vdu_controls-$version/vdu_controls.png
vdu_controls-$version/translations/da_DK.ts
vdu_controls-$version/translations/fr_FR.ts
vdu_controls-$version/translations/de_DE.ts
vdu_controls-$version/translations/cs_CZ.ts
vdu_controls-$version/translations/about_da_DK.txt
vdu_controls-$version/translations/about_fr_FR.txt
vdu_controls-$version/translations/about_de_DE.txt
vdu_controls-$version/translations/about_cs_CZ.txt
vdu_controls-$version/sample-scripts/lux-from-webcam.bash
vdu_controls-$version/sample-scripts/lux-from-webcam.py
vdu_controls-$version/sample-scripts/vlux_meter.py
vdu_controls-$version/vdu_controls.desktop
vdu_controls-$version/icons/
EOF

rm vdu_controls-$version
3 changes: 2 additions & 1 deletion vdu_controls.changes
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
-------------------------------------------------------------------
Tue 19 Oct 2023 02:05:00 UTC - Michael Hamilton <[email protected]>

- Version 1.12.1
- Version 1.20.0
* Added options monochrome-tray and mono-light-tray to enable a monochrome tray-icon (dark and light).
* Optional $HOME/.config/vdu_controls/tray_icon.svg overrides the normal tray icon.
* Improved the adjustment of icon/window dimensions by scaling them in respect to the user's default-font height.
* Remove adjust-for-dpi in favour of the the above which automatically accounts for DPI.
* When a Preset is transitioning slowly (i.e. not immediately), the UI controls can be used to stop the transition.
* Considerable internal refactoring of option handling.

-------------------------------------------------------------------
Tue 21 Sep 2023 03:59:00 UTC - Michael Hamilton <[email protected]>
Expand Down
2 changes: 1 addition & 1 deletion vdu_controls.py
Original file line number Diff line number Diff line change
Expand Up @@ -712,7 +712,7 @@
QWidgetItem, QScrollArea, QGroupBox, QFrame, QSplitter, QSpinBox, QDoubleSpinBox, QInputDialog, QStatusBar, qApp, QShortcut

APPNAME = "VDU Controls"
VDU_CONTROLS_VERSION = '1.12.1'
VDU_CONTROLS_VERSION = '1.20.0'
VDU_CONTROLS_VERSION_TUPLE = tuple(int(i) for i in VDU_CONTROLS_VERSION.split('.'))
assert sys.version_info >= (3, 8), f'{APPNAME} utilises python version 3.8 or greater (your python is {sys.version}).'

Expand Down
4 changes: 2 additions & 2 deletions vdu_controls.spec
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@


Name: vdu_controls
Version: 1.12.1
Version: 1.20.0
Release: 0
Summary: Visual Display Unit virtual control panel
License: GPL-3.0-or-later
URL: https://github.com/digitaltrails/vdu_controls
Source0: https://github.com/digitaltrails/vdu_controls/archive/refs/tags/v1.12.1.tar.gz#/%{name}-%{version}.tar.gz
Source0: https://github.com/digitaltrails/vdu_controls/archive/refs/tags/v1.20.0.tar.gz#/%{name}-%{version}.tar.gz
BuildRequires: coreutils
BuildRequires: hicolor-icon-theme
BuildArch: noarch
Expand Down

0 comments on commit 38de4a3

Please sign in to comment.