Browse Source

Merge pull request #71 from haikarainen/update-debian-packaging

Update debian packaging
Joachim Nilsson 6 years ago
parent
commit
a5195d2a60
No account linked to committer's email
5 changed files with 21 additions and 10 deletions
  1. 2
    2
      Makefile.am
  2. 2
    2
      debian/changelog
  3. 1
    1
      debian/compat
  4. 14
    3
      debian/control
  5. 2
    2
      src/helpers.c

+ 2
- 2
Makefile.am View File

9
 endif
9
 endif
10
 
10
 
11
 # lintian --profile debian -i -I --show-overrides ../$PKG.changes
11
 # lintian --profile debian -i -I --show-overrides ../$PKG.changes
12
-package:
12
+deb:
13
 	dpkg-buildpackage -uc -us -B
13
 	dpkg-buildpackage -uc -us -B
14
 
14
 
15
 #
15
 #
16
 # Target to run when building a release
16
 # Target to run when building a release
17
 #
17
 #
18
-release: distcheck package
18
+release: distcheck
19
 	@for file in $(DIST_ARCHIVES); do	\
19
 	@for file in $(DIST_ARCHIVES); do	\
20
 		md5sum $$file > ../$$file.md5;	\
20
 		md5sum $$file > ../$$file.md5;	\
21
 	done
21
 	done

+ 2
- 2
debian/changelog View File

1
 light (1.2) unstable; urgency=low
1
 light (1.2) unstable; urgency=low
2
 
2
 
3
-  * Initial Debian Release (Closes: #47)
3
+  * Initial Debian Release.
4
 
4
 
5
- -- Joachim Nilsson <troglobit@gmail.com>  Sun, 12 Aug 2018 22:15:00 +0100
5
+ -- Joachim Nilsson <troglobit@gmail.com>  Sat, 22 Sep 2018 11:53:32 +0200
6
 
6
 

+ 1
- 1
debian/compat View File

1
-9
1
+10

+ 14
- 3
debian/control View File

3
 Priority: optional
3
 Priority: optional
4
 Maintainer: Joachim Nilsson <troglobit@gmail.com>
4
 Maintainer: Joachim Nilsson <troglobit@gmail.com>
5
 Homepage: https://github.com/haikarainen/light
5
 Homepage: https://github.com/haikarainen/light
6
-Build-Depends: debhelper (>= 9~), autoconf
6
+Build-Depends: debhelper (>= 10)
7
 Vcs-Git: https://github.com/haikarainen/light.git
7
 Vcs-Git: https://github.com/haikarainen/light.git
8
 Vcs-Browser: https://github.com/haikarainen/light/commits/
8
 Vcs-Browser: https://github.com/haikarainen/light/commits/
9
-Standards-Version: 3.9.3
9
+Standards-Version: 4.2.1
10
 
10
 
11
 Package: light
11
 Package: light
12
 Architecture: any
12
 Architecture: any
13
 Depends: ${shlibs:Depends}, ${misc:Depends}
13
 Depends: ${shlibs:Depends}, ${misc:Depends}
14
-Description: a program to control backlight controllers under GNU/Linux
14
+Description: Control display backlight controllers and LEDs
15
+ Light is a useful tool to control display brightness in lightweight
16
+ desktops or window managers that do not have bundled appliations for
17
+ this purpose.
18
+ .
19
+ Most modern laptops have moved away from hardware controlled brightness
20
+ and require software control.  Light works where other software has
21
+ proven to be unreliable, e.g. xbacklight.  It can even be used from the
22
+ console as it does not rely on X.
23
+ .
24
+ Light has features like setting a minimum brightness value, as well as
25
+ saving and restoring the brightness at reboot and startup.

+ 2
- 2
src/helpers.c View File

97
 /* Prints a notice about a value which was below `x` and was adjusted to it */
97
 /* Prints a notice about a value which was below `x` and was adjusted to it */
98
 uint64_t light_log_clamp_min(uint64_t min)
98
 uint64_t light_log_clamp_min(uint64_t min)
99
 {
99
 {
100
-    LIGHT_NOTE("too small value, adjusting to mininum %lu (raw)", min);
100
+    LIGHT_NOTE("too small value, adjusting to minimum %lu (raw)", min);
101
     return min;
101
     return min;
102
 }
102
 }
103
 
103
 
104
 /* Prints a notice about a value which was above `x` and was adjusted to it */
104
 /* Prints a notice about a value which was above `x` and was adjusted to it */
105
 uint64_t light_log_clamp_max(uint64_t max)
105
 uint64_t light_log_clamp_max(uint64_t max)
106
 {
106
 {
107
-    LIGHT_NOTE("too large value, adjusting to mavalimum %lu (raw)", max);
107
+    LIGHT_NOTE("too large value, adjusting to maximum %lu (raw)", max);
108
     return max;
108
     return max;
109
 }
109
 }
110
 
110