From db86e733f7788f1f76b456eb76af60d7f355cf67 Mon Sep 17 00:00:00 2001 From: wangmy Date: Thu, 15 Jul 2021 22:50:09 +0800 Subject: icewm: upgrade 2.3.4 -> 2.6.0 Changelog: Keep track of changes to modal flag. Optimize raising of modal windows. Fix a memory leak for dynamic menu's. Free start menu and windowlist menu on exit. Fix for browse menu's for root and home in start menu. Eliminate several memory leaks in icon handling. Use absolute paths for the Exec definition in desktop files. Only do a passive grab on buttons which are defined by the ButtonRaiseMask. Guard against buffer overflow when copying the degrees centigrade symbol. When a focused window can't raise, or there is no overlapping window, then there shouldn't be a passive button grab by icewm, in order to improve menu handling in applications which don't use windows for menu's. Release the passive button grab from a focused window, when a button click wouldn't raise it, for improved menu handling for applications with internal menu's (CSS drawing). These fix the Debian Bug report with number #989764: "icewm: Intermittently unable to select menu items in drop-down menus.", which was reported versus IceWM version 2.1.2 on June 12 on: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=989764. Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj --- meta-oe/recipes-extended/icewm/icewm_2.3.4.bb | 46 --------------------------- meta-oe/recipes-extended/icewm/icewm_2.6.0.bb | 46 +++++++++++++++++++++++++++ 2 files changed, 46 insertions(+), 46 deletions(-) delete mode 100644 meta-oe/recipes-extended/icewm/icewm_2.3.4.bb create mode 100644 meta-oe/recipes-extended/icewm/icewm_2.6.0.bb (limited to 'meta-oe') diff --git a/meta-oe/recipes-extended/icewm/icewm_2.3.4.bb b/meta-oe/recipes-extended/icewm/icewm_2.3.4.bb deleted file mode 100644 index f80611356f..0000000000 --- a/meta-oe/recipes-extended/icewm/icewm_2.3.4.bb +++ /dev/null @@ -1,46 +0,0 @@ -DESCRIPTION = "Ice Window Manager (IceWM)" -LICENSE = "GPLv2" -LIC_FILES_CHKSUM = "file://COPYING;md5=4a26952467ef79a7efca4a9cf52d417b" - -SRC_URI = "https://github.com/ice-wm/${BPN}/releases/download/${PV}/${BPN}-${PV}.tar.lz \ - file://0001-configure.ac-skip-running-test-program-when-cross-co.patch \ - " -SRC_URI[sha256sum] = "1368f7db61589b1309274a2fe7250961e21904a294b1cff2c13273abd73725f4" - -UPSTREAM_CHECK_URI = "https://github.com/ice-wm/${BPN}/releases" - -inherit autotools pkgconfig gettext perlnative features_check qemu update-alternatives -REQUIRED_DISTRO_FEATURES = "x11" - -EXTRA_OECONF += "--with-libdir=${datadir}/icewm \ - --with-cfgdir=${sysconfdir}/icewm \ - --with-docdir=${docdir}/icewm \ - --enable-fribidi \ - --enable-xinerama \ - --enable-shape" - -DEPENDS = "asciidoc-native fontconfig fribidi gdk-pixbuf imlib2 libxft libxpm libxrandr \ - libxinerama libice libsm libx11 libxext libxrender libxcomposite libxdamage \ - libxfixes" -DEPENDS_append = " qemu-native" -RDEPENDS_${PN} = "perl fribidi" - -do_compile_prepend_class-target() { - - cd ${B} - oe_runmake -C src genpref - - qemu_binary="${@qemu_wrapper_cmdline(d, '${STAGING_DIR_TARGET}',['${B}/src/.libs','${STAGING_DIR_TARGET}/${libdir}','${STAGING_DIR_TARGET}/${base_libdir}'])}" - cat >qemuwrapper < src/preferences -} - -ALTERNATIVE_${PN} = "x-session-manager" -ALTERNATIVE_TARGET[x-session-manager] = "${bindir}/icewm-session" -ALTERNATIVE_PRIORITY_${PN} = "100" - -FILES_${PN} += "${datadir}/xsessions" diff --git a/meta-oe/recipes-extended/icewm/icewm_2.6.0.bb b/meta-oe/recipes-extended/icewm/icewm_2.6.0.bb new file mode 100644 index 0000000000..90c0d244f2 --- /dev/null +++ b/meta-oe/recipes-extended/icewm/icewm_2.6.0.bb @@ -0,0 +1,46 @@ +DESCRIPTION = "Ice Window Manager (IceWM)" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://COPYING;md5=4a26952467ef79a7efca4a9cf52d417b" + +SRC_URI = "https://github.com/ice-wm/${BPN}/releases/download/${PV}/${BPN}-${PV}.tar.lz \ + file://0001-configure.ac-skip-running-test-program-when-cross-co.patch \ + " +SRC_URI[sha256sum] = "33cc69ba1fb762d85cc2755a930d6cf1a7c23e33f736ef2ec01c59d612f9b2eb" + +UPSTREAM_CHECK_URI = "https://github.com/ice-wm/${BPN}/releases" + +inherit autotools pkgconfig gettext perlnative features_check qemu update-alternatives +REQUIRED_DISTRO_FEATURES = "x11" + +EXTRA_OECONF += "--with-libdir=${datadir}/icewm \ + --with-cfgdir=${sysconfdir}/icewm \ + --with-docdir=${docdir}/icewm \ + --enable-fribidi \ + --enable-xinerama \ + --enable-shape" + +DEPENDS = "asciidoc-native fontconfig fribidi gdk-pixbuf imlib2 libxft libxpm libxrandr \ + libxinerama libice libsm libx11 libxext libxrender libxcomposite libxdamage \ + libxfixes" +DEPENDS_append = " qemu-native" +RDEPENDS_${PN} = "perl fribidi" + +do_compile_prepend_class-target() { + + cd ${B} + oe_runmake -C src genpref + + qemu_binary="${@qemu_wrapper_cmdline(d, '${STAGING_DIR_TARGET}',['${B}/src/.libs','${STAGING_DIR_TARGET}/${libdir}','${STAGING_DIR_TARGET}/${base_libdir}'])}" + cat >qemuwrapper < src/preferences +} + +ALTERNATIVE_${PN} = "x-session-manager" +ALTERNATIVE_TARGET[x-session-manager] = "${bindir}/icewm-session" +ALTERNATIVE_PRIORITY_${PN} = "100" + +FILES_${PN} += "${datadir}/xsessions" -- cgit 1.2.3-korg