s-tui: fix dependencies, hardinfo: new package
This commit is contained in:
@@ -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 cmaketools
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import get
|
||||
|
||||
def setup():
|
||||
shelltools.makedirs("build")
|
||||
shelltools.cd("build")
|
||||
|
||||
cmaketools.configure("-DCMAKE_BUILD_TYPE='Debug' \
|
||||
-DCMAKE_INSTALL_PREFIX='/usr' \
|
||||
-DCMAKE_INSTALL_LIBDIR='lib' \
|
||||
-DHARDINFO_GTK3='ON' \
|
||||
-Wno-dev \
|
||||
-DHARDINFO_DEBUG='$(usex debug 1 0)'", sourceDir="..")
|
||||
|
||||
def build():
|
||||
cmaketools.make("-C build")
|
||||
|
||||
def install():
|
||||
shelltools.cd("build")
|
||||
cmaketools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||
|
||||
pisitools.dodoc("../LICENSE")
|
||||
|
||||
@@ -0,0 +1,15 @@
|
||||
diff --git a/modules/benchmark.c b/modules/benchmark.c
|
||||
index 50ba7d2..eb8e111 100644
|
||||
--- a/modules/benchmark.c
|
||||
+++ b/modules/benchmark.c
|
||||
@@ -620,9 +620,7 @@ static void do_benchmark(void (*benchmark_function)(void), int entry)
|
||||
return;
|
||||
|
||||
if (params.gui_running) {
|
||||
- gchar *argv[] = {params.argv0, "-b", entries[entry].name,
|
||||
- "-m", "benchmark.so", "-a",
|
||||
- NULL};
|
||||
+ gchar *argv[] = {params.argv0, "-b", entries[entry].name, "-m", "devices.so", "-m", "benchmark.so", "-a", NULL};
|
||||
GPid bench_pid;
|
||||
gint bench_stdout;
|
||||
GtkWidget *bench_dialog;
|
||||
@@ -0,0 +1,73 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>hardinfo</Name>
|
||||
<Homepage>https://github.com/lpereira/hardinfo</Homepage>
|
||||
<Packager>
|
||||
<Name>Kamil Atlı</Name>
|
||||
<Email>suvari@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>GPLv2</License>
|
||||
<IsA>app:gui</IsA>
|
||||
<Icon>hardinfo</Icon>
|
||||
<Summary>System profiler and benchmark tool for Linux systems</Summary>
|
||||
<Description>HardInfo is a system profiler and benchmark for Linux systems. It is able to obtain information from both hardware and basic software, and organize it in a simple to use GUI.</Description>
|
||||
<Archive sha1sum="8f23d6d50e8ab8d1fd3468d7fd78eab1fc86f743" type="zip">https://github.com/lpereira/hardinfo/archive/refs/heads/master.zip</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>git</Dependency>
|
||||
<Dependency>cmake</Dependency>
|
||||
<Dependency>usbutils</Dependency>
|
||||
<Dependency>dmidecode</Dependency>
|
||||
<Dependency>gtk3-devel</Dependency>
|
||||
<Dependency>zlib-devel</Dependency>
|
||||
<Dependency>fwupd-devel</Dependency>
|
||||
<Dependency>glib2-devel</Dependency>
|
||||
<Dependency>libsoup-devel</Dependency>
|
||||
<Dependency>pciutils-devel</Dependency>
|
||||
<Dependency>lm_sensors-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
<Patches>
|
||||
<Patch>benchmark.patch</Patch>
|
||||
</Patches>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>hardinfo</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>gtk3</Dependency>
|
||||
<Dependency>glib2</Dependency>
|
||||
<Dependency>zlib</Dependency>
|
||||
<Dependency>fwupd</Dependency>
|
||||
<Dependency>cairo</Dependency>
|
||||
<Dependency>pango</Dependency>
|
||||
<Dependency>libX11</Dependency>
|
||||
<Dependency>libgcc</Dependency>
|
||||
<Dependency>libsoup</Dependency>
|
||||
<Dependency>pciutils</Dependency>
|
||||
<Dependency>usbutils</Dependency>
|
||||
<Dependency>dmidecode</Dependency>
|
||||
<Dependency>json-glib</Dependency>
|
||||
<Dependency>gdk-pixbuf</Dependency>
|
||||
<Dependency>lm_sensors</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="library">/usr/lib/hardinfo</Path>
|
||||
<Path fileType="man">/usr/share/man</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
<Path fileType="data">/usr/share</Path>
|
||||
<Path fileType="locale">/usr/share/locale</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="1">
|
||||
<Date>2023-06-06</Date>
|
||||
<Version>0.5.1</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Kamil Atlı</Name>
|
||||
<Email>suvari@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>hardinfo</Name>
|
||||
<Summary xml:lang="tr">Linux sistemleri için sistem profili oluşturucu ve kıyaslama aracı</Summary>
|
||||
<Description xml:lang="tr">HardInfo, Linux sistemleri için bir sistem profili oluşturucu ve kıyaslama aracıdır. Hem donanımdan hem de temel yazılımdan bilgi alabilir ve kullanımı basit bir GUI'de düzenleyebilir.</Description>
|
||||
</Source>
|
||||
</PISI>
|
||||
@@ -20,6 +20,7 @@
|
||||
<Dependency>python3-devel</Dependency>
|
||||
<Dependency>python3-psutil</Dependency>
|
||||
<Dependency>python3-setuptools</Dependency>
|
||||
<Dependency>python3-importlib_metadata</Dependency>
|
||||
</BuildDependencies>
|
||||
</Source>
|
||||
|
||||
@@ -28,7 +29,9 @@
|
||||
<RuntimeDependencies>
|
||||
<Dependency>stress</Dependency>
|
||||
<Dependency>python3</Dependency>
|
||||
<Dependency>python-urwid</Dependency>
|
||||
<Dependency>python3-psutil</Dependency>
|
||||
<Dependency>python3-importlib_metadata</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
@@ -40,7 +43,7 @@
|
||||
|
||||
<History>
|
||||
<Update release="1">
|
||||
<Date>2023-05-17</Date>
|
||||
<Date>2023-06-06</Date>
|
||||
<Version>1.1.4</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Kamil Atlı</Name>
|
||||
|
||||
+389757
-388499
File diff suppressed because it is too large
Load Diff
@@ -1 +1 @@
|
||||
49b78a32a19f37a6cba34b81f51771656e2da0b3
|
||||
0017f81ed04d320fc966d092d3b2be617ccedfec
|
||||
Binary file not shown.
@@ -1 +1 @@
|
||||
45d518e7cb3327ba3c06f92d7980f070920bc23e
|
||||
ccdfbe01b17e8db4039a142b0976f23b5872d88d
|
||||
Reference in New Issue
Block a user