create core package

This commit is contained in:
aydemir
2015-02-24 11:18:35 +02:00
parent 0e4b743b82
commit 70b25d0f95
1098 changed files with 169545 additions and 0 deletions
+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;
+118
View File
@@ -0,0 +1,118 @@
<?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="0dd74854e6f6bb8a322e88ba3e89f87c3dcf9e08" type="tarbz2">mirrors://xorg/individual/lib/libX11-1.6.2.tar.bz2</Archive>
<BuildDependencies>
<Dependency>libxcb-devel</Dependency>
<Dependency>xorg-proto</Dependency>
<Dependency>xtrans</Dependency>
</BuildDependencies>
<Patches>
<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>
<PartOf>system.devel</PartOf>
<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>
</BuildDependencies>
<RuntimeDependencies>
<Dependency release="current">libX11</Dependency>
<Dependency>libxcb-32bit</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib32</Path>
</Files>
</Package>
<History>
<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>