Bug#918078: procmeter3: no longer has lm-sensors support

2019-01-03 Thread Aurelien Jarno
Dear maintainer,

On 2019-01-02 21:33, Jeremy Bicha wrote:
> Source: procmeter3
> Version: 3.6.1-1.1
> Severity: important
> X-Debbugs-CC: aure...@debian.org
> 
> procmeter3 no longer builds with lm-sensors support.
> 
> See modules/check-no-libsensors.sh
> 
> Build log excerpt
> ---
> libsensors does not appear to be installed - skipping compilation.
> 
> Full build logs
> ---
> https://buildd.debian.org/status/package.php?p=procmeter3

Unfortunately this has been broken by my recent binNMU fixing the build
with glibc 2.28 (bug #916054). Sorry about that. I have therefore just
done another NMU which adds support for libsensors5 by updating the
checks. You will find the corresponding debdiff attached.

Regards,
Aurelien

-- 
Aurelien Jarno  GPG: 4096R/1DDD8C9B
aurel...@aurel32.net http://www.aurel32.net
diff -Nru procmeter3-3.6/debian/changelog procmeter3-3.6/debian/changelog
--- procmeter3-3.6/debian/changelog 2018-12-26 00:22:40.0 +0100
+++ procmeter3-3.6/debian/changelog 2019-01-03 16:06:56.0 +0100
@@ -1,3 +1,14 @@
+procmeter3 (3.6-1.2) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * debian/patches/libsensors5.patch
+   + Update checks for libsensors5 Closes: #918078.
+  * debian/control
+   + Replace libsensors4-dev build-depends by libsensors-dev Closes:
+ #917446.
+
+ -- Aurelien Jarno   Thu, 03 Jan 2019 16:06:56 +0100
+
 procmeter3 (3.6-1.1) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -Nru procmeter3-3.6/debian/control procmeter3-3.6/debian/control
--- procmeter3-3.6/debian/control   2014-03-22 16:38:22.0 +0100
+++ procmeter3-3.6/debian/control   2019-01-03 13:26:29.0 +0100
@@ -2,7 +2,7 @@
 Section: utils
 Priority: optional
 Build-Depends: debhelper (>= 9), libgtk2.0-dev, libx11-dev, libxt-dev,
-  x11proto-core-dev, libsensors4-dev, libxaw7-dev, 
+  x11proto-core-dev, libsensors-dev, libxaw7-dev, 
   dpkg-dev (>= 1.17.0), libgtk-3-dev
 Maintainer: Wences Arana 
 Standards-Version: 3.9.5
diff -Nru procmeter3-3.6/debian/patches/libsensors5.patch 
procmeter3-3.6/debian/patches/libsensors5.patch
--- procmeter3-3.6/debian/patches/libsensors5.patch 1970-01-01 
01:00:00.0 +0100
+++ procmeter3-3.6/debian/patches/libsensors5.patch 2019-01-03 
13:27:45.0 +0100
@@ -0,0 +1,27 @@
+Add support for the libsensors5 API. In practice it's just a matter of
+updating the version checks.
+
+--- procmeter3-3.6.orig/modules/check-no-libsensors.sh
 procmeter3-3.6/modules/check-no-libsensors.sh
+@@ -5,7 +5,7 @@ CFLAGS=$2
+ 
+ cat < libsensors-test.c
+ #include 
+-#if (SENSORS_API_VERSION & 0xf00) != 0x400
++#if (SENSORS_API_VERSION & 0xf00) != 0x500
+ #error
+ #endif
+ EOF
+--- procmeter3-3.6.orig/modules/libsensors-fan.c
 procmeter3-3.6/modules/libsensors-fan.c
+@@ -27,8 +27,8 @@ const char *FILE__=__FILE__;
+ 
+ #include "procmeter.h"
+ 
+-#if !defined(SENSORS_API_VERSION) || (SENSORS_API_VERSION & 0xf00) != 0x400
+-#error "This module requires libsensors version 3"
++#if !defined(SENSORS_API_VERSION) || (SENSORS_API_VERSION & 0xf00) != 0x500
++#error "This module requires libsensors version 5"
+ #else
+ 
+ /* The interface information.  */
diff -Nru procmeter3-3.6/debian/patches/series 
procmeter3-3.6/debian/patches/series
--- procmeter3-3.6/debian/patches/series2018-12-21 22:51:43.0 
+0100
+++ procmeter3-3.6/debian/patches/series2019-01-03 13:28:08.0 
+0100
@@ -7,3 +7,4 @@
 dont-override-flags.patch
 libX11.patch
 loff_t.patch
+libsensors5.patch


signature.asc
Description: PGP signature


Bug#918078: procmeter3: no longer has lm-sensors support

2019-01-02 Thread Jeremy Bicha
Source: procmeter3
Version: 3.6.1-1.1
Severity: important
X-Debbugs-CC: aure...@debian.org

procmeter3 no longer builds with lm-sensors support.

See modules/check-no-libsensors.sh

Build log excerpt
---
libsensors does not appear to be installed - skipping compilation.

Full build logs
---
https://buildd.debian.org/status/package.php?p=procmeter3

Thanks,
Jeremy Bicha