Package Details: devilspie2 0.44-1

Git Clone URL: https://aur.archlinux.org/devilspie2.git (read-only, click to copy)
Package Base: devilspie2
Description: A window matching utility, allowing the user to perform scripted actions on windows as they are created.
Upstream URL: http://www.nongnu.org/devilspie2/
Licenses: GPL3
Submitter: larchunix
Maintainer: larchunix
Last Packager: larchunix
Votes: 34
Popularity: 0.50
First Submitted: 2012-05-25 20:53 (UTC)
Last Updated: 2022-01-30 10:54 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 Next › Last »

yan12125 commented on 2020-06-30 12:53 (UTC)

Hi, this package does not build with the upcoming Lua 5.4. Here is a fix:

--- devilspie2-0.43/src/script_functions.c.orig 2020-06-30 20:28:56.388791204 +0800
+++ devilspie2-0.43/src/script_functions.c  2020-06-30 20:29:05.018556227 +0800
@@ -470,8 +470,7 @@
        lua_call(lua, 1, 1);
        s = lua_tostring(lua, -1);  /* get result */
        if (s == NULL)
-           return luaL_error(lua, LUA_QL("tostring") " must return a string to "
-                             LUA_QL("print"));
+           return luaL_error(lua, "'tostring' must return a string to 'print'");
        if (i > 1) {
            if (devilspie2_debug) fputs("\t", stdout);
        }

I've also submitted this patch to upstream at https://savannah.nongnu.org/bugs/index.php?58681. However, as the maintainer seems no longer working on it, I doubt the fix will be applied in near future. Could you apply that patch in this AUR package first? My patch is compatible with both Lua 5.3 an 5.4, so it can be applied without waiting for Lua 5.4 to be in Arch stable repositories.

oberon2007 commented on 2019-04-03 19:39 (UTC) (edited on 2019-04-03 19:40 (UTC) by oberon2007)

Download is broken. Working PKGBUILD here:

pkgname=devilspie2
pkgver=0.43
pkgrel=1
pkgdesc="A window matching utility, allowing the user to perform scripted actions on windows as they are created."
arch=('i686' 'x86_64')
url="http://www.nongnu.org/$pkgname"
license=('GPL3')
depends=('lua>=5.1' 'gtk3' 'libwnck3')
source=("http://git.savannah.gnu.org/cgit/$pkgname.git/snapshot/$pkgname-$pkgver.tar.gz")
md5sums=('319dd2d51809111bce7b0e112c77b0b9')

build() {
    cd "$pkgname-$pkgver"
    make
}

package() {
    cd "$pkgname-$pkgver"
    make DESTDIR="$pkgdir/" PREFIX=/usr install

    # Install documentation
    mkdir -p -m755 "$pkgdir/usr/share/doc"
    cp -Rp doc/ "$pkgdir/usr/share/doc/$pkgname"
    install -Dp -m644 README "$pkgdir/usr/share/doc/$pkgname/README"
}

allien.work commented on 2017-09-07 11:50 (UTC) (edited on 2017-09-07 11:51 (UTC) by allien.work)

To add the PGP key, run in your Terminal: gpg --recv-key 194B631AB2DA2888

stevenroose commented on 2016-11-30 21:47 (UTC)

This error is still there ==> Verifying source file signatures with gpg... devilspie2_0.39-src.tar.gz ... FAILED (unknown public key 194B631AB2DA2888)

GetzTheGoldfish commented on 2016-06-16 18:25 (UTC)

It worked using the command yaourt --m-arg --skippgpcheck -Sb devilspie2

escentrix commented on 2016-01-14 16:33 (UTC) (edited on 2016-01-14 16:41 (UTC) by escentrix)

I am getting a gpg failure on build: ==> Verifying source file signatures with gpg... devilspie2_0.39-src.tar.gz ... FAILED (unknown public key 194B631AB2DA2888) Edit: I manually added in the gpg key and signed it. Everything is fine.

XZS commented on 2015-05-26 16:28 (UTC)

Compilation did not work as I expected. When both variants are installed, devilspie2 compiles against lua51 instead of the newer lua, so removing lua51 after compiling this PKGBUILD leads to the error. Removing lua51 and recompiling afterwards makes it work again. Thanks for the hint.

larchunix commented on 2015-05-21 08:44 (UTC)

I mean so bump not so dump.

larchunix commented on 2015-05-21 08:23 (UTC)

On my system, it works fine with the latest lua version (5.3). You should probably rebuild devilspie2 due to the recent so dump (liblua.so.5.2.0 -> liblua.so.5.3.0).

XZS commented on 2015-05-20 21:42 (UTC)

Please replace lua>=5.1 with lua51. Devilspie2 is unable to locate the lua library and refuses to start otherwise.