Package Details: pommed-light 1.52lw-1

Git Clone URL: (read-only, click to copy)
Package Base: pommed-light
Description: Handles the hotkeys of Apple MacBook (Pro) laptops - lightweight edition
Upstream URL:
Licenses: GPL2
Conflicts: pommed
Submitter: srl
Maintainer: srl
Last Packager: srl
Votes: 15
Popularity: 0.000000
First Submitted: 2012-04-14 09:52 (UTC)
Last Updated: 2023-05-04 18:02 (UTC)

Dependencies (6)

Required by (0)

Sources (2)

Latest Comments

1 2 3 4 Next › Last »

srl commented on 2023-05-04 18:05 (UTC)

Sorry for the delay, everyone. At some point I put off fixing this package for a few days, and then it slipped off my TODO list. For two years, apparently. Sorry.

I've done a new version upstream, and updated this package here. Please let me know if it's working.

I don't have a mac any more (haven't for a decade), and don't have the ability to do meaningful maintenance here or upstream. At this point I'm semi-blindly merging any PRs I get. If anyone has a mac and would like to take over maintenance, please let met know!

(And thanks to Mettacrawer for bumping this.)

Mettacrawer commented on 2023-05-04 02:01 (UTC) (edited on 2023-05-04 02:03 (UTC) by Mettacrawer)

I modified the PKGBUILD so that it is pommed-light-git.

$ git diff
diff --git a/PKGBUILD b/PKGBUILD
index d7630c5..d1a2a8d 100644
@@ -6,25 +6,31 @@
 # Contributor: dpevp <>
 # Contributor: jordi Cerdan (jcerdan) <>

 pkgdesc="Handles the hotkeys of Apple MacBook (Pro) laptops - lightweight edition"
 arch=('i686' 'x86_64')
+makedepends=('git' 'pkgconfig')
 depends=('alsa-lib' 'pciutils' 'confuse' 'audiofile')
 optdepends=('eject: disc ejection support')
-source=(${pkgname}/archive/v${pkgver}.tar.gz pommed.service)
+source=('git+' pommed.service)

+pkgver() {
+  cd $dfname
+  git describe --long --abbrev=7 | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
 build() {
-  cd ${srcdir}/${dfname}
+  cd $dfname
   make pommed

I'm not pleased with this compile warning that is in the upstream repo:

evdev.c:294:39: warning: the comparison will always evaluate as ‘false’ for the address of ‘name’ will never be NULL [-Waddress]
  294 |       if ((ie->len == 0) || (ie->name == NULL))
      |                                       ^~


char name __flexarr 

is basically this

char name[]

in that case ie->name will always have a non-NULL value.

Mettacrawer commented on 2023-05-04 00:27 (UTC)

Upstream applied a patch but never created a release tarball with that patch. What might work is to create a PKGBUILD that uses git, i.e. a pommed-light-git AUR package.

brentward commented on 2021-02-11 07:00 (UTC)

@tyjak, I had the same error. I was able to resolve it by manually applying a patch referenced here which was to resolve the same error: This is the patch:

Essentially I just changed offending structs to external and I was able to compile the package. From there I just manually followed the install steps in the PKGBUILD.

I will submit my changes to the source. Hopefully we can get it merged and get the package installing again. In the mean time you can pull the up source repo and make the changes to the two files

tyjak commented on 2020-07-26 08:02 (UTC) (edited on 2020-07-26 08:02 (UTC) by tyjak)

Can't install on my macbook air I've got a an error on compilation :

gcc -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now  pommed.o cd_eject.o evdev.o conffile.o audio.o evloop.o power.o beep.o video.o sysfs_backlight.o mactel/x1600_backlight.o mactel/gma950_backlight.o mactel/nv8600mgt_backlight.o mactel/kbd_backlight.o mactel/acpi.o  -pthread -lrt  -lasound  -laudiofile  -lconfuse  -lpci  -lz  -o pommed
/usr/bin/ld : mactel/x1600_backlight.o:(.bss+0x0) : définitions multiples de « lcd_bck_info »; sysfs_backlight.o:(.bss+0x0) : défini pour la première fois ici
/usr/bin/ld : mactel/nv8600mgt_backlight.o:(.bss+0x0) : définitions multiples de « lcd_bck_info »; sysfs_backlight.o:(.bss+0x0) : défini pour la première fois ici
collect2: erreur: ld a retourné le statut de sortie 1
make[1]: *** [<commande interne> : pommed] Erreur 1
make[1] : on quitte le répertoire « /home/david/.cache/yay/pommed-light/src/pommed-light-1.51lw/pommed »
make: *** [Makefile:8 : pommed] Erreur 2
==> ERREUR : Une erreur s’est produite dans build().
erreur lors de la construction : %!s(func() string=0x55c73a31bbb0)

yakshaver commented on 2017-10-20 04:31 (UTC)

This still isn't working for me, so I ended up writing this: It doesn't take care of handling keys, so you'll have to bind it yourself.

yakshaver commented on 2017-10-16 10:10 (UTC)

This at least got pommed to run for me: It seems that the issue is that the new version of confuse does not include sudo ln -s /usr/lib/ /usr/lib/

yakshaver commented on 2017-10-16 09:46 (UTC)

@glowck The fix you mentuioned didn't see to work for me.

joshirio commented on 2017-08-20 08:07 (UTC) (edited on 2017-08-20 08:07 (UTC) by joshirio)

After recent updates it stopped working. If you get the following error on "systemctl status pommed.service": "/usr/bin/pommed: error while loading shared libraries: cannot open shared object" then just rebuild and install pommed-light again and it will work.

temach commented on 2017-06-14 18:10 (UTC)

There is a macro in pommed.h M_VERSION that is hard coded to 1.45lw. So yes, they just forgot to update the version number that is printed. Code is new version.