add powermanagement and disk utils
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
<PISI>
|
||||
<Name>hardware.graphics</Name>
|
||||
</PISI>
|
||||
@@ -0,0 +1,22 @@
|
||||
#!/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 setup():
|
||||
autotools.autoreconf("-vfi")
|
||||
autotools.configure("--with-x86emu")
|
||||
|
||||
def build():
|
||||
autotools.make()
|
||||
|
||||
def install():
|
||||
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||
|
||||
pisitools.dodoc("COPYING")
|
||||
@@ -0,0 +1,12 @@
|
||||
diff -Nur vbetool-1.1-old/vbetool.c vbetool-1.1/vbetool.c
|
||||
--- vbetool-1.1-old/vbetool.c 2008-05-27 15:41:04.000000000 +0300
|
||||
+++ vbetool-1.1/vbetool.c 2008-05-27 15:41:15.000000000 +0300
|
||||
@@ -529,7 +529,7 @@
|
||||
r.edi = (unsigned long)(id-LRMI_base_addr()) & 0xf;
|
||||
|
||||
if(sizeof(struct panel_id) != 32)
|
||||
- return fprintf(stderr, "oops: panel_id, sizeof struct panel_id != 32, it's %ld...\n", sizeof(struct panel_id)), 7;
|
||||
+ return fprintf(stderr, "oops: panel_id, sizeof struct panel_id != 32, it's %u...\n", sizeof(struct panel_id)), 7;
|
||||
|
||||
if(real_mode_int(0x10, &r))
|
||||
return fprintf(stderr, "Can't get panel id (vm86 failure)\n"), 8;
|
||||
@@ -0,0 +1,18 @@
|
||||
Index: vbetool-1.0/Makefile.am
|
||||
===================================================================
|
||||
--- vbetool-1.0.orig/Makefile.am
|
||||
+++ vbetool-1.0/Makefile.am
|
||||
@@ -2,7 +2,7 @@ AUTOMAKE_OPTIONS = foreign
|
||||
|
||||
sbin_PROGRAMS = vbetool
|
||||
|
||||
-vbetool_LDADD = $(libdir)/libpci.a
|
||||
+vbetool_LDADD = -lpci -lz -lx86
|
||||
|
||||
man_MANS = vbetool.1
|
||||
vbetool_SOURCES = vbetool.c $(x86)
|
||||
@@ -14,4 +14,3 @@ maintainer-clean-local:
|
||||
$(RM) Makefile.in aclocal.m4 config.h.in stamp-h.in configure
|
||||
|
||||
AM_CFLAGS = -g -Wall -pedantic -std=gnu99
|
||||
-AM_LDFLAGS = -lz -lx86
|
||||
@@ -0,0 +1,55 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>vbetool</Name>
|
||||
<Homepage>http://www.codon.org.uk/~mjg59/vbetool/</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>GPLv2</License>
|
||||
<IsA>app:console</IsA>
|
||||
<Summary>Alter video hardware state through video BIOS</Summary>
|
||||
<Description>vbetools is a real-mode video BIOS code to alter hardware state. Vbetool uses lrmi in order to run code from the video BIOS. It is able to alter DPMS states, save/restore video card state and attempt to initialize the video card from scratch.</Description>
|
||||
<Archive sha1sum="c7ba7c0635160c47fb1b94fd7c7cbe39cb717d22" type="targz">http://www.codon.org.uk/~mjg59/vbetool/download/vbetool-1.1.tar.gz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>libx86-devel</Dependency>
|
||||
<Dependency>pciutils-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
<Patches>
|
||||
<Patch level="1">vbetool-1.0-build-as-needed.patch</Patch>
|
||||
<Patch level="1">unsigned_int.patch</Patch>
|
||||
</Patches>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>vbetool</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>libx86</Dependency>
|
||||
<Dependency>pciutils</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
<Path fileType="man">/usr/share/man</Path>
|
||||
<Path fileType="executable">/usr/sbin</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="2">
|
||||
<Date>2014-05-24</Date>
|
||||
<Version>1.1</Version>
|
||||
<Comment>Rebuild for gcc.</Comment>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2010-10-13</Date>
|
||||
<Version>1.1</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Pisi Linux Admins</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>vbetool</Name>
|
||||
<Summary xml:lang="tr">Gerçek kipte ekran BIOS değiştirme aracı (örn. ekran kartını yeniden başlatmak için)</Summary>
|
||||
<Description xml:lang="tr">Donanım durumunu değiştiren gerçek kipli video BIOS kodudur. Video BIOS'undan gelen kodları çalıştırmak için lrmi kullanır. Video kartının DPMS ve kaydet/tekrar inşaa et durumunun değiştirilmesini sağlar ve video kartının hatalı durumdan başlatılmasına çalışır.</Description>
|
||||
</Source>
|
||||
</PISI>
|
||||
Reference in New Issue
Block a user