libxcb move to core and rebuild

This commit is contained in:
idriskalp
2019-12-26 15:46:34 +03:00
parent c4864d31c3
commit 35205c7031
5 changed files with 219 additions and 0 deletions
+38
View File
@@ -0,0 +1,38 @@
# -*- 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("-vfi")
options = " --disable-static \
--enable-xevie \
--enable-xprint \
--enable-xinput \
--enable-xkb \
--without-launchd \
--without-doxygen"
if get.buildTYPE() == "emul32":
options += " --libdir=/usr/lib32"
autotools.configure(options)
pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
def build():
autotools.make("-j1")
def install():
autotools.rawInstall("-j1 DESTDIR=%s" % get.installDIR())
if get.buildTYPE() == "emul32":
return
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.13)
-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:
+145
View File
@@ -0,0 +1,145 @@
<?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="2ab17a1bb2a44e0a9cb0b26bcf899689ba1bbb3b" type="tarbz2">https://xcb.freedesktop.org/dist/libxcb-1.13.1.tar.bz2</Archive>
<BuildDependencies>
<Dependency>libXau-devel</Dependency>
<Dependency>libXdmcp-devel</Dependency>
<Dependency>python-devel</Dependency>
<Dependency>libxslt</Dependency>
<Dependency>util-macros</Dependency>
<Dependency versionFrom="1.12">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>
</BuildDependencies>
<RuntimeDependencies>
<Dependency release="current">libxcb</Dependency>
<Dependency>libXau-32bit</Dependency>
<Dependency>libXdmcp-32bit</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib32</Path>
</Files>
</Package>
<History>
<Update release="9">
<Date>2019-12-26</Date>
<Version>1.13.1</Version>
<Comment>Rebuild.</Comment>
<Name>PisiLinux Community</Name>
<Email>admin@pisilinux.org</Email>
</Update>
<Update release="8">
<Date>2019-10-23</Date>
<Version>1.13.1</Version>
<Comment>Rebuild.</Comment>
<Name>PisiLinux Community</Name>
<Email>admin@pisilinux.org</Email>
</Update>
<Update release="7">
<Date>2019-02-20</Date>
<Version>1.13.1</Version>
<Comment>Rebuild.</Comment>
<Name>PisiLinux Community</Name>
<Email>admin@pisilinux.org</Email>
</Update>
<Update release="6">
<Date>2019-01-16</Date>
<Version>1.13.1</Version>
<Comment>Version Bump</Comment>
<Name>PisiLinux Community</Name>
<Email>admin@pisilinux.org</Email>
</Update>
<Update release="5">
<Date>2018-11-05</Date>
<Version>1.13</Version>
<Comment>Version Bump</Comment>
<Name>PisiLinux Community</Name>
<Email>admin@pisilinux.org</Email>
</Update>
<Update release="4">
<Date>2018-09-16</Date>
<Version>1.12</Version>
<Comment>Rebuild.</Comment>
<Name>PisiLinux Community</Name>
<Email>admin@pisilinux.org</Email>
</Update>
<Update release="3">
<Date>2017-01-29</Date>
<Version>1.12</Version>
<Comment>Version bump</Comment>
<Name>PisiLinux Community</Name>
<Email>admin@pisilinux.org</Email>
</Update>
<Update release="2">
<Date>2016-04-30</Date>
<Version>1.11.1</Version>
<Comment>Release bump</Comment>
<Name>PisiLinux Community</Name>
<Email>admin@pisilinux.org</Email>
</Update>
<Update release="1">
<Date>2016-03-08</Date>
<Version>1.11.1</Version>
<Comment>First release</Comment>
<Name>Alihan Öztürk</Name>
<Email>alihan@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>