From: "Matt Turner" <mattst88@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-libs/libxcb/files/, x11-libs/libxcb/
Date: Sun, 10 Dec 2023 18:39:19 +0000 (UTC) [thread overview]
Message-ID: <1702233514.4d80747a73b7e207fb6460e0e86efd4c641cb405.mattst88@gentoo> (raw)
commit: 4d80747a73b7e207fb6460e0e86efd4c641cb405
Author: Fergus Dall <sidereal <AT> google <DOT> com>
AuthorDate: Thu Nov 9 04:20:48 2023 +0000
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> 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 <sidereal <AT> google.com>
Closes: https://github.com/gentoo/gentoo/pull/33734
Signed-off-by: Matt Turner <mattst88 <AT> 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 <sidereal@google.com>
+Date: Tue, 7 Nov 2023 17:42:42 +1100
+Subject: [PATCH libxcb] Enable large file support
+
+Signed-off-by: Fergus Dall <sidereal@google.com>
+---
+ 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
+}
next reply other threads:[~2023-12-10 18:39 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-12-10 18:39 Matt Turner [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-04-21 21:09 [gentoo-commits] repo/gentoo:master commit in: x11-libs/libxcb/files/, x11-libs/libxcb/ Matt Turner
2022-06-24 16:26 Matt Turner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1702233514.4d80747a73b7e207fb6460e0e86efd4c641cb405.mattst88@gentoo \
--to=mattst88@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox