libXau move to core and rebuild

This commit is contained in:
idriskalp
2019-12-26 15:43:12 +03:00
parent c488738dc0
commit c4864d31c3
4 changed files with 178 additions and 0 deletions
+22
View File
@@ -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 get
from pisi.actionsapi import autotools
from pisi.actionsapi import shelltools
Libdir = "/usr/lib32" if get.buildTYPE() == "emul32" else "/usr/lib"
def setup():
autotools.autoreconf("-vif")
autotools.configure("--disable-static")
def build():
autotools.make()
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
+22
View File
@@ -0,0 +1,22 @@
--- libXau-1.0.3/AuDispose.c.orig 2007-11-23 17:51:27.000000000 -0200
+++ libXau-1.0.3/AuDispose.c 2007-11-23 17:51:34.000000000 -0200
@@ -33,7 +33,7 @@ in this Software without prior written a
#include <X11/Xauth.h>
#include <stdlib.h>
-void
+_X_EXPORT void
XauDisposeAuth (Xauth *auth)
{
if (auth) {
--- libXau-1.0.3/AuRead.c.orig 2007-11-23 17:52:14.000000000 -0200
+++ libXau-1.0.3/AuRead.c 2007-11-23 17:52:21.000000000 -0200
@@ -69,7 +69,7 @@ read_counted_string (unsigned short *cou
return 1;
}
-Xauth *
+_X_EXPORT Xauth *
XauReadAuth (FILE *auth_file)
{
Xauth local;
+114
View File
@@ -0,0 +1,114 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>libXau</Name>
<Homepage>http://www.x.org/</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>MIT</License>
<IsA>library</IsA>
<Summary>X.Org Au library</Summary>
<Description>libXau provides functions to manage X authorization files</Description>
<Archive sha1sum="45ad25454e05cdc1ed5144b2abf1ae9e0f8fc95e" type="targz">http://xorg.freedesktop.org/archive/individual/lib/libXau-1.0.9.tar.gz</Archive>
<Patches>
<Patch level="1">visibility.patch</Patch>
</Patches>
<BuildDependencies>
<Dependency>util-macros</Dependency>
<Dependency>xorg-proto</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>libXau</Name>
<Files>
<Path fileType="library">/usr/lib</Path>
</Files>
</Package>
<Package>
<Name>libXau-devel</Name>
<Summary>Development files for libXau</Summary>
<RuntimeDependencies>
<Dependency release="current">libXau</Dependency>
<Dependency>xorg-proto</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include/X11</Path>
<Path fileType="data">/usr/lib/pkgconfig</Path>
<Path fileType="data">/usr/lib32/pkgconfig</Path>
<Path fileType="man">/usr/share/man</Path>
</Files>
</Package>
<Package>
<Name>libXau-32bit</Name>
<PartOf>emul32</PartOf>
<Summary>32-bit shared libraries for libXau</Summary>
<BuildType>emul32</BuildType>
<BuildDependencies>
</BuildDependencies>
<RuntimeDependencies>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib32</Path>
</Files>
</Package>
<History>
<Update release="7">
<Date>2019-12-26</Date>
<Version>1.0.9</Version>
<Comment>Rebuild</Comment>
<Name>Idris Kalp</Name>
<Email>idriskalp@gmail.com</Email>
</Update>
<Update release="6">
<Date>2019-10-20</Date>
<Version>1.0.9</Version>
<Comment>Version bump.</Comment>
<Name>Mustafa Cinasal</Name>
<Email>muscnsl@gmail.com</Email>
</Update>
<Update release="5">
<Date>2019-01-07</Date>
<Version>1.0.8</Version>
<Comment>Rebuild.</Comment>
<Name>Mustafa Cinasal</Name>
<Email>muscnsl@gmail.com</Email>
</Update>
<Update release="4">
<Date>2018-07-23</Date>
<Version>1.0.8</Version>
<Comment>Rebuild</Comment>
<Name>PisiLinux Community</Name>
<Email>admin@pisilinux.org</Email>
</Update>
<Update release="3">
<Date>2017-01-27</Date>
<Version>1.0.8</Version>
<Comment>Rebuild</Comment>
<Name>PisiLinux Community</Name>
<Email>admin@pisilinux.org</Email>
</Update>
<Update release="2">
<Date>2016-04-30</Date>
<Version>1.0.8</Version>
<Comment>Release bump</Comment>
<Name>PisiLinux Community</Name>
<Email>admin@pisilinux.org</Email>
</Update>
<Update release="1">
<Date>2014-06-01</Date>
<Version>1.0.8</Version>
<Comment>First release</Comment>
<Name>Marcin Bojara</Name>
<Email>marcin@pisilinux.org</Email>
</Update>
</History>
</PISI>
+20
View File
@@ -0,0 +1,20 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>libXau</Name>
<Summary xml:lang="tr">X.Org Au kitaplığı.</Summary>
<Summary xml:lang="fr">Librairie Au de X.Org.</Summary>
<Summary xml:lang="de">X.Org Au Bibliothek</Summary>
<Description xml:lang="tr">libXau, X yetkilendirme dosyalarını yönetmek için işlevler sağlar.</Description>
</Source>
<Package>
<Name>libXau-devel</Name>
<Summary xml:lang="tr">libXau için geliştirme dosyaları</Summary>
</Package>
<Package>
<Name>libXau-32bit</Name>
<Summary xml:lang="tr">libXau için 32-bit paylaşımlı kitaplıklar</Summary>
</Package>
</PISI>