lxdm: Let greeter use gtk3
PATCH 1/3 lxdm: Let greeter use gtk3
* one more gtk2->gtk3 transit
* greater looks way better now
* while at it: sort patches
Signed-off-by Andreas Müller <[email protected]>
---
...for-libexecinfo-providing-backtrace-APIs.patch} | 0
.../lxdm/lxdm/0004-fix-css-under-gtk-3.20.patch | 27 ++++++++++++++++++++++
meta-oe/recipes-graphics/lxdm/lxdm_0.5.3.bb | 7 +++---
3 files changed, 31 insertions(+), 3 deletions(-)
rename meta-oe/recipes-graphics/lxdm/lxdm/{0001-check-for-libexecinfo-providing-backtrace-APIs.patch => 0003-check-for-libexecinfo-providing-backtrace-APIs.patch} (100%)
create mode 100644 meta-oe/recipes-graphics/lxdm/lxdm/0004-fix-css-under-gtk-3.20.patchmeta-oe/recipes-graphics/lxdm/lxdm/0003-check-for-libexecinfo-providing-backtrace-APIs.patch renamed from meta-oe/recipes-graphics/lxdm/lxdm/0001-check-for-libexecinfo-providing-backtrace-APIs.patch +0 -0
meta-oe/recipes-graphics/lxdm/lxdm/0004-fix-css-under-gtk-3.20.patch new file +27 -0
@@ -0,0 +1,27 @@ +From 72812894cfd9454d70e4b0753531e46580416771 Mon Sep 17 00:00:00 2001 +From: dgod <[email protected]> +Date: Mon, 21 Mar 2016 19:25:25 +0800 +Subject: [PATCH] fix css under gtk 3.20 + +Upstream-Status: Applied [1] + +[1] https://git.lxde.org/gitweb/?p=lxde/lxdm.git;a=patch;h=72812894cfd9454d70e4b0753531e46580416771 +--- + data/themes/Industrial/gtk.css | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/data/themes/Industrial/gtk.css b/data/themes/Industrial/gtk.css +index 179f0d6..f8e6432 100644 +--- a/data/themes/Industrial/gtk.css ++++ b/data/themes/Industrial/gtk.css +@@ -17,6 +17,7 @@ + color: #000000; + } + ++#bottom_pane label, + #bottom_pane GtkLabel { + font: Sans 12; + color: #9E9D9B; +-- +2.14.4 +
meta-oe/recipes-graphics/lxdm/lxdm_0.5.3.bb +4 -3
@@ -7,14 +7,15 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/project/${BPN}/${BPN}%20${PV}/${BPN}-${PV}.tar. ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'file://lxdm-pam file://lxdm-pam-debug', '', d)} \ ${@bb.utils.contains("DISTRO_TYPE", "debug", "", "file://0001-lxdm.conf.in-blacklist-root-for-release-images.patch",d)} \ file://0002-let-autotools-create-lxdm.conf.patch \ - file://0001-check-for-libexecinfo-providing-backtrace-APIs.patch \ + file://0003-check-for-libexecinfo-providing-backtrace-APIs.patch \ + file://0004-fix-css-under-gtk-3.20.patch \ " SRC_URI[md5sum] = "061caae432634e6db38bbdc84bc6ffa0" SRC_URI[sha256sum] = "4891efee81c72a400cc6703e40aa76f3f3853833d048b72ec805da0f93567f2f" PE = "1" -DEPENDS = "virtual/libintl intltool-native cairo dbus gdk-pixbuf glib-2.0 gtk+ virtual/libx11 libxcb pango iso-codes" +DEPENDS = "virtual/libintl intltool-native cairo dbus gdk-pixbuf glib-2.0 gtk+3 virtual/libx11 libxcb pango iso-codes" DEPENDS += "${@bb.utils.contains("DISTRO_FEATURES", "systemd", "", "consolekit", d)}" DEPENDS_append_libc-musl = " libexecinfo"
@@ -28,7 +29,7 @@ REQUIRED_DISTRO_FEATURES = "x11" CFLAGS_append = " -fno-builtin-fork -fno-builtin-memset -fno-builtin-strstr " LDFLAGS_append_libc-musl = " -lexecinfo" -EXTRA_OECONF += "--enable-gtk3=no --enable-password=yes --with-x -with-xconn=xcb \ +EXTRA_OECONF += "--enable-gtk3=yes --enable-password=yes --with-x -with-xconn=xcb \ ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '--with-systemdsystemunitdir=${systemd_unitdir}/system/ --disable-consolekit', '--without-systemdsystemunitdir', d)} \ ${@bb.utils.contains('DISTRO_FEATURES', 'pam', '--with-pam', '--without-pam', d)} \ "
Signature · 1 line
2.14.4
PATCH 2/3 openjpeg: upgrade 2.2.0 -> 2.3.0
* fetch by git to avoid github checksum surprises
* 0001-bmp_read_info_header-reject-bmp-files-with-biBitCoun.patch was applied upstream
Signed-off-by Andreas Müller <[email protected]>
---
...fo_header-reject-bmp-files-with-biBitCoun.patch | 31 ----------------------
.../{openjpeg_2.2.0.bb => openjpeg_2.3.0.bb} | 8 +++---
2 files changed, 3 insertions(+), 36 deletions(-)
delete mode 100644 meta-oe/recipes-graphics/openjpeg/files/0001-bmp_read_info_header-reject-bmp-files-with-biBitCoun.patch
rename meta-oe/recipes-graphics/openjpeg/{openjpeg_2.2.0.bb => openjpeg_2.3.0.bb} (54%)meta-oe/recipes-graphics/openjpeg/files/0001-bmp_read_info_header-reject-bmp-files-with-biBitCoun.patch deleted +0 -31
@@ -1,31 +0,0 @@ -From 226f07e4b49c2757b181c62e6841000c512054e3 Mon Sep 17 00:00:00 2001 -From: Even Rouault <[email protected]> -Date: Mon, 14 Aug 2017 17:26:58 +0200 -Subject: [PATCH] bmp_read_info_header(): reject bmp files with biBitCount == 0 - (#983) - -Upstream-Status: Backport [https://github.com/uclouvain/openjpeg/commit/baf0c1ad4572daa89caa3b12985bdd93530f0dd7] -CVE: CVE-2017-12982 -Signed-off-by: Dengke Du <[email protected]> ---- - src/bin/jp2/convertbmp.c | 4 ++++ - 1 file changed, 4 insertions(+) - -diff --git a/src/bin/jp2/convertbmp.c b/src/bin/jp2/convertbmp.c -index b49e7a0..2715fdf 100644 ---- a/src/bin/jp2/convertbmp.c -+++ b/src/bin/jp2/convertbmp.c -@@ -392,6 +392,10 @@ static OPJ_BOOL bmp_read_info_header(FILE* IN, OPJ_BITMAPINFOHEADER* header) - - header->biBitCount = (OPJ_UINT16)getc(IN); - header->biBitCount |= (OPJ_UINT16)((OPJ_UINT32)getc(IN) << 8); -+ if (header->biBitCount == 0) { -+ fprintf(stderr, "Error, invalid biBitCount %d\n", 0); -+ return OPJ_FALSE; -+ } - - if (header->biSize >= 40U) { - header->biCompression = (OPJ_UINT32)getc(IN); --- -2.8.1 -
meta-oe/recipes-graphics/openjpeg/openjpeg_2.3.0.bb renamed from meta-oe/recipes-graphics/openjpeg/openjpeg_2.2.0.bb +3 -5
@@ -5,11 +5,9 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=c648878b4840d7babaade1303e7f108c" DEPENDS = "libpng tiff lcms zlib" -SRC_URI = "https://github.com/uclouvain/${BPN}/archive/v${PV}.tar.gz;downloadfilename=${BP}.tar.gz \ - file://0001-bmp_read_info_header-reject-bmp-files-with-biBitCoun.patch \ - " -SRC_URI[md5sum] = "269bb0b175476f3addcc0d03bd9a97b6" -SRC_URI[sha256sum] = "6fddbce5a618e910e03ad00d66e7fcd09cc6ee307ce69932666d54c73b7c6e7b" +SRC_URI = "git://github.com/uclouvain/openjpeg.git" +SRCREV = "081de4b15f54cb4482035b7bf5e3fb443e4bc84b" +S = "${WORKDIR}/git" inherit cmake
Signature · 1 line
2.14.4
PATCH 3/3 plymouth: Fix-build with glibc 2.28
In reply to Andreas MüllerI tried to update plymouth to 0.9.3 but that did not work as it used to. So postpone that.
Signed-off-by Andreas Müller <[email protected]>
--- .../files/0002-Fix-build-with-glibc-2.28.patch | 34 ++++++++++++++++++++++ meta-oe/recipes-core/plymouth/plymouth_0.9.2.bb | 1 + 2 files changed, 35 insertions(+) create mode 100644 meta-oe/recipes-core/plymouth/files/0002-Fix-build-with-glibc-2.28.patch
meta-oe/recipes-core/plymouth/files/0002-Fix-build-with-glibc-2.28.patch new file +34 -0
@@ -0,0 +1,34 @@ +From 0c0345303b7971d6cec478fd8b81d64bc1fbe0f6 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Andreas=20M=C3=BCller?= <[email protected]> +Date: Tue, 21 Aug 2018 23:26:45 +0200 +Subject: [PATCH] Fix build with >= glibc 2.28 +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Stolen from [1] + +[1] https://bugs.freedesktop.org/show_bug.cgi?id=102191 + +Upstream-Status: Pending + +Signed-off-by: Andreas Müller <[email protected]> +--- + src/libply-splash-core/ply-terminal.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/libply-splash-core/ply-terminal.c b/src/libply-splash-core/ply-terminal.c +index a0954f2..f3b32fe 100644 +--- a/src/libply-splash-core/ply-terminal.c ++++ b/src/libply-splash-core/ply-terminal.c +@@ -32,6 +32,7 @@ + #include <sys/socket.h> + #include <sys/stat.h> + #include <sys/types.h> ++#include <sys/sysmacros.h> + #include <termios.h> + #include <unistd.h> + #include <wchar.h> +-- +2.14.4 +
meta-oe/recipes-core/plymouth/plymouth_0.9.2.bb +1 -0
@@ -19,6 +19,7 @@ RPROVIDES_${PN} = "virtual-psplash virtual-psplash-support" SRC_URI = " \ http://www.freedesktop.org/software/plymouth/releases/${BPN}-${PV}.tar.bz2 \ file://0001-Make-full-path-to-systemd-tty-ask-password-agent-con.patch \ + file://0002-Fix-build-with-glibc-2.28.patch \ " SRC_URI[md5sum] = "ff420994deb7ea203df678df92e7ab7d" SRC_URI[sha256sum] = "2f0ce82042cf9c7eadd2517a1f74c8a85fa8699781d9f294a06eade29fbed57f"
Signature · 1 line
2.14.4