Bug#975597: libxft2: fonts-noto-color-emoji causes protocol error in libxft

2022-09-13 Thread Jochen Sprickerhof

Hi,

this has been fixed upstream in version 2.3.5:

| Add support for BGRA glyphs display and scaling

https://gitlab.freedesktop.org/xorg/lib/libxft/-/blob/libXft-2.3.5/NEWS

I've merged the latest 2.3.6 locally and it seems to work fine.
Would be great to get that into unstable.

Cheers Jochen

* Tobias Diedrich  [2020-11-23 23:12]:

Package: libxft2
Version: 2.3.2-2
Severity: important
Tags: patch

Dear Maintainer,

libxft seems to have a known issue where color emojis cause it crash the
app with an X11 protocol error, e.g.:
X Error of failed request:  BadLength (poly request too large or internal Xlib 
length error) Major opcode of failed request:
139 (RENDER) Minor opcode of failed request:  20 (RenderAddGlyphs) Serial 
number of failed request:  2961 Current serial number
in output stream:  2970

It looks like there is an unmerged upstream patch available:
https://gitlab.freedesktop.org/xorg/lib/libxft/-/merge_requests/1

Can we get this patch included in the libxft2 package?

Cheers,
Tobias

-- System Information:
Debian Release: bullseye/sid
 APT prefers testing
 APT policy: (990, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, arm64

Kernel: Linux 5.4.78 (SMP w/12 CPU threads)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages libxft2 depends on:
ii  libc6   2.31-4
ii  libfontconfig1  2.13.1-4.2
ii  libfreetype62.10.2+dfsg-4
ii  libx11-62:1.6.12-1
ii  libxrender1 1:0.9.10-1

libxft2 recommends no packages.

libxft2 suggests no packages.

-- no debconf information



signature.asc
Description: PGP signature


Bug#980602: libxcb: diff for NMU version 1.14-2.2

2021-01-31 Thread Jochen Sprickerhof

Control: forwarded 980602 
https://gitlab.freedesktop.org/xorg/lib/libxcb/-/issues/49
Control: tags 980602 + patch
Control: tags 980602 + pending


Dear maintainer,

I've prepared an NMU for libxcb (versioned as 1.14-2.2) and
uploaded it to DELAYED/10. Please feel free to tell me if I
should delay it longer.

Regards.

diff -u libxcb-1.14/debian/changelog libxcb-1.14/debian/changelog
--- libxcb-1.14/debian/changelog
+++ libxcb-1.14/debian/changelog
@@ -1,3 +1,11 @@
+libxcb (1.14-2.2) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Apply upstream patch to fix ftbfs (Closes: #980602)
+Taken from: https://gitlab.freedesktop.org/xorg/lib/libxcb/-/commit/f01f3c37
+
+ -- Jochen Sprickerhof   Sun, 31 Jan 2021 11:44:14 +0100
+
 libxcb (1.14-2.1) unstable; urgency=medium
 
   * Non-maintainer upload.
only in patch2:
unchanged:
--- libxcb-1.14.orig/configure.ac
+++ libxcb-1.14/configure.ac
@@ -36,7 +36,7 @@
 AC_MSG_WARN([dot not found - doxygen targets will be skipped])
 fi
 
-PKG_CHECK_MODULES(CHECK, [check >= 0.9.4], [HAVE_CHECK=yes], [HAVE_CHECK=no])
+PKG_CHECK_MODULES(CHECK, [check >= 0.9.6], [HAVE_CHECK=yes], [HAVE_CHECK=no])
 AM_CONDITIONAL(HAVE_CHECK, test x$HAVE_CHECK = xyes)
 
 XSLTPROC=no
only in patch2:
unchanged:
--- libxcb-1.14.orig/tests/check_public.c
+++ libxcb-1.14/tests/check_public.c
@@ -37,18 +37,18 @@
 		got_display = got_screen = -42;
 		mark_point();
 		success = xcb_parse_display(argument, _host, _display, _screen);
-		fail_unless(success, "unexpected parse failure %sfor '%s'", test_string[test_type], name);
-		fail_unless(strcmp(host, got_host) == 0, "parse %sproduced unexpected hostname '%s' for '%s': expected '%s'", test_string[test_type], got_host, name, host);
-		fail_unless(display == got_display, "parse %sproduced unexpected display '%d' for '%s': expected '%d'", test_string[test_type], got_display, name, display);
-		fail_unless(screen == got_screen, "parse %sproduced unexpected screen '%d' for '%s': expected '%d'", test_string[test_type], got_screen, name, screen);
+		ck_assert_msg(success, "unexpected parse failure %sfor '%s'", test_string[test_type], name);
+		ck_assert_msg(strcmp(host, got_host) == 0, "parse %sproduced unexpected hostname '%s' for '%s': expected '%s'", test_string[test_type], got_host, name, host);
+		ck_assert_msg(display == got_display, "parse %sproduced unexpected display '%d' for '%s': expected '%d'", test_string[test_type], got_display, name, display);
+		ck_assert_msg(screen == got_screen, "parse %sproduced unexpected screen '%d' for '%s': expected '%d'", test_string[test_type], got_screen, name, screen);
 
 		got_host = (char *) -1;
 		got_display = got_screen = -42;
 		mark_point();
 		success = xcb_parse_display(argument, _host, _display, 0);
-		fail_unless(success, "unexpected screenless parse failure %sfor '%s'", test_string[test_type], name);
-		fail_unless(strcmp(host, got_host) == 0, "screenless parse %sproduced unexpected hostname '%s' for '%s': expected '%s'", test_string[test_type], got_host, name, host);
-		fail_unless(display == got_display, "screenless parse %sproduced unexpected display '%d' for '%s': expected '%d'", test_string[test_type], got_display, name, display);
+		ck_assert_msg(success, "unexpected screenless parse failure %sfor '%s'", test_string[test_type], name);
+		ck_assert_msg(strcmp(host, got_host) == 0, "screenless parse %sproduced unexpected hostname '%s' for '%s': expected '%s'", test_string[test_type], got_host, name, host);
+		ck_assert_msg(display == got_display, "screenless parse %sproduced unexpected display '%d' for '%s': expected '%d'", test_string[test_type], got_display, name, display);
 	}
 	putenv("DISPLAY=");
 }
