kde5 needen library and programs moved.

This commit is contained in:
Ertuğrul Erata
2015-07-28 10:10:58 +03:00
parent d7a324d292
commit 8539a93625
62 changed files with 2309 additions and 32 deletions
+17
View File
@@ -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
+47
View File
@@ -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>
+9
View File
@@ -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>