From 4bd281ded7d2eb008daa371ec6c9e67d6616b692 Mon Sep 17 00:00:00 2001 From: wangmy Date: Tue, 8 Feb 2022 08:25:05 +0800 Subject: devilspie2: upgrade 0.43 -> 0.44 Changelog: ========= * Default to Lua 5.3, and permit use of other versions * Add support for setting and deleting window properties * Add get_process_name(), which returns the name of the process owning the window (if possible) * Add get_monitor_index() and get_monitor_geometry(); improve monitor index/geometry discovery * Add get_window_is_decorated() (which uses the Motif window hints) * Alias center() as centre() * Extend centre() to allow centring on a given monitor and to allow horizontal or vertical only * Extend set_window_position() to allow positioning on a given monitor and control which corner is measured from. (Behaviour with two parameters is unchanged.) * Quote the option hyphens in the man page (preventing replacement) * Various const & compiler warning (gcc -Wextra) fix-ups * Support for UTF-8 strings in window properties * Allow replacements for pkg-config at compile time Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj --- .../recipes-gnome/devilspie/devilspie2_0.43.bb | 35 ---------------------- .../recipes-gnome/devilspie/devilspie2_0.44.bb | 35 ++++++++++++++++++++++ 2 files changed, 35 insertions(+), 35 deletions(-) delete mode 100644 meta-gnome/recipes-gnome/devilspie/devilspie2_0.43.bb create mode 100644 meta-gnome/recipes-gnome/devilspie/devilspie2_0.44.bb diff --git a/meta-gnome/recipes-gnome/devilspie/devilspie2_0.43.bb b/meta-gnome/recipes-gnome/devilspie/devilspie2_0.43.bb deleted file mode 100644 index 8372448432..0000000000 --- a/meta-gnome/recipes-gnome/devilspie/devilspie2_0.43.bb +++ /dev/null @@ -1,35 +0,0 @@ -DESCRIPTION = "Devilspie2 is a window matching utility, allowing the user to perform scripted actions on windows as they are created" -HOMEPAGE = "http://www.gusnan.se/devilspie2" -LICENSE = "GPLv3" -LIC_FILES_CHKSUM = "file://COPYING;md5=00aefaa50aad75c21367df66102d542c \ - file://GPL3.txt;md5=d32239bcb673463ab874e80d47fae504" - -DEPENDS = "gtk+ glib-2.0 libwnck libxinerama lua virtual/libx11" - -PV .= "+git${SRCPV}" - -SRCREV = "a3ee65b815a0247a0dbdaa39353444cef6f93499" - -SRC_URI = "git://github.com/dsalt/devilspie2;branch=master;protocol=https \ - file://default.lua \ - file://devilspie2.desktop \ -" - -S = "${WORKDIR}/git" - -inherit features_check pkgconfig gettext - -REQUIRED_DISTRO_FEATURES = "x11" - -do_compile() { - export GTK2=1 - oe_runmake CC="${CC}" CPPFLAGS="${CPPFLAGS}" LDFLAGS=" -ldl -lm ${LDFLAGS}" -} - -do_install() { - oe_runmake DESTDIR="${D}" PREFIX="${prefix}" install - install -d ${D}/${sysconfdir}/devilspie2 - install -m 644 ${WORKDIR}/default.lua ${D}/${sysconfdir}/devilspie2 - install -d ${D}/${sysconfdir}/xdg/autostart - install -m 644 ${WORKDIR}/devilspie2.desktop ${D}/${sysconfdir}/xdg/autostart -} diff --git a/meta-gnome/recipes-gnome/devilspie/devilspie2_0.44.bb b/meta-gnome/recipes-gnome/devilspie/devilspie2_0.44.bb new file mode 100644 index 0000000000..8e048170bc --- /dev/null +++ b/meta-gnome/recipes-gnome/devilspie/devilspie2_0.44.bb @@ -0,0 +1,35 @@ +DESCRIPTION = "Devilspie2 is a window matching utility, allowing the user to perform scripted actions on windows as they are created" +HOMEPAGE = "http://www.gusnan.se/devilspie2" +LICENSE = "GPLv3" +LIC_FILES_CHKSUM = "file://COPYING;md5=00aefaa50aad75c21367df66102d542c \ + file://GPL3.txt;md5=d32239bcb673463ab874e80d47fae504" + +DEPENDS = "gtk+ glib-2.0 libwnck libxinerama lua virtual/libx11" + +PV .= "+git${SRCPV}" + +SRCREV = "b9d7ad9c09a5fb17a1562ee1d892798c646e9ec9" + +SRC_URI = "git://github.com/dsalt/devilspie2;branch=master;protocol=https \ + file://default.lua \ + file://devilspie2.desktop \ +" + +S = "${WORKDIR}/git" + +inherit features_check pkgconfig gettext + +REQUIRED_DISTRO_FEATURES = "x11" + +do_compile() { + export GTK2=1 + oe_runmake CC="${CC}" CPPFLAGS="${CPPFLAGS}" LDFLAGS=" -ldl -lm ${LDFLAGS}" +} + +do_install() { + oe_runmake DESTDIR="${D}" PREFIX="${prefix}" install + install -d ${D}/${sysconfdir}/devilspie2 + install -m 644 ${WORKDIR}/default.lua ${D}/${sysconfdir}/devilspie2 + install -d ${D}/${sysconfdir}/xdg/autostart + install -m 644 ${WORKDIR}/devilspie2.desktop ${D}/${sysconfdir}/xdg/autostart +} -- cgit v1.2.3-54-g00ecf