[Pkg-xfce-commits] r1651 - in goodies/xfce4-sensors-plugin/debian: . patches

corsac at alioth.debian.org corsac at alioth.debian.org
Tue Feb 26 16:42:43 UTC 2008


Author: corsac
Date: 2008-02-26 16:42:42 +0000 (Tue, 26 Feb 2008)
New Revision: 1651

Added:
   goodies/xfce4-sensors-plugin/debian/patches/
   goodies/xfce4-sensors-plugin/debian/patches/01_dont-look-at-floppy-disk.patch
Modified:
   goodies/xfce4-sensors-plugin/debian/changelog
   goodies/xfce4-sensors-plugin/debian/rules
Log:
* debian/patches: 01_dont-look-at-floppy-disk added, so hddtemp support
  doesn't try to find a temp sensor in a floppy disk.         closes: #463815

Modified: goodies/xfce4-sensors-plugin/debian/changelog
===================================================================
--- goodies/xfce4-sensors-plugin/debian/changelog	2008-02-26 15:09:57 UTC (rev 1650)
+++ goodies/xfce4-sensors-plugin/debian/changelog	2008-02-26 16:42:42 UTC (rev 1651)
@@ -1,8 +1,10 @@
 xfce4-sensors-plugin (0.10.99.4~svn-r3775-2) UNRELEASED; urgency=low
 
   * debian/rules: drop simple-patchsys as we don't have any patch.
+  * debian/patches: 01_dont-look-at-floppy-disk added, so hddtemp support
+    doesn't try to find a temp sensor in a floppy disk.         closes: #463815
 
- -- Yves-Alexis Perez <corsac at debian.org>  Fri, 04 Jan 2008 12:06:57 +0100
+ -- Yves-Alexis Perez <corsac at debian.org>  Tue, 26 Feb 2008 17:36:38 +0100
 
 xfce4-sensors-plugin (0.10.99.4~svn-r3775-1) unstable; urgency=low
 

Added: goodies/xfce4-sensors-plugin/debian/patches/01_dont-look-at-floppy-disk.patch
===================================================================
--- goodies/xfce4-sensors-plugin/debian/patches/01_dont-look-at-floppy-disk.patch	                        (rev 0)
+++ goodies/xfce4-sensors-plugin/debian/patches/01_dont-look-at-floppy-disk.patch	2008-02-26 16:42:42 UTC (rev 1651)
@@ -0,0 +1,13 @@
+diff -Naur xfce4-sensors-plugin_old/panel-plugin/hddtemp.c xfce4-sensors-plugin-0.10.99.4/panel-plugin/hddtemp.c
+--- xfce4-sensors-plugin_old/panel-plugin/hddtemp.c	2008-02-02 14:04:24.000000000 +0100
++++ xfce4-sensors-plugin-0.10.99.4/panel-plugin/hddtemp.c	2008-02-03 16:54:00.000000000 +0100
+@@ -123,7 +123,8 @@
+         if ( strncmp (dirname, "ram", 3)!=0 &&
+              strncmp (dirname, "loop", 4)!=0 &&
+              strncmp (dirname, "md", 2)!=0 &&
+-             strncmp (dirname, "dm-", 3)!=0 ) {
++             strncmp (dirname, "dm-", 3)!=0 &&
++             strncmp (dirname, "fd", 2) !=0) {
+             /* TODO: look, if /dev/dirname exists? */
+             chipfeature = g_new0 (t_chipfeature, 1);
+             chipfeature->name = g_strconcat ("/dev/", dirname, NULL); /* /proc/ide/hda/model ?? */

Modified: goodies/xfce4-sensors-plugin/debian/rules
===================================================================
--- goodies/xfce4-sensors-plugin/debian/rules	2008-02-26 15:09:57 UTC (rev 1650)
+++ goodies/xfce4-sensors-plugin/debian/rules	2008-02-26 16:42:42 UTC (rev 1651)
@@ -1,5 +1,6 @@
 #!/usr/bin/make -f
 include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/rules/simple-patchsys.mk
 include /usr/share/cdbs/1/class/autotools.mk
 
 DEB_CONFIGURE_EXTRA_FLAGS := --enable-libsensors=yes --enable-procacp --enable-hddtemp=yes




More information about the Pkg-xfce-commits mailing list