[libconfig-model-lcdproc-perl] 01/03: use Dpkg::Arch instead of dpkg-architecture
dod at debian.org
dod at debian.org
Fri Dec 22 18:32:00 UTC 2017
This is an automated email from the git hooks/post-receive script.
dod pushed a commit to annotated tag debian/2.052-2
in repository libconfig-model-lcdproc-perl.
commit e9ef4b3c6b5ec6bc32365746d42d2951f0ddfd0d
Author: Dominique Dumont <dod at debian.org>
Date: Tue Dec 12 13:51:05 2017 +0100
use Dpkg::Arch instead of dpkg-architecture
Get the same info with less run-time dependencies
---
debian/patches/tweak-lcdd-conf | 15 +++++++--------
1 file changed, 7 insertions(+), 8 deletions(-)
diff --git a/debian/patches/tweak-lcdd-conf b/debian/patches/tweak-lcdd-conf
index a90c449..1c4a318 100644
--- a/debian/patches/tweak-lcdd-conf
+++ b/debian/patches/tweak-lcdd-conf
@@ -32,16 +32,15 @@ Forwarded: NA
Author: dod
--- a/lcdproc/LCDd.conf
+++ b/lcdproc/LCDd.conf
-@@ -34,6 +34,20 @@
+@@ -34,6 +34,19 @@
# the driver modules and will thus not be able to
# function properly.
# NOTE: Always place a slash as last character !
+# {%
+# default~
+# compute
-+# formula="my $triplet = `/usr/bin/dpkg-architecture -qDEB_HOST_MULTIARCH`;
-+# warn \"cannot run dpkg-architecture\" unless $triplet ;
-+# chomp $triplet;
++# formula="use Dpkg::Arch qw/get_host_arch debarch_to_multiarch/;
++# my $triplet = debarch_to_multiarch(get_host_arch());
+# \"/usr/lib/$triplet/lcdproc/\";"
+# use_eval=1
+# allow_override=1 -
@@ -53,7 +52,7 @@ Author: dod
DriverPath=server/drivers/
# Tells the server to load the given drivers. Multiple lines can be given.
-@@ -63,10 +77,11 @@
+@@ -64,10 +77,11 @@
#ReportLevel=3
# Should we report to syslog instead of stderr? [default: no; legal: yes, no]
@@ -66,7 +65,7 @@ Author: dod
User=nobody
# The server will stay in the foreground if set to yes.
-@@ -662,6 +677,21 @@
+@@ -681,6 +695,21 @@
[imon]
# select the device to use
@@ -88,7 +87,7 @@ Author: dod
Device=/dev/lcd0
# display dimensions
-@@ -680,6 +710,13 @@
+@@ -699,6 +728,13 @@
# [legal: 0, 1; default: 0]
# Choose 0 for 15c2:ffdc device,
# Choose 1 for 15c2:0038 device
@@ -102,7 +101,7 @@ Author: dod
Protocol=0
# Set the exit behavior [legal: 0-2; default: 1]
-@@ -689,6 +726,21 @@
+@@ -708,6 +744,21 @@
#OnExit=2
# Select the output device to use [default: /dev/lcd0]
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libconfig-model-lcdproc-perl.git
More information about the Pkg-perl-cvs-commits
mailing list