xdotool new package

This commit is contained in:
Rmys
2022-07-26 22:08:49 +03:00
parent 59fb0d3bd7
commit 5afea685c0
8 changed files with 293926 additions and 293725 deletions
+293790 -293723
View File
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -1 +1 @@
cf2d9fc6d371b212702ff0ea9662de584558c053
15e8b75d1179d2679a7558d1fa577aa446b21678
BIN
View File
Binary file not shown.
+1 -1
View File
@@ -1 +1 @@
1061b5069373d7f78ccb223eb3673ae13e8e0f8a
8716d53f7fc6a82eacc4bcaec3b217e4c8ffc64f
+30
View File
@@ -0,0 +1,30 @@
#!/usr/bin/env 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 shelltools
from pisi.actionsapi import get
#def setup():
#autotools.configure()
prefix = "/usr"
libdir = "/usr/lib"
mandir = "/usr/share/man"
def build():
pisitools.dosed("Makefile", "/usr/local", "/usr")
pisitools.dosed("libxdo.pc", "local/", "")
autotools.make("WITHOUT_RPATH_FIX=1")
def install():
autotools.install("DESTDIR=%s PREFIX=/usr INSTALLLIB=/usr/lib INSTALLMAN=/usr/share/man" % get.installDIR())
#autotools.install("DESTDIR=%s PREFIX=%s INSTALLLIB=%s INSTALLMAN=%s" % ( get.installDIR(), prefix, libdir, mandir))
pisitools.dodoc("CHANGELIST")
@@ -0,0 +1,28 @@
--- xdotool-3.20211022.1/Makefile.orig 2021-10-22 07:40:46.000000000 +0200
+++ xdotool-3.20211022.1/Makefile 2022-03-30 12:23:31.702427183 +0200
@@ -71,7 +71,7 @@
$(CC) -o xdotool.static xdotool.o xdo.o xdo_search.o $(CMDOBJS) $(LDFLAGS) -lm $(XDOTOOL_LIBS) $(LIBXDO_LIBS)
.PHONY: install
-install: pre-install installlib installprog installman installheader installpc post-install
+install: pre-install installlib installprog installman installheader installpc
.PHONY: pre-install
pre-install:
@@ -128,13 +128,13 @@
*.deb
xdo.o: xdo.c xdo_version.h
- $(CC) $(CFLAGS) -fPIC -c xdo.c
+ $(CC) $(LDFLAGS) $(CFLAGS) -fPIC -c xdo.c
xdo_search.o: xdo_search.c
- $(CC) $(CFLAGS) -fPIC -c xdo_search.c
+ $(CC) $(LDFLAGS) $(CFLAGS) -fPIC -c xdo_search.c
xdotool.o: xdotool.c xdo_version.h
- $(CC) $(CFLAGS) -c xdotool.c
+ $(CC) $(LDFLAGS) $(CFLAGS) -c xdotool.c
xdo_search.c: xdo.h
xdo.c: xdo.h
+68
View File
@@ -0,0 +1,68 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>xdotool</Name>
<Homepage>https://github.com/jordansissel/xdotool</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>BSD</License>
<IsA>library</IsA>
<Summary>Command-line X11 automation tool</Summary>
<Icon>xdotool</Icon>
<Description>Command-line X11 automation tool</Description>
<Archive sha1sum="0b2c246aa0a4b4a5758d93e02888ee2e8c6de0ba" type="targz">https://github.com/jordansissel/xdotool/releases/download/v3.20211022.1/xdotool-3.20211022.1.tar.gz</Archive>
<BuildDependencies>
<Dependency>libXi-devel</Dependency>
<Dependency>libX11-devel</Dependency>
<Dependency>libXtst-devel</Dependency>
<Dependency>libXinerama-devel</Dependency>
<Dependency>libxkbcommon-devel</Dependency>
</BuildDependencies>
<Patches>
<Patch level="1">xdotool-3.20211022.1-makefile.patch</Patch>
</Patches>
</Source>
<Package>
<Name>xdotool</Name>
<RuntimeDependencies>
<Dependency>libX11</Dependency>
<Dependency>libXtst</Dependency>
<Dependency>libXinerama</Dependency>
<Dependency>libxkbcommon</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="library">/usr/lib</Path>
<Path fileType="data">/usr/share</Path>
<Path fileType="man">/usr/share/man</Path>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<Package>
<Name>xdotool-devel</Name>
<Summary>Development files for xdotool</Summary>
<RuntimeDependencies>
<Dependency release="current">xdotool</Dependency>
<Dependency>libX11-devel</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
<Path fileType="library">/usr/lib/pkgconfig</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2022-07-26</Date>
<Version>3.20211022.1</Version>
<Comment>First release</Comment>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Update>
</History>
</PISI>
+8
View File
@@ -0,0 +1,8 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>xdotool</Name>
<Summary xml:lang="tr">Command-line X11 automation tool</Summary>
<Description xml:lang="tr">Command-line X11 automation tool</Description>
</Source>
</PISI>