diff --git a/system/base/libxcb/actions.py b/system/base/libxcb/actions.py new file mode 100644 index 00000000..7831f8cd --- /dev/null +++ b/system/base/libxcb/actions.py @@ -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") diff --git a/system/base/libxcb/files/libxcb-1.1-no-pthread-stubs.patch b/system/base/libxcb/files/libxcb-1.1-no-pthread-stubs.patch new file mode 100644 index 00000000..7f9a9752 --- /dev/null +++ b/system/base/libxcb/files/libxcb-1.1-no-pthread-stubs.patch @@ -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" diff --git a/system/base/libxcb/files/pthread-stubs.pc b/system/base/libxcb/files/pthread-stubs.pc new file mode 100644 index 00000000..ad7b91b6 --- /dev/null +++ b/system/base/libxcb/files/pthread-stubs.pc @@ -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: diff --git a/system/base/libxcb/pspec.xml b/system/base/libxcb/pspec.xml new file mode 100644 index 00000000..ff9d49b5 --- /dev/null +++ b/system/base/libxcb/pspec.xml @@ -0,0 +1,145 @@ + + + + + libxcb + http://xcb.freedesktop.org/ + + PisiLinux Community + admins@pisilinux.org + + MIT + library + The X protocol C-language Binding (XCB) + 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. + https://xcb.freedesktop.org/dist/libxcb-1.13.1.tar.bz2 + + libXau-devel + libXdmcp-devel + python-devel + libxslt + util-macros + xcb-proto + + + libxcb-1.1-no-pthread-stubs.patch + + + + + libxcb + + libXau + libXdmcp + glibc + + + /usr/lib + /usr/share/man + /usr/share/doc + + + + + libxcb-devel + Development files for libxcb + + libxcb + libXau-devel + libXdmcp-devel + + + /usr/include/xcb + /usr/lib/pkgconfig + /usr/lib32/pkgconfig + + + pthread-stubs.pc + + + + + libxcb-32bit + emul32 + 32-bit shared libraries for libxcb + emul32 + + libXau-32bit + libXdmcp-32bit + + + libxcb + libXau-32bit + libXdmcp-32bit + + + /usr/lib32 + + + + + + 2019-12-26 + 1.13.1 + Rebuild. + PisiLinux Community + admin@pisilinux.org + + + 2019-10-23 + 1.13.1 + Rebuild. + PisiLinux Community + admin@pisilinux.org + + + 2019-02-20 + 1.13.1 + Rebuild. + PisiLinux Community + admin@pisilinux.org + + + 2019-01-16 + 1.13.1 + Version Bump + PisiLinux Community + admin@pisilinux.org + + + 2018-11-05 + 1.13 + Version Bump + PisiLinux Community + admin@pisilinux.org + + + 2018-09-16 + 1.12 + Rebuild. + PisiLinux Community + admin@pisilinux.org + + + 2017-01-29 + 1.12 + Version bump + PisiLinux Community + admin@pisilinux.org + + + 2016-04-30 + 1.11.1 + Release bump + PisiLinux Community + admin@pisilinux.org + + + 2016-03-08 + 1.11.1 + First release + Alihan Öztürk + alihan@pisilinux.org + + + diff --git a/system/base/libxcb/translations.xml b/system/base/libxcb/translations.xml new file mode 100644 index 00000000..d1bf19d2 --- /dev/null +++ b/system/base/libxcb/translations.xml @@ -0,0 +1,17 @@ + + + + libxcb + X protokolü için C dili bağlayıcısı (XCB) + + + + libxcb-devel + libxcb için geliştirme dosyaları + + + + libxcb-32bit + libxcb için 32-bit paylaşımlı kitaplıklar + +