strace in main, libinput dep fixed.

This commit is contained in:
Ertuğrul Erata
2015-07-21 20:49:58 +03:00
parent 81b87ecbff
commit 9f3266e43f
5 changed files with 145 additions and 0 deletions
+1
View File
@@ -23,6 +23,7 @@
<Package>
<Name>libinput</Name>
<RuntimeDependencies>
<Dependency>eudev</Dependency>
<Dependency>libevdev</Dependency>
<Dependency>libmtdev</Dependency>
</RuntimeDependencies>
+24
View File
@@ -0,0 +1,24 @@
#!/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("-vif")
autotools.configure()
def build():
autotools.make()
def check():
autotools.make()
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.dodoc("ChangeLog", "CREDITS", "NEWS", "README", "README-linux",)
@@ -0,0 +1,44 @@
--- strace-4.8/process.c.orig 2013-12-06 16:18:27.682402291 +0000
+++ strace-4.8/process.c 2013-12-06 16:19:14.602165296 +0000
@@ -63,7 +63,7 @@
# ifdef HAVE_STRUCT_PT_ALL_USER_REGS
# define pt_all_user_regs XXX_pt_all_user_regs
# endif
-# include <linux/ptrace.h>
+# include <asm/ptrace.h>
# undef ia64_fpreg
# undef pt_all_user_regs
#endif
--- strace-4.8/signal.c.orig 2013-12-06 16:28:54.800551324 +0000
+++ strace-4.8/signal.c 2013-12-06 16:30:26.033019415 +0000
@@ -51,7 +51,7 @@
# ifdef HAVE_STRUCT_PT_ALL_USER_REGS
# define pt_all_user_regs XXX_pt_all_user_regs
# endif
-# include <linux/ptrace.h>
+# include <asm/ptrace.h>
# undef ia64_fpreg
# undef pt_all_user_regs
#endif
--- strace-4.8/syscall.c.orig 2013-12-06 16:29:37.912245321 +0000
+++ strace-4.8/syscall.c 2013-12-06 16:30:55.933500132 +0000
@@ -48,7 +48,7 @@
# ifdef HAVE_STRUCT_PT_ALL_USER_REGS
# define pt_all_user_regs XXX_pt_all_user_regs
# endif
-# include <linux/ptrace.h>
+# include <asm/ptrace.h>
# undef ia64_fpreg
# undef pt_all_user_regs
#endif
--- strace-4.8/util.c.orig 2013-12-06 16:29:44.382349431 +0000
+++ strace-4.8/util.c 2013-12-06 16:31:04.267634082 +0000
@@ -55,7 +55,7 @@
# ifdef HAVE_STRUCT_PT_ALL_USER_REGS
# define pt_all_user_regs XXX_pt_all_user_regs
# endif
-# include <linux/ptrace.h>
+# include <asm/ptrace.h>
# undef ia64_fpreg
# undef pt_all_user_regs
#endif
+67
View File
@@ -0,0 +1,67 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>strace</Name>
<Homepage>http://sourceforge.net/projects/strace/</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>as-is</License>
<IsA>app:console</IsA>
<Summary>Tracks and displays system calls associated with a running process</Summary>
<Description>strace intercepts and records the system calls called and received by a running process. strace can print a record of each system call, its arguments and its return value.</Description>
<Archive sha1sum="5e6c78f0dc75e64814e5f8ef49c66823b7f00ae9" type="tarxz">mirrors://sourceforge/strace/strace-4.9.tar.xz</Archive>
<BuildDependencies>
<Dependency>libaio-devel</Dependency>
<Dependency>libunwind-devel</Dependency>
</BuildDependencies>
<Patches>
<!--<Patch level="1">strace-fix-ftbfs.patch</Patch> -->
</Patches>
</Source>
<Package>
<Name>strace</Name>
<RuntimeDependencies>
<Dependency>libunwind</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="doc">/usr/share/doc</Path>
<Path fileType="man">/usr/share/man</Path>
</Files>
</Package>
<History>
<Update release="4">
<Date>2015-01-25</Date>
<Version>4.9</Version>
<Comment>Version bump.</Comment>
<Name>Stefan Gronewold(groni)</Name>
<Email>groni@pisilinux.org</Email>
</Update>
<Update release="3">
<Date>2014-03-09</Date>
<Version>4.8</Version>
<Comment>Version bump</Comment>
<Name>Varol Maksutoğlu</Name>
<Email>waroi@pisilinux.org</Email>
</Update>
<Update release="2">
<Date>2013-04-20</Date>
<Version>4.7</Version>
<Comment>Versrion bump</Comment>
<Name>Ertan Güven</Name>
<Email>ertan@pisilinux.org</Email>
</Update>
<Update release="1">
<Date>2011-04-18</Date>
<Version>4.6</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>strace</Name>
<Summary xml:lang="tr">Çalışan bir süreç ile ilişkili sistem çağrılarını gösteren bir araç</Summary>
<Description xml:lang="tr">strace, çalışan bir UNIX süreci tarafından çağırılan ve alınan sistem çağrılarını, bu çağrılara verilen parametreleri ve dönüş değerlerini gösteren bir hata ayıklama aracıdır.</Description>
<Summary xml:lang="es">Herramienta útil para diagnostico, aprendizaje y depuración</Summary>
</Source>
</PISI>