瀏覽代碼

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

Update debian packaging
Joachim Nilsson 6 年之前
父節點
當前提交
a5195d2a60
沒有帳戶連結到提交者的電子郵件
共有 5 個文件被更改,包括 21 次插入10 次删除
  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 查看文件

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

+ 2
- 2
debian/changelog 查看文件

@@ -1,6 +1,6 @@
1 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 查看文件

@@ -1 +1 @@
1
-9
1
+10

+ 14
- 3
debian/control 查看文件

@@ -3,12 +3,23 @@ Section: x11
3 3
 Priority: optional
4 4
 Maintainer: Joachim Nilsson <troglobit@gmail.com>
5 5
 Homepage: https://github.com/haikarainen/light
6
-Build-Depends: debhelper (>= 9~), autoconf
6
+Build-Depends: debhelper (>= 10)
7 7
 Vcs-Git: https://github.com/haikarainen/light.git
8 8
 Vcs-Browser: https://github.com/haikarainen/light/commits/
9
-Standards-Version: 3.9.3
9
+Standards-Version: 4.2.1
10 10
 
11 11
 Package: light
12 12
 Architecture: any
13 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 查看文件

@@ -97,14 +97,14 @@ bool light_file_is_readable(char const *filename)
97 97
 /* Prints a notice about a value which was below `x` and was adjusted to it */
98 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 101
     return min;
102 102
 }
103 103
 
104 104
 /* Prints a notice about a value which was above `x` and was adjusted to it */
105 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 108
     return max;
109 109
 }
110 110