diff -Nru brightnessctl-0.3.1/brightnessctl.1 brightnessctl-0.3.2/brightnessctl.1 --- brightnessctl-0.3.1/brightnessctl.1 1970-01-01 00:00:00.000000000 +0000 +++ brightnessctl-0.3.2/brightnessctl.1 2018-01-24 20:36:46.000000000 +0000 @@ -0,0 +1,141 @@ +.TH "BRIGHTNESSCTL" "1" "24th Jan 2018" "brightnessctl" "brightnessctl" + +.SH "NAME" +brightnessctl \- read and control device brightness + + +.SH "SYNOPSIS" + +.sp +\fIbrightnessctl\fR [options] \fI[operation]\fR [value...] + + +.SH "OPTIONS" + +.sp +\fB\-h, \-\-help\fP +.RS 4 +Print this help. +.RE + +.sp +\fB\-l, \-\-list\fP +.RS 4 +List devices with available brightness controls. +.RE + +.sp +\fB\-q, \-\-quiet\fP +.RS 4 +Suppress output. +.RE + +.sp +\fB\-p, \-\-pretend\fP +.RS 4 +Do not perform write operations. +.RE + +.sp +\fB\-m, \-\-machine\-readable\fP +.RS 4 +Produce machine\-readable output. +.RE + +.sp +\fB\-s, \-\-save\fP +.RS 4 +Save state in a temporary file. +.RE + +.sp +\fB\-r, \-\-restore\fP +.RS 4 +Restore previously\-saved state. +.RE + +.sp +\fB\-d, \-\-device\fP=\fIDEVICE\fP +.RS 4 +Specify device name (can be a wildcard). +.RE + +.sp +\fB\-c, \-\-class\fP=\fICLASS\fP +.RS 4 +Specify device class. +.RE + +.sp +\fB\-v, \-\-version\fP +.RS 4 +Print version and exit. +.RE + + +.SH "OPERATIONS" + +.sp +\fBi, info\fP +.RS 4 +Get device info. +.RE + +.sp +\fBg, get\fP +.RS 4 +Get the current brightness of the device. +.RE + +.sp +\fBm, max\fP +.RS 4 +Get the maximum brightness of the device. +.RE + +.sp +\fBs, set\fP \fIVALUE\fP +.RS 4 +Set the brightness of the device. + +.SS VALUES +.P +You may specify \fIVALUE\fR for the \fBset\fR command in absolute or relative form, and +as a value or a delta from the current value. For example: +.P +\fBbrightnessctl set 500\fR +.RS "4" +Sets brightness to 500. +.P +.RE +\fBbrightnessctl set 50%\fR +.RS "4" +Sets brightness to 50% of the maximum. +.P +.RE +\fBbrightnessctl set 50-\fR +.RS "4" +Subtracts 50 from the current brightness. +.P +.RE +\fBbrightnessctl set +10\fR +.RS "4" +Adds 10 to the current brightness. +.P +.RE +\fBbrightnessctl set 50%-\fR +.RS "4" +Subtracts 50% of the maximum from the current brightness. +.P +.RE +\fBbrightnessctl set +10%\fR +.RS "4" +Adds 10% of the maximum to the current brightness. +.P +.RE +.SH AUTHORS +.P +Maintained by Mykyta Holubakha, who is assisted by other open source +contributors. For more information about brightnessctl development, visit: +.P +https://github.com/Hummer12007/brightnessctl diff -Nru brightnessctl-0.3.1/debian/changelog brightnessctl-0.3.2/debian/changelog --- brightnessctl-0.3.1/debian/changelog 2018-01-22 20:18:41.000000000 +0000 +++ brightnessctl-0.3.2/debian/changelog 2018-04-30 12:08:43.000000000 +0000 @@ -1,3 +1,18 @@ +brightnessctl (0.3.2-1) unstable; urgency=medium + + * New upstream version (2018-01-24) + The only changes are the inclusion of the manpage upstream, + along with manpage improvements credited to Drew DeVault. + + * debian/control: + - Declare compliance with policy version 4.1.4. + No change required. + - Use a canonical Vcs-Git URI + + * debian/rules: Drop a superfluous dh argument + + -- Nicolas Braud-Santoni Mon, 30 Apr 2018 14:08:43 +0200 + brightnessctl (0.3.1-1) unstable; urgency=medium * New upstream version (2018-01-19) diff -Nru brightnessctl-0.3.1/debian/control brightnessctl-0.3.2/debian/control --- brightnessctl-0.3.1/debian/control 2018-01-22 20:18:41.000000000 +0000 +++ brightnessctl-0.3.2/debian/control 2018-04-30 12:08:43.000000000 +0000 @@ -3,10 +3,10 @@ Section: misc Priority: optional Build-Depends: debhelper (>= 11) -Standards-Version: 4.1.3 +Standards-Version: 4.1.4 Homepage: https://github.com/Hummer12007/brightnessctl Vcs-Browser: https://salsa.debian.org/debian/brightnessctl -Vcs-Git: https://salsa.debian.org/debian/brightnessctl +Vcs-Git: https://salsa.debian.org/debian/brightnessctl.git Package: brightnessctl Architecture: any diff -Nru brightnessctl-0.3.1/debian/patches/0001-Add-a-manpage-for-brightnessctl-1.patch brightnessctl-0.3.2/debian/patches/0001-Add-a-manpage-for-brightnessctl-1.patch --- brightnessctl-0.3.1/debian/patches/0001-Add-a-manpage-for-brightnessctl-1.patch 2018-01-22 20:18:41.000000000 +0000 +++ brightnessctl-0.3.2/debian/patches/0001-Add-a-manpage-for-brightnessctl-1.patch 1970-01-01 00:00:00.000000000 +0000 @@ -1,197 +0,0 @@ -Subject: Add a manpage for brightnessctl(1) - ---- - .gitignore | 1 + - Makefile | 13 ++++-- - brightnessctl.1.in | 135 +++++++++++++++++++++++++++++++++++++++++++++++++++++ - 3 files changed, 145 insertions(+), 4 deletions(-) - create mode 100644 brightnessctl.1.in - -diff --git a/.gitignore b/.gitignore -index a3ca076..637f65d 100644 -Origin: vendor -From: Nicolas Braud-Santoni -Reviewed-by: Nicolas Braud-Santoni -Last-Update: 2018-01-23 -Applied-Upstream: yes -Forwarded: https://github.com/Hummer12007/brightnessctl/pull/17 - ---- a/.gitignore -+++ b/.gitignore -@@ -1,2 +1,3 @@ - brightnessctl -+brightnessctl.1 - *.swp -diff --git a/Makefile b/Makefile -index 0286a69..01efcb8 100644 ---- a/Makefile -+++ b/Makefile -@@ -4,6 +4,7 @@ LDLIBS = -lm - - PREFIX ?= /usr - BINDIR = ${DESTDIR}${PREFIX}/bin -+MANDIR = ${DESTDIR}${PREFIX}/share/man - - INSTALL_UDEV_RULES = 0 - -@@ -14,11 +15,15 @@ MODE_0 = 4711 - MODE_1 = 0755 - MODE = ${MODE_${INSTALL_UDEV_RULES}} - --all: brightnessctl -+all: brightnessctl brightnessctl.1 - --install: brightnessctl ${INSTALL_UDEV_${INSTALL_UDEV_RULES}} -- install -d ${BINDIR} -- install -m ${MODE} brightnessctl ${BINDIR}/ -+brightnessctl.1: brightnessctl.1.in -+ sed 's/VERSION/$(VERSION)/g' $< > $@ -+ -+install: all ${INSTALL_UDEV_${INSTALL_UDEV_RULES}} -+ install -d ${BINDIR} ${MANDIR}/man1 -+ install -m ${MODE} brightnessctl ${BINDIR}/ -+ install -m 0644 brightnessctl.1 ${MANDIR}/man1 - - install_udev_rules: - install -d ${DESTDIR}${UDEVDIR} -diff --git a/brightnessctl.1.in b/brightnessctl.1.in -new file mode 100644 -index 0000000..febe458 ---- /dev/null -+++ b/brightnessctl.1.in -@@ -0,0 +1,135 @@ -+'\" t -+.\" Title: brightnessctl -+.\" Author: Mykyta Holubakha -+.\" Language: English -+.\" -+.TH "BRIGHTNESSCTL" "1" "VERSION" "brightnessctl" "brightnessctl" -+ -+.SH "NAME" -+brightnessctl \- read and control device brightness -+ -+ -+.SH "SYNOPSIS" -+ -+.sp -+\fBbrightnessctl\fP [\(aqOPTION\(aq]... [\(aqOPERATION\(aq]... [\(aqVALUE\(aq]... -+ -+ -+.SH "OPTIONS" -+ -+.sp -+\fB\-h, \-\-help\fP -+.RS 4 -+Print this help. -+.RE -+ -+.sp -+\fB\-l, \-\-list\fP -+.RS 4 -+List devices with available brightness controls. -+.RE -+ -+.sp -+\fB\-q, \-\-quiet\fP -+.RS 4 -+Suppress output. -+.RE -+ -+.sp -+\fB\-p, \-\-pretend\fP -+.RS 4 -+Do not perform write operations. -+.RE -+ -+.sp -+\fB\-m, \-\-machine\-readable\fP -+.RS 4 -+Produce machine\-readable output. -+.RE -+ -+.sp -+\fB\-s, \-\-save\fP -+.RS 4 -+Save state in a temporary file. -+.RE -+ -+.sp -+\fB\-r, \-\-restore\fP -+.RS 4 -+Restore previously\-saved state. -+.RE -+ -+.sp -+\fB\-d, \-\-device\fP=\fIDEVICE\fP -+.RS 4 -+Specify device name (can be a wildcard). -+.RE -+ -+.sp -+\fB\-c, \-\-class\fP=\fICLASS\fP -+.RS 4 -+Specify device class. -+.RE -+ -+.sp -+\fB\-v, \-\-version\fP -+.RS 4 -+Print version and exit. -+.RE -+ -+ -+.SH "OPERATIONS" -+ -+.sp -+\fBi, info\fP -+.RS 4 -+Get device info. -+.RE -+ -+.sp -+\fBg, get\fP -+.RS 4 -+Get the current brightness of the device. -+.RE -+ -+.sp -+\fBm, max\fP -+.RS 4 -+Get the maximum brightness of the device. -+.RE -+ -+.sp -+\fBs, set\fP \fIVALUE\fP -+.RS 4 -+Set the brightness of the device. -+ -+Valid values: -+.IP \[bu] 2 -+absolute value: 500 -+.IP \[bu] -+relative value: 50% -+.IP \[bu] -+absolute delta: 50- or +10 -+.IP \[bu] -+relative delta: 50%- or +10% -+.RE -+ -+ -+.SH "RESOURCES" -+.sp -+\fBProject development repository:\fP \c -+https://github.com/Hummer12007/brightnessctl -+ -+ -+.SH "COPYING" -+.sp -+Copyright \(co 2016\-2018 Mykyta Holubakha. -+ -+Free use of this software is granted under the terms of the MIT/Expat License. -+ -+ -+.SH "AUTHOR(S)" -+.sp -+\fBMykyta Holubakha\fP -+ -+\fBNicolas Braud-Santoni\fP (manpage) diff -Nru brightnessctl-0.3.1/debian/patches/series brightnessctl-0.3.2/debian/patches/series --- brightnessctl-0.3.1/debian/patches/series 2018-01-22 20:18:41.000000000 +0000 +++ brightnessctl-0.3.2/debian/patches/series 1970-01-01 00:00:00.000000000 +0000 @@ -1 +0,0 @@ -0001-Add-a-manpage-for-brightnessctl-1.patch diff -Nru brightnessctl-0.3.1/debian/rules brightnessctl-0.3.2/debian/rules --- brightnessctl-0.3.1/debian/rules 2018-01-22 20:18:41.000000000 +0000 +++ brightnessctl-0.3.2/debian/rules 2018-04-30 12:08:43.000000000 +0000 @@ -3,7 +3,7 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all %: - dh $@ --parallel + dh $@ override_dh_auto_install: dh_auto_install -- INSTALL_UDEV_RULES=1 diff -Nru brightnessctl-0.3.1/Makefile brightnessctl-0.3.2/Makefile --- brightnessctl-0.3.1/Makefile 2018-01-19 18:40:58.000000000 +0000 +++ brightnessctl-0.3.2/Makefile 2018-01-24 20:36:46.000000000 +0000 @@ -4,6 +4,7 @@ PREFIX ?= /usr BINDIR = ${DESTDIR}${PREFIX}/bin +MANDIR = ${DESTDIR}${PREFIX}/share/man INSTALL_UDEV_RULES = 0 @@ -14,11 +15,12 @@ MODE_1 = 0755 MODE = ${MODE_${INSTALL_UDEV_RULES}} -all: brightnessctl +all: brightnessctl brightnessctl.1 -install: brightnessctl ${INSTALL_UDEV_${INSTALL_UDEV_RULES}} - install -d ${BINDIR} - install -m ${MODE} brightnessctl ${BINDIR}/ +install: all ${INSTALL_UDEV_${INSTALL_UDEV_RULES}} + install -d ${BINDIR} ${MANDIR}/man1 + install -m ${MODE} brightnessctl ${BINDIR}/ + install -m 0644 brightnessctl.1 ${MANDIR}/man1 install_udev_rules: install -d ${DESTDIR}${UDEVDIR}