From 688df95b9af029d094e47c4d90080dc666634525 Mon Sep 17 00:00:00 2001 From: Martin Tournoij Date: Wed, 14 Jul 2021 22:17:22 +0800 Subject: [PATCH] libxcb: install static libraries in -devel package MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit So you can statically link against X programs; since libX11 links against libxcb this is impossible now. Either I'm not understanding how static linking works (AFAIK you *need* the .a file?), or this is a very unpopular thing to do as it's been like this for 9 years (changed in commit 9526648, in 2012) 🤔 --- srcpkgs/libxcb/template | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/srcpkgs/libxcb/template b/srcpkgs/libxcb/template index 0f8ab5564243..73ca6d5aa008 100644 --- a/srcpkgs/libxcb/template +++ b/srcpkgs/libxcb/template @@ -1,9 +1,9 @@ # Template file for 'libxcb' pkgname=libxcb version=1.14 -revision=1 +revision=2 build_style=gnu-configure -configure_args="--disable-build-docs --disable-static --enable-xinput --enable-xkb" +configure_args="--disable-build-docs --enable-xinput --enable-xkb" hostmakedepends="libtool pkg-config xorg-util-macros xcb-proto" makedepends="xcb-proto libXdmcp-devel libXau-devel" short_desc="X protocol C-language Binding" @@ -25,5 +25,6 @@ libxcb-devel_package() { vmove usr/share vmove usr/lib/pkgconfig vmove "usr/lib/*.so" + vmove "usr/lib/*.a" } }