Package Details: gnokii 0.6.31-21

Git Clone URL: https://aur.archlinux.org/gnokii.git (read-only, click to copy)
Package Base: gnokii
Description: Tools and user space driver for use with mobile phones
Upstream URL: https://www.gnokii.org/
Licenses: GPL
Submitter: arojas
Maintainer: Bevan
Last Packager: Bevan
Votes: 0
Popularity: 0.000000
First Submitted: 2021-05-08 09:13 (UTC)
Last Updated: 2025-07-11 18:07 (UTC)

Latest Comments

Bevan commented on 2025-07-11 18:07 (UTC)

Hi dreieck, thanks for the hint! I updated the package accordingly.

dreieck commented on 2025-07-09 10:43 (UTC)

Ahoj,

to make build with GCC 15.x succeeding, please add -Wno-error=incompatible-pointer-types to the CFLAGS.

Otherwise, build fails (for me) with many errors like

xgnokii_xkeyb.c:228:30: error: initialization of ‘void (*)(void)’ from incompatible pointer type ‘void (*)(GtkWidget *, void *)’ {aka ‘void (*)(struct _GtkWidget *, void *)’} [-Wincompatible-pointer-types]
  228 |         {NULL, "<control>W", CloseXkeyb, 0, NULL},
      |                              ^~~~~~~~~~
xgnokii_xkeyb.c:228:30: note: (near initialization for ‘menu_items[1].callback’)
xgnokii_xkeyb.c:165:20: note: ‘CloseXkeyb’ declared here
  165 | static inline void CloseXkeyb(GtkWidget * w, gpointer data)
      |                    ^~~~~~~~~~

diff to the PKGBUILD:

--- PKGBUILD.orig   2025-07-09 12:29:20.873425733 +0200
+++ PKGBUILD    2025-07-09 12:42:40.903459186 +0200
@@ -49,2 +49,7 @@
   cd $pkgname-$pkgver
+
+  _CFLAGSADDITIONS="-Wno-error=incompatible-pointer-types"
+  CFLAGS+=" ${_CFLAGSADDITIONS}"
+  export CFLAGS
+
   ./configure --prefix=/usr --sysconfdir=/etc --sbindir=/usr/bin \

Regards and thanks for the package!