Hello community,
here is the log from the commit of package xfce4-panel-plugin-sensors for
openSUSE:Factory checked in at 2017-03-02 19:43:13
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/xfce4-panel-plugin-sensors (Old)
and /work/SRC/openSUSE:Factory/.xfce4-panel-plugin-sensors.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "xfce4-panel-plugin-sensors"
Thu Mar 2 19:43:13 2017 rev:19 rq:461650 version:1.2.6
Changes:
--------
---
/work/SRC/openSUSE:Factory/xfce4-panel-plugin-sensors/xfce4-panel-plugin-sensors.changes
2015-03-01 14:46:54.000000000 +0100
+++
/work/SRC/openSUSE:Factory/.xfce4-panel-plugin-sensors.new/xfce4-panel-plugin-sensors.changes
2017-03-02 19:43:14.337515260 +0100
@@ -1,0 +2,6 @@
+Wed Mar 1 10:04:21 UTC 2017 - [email protected]
+
+- enable hddtemp (boo#763293)
+ add xfce4-sensors-plugin-force-hddtemp-netcat.patch
+
+-------------------------------------------------------------------
New:
----
xfce4-sensors-plugin-force-hddtemp-netcat.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ xfce4-panel-plugin-sensors.spec ++++++
--- /var/tmp/diff_new_pack.aHbsi7/_old 2017-03-02 19:43:15.109406040 +0100
+++ /var/tmp/diff_new_pack.aHbsi7/_new 2017-03-02 19:43:15.109406040 +0100
@@ -1,7 +1,7 @@
#
# spec file for package xfce4-panel-plugin-sensors
#
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -27,6 +27,8 @@
Group: System/GUI/XFCE
Url:
http://goodies.xfce.org/projects/panel-plugins/xfce4-sensors-plugin
Source0:
http://archive.xfce.org/src/panel-plugins/%{plugin_name}/1.2/%{plugin_name}-%{version}.tar.bz2
+# PATCH-FIX-OPENSUSE xfce4-sensors-plugin-force-hddtemp-netcat.patch -- fix
crazy hddtemp detection [email protected]
+Patch0: xfce4-sensors-plugin-force-hddtemp-netcat.patch
BuildRequires: fdupes
BuildRequires: intltool
BuildRequires: libsensors4-devel
@@ -40,6 +42,8 @@
BuildRequires: pkgconfig(libxfce4util-1.0)
Requires: xfce4-panel >= %{panel_version}
Recommends: %{name}-lang = %{version}
+Recommends: hddtemp
+Recommends: netcat-openbsd
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@@ -60,11 +64,17 @@
%prep
%setup -q -n %{plugin_name}-%{version}
+%patch0 -p1
%build
+# --enable-netcat actually enables "hddtemp via netcat"
%configure \
--disable-static \
--enable-libsensors=yes \
+ --enable-hddtemp \
+ --with-pathhddtemp=/usr/sbin/hddtemp \
+ --enable-netcat \
+ --with-pathnetcat=/usr/bin/netcat \
--enable-sysfsacpi
make %{_smp_mflags} V=1
++++++ xfce4-sensors-plugin-force-hddtemp-netcat.patch ++++++
Index: b/configure
===================================================================
--- a/configure
+++ b/configure
@@ -13581,15 +13581,6 @@ fi
NETCAT_HOST=localhost
HDDTEMP_PORT=7634
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hddtemp being
queryable via netcat" >&5
-$as_echo_n "checking for hddtemp being queryable via netcat... " >&6; }
- NETCAT_RUN=(`"$NETCAT_PATH" "$NETCAT_HOST" "$HDDTEMP_PORT" 2> /dev/null`)
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NETCAT_RUN" >&5
-$as_echo "$NETCAT_RUN" >&6; }
- if test x"$NETCAT_RUN" = x""; then
- enable_netcat=no
- else
-
$as_echo "#define HAVE_NETCAT 1" >>confdefs.h
@@ -13610,8 +13601,6 @@ cat >>confdefs.h <<_ACEOF
_ACEOF
- fi
-
fi
if test x$enable_netcat = x"yes"; then
Index: b/configure.ac
===================================================================
--- a/configure.ac
+++ b/configure.ac
@@ -165,22 +165,13 @@ if test x"$enable_netcat" = x"yes"; then
NETCAT_HOST=localhost
HDDTEMP_PORT=7634
- AC_MSG_CHECKING([for hddtemp being queryable via netcat])
- NETCAT_RUN=([`"$NETCAT_PATH" "$NETCAT_HOST" "$HDDTEMP_PORT" 2> /dev/null`])
- AC_MSG_RESULT([$NETCAT_RUN])
- if test x"$NETCAT_RUN" = x""; then
- enable_netcat=no
- dnl AC_DEFINE([HAVE_NETCAT], [0], [Define to 1 if hddtemp daemon is
queried via netcat])
- else
- AC_DEFINE([HAVE_NETCAT], [1], [Define to 1 if hddtemp daemon is
queried via netcat])
- AC_DEFINE_UNQUOTED([NETCAT_PATH], [$NETCAT_PATH], [Complete path to
netcat])
- AC_SUBST([NETCAT_PATH])
- AC_DEFINE_UNQUOTED([NETCAT_HOST], [$NETCAT_HOST], [Host for netcat])
- AC_SUBST([NETCAT_HOST])
- AC_DEFINE_UNQUOTED([HDDTEMP_PORT], [$HDDTEMP_PORT], [Port for hddtemp
with netcat])
- AC_SUBST([HDDTEMP_PORT])
- fi
-
+ AC_DEFINE([HAVE_NETCAT], [1], [Define to 1 if hddtemp daemon is queried
via netcat])
+ AC_DEFINE_UNQUOTED([NETCAT_PATH], [$NETCAT_PATH], [Complete path to
netcat])
+ AC_SUBST([NETCAT_PATH])
+ AC_DEFINE_UNQUOTED([NETCAT_HOST], [$NETCAT_HOST], [Host for netcat])
+ AC_SUBST([NETCAT_HOST])
+ AC_DEFINE_UNQUOTED([HDDTEMP_PORT], [$HDDTEMP_PORT], [Port for hddtemp with
netcat])
+ AC_SUBST([HDDTEMP_PORT])
fi
AM_CONDITIONAL([HAVE__NETCAT], [test x$enable_netcat = x"yes"])