@@ -79,18 +79,18 @@
 		got_display = got_screen = -42;
 		mark_point();
 		success = xcb_parse_display(argument, _host, _display, _screen);
-		fail_unless(!success, "unexpected parse success %sfor '%s'", test_string[test_type], name);
-		fail_unless(got_host == (char *) -1, "host changed on parse failure %sfor '%s': got %p", test_string[test_type], name, got_host);
-		fail_unless(got_display == -42, "display changed on parse failure %sfor '%s': got %d", test_string[test_type], name, got_display);
-		fail_unless(got_screen == -42, "screen changed on parse failure %sfor '%s': got %d", test_string[test_type], name, got_screen);
+		ck_assert_msg(!success, "unexpected parse success %sfor '%s'", test_string[test_type], name);
+		ck_assert_msg(got_host == (char *) -1, "host changed on parse failure %sfor '%s': got %p", test_string[test_type], name, got_host);
+		ck_assert_msg(got_display == -42, "display changed on parse failure %sfor '%s': got %d", test_string[test_type], name, got_display);
+		ck_assert_msg(got_screen == -42, "screen changed on parse failure

Bug#914238: libgl1-mesa-dri: browser stays white when opening a website (i965, Intel HD Graphics 520)

2018-11-20 Thread Jochen Sprickerhof
Package: libgl1-mesa-dri
Version: 18.2.5-1
Severity: normal

Hi,

the latest version libgl1-mesa-dri (18.2.5-1) break epiphany-browser and
surf for me.

Steps to reproduce:

$ epiphany-browser kde.org
$ surf kde.org

Both only produce a white page when the site is loaded. Some other site
(like debian.org) do work, however. It works again when downgrading this
package to 18.1.9-1.

I can also make it work by only downgrading i965_dri.so to the old
version.

Cheers Jochen


-- Package-specific info:
glxinfo:

glxinfo is not available (missing mesa-utils package).

/etc/X11/X does not exist.
/etc/X11/X is not a symlink.
/etc/X11/X is not executable.

VGA-compatible devices on PCI bus:
--
00:02.0 VGA compatible controller [0300]: Intel Corporation HD Graphics 520 
[8086:1916] (rev 07)

/etc/X11/xorg.conf does not exist.

/etc/X11/xorg.conf.d does not exist.

/etc/modprobe.d contains no KMS configuration files.

Kernel version (/proc/version):
---
Linux version 4.18.0-2-amd64 (debian-ker...@lists.debian.org) (gcc version 
7.3.0 (Debian 7.3.0-30)) #1 SMP Debian 4.18.10-2 (2018-11-02)

Xorg X server log files on system:
--
-rw-r--r-- 1 root root 35296 Nov 20 21:13 /var/log/Xorg.0.log

Contents of most recent Xorg X server log file (/var/log/Xorg.0.log):
-
[ 4.351] 
X.Org X Server 1.20.3
X Protocol Version 11, Revision 0
[ 4.351] Build Operating System: Linux 4.9.0-8-amd64 x86_64 Debian
[ 4.351] Current Operating System: Linux fenchel 4.18.0-2-amd64 #1 SMP 
Debian 4.18.10-2 (2018-11-02) x86_64
[ 4.351] Kernel command line: 
root=UUID=0556bb4e-09e2-48ee-ba4c-729e7a22eee3 ro quiet rootfstype=ext4 
add_efi_memmap initrd=\EFI\debian\initrd.img
[ 4.351] Build Date: 25 October 2018  06:15:23PM
[ 4.351] xorg-server 2:1.20.3-1 (https://www.debian.org/support) 
[ 4.351] Current version of pixman: 0.34.0
[ 4.351]Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 4.351] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 4.352] (==) Log file: "/var/log/Xorg.0.log", Time: Tue Nov 20 20:41:26 
2018
[ 4.354] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 4.354] (==) No Layout section.  Using the first Screen section.
[ 4.354] (==) No screen section available. Using defaults.
[ 4.354] (**) |-->Screen "Default Screen Section" (0)
[ 4.354] (**) |   |-->Monitor ""
[ 4.356] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[ 4.356] (==) Automatically adding devices
[ 4.356] (==) Automatically enabling devices
[ 4.356] (==) Automatically adding GPU devices
[ 4.356] (==) Max clients allowed: 256, resource mask: 0x1f
[ 4.357] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[ 4.357]Entry deleted from font path.
[ 4.357] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
[ 4.357]Entry deleted from font path.
[ 4.357] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[ 4.357]Entry deleted from font path.
[ 4.359] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
[ 4.359]Entry deleted from font path.
[ 4.359] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[ 4.359]Entry deleted from font path.
[ 4.359] (==) FontPath set to:
/usr/share/fonts/X11/misc,
/usr/share/fonts/X11/Type1,
built-ins
[ 4.359] (==) ModulePath set to "/usr/lib/xorg/modules"
[ 4.359] (II) The server relies on udev to provide the list of input 
devices.
If no devices become available, reconfigure udev or disable 
AutoAddDevices.
[ 4.359] (II) Loader magic: 0x55a320afde20
[ 4.359] (II) Module ABI versions:
[ 4.359]X.Org ANSI C Emulation: 0.4
[ 4.359]X.Org Video Driver: 24.0
[ 4.359]X.Org XInput driver : 24.1
[ 4.359]X.Org Server Extension : 10.0
[ 4.362] (++) using VT number 7

[ 4.362] (II) systemd-logind: logind integration requires -keeptty and 
-keeptty was not provided, disabling logind integration
[ 4.364] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 4.370] (--) PCI:*(0@0:2:0) 8086:1916:8086:1916 rev 7, Mem @ 
0xde00/16777216, 0xc000/268435456, I/O @ 0xf000/64, BIOS @ 
0x/131072
[ 4.370] (II) LoadModule: "glx"
[ 4.373] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 4.385] (II) Module glx: vendor="X.Org Foundation"
[ 4.385]compiled for 1.20.3, module version = 1.0.0
[ 4.385]ABI class: X.Org Server Extension, version 10.0
[ 4.385]