kde5 needen library and programs moved.
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
#!/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 CFLAGS='%s'" % (get.CC(), get.CFLAGS()))
|
||||
|
||||
def install():
|
||||
autotools.rawInstall("DESTDIR=%s prefix=/%s install-bin install-man" % (get.installDIR(), get.defaultprefixDIR()))
|
||||
|
||||
pisitools.dodoc("AUTHORS", "CHANGELOG", "LICENSE", "README")
|
||||
@@ -0,0 +1,31 @@
|
||||
#!/bin/sh -e
|
||||
|
||||
if [ -r /dev/mem -a -x /usr/sbin/dmidecode ]; then
|
||||
# dmidecode to grab the Chassis type
|
||||
dmitype=$(dmidecode|grep Chassis -A 10|grep -m1 Type|sed -e 's/.*Type: \(.*\)/\1/')
|
||||
|
||||
if test "$dmitype" = "Notebook" || test "$dmitype" = "Portable"; then
|
||||
exit 0;
|
||||
fi
|
||||
fi
|
||||
|
||||
# check for any ACPI batteries
|
||||
if [ -d /proc/acpi/battery ]; then
|
||||
results=`find /proc/acpi/battery/ -mindepth 1 -type d`
|
||||
if [ ! -z "$results" ]; then
|
||||
exit 0
|
||||
fi
|
||||
fi
|
||||
|
||||
# check for APM batteries. This sucks, because we'll only get a valid response
|
||||
# if the laptop has a battery fitted at the time
|
||||
if [ -f /proc/apm ]; then
|
||||
battery=`awk '{print $6}' </proc/apm`
|
||||
if [ "$battery" != "0xff" ] && [ "$battery" != "0x80" ]; then
|
||||
# There's a battery
|
||||
exit 0;
|
||||
fi
|
||||
fi
|
||||
|
||||
#probably not a laptop; exit
|
||||
exit 1
|
||||
@@ -0,0 +1,47 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>dmidecode</Name>
|
||||
<Homepage>http://www.nongnu.org/dmidecode/</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>GPLv2</License>
|
||||
<IsA>app:console</IsA>
|
||||
<Summary>Tool to analyse BIOS DMI data</Summary>
|
||||
<Description>dmidecode reports information about x86/ia64 hardware as described in the system BIOS according to the SMBIOS/DMI standard. This information typically includes system manufacturer, model name, serial number, BIOS version, asset tag as well as a lot of other details of varying level of interest and reliability depending on the manufacturer.</Description>
|
||||
<Archive sha1sum="d264591f27cc0e918f299feb3ef990ef122c609b" type="tarbz2">http://download.savannah.gnu.org/releases/dmidecode/dmidecode-2.12.tar.bz2</Archive>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>dmidecode</Name>
|
||||
<Files>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="executable">/usr/sbin</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
<Path fileType="man">/usr/share/man</Path>
|
||||
</Files>
|
||||
<AdditionalFiles>
|
||||
<AdditionalFile owner="root" permission="0755" target="/usr/bin/laptop-detect">laptop-detect</AdditionalFile>
|
||||
</AdditionalFiles>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="2">
|
||||
<Date>2014-01-22</Date>
|
||||
<Version>2.12</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Stefan Gronewold(groni)</Name>
|
||||
<Email>groni@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2011-01-25</Date>
|
||||
<Version>2.11</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Pisi Linux Admins</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>dmidecode</Name>
|
||||
<Summary xml:lang="tr">BIOS DMI verisi inceleme araçları</Summary>
|
||||
<Description xml:lang="tr">dmidecode, bilgisayarınızın BIOS'unda verilmiş olan bilgilerin görüntülenmesini sağlar. Üretici ismi, model ismi, seri numarası, BIOS sürümü ve sistem üreticisine bağlı olarak değişiklik gösteren birçok bilgi, dmidecode ile görüntülenebilir.</Description>
|
||||
<Description xml:lang="fr">Dmidecode rapporte des informations à propos du matériel composant votre système tel qu'il est décrit dans votre BIOS. Cette information comprends typiquement le fabricant du système, le nom du modèle, le numéro de série, la version du BIOS, balises de traçabilité ainsi que beaucoup d'autres détails plus ou moins intéressants et fiables en fonction du fabricant.</Description>
|
||||
</Source>
|
||||
</PISI>
|
||||
@@ -0,0 +1,31 @@
|
||||
#!/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 shelltools
|
||||
from pisi.actionsapi import autotools
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import get
|
||||
|
||||
def setup():
|
||||
autotools.configure("--disable-static \
|
||||
--disable-rpath \
|
||||
--with-udev-rules=69-libmtp.rules")
|
||||
|
||||
def build():
|
||||
autotools.make()
|
||||
|
||||
def install():
|
||||
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||
|
||||
#install HAL file for portable audio players
|
||||
pisitools.insinto("/usr/share/hal/fdi/information/10freedesktop", "libmtp.fdi", "10-usb-music-players-libmtp.fdi")
|
||||
|
||||
#rename UDEV rules
|
||||
#pisitools.rename("/lib/udev/rules.d/libmtp.rules", "69-libmtp.rules")
|
||||
|
||||
#pisitools.removeDir("/usr/share/doc/libmtp-*")
|
||||
|
||||
pisitools.dodoc("ChangeLog", "COPYING", "README", "AUTHORS", "TODO")
|
||||
@@ -0,0 +1,92 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>libmtp</Name>
|
||||
<Homepage>http://libmtp.sourceforge.net/</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>LGPLv2.1</License>
|
||||
<IsA>library</IsA>
|
||||
<Summary>An implementation of Microsoft's Media Transfer Protocol (MTP)</Summary>
|
||||
<Description>libmtp is an implementation of Microsoft's Media Transfer Protocol (MTP) in the form of a library suitable primarily for POSIX compliant operating systems.</Description>
|
||||
<Archive sha1sum="31bebf3e49612f712f4ab1a03284dedf7044000f" type="targz">mirrors://sourceforge/libmtp/1.9/libmtp-1.1.9.tar.gz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>doxygen</Dependency>
|
||||
<Dependency>libusb-devel</Dependency>
|
||||
<Dependency>libgcrypt-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
<Patches>
|
||||
<!--<Patch level="1">0001-Fixup-device-OS-descriptor-probe-code.patch</Patch>
|
||||
<Patch level="1">0001-Fix-inverted-boolean-logic.patch</Patch>-->
|
||||
</Patches>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>libmtp</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>libusb</Dependency>
|
||||
<Dependency>libgcrypt</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="executable">/lib/udev</Path>
|
||||
<Path fileType="data">/lib/udev/rules.d</Path>
|
||||
<Path fileType="data">/usr/share/hal</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>libmtp-devel</Name>
|
||||
<Summary>Development files for libmtp</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">libmtp</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
<Path fileType="data">/usr/lib/pkgconfig</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="5">
|
||||
<Date>2015-04-28</Date>
|
||||
<Version>1.1.9</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Ertuğrul Erata</Name>
|
||||
<Email>ertugrulerata@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="4">
|
||||
<Date>2014-05-25</Date>
|
||||
<Version>1.1.6</Version>
|
||||
<Comment>Rebuild.</Comment>
|
||||
<Name>Alihan Öztürk</Name>
|
||||
<Email>alihan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="3">
|
||||
<Date>2014-04-05</Date>
|
||||
<Version>1.1.6</Version>
|
||||
<Comment>Rebuild for libgcrypt.</Comment>
|
||||
<Name>Serdar Soytetir</Name>
|
||||
<Email>kaptan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2014-01-31</Date>
|
||||
<Version>1.1.6</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Stefan Gronewold(groni)</Name>
|
||||
<Email>groni@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2012-11-16</Date>
|
||||
<Version>1.1.5</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>libmtp</Name>
|
||||
<Summary xml:lang="tr">Microsoft'un medya aktarım protokolünü destekleyen araçlar için bir kütüphane</Summary>
|
||||
<Description xml:lang="tr">libmtp, PlayForSure olarak da anılan, Microsoft'un medya aktarım protokolünü desteklemek için yazılmış bir programlama kütüphanesidir. Uygulamalar, libmtp kütüphanesini kullanarak, PlayForSure destekli MP3 çalar veya dijital kameralardaki içerik üzerinde taşıma, aktarma, isimlendirme vb.. işlemleri kolayca yapabilirler.</Description>
|
||||
<Description xml:lang="fr">libmtp est une implémentation du Media Transfer Protocol (MTP) de Microsoft sous la forme d'une librairie principalement adéquate pour les systèmes d'exploitation conformes à POSIX.</Description>
|
||||
<Description xml:lang="es">libmtp es una implementación del protocolo de transferencia de Microsoft's Media (MTP) en forma de una librería para uso en sistemas operativos POSIX compliant.</Description>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>libmtp-devel</Name>
|
||||
<Summary xml:lang="tr">libmtp için geliştirme dosyaları</Summary>
|
||||
</Package>
|
||||
</PISI>
|
||||
@@ -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