public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Piotr Karbowski" <slashbeast@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-base/xwayland/files/, x11-base/xwayland/
Date: Tue, 22 Jun 2021 21:27:56 +0000 (UTC)	[thread overview]
Message-ID: <1624397200.c5f13f25c3bc678b9a619a1757885d207c3a3277.slashbeast@gentoo> (raw)

commit:     c5f13f25c3bc678b9a619a1757885d207c3a3277
Author:     Piotr Karbowski <slashbeast <AT> gentoo <DOT> org>
AuthorDate: Tue Jun 22 21:22:30 2021 +0000
Commit:     Piotr Karbowski <slashbeast <AT> gentoo <DOT> org>
CommitDate: Tue Jun 22 21:26:40 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5f13f25

x11-base/xwayland: new package.

Closes: https://bugs.gentoo.org/785430
Signed-off-by: Piotr Karbowski <slashbeast <AT> gentoo.org>

 x11-base/xwayland/Manifest                         |  1 +
 ...xwayland-drop-redundantly-installed-files.patch | 27 ++++++++
 x11-base/xwayland/metadata.xml                     | 16 +++++
 x11-base/xwayland/xwayland-21.1.1.ebuild           | 77 ++++++++++++++++++++++
 4 files changed, 121 insertions(+)

diff --git a/x11-base/xwayland/Manifest b/x11-base/xwayland/Manifest
new file mode 100644
index 00000000000..2f2adffe714
--- /dev/null
+++ b/x11-base/xwayland/Manifest
@@ -0,0 +1 @@
+DIST xwayland-21.1.1.tar.xz 1257776 BLAKE2B 181aca3d3fad3759eb726c6f6141912d588a85bae214f9d395450b6945ee845d28c7a8580e6aaa5f3538d06083312391d24267e6b239bfc533526a1bd7a56f0a SHA512 0cb03d796af183f9fde14c30ef45d94ef466ac4ba3d85dda34e74f91dd94bb75d0c8a867ecb7bda7ea61d98c70a4f73bc98c5a205ea5f69a0e222cd780d263d8

diff --git a/x11-base/xwayland/files/xwayland-drop-redundantly-installed-files.patch b/x11-base/xwayland/files/xwayland-drop-redundantly-installed-files.patch
new file mode 100644
index 00000000000..39e0548eaaa
--- /dev/null
+++ b/x11-base/xwayland/files/xwayland-drop-redundantly-installed-files.patch
@@ -0,0 +1,27 @@
+diff --git a/dix/meson.build b/dix/meson.build
+index ddc5cc3..bf5bfa3 100644
+--- a/dix/meson.build
++++ b/dix/meson.build
+@@ -56,8 +56,3 @@ libxserver_main = static_library('libxserver_main',
+     include_directories: inc,
+     dependencies: common_dep,
+ )
+-
+-install_data(
+-    'protocol.txt',
+-    install_dir: serverconfigdir,
+-)
+diff --git a/meson.build b/meson.build
+index 4af03ef..791465d 100644
+--- a/meson.build
++++ b/meson.build
+@@ -520,9 +520,3 @@ subdir('hw')
+ if host_machine.system() != 'windows'
+     subdir('test')
+ endif
+-
+-install_man(configure_file(
+-    input: 'man/Xserver.man',
+-    output: 'Xserver.1',
+-    configuration: manpage_config,
+-))

diff --git a/x11-base/xwayland/metadata.xml b/x11-base/xwayland/metadata.xml
new file mode 100644
index 00000000000..db66c9cee4d
--- /dev/null
+++ b/x11-base/xwayland/metadata.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+	<email>x11@gentoo.org</email>
+	<name>X11</name>
+</maintainer>
+<use>
+	<flag name="unwind">Enable libunwind usage for backtraces</flag>
+	<flag name="xcsecurity">Build Security extension</flag>
+	<flag name="rpc">Enable secure rpc</flag>
+</use>
+<upstream>
+	<remote-id type="cpe">cpe:/a:x.org:xorg-server</remote-id>
+</upstream>
+</pkgmetadata>

diff --git a/x11-base/xwayland/xwayland-21.1.1.ebuild b/x11-base/xwayland/xwayland-21.1.1.ebuild
new file mode 100644
index 00000000000..52954bdff07
--- /dev/null
+++ b/x11-base/xwayland/xwayland-21.1.1.ebuild
@@ -0,0 +1,77 @@
+# Copyright 2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit meson
+
+DESCRIPTION="Standalone X server running under Wayland"
+HOMEPAGE="https://wayland.freedesktop.org/xserver.html"
+SRC_URI="https://xorg.freedesktop.org/archive/individual/xserver/${P}.tar.xz"
+
+IUSE="rpc unwind ipv6 xcsecurity selinux"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
+
+CDEPEND="
+	>=x11-libs/pixman-0.27.2
+	dev-libs/libbsd
+	>=x11-libs/libXfont2-2.0.1
+	>=x11-libs/libXdmcp-1.0.2
+	dev-libs/wayland
+	>=x11-libs/libXdmcp-1.0.2
+	>=x11-libs/libdrm-2.4.89
+	>=media-libs/libepoxy-1.5.4[X,egl(+)]
+	>=media-libs/mesa-18[X(+),egl,gbm]
+	>=x11-libs/libxshmfence-1.1
+	rpc? ( net-libs/libtirpc )
+	>=x11-libs/libXau-1.0.4
+	media-libs/libglvnd[X]
+	unwind? ( sys-libs/libunwind )
+	>=dev-libs/wayland-protocols-1.18
+"
+
+DEPEND="
+	${CDEPEND}
+	!<=x11-base/xorg-server-1.20.11
+"
+
+RDEPEND="
+	${DEPEND}
+	selinux? ( sec-policy/selinux-xserver )
+"
+BDEPEND="
+	sys-devel/flex
+	dev-util/wayland-scanner
+"
+
+PATCHES=(
+	"${FILESDIR}"/xwayland-drop-redundantly-installed-files.patch
+)
+
+src_configure() {
+	local emesonargs=(
+		$(meson_use rpc secure-rpc)
+		$(meson_use unwind libunwind)
+		$(meson_use ipv6)
+		$(meson_use xcsecurity)
+		$(meson_use selinux xselinux)
+		-Dsha1=libcrypto
+		-Ddpms=true
+		-Ddri3=true
+		-Dglamor=true
+		-Dglx=true
+		-Dscreensaver=true
+		-Dxace=true
+		-Dxdmcp=true
+		-Dxinerama=true
+		-Dxv=true
+		-Dxvfb=true
+		-Dxwayland-path=/usr/libexec
+		-Ddtrace=false
+	)
+
+	meson_src_configure
+}


             reply	other threads:[~2021-06-22 21:28 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-22 21:27 Piotr Karbowski [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-04-18 20:26 [gentoo-commits] repo/gentoo:master commit in: x11-base/xwayland/files/, x11-base/xwayland/ Piotr Karbowski
2024-01-02  6:00 Sam James
2024-02-27 22:06 Sam James
2024-04-25 16:10 Matt Turner
2024-05-16 14:16 Matt Turner
2024-09-24  0:36 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=1624397200.c5f13f25c3bc678b9a619a1757885d207c3a3277.slashbeast@gentoo \
    --to=slashbeast@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