From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B1D34158013 for ; Sun, 10 Dec 2023 18:39:22 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 02B8E2BC016; Sun, 10 Dec 2023 18:39:22 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D1DEC2BC016 for ; Sun, 10 Dec 2023 18:39:21 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D6B2833E3A9 for ; Sun, 10 Dec 2023 18:39:20 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 70B4B9F9 for ; Sun, 10 Dec 2023 18:39:19 +0000 (UTC) From: "Matt Turner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Matt Turner" Message-ID: <1702233514.4d80747a73b7e207fb6460e0e86efd4c641cb405.mattst88@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: x11-libs/libxcb/files/, x11-libs/libxcb/ X-VCS-Repository: repo/gentoo X-VCS-Files: x11-libs/libxcb/files/libxcb-1.16-Enable-large-file-support.patch x11-libs/libxcb/libxcb-1.16-r1.ebuild X-VCS-Directories: x11-libs/libxcb/files/ x11-libs/libxcb/ X-VCS-Committer: mattst88 X-VCS-Committer-Name: Matt Turner X-VCS-Revision: 4d80747a73b7e207fb6460e0e86efd4c641cb405 X-VCS-Branch: master Date: Sun, 10 Dec 2023 18:39:19 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: bd11fbe9-76f0-46a4-960c-1766f2282cae X-Archives-Hash: 505067922f59cf6c14159571087d1a83 commit: 4d80747a73b7e207fb6460e0e86efd4c641cb405 Author: Fergus Dall google com> AuthorDate: Thu Nov 9 04:20:48 2023 +0000 Commit: Matt Turner gentoo org> CommitDate: Sun Dec 10 18:38:34 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d80747a x11-libs/libxcb: Enable large file support This patch is also being submitted upstream for the next libxcb release: https://gitlab.freedesktop.org/xorg/lib/libxcb/-/merge_requests/54 Signed-off-by: Fergus Dall google.com> Closes: https://github.com/gentoo/gentoo/pull/33734 Signed-off-by: Matt Turner gentoo.org> .../libxcb-1.16-Enable-large-file-support.patch | 25 ++++++++ x11-libs/libxcb/libxcb-1.16-r1.ebuild | 66 ++++++++++++++++++++++ 2 files changed, 91 insertions(+) diff --git a/x11-libs/libxcb/files/libxcb-1.16-Enable-large-file-support.patch b/x11-libs/libxcb/files/libxcb-1.16-Enable-large-file-support.patch new file mode 100644 index 000000000000..c1c8ad5dc05c --- /dev/null +++ b/x11-libs/libxcb/files/libxcb-1.16-Enable-large-file-support.patch @@ -0,0 +1,25 @@ +From 3c946010c8521497b0fba2c8bc9bde184622345a Mon Sep 17 00:00:00 2001 +From: Fergus Dall +Date: Tue, 7 Nov 2023 17:42:42 +1100 +Subject: [PATCH libxcb] Enable large file support + +Signed-off-by: Fergus Dall +--- + configure.ac | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/configure.ac b/configure.ac +index b78454d..d981bea 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -18,6 +18,7 @@ AM_PATH_PYTHON([3.0]) + # Must be called before any macros that run the compiler (like AC_PROG_LIBTOOL) + # to avoid autoconf errors. + AC_USE_SYSTEM_EXTENSIONS ++AC_SYS_LARGEFILE + + # Initialize libtool + LT_PREREQ([2.2]) +-- +2.42.0.869.gea05f2083d-goog + diff --git a/x11-libs/libxcb/libxcb-1.16-r1.ebuild b/x11-libs/libxcb/libxcb-1.16-r1.ebuild new file mode 100644 index 000000000000..abb75e7b35a6 --- /dev/null +++ b/x11-libs/libxcb/libxcb-1.16-r1.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_REQ_USE="xml(+)" + +XORG_TARBALL_SUFFIX="xz" +XORG_MULTILIB=yes +XORG_DOC=doc + +inherit python-any-r1 xorg-3 + +DESCRIPTION="X C-language Bindings library" +HOMEPAGE="https://xcb.freedesktop.org/ https://gitlab.freedesktop.org/xorg/lib/libxcb" + +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" +IUSE="doc selinux test +xkb" +RESTRICT="!test? ( test )" +SLOT="0/1.12" + +RDEPEND=" + >=x11-libs/libXau-1.0.7-r1[${MULTILIB_USEDEP}] + >=x11-libs/libXdmcp-1.1.1-r1[${MULTILIB_USEDEP}] +" +DEPEND="${RDEPEND} + x11-base/xorg-proto + >=x11-base/xcb-proto-1.16.0 + elibc_Darwin? ( dev-libs/libpthread-stubs ) + test? ( dev-libs/check[${MULTILIB_USEDEP}] ) +" +# Note: ${PYTHON_USEDEP} needs to go verbatim +BDEPEND="${PYTHON_DEPS} + $(python_gen_any_dep '>=x11-base/xcb-proto-1.16.0[${PYTHON_USEDEP}]') + doc? ( app-doc/doxygen[dot] ) + test? ( dev-libs/libxslt ) + >=x11-misc/util-macros-1.18 +" + +PATCHES=( + "${FILESDIR}/${PN}-1.16-Enable-large-file-support.patch" +) + +python_check_deps() { + python_has_version ">=x11-base/xcb-proto-1.16.0[${PYTHON_USEDEP}]" +} + +pkg_setup() { + python-any-r1_pkg_setup + xorg-3_pkg_setup +} + +src_prepare() { + default + + eautoreconf +} + +src_configure() { + local XORG_CONFIGURE_OPTIONS=( + $(use_enable doc devel-docs) + $(use_enable selinux) + ) + xorg-3_src_configure +}