Package Details: emerald 0.8.12.4-2

Git Clone URL: https://aur.archlinux.org/emerald.git (read-only)
Package Base: emerald
Description: Emerald window decorator
Upstream URL: https://github.com/compiz-reloaded/emerald/
Licenses: GPL
Groups: compiz-fusion, compiz-fusion-gtk, compiz-fusion-kde
Conflicts: emerald0.9
Submitter: ShadowKyogre
Maintainer: ShadowKyogre
Last Packager: ShadowKyogre
Votes: 21
Popularity: 3.324881
First Submitted: 2015-08-13 17:48
Last Updated: 2016-08-24 18:30

Latest Comments

Chazza commented on 2016-08-23 19:00

@ShadowKyogre thanks for looking at this :) That's definitely a much cleaner way of doing it. I've just tested the patched version and can confirm that it builds and runs with Compiz 0.9 successfully.

ShadowKyogre commented on 2016-08-23 17:41

Hi @Chazza.

https://github.com/compiz-reloaded/emerald/commit/b29abb8
https://github.com/compiz-reloaded/emerald/commit/c7b1036

There were some relevant commits in the git repo that I backported for a more seamless way to enable it until another release comes out.

Which gets passed into the source code here:

https://github.com/compiz-reloaded/emerald/blob/ee18dc7cd7b62b328ace974f1b80258a32bceaa0/src/main.c#L35-L41
https://github.com/compiz-reloaded/emerald/blob/ee18dc7cd7b62b328ace974f1b80258a32bceaa0/src/main.c#L630-L658
https://github.com/compiz-reloaded/emerald/blob/ee18dc7cd7b62b328ace974f1b80258a32bceaa0/src/main.c#L2098-L2109
https://github.com/compiz-reloaded/emerald/blob/ee18dc7cd7b62b328ace974f1b80258a32bceaa0/src/main.c#L2135-L2139
https://github.com/compiz-reloaded/emerald/blob/ee18dc7cd7b62b328ace974f1b80258a32bceaa0/src/main.c#L2572-L2595
https://github.com/compiz-reloaded/emerald/blob/ee18dc7cd7b62b328ace974f1b80258a32bceaa0/src/main.c#L2606-L2614
https://github.com/compiz-reloaded/emerald/blob/ee18dc7cd7b62b328ace974f1b80258a32bceaa0/src/main.c#L2620-L2624
https://github.com/compiz-reloaded/emerald/blob/ee18dc7cd7b62b328ace974f1b80258a32bceaa0/src/main.c#L2681-L2713
https://github.com/compiz-reloaded/emerald/blob/ee18dc7cd7b62b328ace974f1b80258a32bceaa0/src/main.c#L6016-L6021

The old way of detecting it passes a fixed value:

https://github.com/compiz-reloaded/emerald/blob/ee18dc7cd7b62b328ace974f1b80258a32bceaa0/configure.ac#L76-L83

----

So here's the PKGBUILD patch that has the backport:

https://ptpb.pw/BZXF - raw patch

https://ptpb.pw/BZXF/diff?style=monokai - if you want some syntax highlighting

Could you test this on your end to make sure it compiles properly before I push it?

Chazza commented on 2016-08-23 16:06

Hi. As emerald 0.8.12 has support for Compiz 0.9 I was wondering if maybe you would consider adding support for building against Compiz 0.9 to this PKGBUILD?

The relevant configure option is --enable-decor09. Using this in the build function worked for me:

_options="--prefix=/usr --with-gtk=2.0"
if [ "$(pkg-config --modversion libdecoration)">="0.9" ]; then _options="$_options --enable-decor09"; fi
./configure $_options

This package could then replace emerald0.9 which is utterly dead upstream.

Thanks for your consideration

ShadowKyogre commented on 2016-04-10 19:16

@JNNYBLZ: I'm currently in the progress of migrating the tarballs to the ones on github. Furthermore, the errors you're running into are caused by glib 2.48. See https://git.gnome.org/browse/glib/commit/?id=6b57719 for more info.

Hold on for a day or two while we get this sorted upstream (( PKGBUILDs for the tarballs on github are ready, I'm just waiting for this )).

JNNYBLZ commented on 2016-04-10 17:17

getting this error when trying to build using makepkg -si: m4/glib-gettext.m4:39: error: m4_copy: won't overwrite defined macro: glib_DEFUN