From 49135be237314503a2b93fdf92ad10088e7859e9 Mon Sep 17 00:00:00 2001 From: Andreas Müller Date: Mon, 21 Apr 2014 22:38:56 +0200 Subject: devilspie2: update to 0.33 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Note: 0.24 failed if lua >= 5.2 was build before devilspie (e.g world build) with | src/script.c: In function 'init_script': | src/script.c:65:2: warning: implicit declaration of function 'lua_open' [-Wimplicit-function-declaration] | lua_State *lua=lua_open(); | ^ | src/script.c:65:17: warning: initialization makes pointer from integer without a cast [enabled by default] | lua_State *lua=lua_open(); | ^ | arm-angstrom-linux-gnueabi-gcc -march=armv7-a -mthumb -mthumb-interwork -mfloat-abi=hard -mfpu=neon --sysroot=/home/superandy/tmp/oe-core-eglibc/sysroots/overo -ldl -lm -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed obj/devilspie2.o obj/xutils.o obj/script.o obj/script_functions.o -o bin/devilspie2 -lX11 `pkg-config --libs gtk+-2.0 libwnck-1.0 lua5.1` | src/script.c:65: error: undefined reference to 'lua_open' Signed-off-by: Andreas Müller Signed-off-by: Martin Jansa --- .../recipes-gnome/devilspie/devilspie2_0.24.bb | 30 ---------------------- .../recipes-gnome/devilspie/devilspie2_0.33.bb | 30 ++++++++++++++++++++++ 2 files changed, 30 insertions(+), 30 deletions(-) delete mode 100644 meta-gnome/recipes-gnome/devilspie/devilspie2_0.24.bb create mode 100644 meta-gnome/recipes-gnome/devilspie/devilspie2_0.33.bb diff --git a/meta-gnome/recipes-gnome/devilspie/devilspie2_0.24.bb b/meta-gnome/recipes-gnome/devilspie/devilspie2_0.24.bb deleted file mode 100644 index 9e6ba90424..0000000000 --- a/meta-gnome/recipes-gnome/devilspie/devilspie2_0.24.bb +++ /dev/null @@ -1,30 +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 lua5.1 virtual/libx11" - -SRC_URI = " \ - http://www.gusnan.se/devilspie2/download/devilspie2_${PV}-src.tar.gz \ - file://default.lua \ - file://devilspie2.desktop \ -" -SRC_URI[md5sum] = "90b354662659e2922bd051fdde3b0971" -SRC_URI[sha256sum] = "9c94fa13ed8c0bf6914fdda513e21a4bd527821b97a53d8004168a8d465a646a" - -inherit pkgconfig - -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.33.bb b/meta-gnome/recipes-gnome/devilspie/devilspie2_0.33.bb new file mode 100644 index 0000000000..b00a449356 --- /dev/null +++ b/meta-gnome/recipes-gnome/devilspie/devilspie2_0.33.bb @@ -0,0 +1,30 @@ +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 lua virtual/libx11" + +SRC_URI = " \ + http://www.gusnan.se/devilspie2/download/devilspie2_${PV}-src.tar.gz \ + file://default.lua \ + file://devilspie2.desktop \ +" +SRC_URI[md5sum] = "99c88f702e134d2b2f2f8caad4b1ef03" +SRC_URI[sha256sum] = "01a2ebcece14065c9a2e47decd81341e2a6f63e3bf43ff446103686718748356" + +inherit pkgconfig + +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 1.2.3-korg