From: Adrian Iain Lam Date: Sun, 5 Feb 2023 06:16:26 +0000 (+0000) Subject: Update debian files X-Git-Url: https://adrianiainlam.tk/git/?a=commitdiff_plain;h=refs%2Fheads%2Fdebian;p=indicator-keyboard-led.git Update debian files Add gir1.2-appindicator3-0.1 as dependency --- diff --git a/debian/changelog b/debian/changelog index b747f92..5dd8765 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +indicator-keyboard-led (1.2-1) xenial; urgency=medium + + * New re-design with icons only instead of labels. + + -- Adrian I Lam Sun, 5 Feb 2023 06:25:10 +0000 + indicator-keyboard-led (1.1.1-1) xenial; urgency=medium * Remove files on postrm; update README.md with PPA info diff --git a/debian/config b/debian/config index 269b471..bffcb04 100755 --- a/debian/config +++ b/debian/config @@ -1,8 +1,6 @@ #!/bin/sh -e . /usr/share/debconf/confmodule -db_input high indicator-keyboard-led/short || true -db_go db_input high indicator-keyboard-led/order || true db_go db_input high indicator-keyboard-led/xdotool || true diff --git a/debian/control b/debian/control index 385dc6c..4f1e6b4 100644 --- a/debian/control +++ b/debian/control @@ -10,10 +10,16 @@ Vcs-Browser: https://github.com/adrianiainlam/indicator-keyboard-led Package: indicator-keyboard-led Architecture: all -Depends: python3, libgtk-3-0, libappindicator3-1, python3-gi, debconf (>= 0.2.17), ${misc:Depends} +Depends: debconf (>= 0.2.17), + gir1.2-appindicator3-0.1, + libappindicator3-1, + libgtk-3-0, + python3, + python3-gi, + ${misc:Depends} Recommends: libgtk-3-0 (>= 3.18), xdotool Description: simulate keyboard lock keys LED - This is a Unity application indicator designed for keyboards without lock + This is an application indicator designed for keyboards without lock keys LED. It allows the user to check the state of the three locks (Caps lock, Num lock and Scroll lock) without requiring any mouse or keyboard action. It also allows the lock keys to be toggled with mouse clicks, which diff --git a/debian/copyright b/debian/copyright index 7429943..9b8911f 100644 --- a/debian/copyright +++ b/debian/copyright @@ -3,7 +3,7 @@ Upstream-Name: indicator-keyboard-led Source: https://github.com/adrianiainlam/indicator-keyboard-led Files: * -Copyright: 2017 Adrian I Lam +Copyright: 2017-2023 Adrian I Lam License: MIT License: MIT @@ -21,7 +21,6 @@ License: MIT OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY - CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, - TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE + CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, + TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - diff --git a/debian/files b/debian/files new file mode 100644 index 0000000..7536640 --- /dev/null +++ b/debian/files @@ -0,0 +1 @@ +indicator-keyboard-led_1.2-1_source.buildinfo utils optional diff --git a/debian/install b/debian/install index a286132..a19dfa9 100644 --- a/debian/install +++ b/debian/install @@ -1,7 +1,12 @@ -indicator-keyboard-led.py usr/bin +README.md usr/share/doc/indicator-keyboard-led +indicator-keyboard-led-C-off.svg usr/share/icons/hicolor/scalable/apps +indicator-keyboard-led-C-on.svg usr/share/icons/hicolor/scalable/apps +indicator-keyboard-led-N-off.svg usr/share/icons/hicolor/scalable/apps +indicator-keyboard-led-N-on.svg usr/share/icons/hicolor/scalable/apps +indicator-keyboard-led-S-off.svg usr/share/icons/hicolor/scalable/apps +indicator-keyboard-led-S-on.svg usr/share/icons/hicolor/scalable/apps indicator-keyboard-led.desktop etc/xdg/autostart -indicator-keyboard-led.svg usr/share/icons/hicolor/scalable/apps +indicator-keyboard-led.py usr/bin locale/en/LC_MESSAGES/indicator-keyboard-led.mo usr/share/locale/en/LC_MESSAGES locale/fr/LC_MESSAGES/indicator-keyboard-led.mo usr/share/locale/fr/LC_MESSAGES -README.md usr/share/doc/indicator-keyboard-led screenshots usr/share/doc/indicator-keyboard-led diff --git a/debian/postinst b/debian/postinst index cbc8039..20eacce 100755 --- a/debian/postinst +++ b/debian/postinst @@ -4,10 +4,6 @@ pkill indicator-keyboard-led.py || true # modify autostart .desktop file to include debconf results . /usr/share/debconf/confmodule args= -db_get indicator-keyboard-led/short -if [ "$RET" = "true" ]; then - args="$args --short" -fi db_get indicator-keyboard-led/order if [ -n "$RET" ]; then args="$args --order $RET" diff --git a/debian/templates b/debian/templates index 3fc8404..25dc99b 100644 --- a/debian/templates +++ b/debian/templates @@ -1,20 +1,13 @@ -Template: indicator-keyboard-led/short -Type: boolean -Default: false -Description: Enable short labels: - Short labels: e.g. ⚫N ⚫C ⚫S - Default labels: e.g. ⚫Num ⚫Caps ⚫Scroll - Template: indicator-keyboard-led/order Type: string Default: NCS Description: Locks display order [NCS]: Use N for Num lock, C for Caps lock and S for Scroll lock. Examples: - NCS gives ⚫Num ⚫Caps ⚫Scroll [default] - CNS gives ⚫Caps ⚫Num ⚫Scroll - NC gives ⚫Num ⚫Caps (Scroll hidden) - C gives ⚫Caps + NCS gives Num Caps Scroll [default] + CNS gives Caps Num Scroll + NC gives Num Caps (Scroll hidden) + C gives Caps Template: indicator-keyboard-led/xdotool Type: string