libX11 and deps in main...

This commit is contained in:
Ertuğrul Erata
2015-06-20 09:28:59 +03:00
parent f7172e3b1f
commit 7c3dfc0764
22 changed files with 839 additions and 0 deletions
+4
View File
@@ -0,0 +1,4 @@
<PISI>
<Name>programming.library</Name>
</PISI>
+25
View File
@@ -0,0 +1,25 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/copyleft/gpl.txt
from pisi.actionsapi import get
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
def setup():
autotools.configure("--disable-static \
--disable-silent-rules")
def build():
autotools.make()
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
# solve conflict with elfutils and glibc-devel
# pisitools.remove("/usr/include/nlist.h")
# pisitools.remove("/usr/lib/libbsd.a")
pisitools.dodoc("ChangeLog", "COPYING", "README", "TODO")
+49
View File
@@ -0,0 +1,49 @@
<PISI>
<Source>
<Name>libbsd</Name>
<Homepage>http://libbsd.freedesktop.org</Homepage>
<Packager>
<Name>Marcin Bojara</Name>
<Email>marcin@pisilinux.org</Email>
</Packager>
<License>BSD</License>
<License>BSD-2</License>
<License>BSD-4</License>
<License>ISC</License>
<IsA>library</IsA>
<Summary>Provides useful functions commonly found on BSD systems</Summary>
<Description>This library provides useful functions commonly found on BSD systems, and lacking on others like GNU systems, thus making it easier to port projects with strong BSD origins, without needing to embed the same code over and over again on each project.</Description>
<Archive sha1sum="1c52cda755f184f4a1f41b2e35a5f9b57300fbfd" type="tarxz">http://libbsd.freedesktop.org/releases/libbsd-0.6.0.tar.xz</Archive>
</Source>
<Package>
<Name>libbsd</Name>
<Files>
<Path fileType="library">/usr/lib</Path>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<Package>
<Name>libbsd-devel</Name>
<Summary>Development files for libbsd</Summary>
<RuntimeDependencies>
<Dependency release="current">libbsd</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
<Path fileType="data">/usr/lib/pkgconfig</Path>
<Path fileType="man">/usr/share/man/man3</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2014-03-09</Date>
<Version>0.6.0</Version>
<Comment>Fisrt release.</Comment>
<Name>Marcin Bojara</Name>
<Email>marcin@pisilinux.org</Email>
</Update>
</History>
</PISI>
@@ -0,0 +1,8 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>libbsd</Name>
<Summary xml:lang="tr">Taşınabilirlik için BSD uyumlu fonksiyonlar sağlayan bir kitaplık.</Summary>
<Description xml:lang="tr">GNU Linux sistemlerde bulunmayan BSD sistemlere özgü fonsiyonları barındıran bir kitaplıktır ve BSD uygulamalarının GNU Linux'a taşınmasını kolaylaştırır.</Description>
</Source>
</PISI>
+26
View File
@@ -0,0 +1,26 @@
# -*- 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 pisitools
from pisi.actionsapi import shelltools
def setup():
autotools.autoreconf("-vif")
autotools.configure("--disable-static")
pisitools.dosed("libtool", "^(hardcode_libdir_flag_spec=).*", '\\1""')
pisitools.dosed("libtool", "^(runpath_var=)LD_RUN_PATH", "\\1DIE_RPATH_DIE")
pisitools.dosed("libtool"," -shared ", " -Wl,--as-needed -shared ")
def build():
autotools.make()
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
if get.buildTYPE() == "emul32": return
pisitools.dodoc("AUTHORS", "COPYING", "NEWS", "README")
@@ -0,0 +1,12 @@
diff -Naur libX11-1.3.5//src/xlibi18n/ICWrap.c libX11-1.3.5.tpg//src/xlibi18n/ICWrap.c
--- libX11-1.3.5//src/xlibi18n/ICWrap.c 2010-08-10 04:59:44.000000000 +0000
+++ libX11-1.3.5.tpg//src/xlibi18n/ICWrap.c 2010-09-17 17:11:21.000000000 +0000
@@ -283,7 +283,7 @@
XIMArg *args;
char *ret;
- if (!ic->core.im)
+ if (!ic || !ic->core.im)
return (char *) NULL;
/*
@@ -0,0 +1,50 @@
Index: libX11-1.4.99.1/src/Xrm.c
===================================================================
--- libX11-1.4.99.1.orig/src/Xrm.c
+++ libX11-1.4.99.1/src/Xrm.c
@@ -2540,30 +2540,40 @@ Bool XrmQGetResource(
VClosureRec closure;
if (db && *names) {
- _XLockMutex(&db->linfo);
+ if ((_XLockMutex_fn) && db->linfo.lock ) {
+ _XLockMutex(&db->linfo);
+ }
closure.type = pType;
closure.value = pValue;
table = db->table;
if (names[1]) {
if (table && !table->leaf) {
if (GetNEntry(table, names, classes, &closure)) {
- _XUnlockMutex(&db->linfo);
+ if ((_XUnlockMutex_fn) && db->linfo.lock ) {
+ _XUnlockMutex(&db->linfo);
+ }
return True;
}
} else if (table && table->hasloose &&
GetLooseVEntry((LTable)table, names, classes, &closure)) {
- _XUnlockMutex (&db->linfo);
+ if ((_XUnlockMutex_fn) && db->linfo.lock ) {
+ _XUnlockMutex (&db->linfo);
+ }
return True;
}
} else {
if (table && !table->leaf)
table = table->next;
if (table && GetVEntry((LTable)table, names, classes, &closure)) {
- _XUnlockMutex(&db->linfo);
+ if ((_XUnlockMutex_fn) && db->linfo.lock ) {
+ _XUnlockMutex(&db->linfo);
+ }
return True;
}
}
- _XUnlockMutex(&db->linfo);
+ if ((_XUnlockMutex_fn) && db->linfo.lock ) {
+ _XUnlockMutex(&db->linfo);
+ }
}
*pType = NULLQUARK;
pValue->addr = (XPointer)NULL;
+27
View File
@@ -0,0 +1,27 @@
From 5dcb40f28d59587597d2ff6e6ac64c71cfe6ff7b Mon Sep 17 00:00:00 2001
From: James Cloos <cloos@jhcloos.com>
Date: Tue, 17 Sep 2013 16:50:42 +0000
Subject: nls/en_US.UTF-8/Compose.pre: Fix typo.
Fix typo added in 215ce6a67863, s/actute/acute/.
Fixes bug #69476. Reported by Jean Krohn.
Signed-off-by: James Cloos <cloos@jhcloos.com>
---
diff --git a/nls/en_US.UTF-8/Compose.pre b/nls/en_US.UTF-8/Compose.pre
index a741332..7314d7f 100644
--- a/nls/en_US.UTF-8/Compose.pre
+++ b/nls/en_US.UTF-8/Compose.pre
@@ -743,7 +743,7 @@ XCOMM Part 3
<Multi_key> <i> <quotedbl> : "ï" idiaeresis # LATIN SMALL LETTER I WITH DIAERESIS
<Multi_key> <diaeresis> <i> : "ï" idiaeresis # LATIN SMALL LETTER I WITH DIAERESIS
<Multi_key> <i> <diaeresis> : "ï" idiaeresis # LATIN SMALL LETTER I WITH DIAERESIS
-<dead_actute> <j> : "j́" # LATIN SMALL LETTER J U006A with COMBINING ACUTE ACCENT U0301
+<dead_acute> <j> : "j́" # LATIN SMALL LETTER J U006A with COMBINING ACUTE ACCENT U0301
<Multi_key> <apostrophe> <j> : "j́" # LATIN SMALL LETTER J U006A with COMBINING ACUTE ACCENT U0301
<Multi_key> <j> <apostrophe> : "j́" # LATIN SMALL LETTER J U006A with COMBINING ACUTE ACCENT U0301
<Multi_key> <acute> <j> : "j́" # LATIN SMALL LETTER J U006A with COMBINING ACUTE ACCENT U0301
--
cgit v0.9.0.2-2-gbebe
+128
View File
@@ -0,0 +1,128 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>libX11</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 X11 library</Summary>
<Description>Core X11 protocol client library.</Description>
<Archive sha1sum="6f2aadf8346ee00b7419bd338461c6986e274733" type="tarbz2">mirrors://xorg/individual/lib/libX11-1.6.3.tar.bz2</Archive>
<BuildDependencies>
<Dependency>libxcb-devel</Dependency>
<Dependency>xorg-proto</Dependency>
<Dependency>util-macros</Dependency>
<Dependency>xtrans</Dependency>
</BuildDependencies>
<Patches>
<!--<Patch level="1">fix_typo.diff</Patch>
<Patch level="1">fix-segfault.diff</Patch>
<Patch level="1">fix-null-pointer.patch</Patch>-->
</Patches>
</Source>
<Package>
<Name>libX11</Name>
<RuntimeDependencies>
<Dependency>libxcb</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib/libX11*</Path>
<Path fileType="data">/usr/lib/X11</Path>
<Path fileType="data">/usr/share/X11</Path>
<Path fileType="doc">/usr/share/doc/libX11</Path>
</Files>
</Package>
<Package>
<Name>libX11-devel</Name>
<Summary>Development files for X11 library</Summary>
<RuntimeDependencies>
<Dependency release="current">libX11</Dependency>
<Dependency>libxcb-devel</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>libX11-32bit</Name>
<PartOf>emul32</PartOf>
<Summary>32-bit shared libraries for libX11</Summary>
<BuildType>emul32</BuildType>
<BuildDependencies>
<Dependency>libxcb-32bit</Dependency>
<Dependency>glibc-32bit</Dependency>
</BuildDependencies>
<RuntimeDependencies>
<Dependency release="current">libX11</Dependency>
<Dependency>libxcb-32bit</Dependency>
<Dependency>glibc-32bit</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib32</Path>
</Files>
</Package>
<History>
<Update release="7">
<Date>2015-05-22</Date>
<Version>1.6.3</Version>
<Comment>Version bump.</Comment>
<Name>Ertuğrul Erata</Name>
<Email>ertugrulerata@gmail.com</Email>
</Update>
<Update release="6">
<Date>2014-05-11</Date>
<Version>1.6.2</Version>
<Comment>Release bump.</Comment>
<Name>Marcin Bojara</Name>
<Email>marcin@pisilinux.org</Email>
</Update>
<Update release="5">
<Date>2013-10-07</Date>
<Version>1.6.2</Version>
<Comment>Rebuild.</Comment>
<Name>Serdar Soytetir</Name>
<Email>kaptan@pisilinux.org</Email>
</Update>
<Update release="4">
<Date>2013-09-12</Date>
<Version>1.6.2</Version>
<Comment>Version bump.</Comment>
<Name>Marcin Bojara</Name>
<Email>marcin@pisilinux.org</Email>
</Update>
<Update release="3">
<Date>2013-07-30</Date>
<Version>1.6.1</Version>
<Comment>Version bump.</Comment>
<Name>Marcin Bojara</Name>
<Email>marcin@pisilinux.org</Email>
</Update>
<Update release="2">
<Date>2013-06-21</Date>
<Version>1.6.0</Version>
<Comment>Version bump.</Comment>
<Name>Marcin Bojara</Name>
<Email>marcin@pisilinux.org</Email>
</Update>
<Update release="1">
<Date>2012-11-24</Date>
<Version>1.5.0</Version>
<Comment>First release</Comment>
<Name>Serdar Soytetir</Name>
<Email>kaptan@pisilinux.org</Email>
</Update>
</History>
</PISI>
+19
View File
@@ -0,0 +1,19 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>libX11</Name>
<Summary xml:lang="tr">X.Org X11 kitaplığı</Summary>
<Summary xml:lang="fr">Librairie X11 de X.Org.</Summary>
<Summary xml:lang="de">X.Org X11 Bibliothek</Summary>
</Source>
<Package>
<Name>libX11-devel</Name>
<Summary xml:lang="tr">libX11 için geliştirme dosyaları</Summary>
</Package>
<Package>
<Name>libX11-32bit</Name>
<Summary xml:lang="tr">libX11 için 32-bit paylaşımlı kitaplıklar</Summary>
</Package>
</PISI>
+20
View File
@@ -0,0 +1,20 @@
#!/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
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;
+92
View File
@@ -0,0 +1,92 @@
<?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="2544aa44737897832d9bf80151f30f7e0bb4f341" type="targz">http://xorg.freedesktop.org/archive/individual/lib/libXau-1.0.8.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>
</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>
<Dependency>glibc-32bit</Dependency>
</BuildDependencies>
<RuntimeDependencies>
<Dependency>glibc-32bit</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib32</Path>
</Files>
</Package>
<History>
<Update release="4">
<Date>2014-06-01</Date>
<Version>1.0.8</Version>
<Comment>Release bump.</Comment>
<Name>Marcin Bojara</Name>
<Email>marcin@pisilinux.org</Email>
</Update>
<Update release="3">
<Date>2013-10-07</Date>
<Version>1.0.8</Version>
<Comment>Rebuild.</Comment>
<Name>Serdar Soytetir</Name>
<Email>kaptan@pisilinux.org</Email>
</Update>
<Update release="2">
<Date>2013-06-21</Date>
<Version>1.0.8</Version>
<Comment>Version bump.</Comment>
<Name>Marcin Bojara</Name>
<Email>marcin@pisilinux.org</Email>
</Update>
<Update release="1">
<Date>2012-08-23</Date>
<Version>1.0.7</Version>
<Comment>First release</Comment>
<Name>PisiLinux Community</Name>
<Email>admins@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>
+22
View File
@@ -0,0 +1,22 @@
# -*- 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("-fi")
autotools.configure("--disable-static \
--without-xmlto")
def build():
autotools.make()
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.dodoc("AUTHORS", "ChangeLog", "COPYING", "README")
+104
View File
@@ -0,0 +1,104 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>libXdmcp</Name>
<Homepage>http://x.org/</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>MIT</License>
<IsA>library</IsA>
<Summary>X.Org Xdmcp library</Summary>
<Description>LibXdmcp is the X Display Manager Control Protocol library.</Description>
<Archive sha1sum="3c09eabb0617c275b5ab09fae021d279a4832cac" type="tarbz2">http://xorg.freedesktop.org/archive/individual/lib/libXdmcp-1.1.2.tar.bz2</Archive>
<BuildDependencies>
<Dependency>libxslt</Dependency>
<Dependency>util-macros</Dependency>
<Dependency>xorg-proto</Dependency>
<Dependency>libbsd-devel</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>libXdmcp</Name>
<RuntimeDependencies>
<Dependency>libbsd</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib</Path>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<Package>
<Name>libXdmcp-devel</Name>
<Summary>Development files for libXdmcp</Summary>
<RuntimeDependencies>
<Dependency>xorg-proto</Dependency>
<Dependency release="current">libXdmcp</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="doc">/usr/share/doc/*/*.xml</Path>
</Files>
</Package>
<Package>
<Name>libXdmcp-32bit</Name>
<PartOf>emul32</PartOf>
<Summary>32-bit shared libraries for libXdmcp</Summary>
<BuildType>emul32</BuildType>
<BuildDependencies>
<Dependency>glibc-32bit</Dependency>
</BuildDependencies>
<RuntimeDependencies>
<Dependency release="current">libXdmcp</Dependency>
<Dependency>glibc-32bit</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib32</Path>
</Files>
</Package>
<History>
<Update release="5">
<Date>2015-06-06</Date>
<Version>1.1.2</Version>
<Comment>Runtime dep fixed.</Comment>
<Name>Osman Erkan</Name>
<Email>osman.erkan@yandex.com</Email>
</Update>
<Update release="4">
<Date>2015-05-22</Date>
<Version>1.1.2</Version>
<Comment>Version bump.</Comment>
<Name>Ertuğrul Erata</Name>
<Email>ertugrulerata@gmail.com</Email>
</Update>
<Update release="3">
<Date>2014-05-11</Date>
<Version>1.1.1</Version>
<Comment>Release bump.</Comment>
<Name>Marcin Bojara</Name>
<Email>marcin@pisilinux.org</Email>
</Update>
<Update release="2">
<Date>2013-10-08</Date>
<Version>1.1.1</Version>
<Comment>Rebuild, clean actions.py.</Comment>
<Name>Serdar Soytetir</Name>
<Email>kaptan@pisilinux.org</Email>
</Update>
<Update release="1">
<Date>2012-08-23</Date>
<Version>1.1.1</Version>
<Comment>First release</Comment>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Update>
</History>
</PISI>
+20
View File
@@ -0,0 +1,20 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>libXdmcp</Name>
<Summary xml:lang="tr">X.Org Xdmcp kitaplığı.</Summary>
<Summary xml:lang="fr">Librairie Xdmcp de X.Org.</Summary>
<Summary xml:lang="de">X.Org Xdmcp Bibliothek</Summary>
<Description xml:lang="tr">LibXdmcp, X Ekran Yöneticisi Denetim Protokolü kitaplığıdır.</Description>
</Source>
<Package>
<Name>libXdmcp-devel</Name>
<Summary xml:lang="tr">libXdmcp için geliştirme dosyaları</Summary>
</Package>
<Package>
<Name>libXdmcp-32bit</Name>
<Summary xml:lang="tr">libXdmcp için 32-bit paylaşımlı kitaplıklar</Summary>
</Package>
</PISI>
+30
View File
@@ -0,0 +1,30 @@
# -*- 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():
pisitools.flags.add("-DNDEBUG")
autotools.autoreconf("-vif")
autotools.configure("--disable-static \
--enable-xevie \
--enable-xprint \
--enable-xinput \
--enable-xkb \
--without-launchd \
--without-doxygen")
pisitools.dosed("libtool"," -shared ", " -Wl,--as-needed -shared ")
def build():
autotools.make()
def install():
autotools.rawInstall("-j1 DESTDIR=%s" % get.installDIR())
pisitools.dodoc("COPYING", "NEWS", "README")
@@ -0,0 +1,11 @@
--- libxcb-1.8.1/configure.ac 2012-03-09 15:38:38.000000000 +0100
+++ libxcb-1.8.1/configure.ac.new 2012-03-09 16:50:40.107109896 +0100
@@ -43,7 +43,7 @@
# Checks for pkg-config packages
PKG_CHECK_MODULES(XCBPROTO, xcb-proto >= 1.11)
-NEEDED="pthread-stubs xau >= 0.99.2"
+NEEDED="xau >= 0.99.2"
PKG_CHECK_MODULES(NEEDED, $NEEDED)
have_xdmcp="no"
@@ -0,0 +1,8 @@
prefix=/usr
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
Name: pthread stubs
Description: Stubs missing from libc for standard pthread functions
Version: 0.3
Libs:
+125
View File
@@ -0,0 +1,125 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>libxcb</Name>
<Homepage>http://xcb.freedesktop.org/</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>MIT</License>
<IsA>library</IsA>
<Summary>The X protocol C-language Binding (XCB)</Summary>
<Description>The X protocol C-language Binding (XCB) is a replacement for Xlib featuring a small footprint, latency hiding, direct access to the protocol, improved threading support, and extensibility.</Description>
<Archive sha1sum="8343b417d7eeb2a2c6b6c4a87a03a4fd0fc65c46" type="tarbz2">http://xcb.freedesktop.org/dist/libxcb-1.11.tar.bz2</Archive>
<BuildDependencies>
<Dependency>libXau-devel</Dependency>
<Dependency>libXdmcp-devel</Dependency>
<Dependency>libxslt</Dependency>
<Dependency>util-macros</Dependency>
<Dependency versionFrom="1.11">xcb-proto</Dependency>
</BuildDependencies>
<Patches>
<Patch level="1">libxcb-1.1-no-pthread-stubs.patch</Patch>
</Patches>
</Source>
<Package>
<Name>libxcb</Name>
<RuntimeDependencies>
<Dependency>libXau</Dependency>
<Dependency>libXdmcp</Dependency>
<Dependency>glibc</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib</Path>
<Path fileType="man">/usr/share/man</Path>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<Package>
<Name>libxcb-devel</Name>
<Summary>Development files for libxcb</Summary>
<RuntimeDependencies>
<Dependency release="current">libxcb</Dependency>
<Dependency>libXau-devel</Dependency>
<Dependency>libXdmcp-devel</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include/xcb</Path>
<Path fileType="data">/usr/lib/pkgconfig</Path>
<Path fileType="data">/usr/lib32/pkgconfig</Path>
</Files>
<AdditionalFiles>
<AdditionalFile target="/usr/lib/pkgconfig/pthread-stubs.pc" permission="0644" owner="root">pthread-stubs.pc</AdditionalFile>
</AdditionalFiles>
</Package>
<Package>
<Name>libxcb-32bit</Name>
<PartOf>emul32</PartOf>
<Summary>32-bit shared libraries for libxcb</Summary>
<BuildType>emul32</BuildType>
<BuildDependencies>
<Dependency>libXau-32bit</Dependency>
<Dependency>libXdmcp-32bit</Dependency>
<Dependency>glibc-32bit</Dependency>
</BuildDependencies>
<RuntimeDependencies>
<Dependency release="current">libxcb</Dependency>
<Dependency>libXau-32bit</Dependency>
<Dependency>libXdmcp-32bit</Dependency>
<Dependency>glibc-32bit</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib32</Path>
</Files>
</Package>
<History>
<Update release="6">
<Date>2015-05-22</Date>
<Version>1.11</Version>
<Comment>Version bump.</Comment>
<Name>Marcin Bojara</Name>
<Email>marcin@pisilinux.org</Email>
</Update>
<Update release="5">
<Date>2014-05-11</Date>
<Version>1.10</Version>
<Comment>Release bump.</Comment>
<Name>Marcin Bojara</Name>
<Email>marcin@pisilinux.org</Email>
</Update>
<Update release="4">
<Date>2014-03-07</Date>
<Version>1.10</Version>
<Comment>Version bump.</Comment>
<Name>Yusuf Aydemir</Name>
<Email>yusuf.aydemir@pisilinux.org</Email>
</Update>
<Update release="3">
<Date>2013-10-08</Date>
<Version>1.9.1</Version>
<Comment>Rebuild.</Comment>
<Name>Serdar Soytetir</Name>
<Email>kaptan@pisilinux.org</Email>
</Update>
<Update release="2">
<Date>2013-07-28</Date>
<Version>1.9.1</Version>
<Comment>Version bump.</Comment>
<Name>Marcin Bojara</Name>
<Email>marcin@pisilinux.org</Email>
</Update>
<Update release="1">
<Date>2012-11-18</Date>
<Version>1.9</Version>
<Comment>First release</Comment>
<Name>Erdinç Gültekin</Name>
<Email>admins@pisilinux.org</Email>
</Update>
</History>
</PISI>
+17
View File
@@ -0,0 +1,17 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>libxcb</Name>
<Summary xml:lang="tr">X protokolü için C dili bağlayıcısı (XCB)</Summary>
</Source>
<Package>
<Name>libxcb-devel</Name>
<Summary xml:lang="tr">libxcb için geliştirme dosyaları</Summary>
</Package>
<Package>
<Name>libxcb-32bit</Name>
<Summary xml:lang="tr">libxcb için 32-bit paylaşımlı kitaplıklar</Summary>
</Package>
</PISI>