Bug fixes in ext-sysmon

This commit is contained in:
arcan1s 2013-09-01 05:32:09 +04:00
parent 2a2559d507
commit 1323d6d647
6 changed files with 31 additions and 7 deletions

View File

@ -4,9 +4,9 @@
pkgname=kdeplasma-applets-pytextmonitor pkgname=kdeplasma-applets-pytextmonitor
_pkgname=py-text-monitor _pkgname=py-text-monitor
pkgver=1.3.4 pkgver=1.3.4
pkgrel=3 pkgrel=4
_dtengine=ext-sysmon _dtengine=ext-sysmon
_dtver=1.1 _dtver=1.2
pkgdesc="Minimalistic Plasmoid script written on Python2. It looks like widgets in awesome-wm" pkgdesc="Minimalistic Plasmoid script written on Python2. It looks like widgets in awesome-wm"
arch=(any) arch=(any)
url="https://github.com/arcan1s/pytextmonitor" url="https://github.com/arcan1s/pytextmonitor"
@ -16,10 +16,11 @@ optdepends=('hddtemp: for HDD temperature monitor'
'catalyst: for GPU monitor' 'catalyst: for GPU monitor'
'nvidia-utils: for GPU monitor') 'nvidia-utils: for GPU monitor')
makedepends=('unzip' 'cmake' 'automoc4') makedepends=('unzip' 'cmake' 'automoc4')
source=(https://github.com/arcan1s/pytextmonitor/releases/download/V.1.3.4/${_pkgname}-${pkgver}.plasmoid source=(https://github.com/arcan1s/pytextmonitor/releases/download/V.${pkgver}/${_pkgname}-${pkgver}.plasmoid
https://github.com/arcan1s/pytextmonitor/releases/download/V.1.3.4/${_dtengine}-${_dtver}.zip) https://github.com/arcan1s/pytextmonitor/releases/download/V.${pkgver}/${_dtengine}-${_dtver}.zip)
install=${pkgname}.install
md5sums=('cdc55960177a07b52ab0a2713f5df212' md5sums=('cdc55960177a07b52ab0a2713f5df212'
'0c5580c99d70221cf58d600e0a0db5de') 'eab8d084bad5bd6791005ccc93a46676')
build () build ()
{ {

Binary file not shown.

BIN
ext-sysmon-1.2.zip Normal file

Binary file not shown.

View File

@ -10,7 +10,7 @@ ExtendedSysMon::ExtendedSysMon(QObject* parent, const QVariantList& args)
{ {
Q_UNUSED(args) Q_UNUSED(args)
QLocale::setDefault(QLocale::C); // QLocale::setDefault(QLocale::C);
setlocale (LC_ALL, "C"); setlocale (LC_ALL, "C");
setMinimumPollingInterval(333); setMinimumPollingInterval(333);

View File

@ -12,7 +12,7 @@ X-Plasma-EngineName=ext-sysmon
X-KDE-PluginInfo-Author=Evgeniy Alexeev aka arcanis X-KDE-PluginInfo-Author=Evgeniy Alexeev aka arcanis
X-KDE-PluginInfo-Email=esalexeev@gmail.com X-KDE-PluginInfo-Email=esalexeev@gmail.com
X-KDE-PluginInfo-Name=ext-sysmon X-KDE-PluginInfo-Name=ext-sysmon
X-KDE-PluginInfo-Version=1.1 X-KDE-PluginInfo-Version=1.2
X-KDE-PluginInfo-Category=System Information X-KDE-PluginInfo-Category=System Information
X-KDE-PluginInfo-Depends= X-KDE-PluginInfo-Depends=
X-KDE-PluginInfo-License=GPL X-KDE-PluginInfo-License=GPL

View File

@ -0,0 +1,23 @@
post_install()
{
cat << EOF
Update plasmoids...
EOF
kbuildsycoca4 > /dev/null 2>&1
}
post_upgrade()
{
cat << EOF
Update plasmoids...
EOF
kbuildsycoca4 > /dev/null 2>&1
}
post_remove()
{
cat << EOF
Update plasmoids...
EOF
kbuildsycoca4 > /dev/null 2>&1
}