Package Details: gtk-gnutella 1.2.3-2

Git Clone URL: https://aur.archlinux.org/gtk-gnutella.git (read-only, click to copy)
Package Base: gtk-gnutella
Description: A Gnutella server/client
Upstream URL: https://github.com/gtk-gnutella/gtk-gnutella
Licenses: GPL
Submitter: darose
Maintainer: darose
Last Packager: darose
Votes: 11
Popularity: 0.000000
First Submitted: 2015-10-21 05:08 (UTC)
Last Updated: 2025-10-04 16:06 (UTC)

Latest Comments

1 2 3 Next › Last »

darose commented on 2025-10-04 16:07 (UTC)

Thanks for the tip @trinitronx. Package updated.

trinitronx commented on 2025-10-04 04:43 (UTC)

For systems with a newer compiler that defaults to std=c23, there are build errors:

cc -c -I../.. -I.. -I../if/gen -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/p11-kit-1  -DCORE_SOURCES -DCURDIR=src/core -O2 -g -pthread -momit-leaf-frame-pointer -W -Wall -Wformat=2 -Wshadow -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -D_FORTIFY_SOURCE=3 -O2  alive.c
In file included from ../common.h:286,
                 from ../lib/prop.h:28,
                 from gui_property.c:32:
../types.h:50:13: error: ‘bool’ cannot be defined via ‘typedef’
   50 | typedef int bool;
      |             ^~~~
../types.h:50:13: note: ‘bool’ is a keyword with ‘-std=c23’ onwards
../types.h:50:1: warning: useless type name in empty declaration
   50 | typedef int bool;
      | ^~~~~~~

[...SNIP...]

To work around these, CFLAGS must be set to use an older C standard (e.g. c17, c99, gnu17, etc...)

For example, this PKGBUILD patch fixed the build for me:

diff --git a/PKGBUILD b/PKGBUILD
index 956f991..83a383a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -23,6 +23,7 @@ sha256sums=(

 build() {
   cd "$srcdir/$pkgname-$pkgver"
+  export CFLAGS="${CFLAGS} -std=gnu17"
   ./build.sh --prefix=/usr
 }


ejona86 commented on 2024-08-17 01:55 (UTC)

The only trick to compile 1.2.3 is to use options=('!lto') to fix "IEEE-754 float byte-ordering" not being detected.

darose commented on 2021-07-13 16:04 (UTC)

Ah. Thanks for the pointer. I didn't realize they had moved over to GitHub. (The link to GH from their SF page is not very obvious or prominent.)

Will work on updating to the new version ASAP.

postcd commented on 2021-07-13 15:31 (UTC)

@darose it is at https://github.com/gtk-gnutella/gtk-gnutella which is the page linked from http://gtk-gnutella.sourceforge.net

darose commented on 2021-07-13 15:25 (UTC)

@Manifest0 Why the out of date flag? I don't see any newer version of the code than 1.2.0. (https://sourceforge.net/projects/gtk-gnutella/files/gtk-gnutella/)

darose commented on 2020-03-24 15:22 (UTC)

FYI, I filed a bug, and this has been fixed upstream: https://sourceforge.net/p/gtk-gnutella/bugs/556/

Just waiting for a new release from upstream and I'll update the package.

darose commented on 2020-03-16 01:09 (UTC)

Will take a look when I have a moment, but the issue is probably in the upstream code and I'll likely just have to file a bug and wait till they fix it. This code is very brittle - often breaks due to other package updates changing API's and such.

artivision commented on 2020-03-13 19:53 (UTC)

Good day, cannot even build now.

darose commented on 2020-01-02 03:25 (UTC)

@artivision: I just updated to v1.1.15-2, which integrates a patch from the author. (See https://sourceforge.net/p/gtk-gnutella/bugs/552/) LMK if that fixes it.