kde5 needen library and programs moved.
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
<PISI>
|
||||
<Name>hardware.powermanagement</Name>
|
||||
</PISI>
|
||||
@@ -0,0 +1,25 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Licensed under the GNU General Public License, version 3.
|
||||
# See the file http://www.gnu.org/licenses/gpl.txt
|
||||
|
||||
from pisi.actionsapi import autotools
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import get
|
||||
|
||||
def build():
|
||||
autotools.make("CC=%s LIBDIR=/usr/lib EXLDFLAGS= PROG_EXTRA=sensord user" % get.CC())
|
||||
|
||||
def install():
|
||||
autotools.rawInstall("PREFIX=/usr MANDIR=/%s PROG_EXTRA=sensord DESTDIR=%s user_install" % (get.manDIR(), get.installDIR()))
|
||||
|
||||
# Drop static lib
|
||||
pisitools.remove("/usr/lib/libsensors.a")
|
||||
|
||||
pisitools.dodir("/etc/sensors.d")
|
||||
|
||||
# Install systemd service
|
||||
pisitools.insinto("/lib/systemd/system", "prog/init/lm_sensors.service")
|
||||
|
||||
pisitools.dodoc("CHANGES", "CONTRIBUTORS", "README")
|
||||
@@ -0,0 +1,102 @@
|
||||
Submitted By: Fernando de Oliveira <famobr at yahoo dot com dot br>
|
||||
Date: 2014-05-21
|
||||
Initial Package Version: 3.3.5
|
||||
Upstream Status: Fixed
|
||||
Origin: Upstream
|
||||
URL: http://www.lm-sensors.org/changeset/6216
|
||||
http://www.lm-sensors.org/changeset/6237
|
||||
Description: sensors.conf.default: Add support for NCT6779 and NCT6791
|
||||
fancontrol: Deal with moving hwmon attributes
|
||||
|
||||
diff -Naur lm_sensors-3.3.5.orig/etc/sensors.conf.default lm_sensors-3.3.5/etc/sensors.conf.default
|
||||
--- lm_sensors-3.3.5.orig/etc/sensors.conf.default 2012-01-31 11:25:29.057246000 -0300
|
||||
+++ lm_sensors-3.3.5/etc/sensors.conf.default 2014-05-21 09:35:56.110779242 -0300
|
||||
@@ -308,7 +308,7 @@
|
||||
# set in8_max 3.0 * 1.10
|
||||
|
||||
|
||||
-chip "w83627ehf-*" "w83627dhg-*" "w83667hg-*" "nct6775-*" "nct6776-*"
|
||||
+chip "w83627ehf-*" "w83627dhg-*" "w83667hg-*" "nct6775-*" "nct6776-*" "nct6779-*" "nct6791-*"
|
||||
|
||||
label in0 "Vcore"
|
||||
label in2 "AVCC"
|
||||
diff -Naur lm_sensors-3.3.5.orig/prog/pwm/fancontrol lm_sensors-3.3.5/prog/pwm/fancontrol
|
||||
--- lm_sensors-3.3.5.orig/prog/pwm/fancontrol 2013-05-23 11:09:22.043242000 -0300
|
||||
+++ lm_sensors-3.3.5/prog/pwm/fancontrol 2014-05-21 09:35:56.109779277 -0300
|
||||
@@ -206,6 +206,65 @@
|
||||
return $outdated
|
||||
}
|
||||
|
||||
+function FixupDeviceFiles
|
||||
+{
|
||||
+ local DEVICE="$1"
|
||||
+ local fcvcount pwmo tsen fan
|
||||
+
|
||||
+ let fcvcount=0
|
||||
+ while (( $fcvcount < ${#AFCPWM[@]} )) # go through all pwm outputs
|
||||
+ do
|
||||
+ pwmo=${AFCPWM[$fcvcount]}
|
||||
+ AFCPWM[$fcvcount]=${pwmo//$DEVICE\/device/$DEVICE}
|
||||
+ if [ "${AFCPWM[$fcvcount]}" != "$pwmo" ]
|
||||
+ then
|
||||
+ echo "Adjusing $pwmo -> ${AFCPWM[$fcvcount]}"
|
||||
+ fi
|
||||
+ let fcvcount=$fcvcount+1
|
||||
+ done
|
||||
+
|
||||
+ let fcvcount=0
|
||||
+ while (( $fcvcount < ${#AFCTEMP[@]} )) # go through all temp inputs
|
||||
+ do
|
||||
+ tsen=${AFCTEMP[$fcvcount]}
|
||||
+ AFCTEMP[$fcvcount]=${tsen//$DEVICE\/device/$DEVICE}
|
||||
+ if [ "${AFCTEMP[$fcvcount]}" != "$tsen" ]
|
||||
+ then
|
||||
+ echo "Adjusing $tsen -> ${AFCTEMP[$fcvcount]}"
|
||||
+ fi
|
||||
+ let fcvcount=$fcvcount+1
|
||||
+ done
|
||||
+
|
||||
+ let fcvcount=0
|
||||
+ while (( $fcvcount < ${#AFCFAN[@]} )) # go through all fan inputs
|
||||
+ do
|
||||
+ fan=${AFCFAN[$fcvcount]}
|
||||
+ AFCFAN[$fcvcount]=${fan//$DEVICE\/device/$DEVICE}
|
||||
+ if [ "${AFCFAN[$fcvcount]}" != "$fan" ]
|
||||
+ then
|
||||
+ echo "Adjusing $fan -> ${AFCFAN[$fcvcount]}"
|
||||
+ fi
|
||||
+ let fcvcount=$fcvcount+1
|
||||
+ done
|
||||
+}
|
||||
+
|
||||
+# Some drivers moved their attributes from hard device to class device
|
||||
+function FixupFiles
|
||||
+{
|
||||
+ local DEVPATH="$1"
|
||||
+ local entry device
|
||||
+
|
||||
+ for entry in $DEVPATH
|
||||
+ do
|
||||
+ device=`echo "$entry" | sed -e 's/=[^=]*$//'`
|
||||
+
|
||||
+ if [ -e "$device/name" ]
|
||||
+ then
|
||||
+ FixupDeviceFiles "$device"
|
||||
+ fi
|
||||
+ done
|
||||
+}
|
||||
+
|
||||
# Check that all referenced sysfs files exist
|
||||
function CheckFiles
|
||||
{
|
||||
@@ -306,6 +365,10 @@
|
||||
echo "Configuration appears to be outdated, please run pwmconfig again" >&2
|
||||
exit 1
|
||||
fi
|
||||
+if [ "$DIR" = "/sys/class/hwmon" ]
|
||||
+then
|
||||
+ FixupFiles "$DEVPATH"
|
||||
+fi
|
||||
CheckFiles || exit 1
|
||||
|
||||
if [ -f "$PIDFILE" ]
|
||||
@@ -0,0 +1,70 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>lm_sensors</Name>
|
||||
<Homepage>http://www.lm-sensors.org</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>LGPLv2+</License>
|
||||
<IsA>app:console</IsA>
|
||||
<IsA>library</IsA>
|
||||
<Summary>Hardware monitoring tools</Summary>
|
||||
<Description>lm_sensors provides essential tools for monitoring the temperatures, voltages, and fans of Linux systems with hardware monitoring devices. It also contains scripts for sensor hardware identification and fan speed control.</Description>
|
||||
<Archive sha1sum="179989a52bae8f01ba8ed77e8a15af6ec653d89e" type="tarbz2">http://dl.lm-sensors.org/lm-sensors/releases/lm_sensors-3.3.5.tar.bz2</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>rrdtool-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
<Patches>
|
||||
<Patch>lm_sensors-3.3.5-upstream_fixes-1.patch</Patch>
|
||||
</Patches>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>lm_sensors</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>dmidecode</Dependency>
|
||||
<Dependency>rrdtool</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="config">/etc</Path>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="executable">/usr/sbin</Path>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="man">/usr/share/man</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
<Path fileType="data">/lib/systemd/system</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>lm_sensors-devel</Name>
|
||||
<Summary>Development files for lm_sensors</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">lm_sensors</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
<Path fileType="man">/usr/share/man/man3</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="2">
|
||||
<Date>2014-04-14</Date>
|
||||
<Version>3.3.5</Version>
|
||||
<Comment>Version bump</Comment>
|
||||
<Name>Burak Fazıl Ertürk</Name>
|
||||
<Email>burakerturk@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2012-11-19</Date>
|
||||
<Version>3.3.3</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>lm_sensors</Name>
|
||||
<Summary xml:lang="tr">Donanım sıcaklığı izleyicisi</Summary>
|
||||
<Description xml:lang="tr">lm_sensors linux sistemlerdeki donanım izleyiciler ile birlikte termometreleri, voltajları ve fan devirlerini izleyen bir araçtır. Ayrıca, donanım ve fan kimliğini algılayan betikler içerir.</Description>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>lm_sensors-devel</Name>
|
||||
<Summary xml:lang="tr">lm_sensors için geliştirme dosyaları</Summary>
|
||||
</Package>
|
||||
</PISI>
|
||||
Reference in New Issue
Block a user