pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/x11



Module Name:    pkgsrc
Committed By:   khorben
Date:           Mon Sep 28 01:08:15 UTC 2020

Modified Files:
        pkgsrc/x11/modular-xorg-server: distinfo
        pkgsrc/x11/modular-xorg-xephyr: Makefile
Added Files:
        pkgsrc/x11/modular-xorg-server/patches: patch-hw_kdrive_ephyr_hostx.c

Log Message:
modular-xorg-xephyr: fix Xephyr visual with -parent option

This patch was imported from
https://gitlab.freedesktop.org/xorg/xserver/-/issues/128.

It notably fixes embedding Xephyr into Gtk+ 3 applications, such as
simulator(1) from devel/deforaos-coder.

Tested on netbsd-9/amd64.


To generate a diff of this commit:
cvs rdiff -u -r1.103 -r1.104 pkgsrc/x11/modular-xorg-server/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/x11/modular-xorg-server/patches/patch-hw_kdrive_ephyr_hostx.c
cvs rdiff -u -r1.21 -r1.22 pkgsrc/x11/modular-xorg-xephyr/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/x11/modular-xorg-server/distinfo
diff -u pkgsrc/x11/modular-xorg-server/distinfo:1.103 pkgsrc/x11/modular-xorg-server/distinfo:1.104
--- pkgsrc/x11/modular-xorg-server/distinfo:1.103       Wed Aug 26 10:28:39 2020
+++ pkgsrc/x11/modular-xorg-server/distinfo     Mon Sep 28 01:08:15 2020
@@ -1,10 +1,11 @@
-$NetBSD: distinfo,v 1.103 2020/08/26 10:28:39 wiz Exp $
+$NetBSD: distinfo,v 1.104 2020/09/28 01:08:15 khorben Exp $
 
 SHA1 (xorg-server-1.20.9.tar.bz2) = 4b70ac63fa864f0569712d634a61496d015c3b86
 RMD160 (xorg-server-1.20.9.tar.bz2) = 33a2370d1d9ce68774d0ac6fa803f2a4ce19b698
 SHA512 (xorg-server-1.20.9.tar.bz2) = d9b5f93e1b9763a89187d8b272aa7d4ce9709641b8539f4536708af153310e5a4931bffd4229c51a3b0e3b12da7838750aa71b635751fb4c0bb27438cce4e5e6
 Size (xorg-server-1.20.9.tar.bz2) = 6302902 bytes
 SHA1 (patch-configure) = ce2c732c3d8493445744a927a25b9cd3b45880f8
+SHA1 (patch-hw_kdrive_ephyr_hostx.c) = b681ee28bc7af06774f10bc882d355d42ac965d3
 SHA1 (patch-hw_xfree86_common_xf86AutoConfig.c) = 70adf85be9fc6222a335686e7e9e9f385aca02f9
 SHA1 (patch-hw_xfree86_common_xf86sbusBus.h) = f56f87336b2f669413ebb1005a2b64568a111f92
 SHA1 (patch-hw_xfree86_dri2_dri2.c) = 0bf58305059321e10f6f58186301dbb7cb858c2a

Index: pkgsrc/x11/modular-xorg-xephyr/Makefile
diff -u pkgsrc/x11/modular-xorg-xephyr/Makefile:1.21 pkgsrc/x11/modular-xorg-xephyr/Makefile:1.22
--- pkgsrc/x11/modular-xorg-xephyr/Makefile:1.21        Wed Aug 26 10:29:06 2020
+++ pkgsrc/x11/modular-xorg-xephyr/Makefile     Mon Sep 28 01:08:15 2020
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.21 2020/08/26 10:29:06 wiz Exp $
+# $NetBSD: Makefile,v 1.22 2020/09/28 01:08:15 khorben Exp $
 
 DISTNAME=      xorg-server-${XORG_VERSION}
 PKGNAME=       modular-xorg-xephyr-${XORG_VERSION}
+PKGREVISION=   1
 
 DISTINFO_FILE=         ${.CURDIR}/../../x11/modular-xorg-server/distinfo
 PATCHDIR=              ${.CURDIR}/../../x11/modular-xorg-server/patches

Added files:

Index: pkgsrc/x11/modular-xorg-server/patches/patch-hw_kdrive_ephyr_hostx.c
diff -u /dev/null pkgsrc/x11/modular-xorg-server/patches/patch-hw_kdrive_ephyr_hostx.c:1.1
--- /dev/null   Mon Sep 28 01:08:16 2020
+++ pkgsrc/x11/modular-xorg-server/patches/patch-hw_kdrive_ephyr_hostx.c        Mon Sep 28 01:08:15 2020
@@ -0,0 +1,15 @@
+$NetBSD: patch-hw_kdrive_ephyr_hostx.c,v 1.1 2020/09/28 01:08:15 khorben Exp $
+
+Fix Xephyr visual with -parent option
+
+--- hw/kdrive/ephyr/hostx.c.orig       2020-03-29 20:21:15.000000000 +0000
++++ hw/kdrive/ephyr/hostx.c
+@@ -622,7 +622,7 @@ hostx_init(void)
+                               scrpriv->win_height,
+                               0,
+                               XCB_WINDOW_CLASS_COPY_FROM_PARENT,
+-                              HostX.visual->visual_id,
++                              XCB_COPY_FROM_PARENT,
+                               attr_mask,
+                               attrs);
+         }



Home | Main Index | Thread Index | Old Index