Package Details: gtk-gnutella-git 1.2.3.r8.g0cbba2f8b-3

Git Clone URL: https://aur.archlinux.org/gtk-gnutella-git.git (read-only, click to copy)
Package Base: gtk-gnutella-git
Description: Efficient Gnutella 2 client (latest git version)
Upstream URL: http://gtk-gnutella.sourceforge.net/
Licenses: GPL-2.0-or-later
Conflicts: gtk-gnutella
Provides: gtk-gnutella
Submitter: HMK
Maintainer: HMK
Last Packager: HMK
Votes: 1
Popularity: 0.092594
First Submitted: 2016-05-06 23:53 (UTC)
Last Updated: 2024-03-16 22:54 (UTC)

Latest Comments

matematico65 commented on 2024-08-25 14:56 (UTC)

Thanks for this package, I've always had a hard time finding a working version on Debian-based distros. I've been using it for a few days but it seems to work perfectly, I'm very satisfied with it. The only remark I can make is that the result of the searches appears black text on a white background on a dark theme of the DE. The theme of the package is correct, it perfectly reflects the theme of the DE except for the search result where black text appears on a white background, only in the box where the search results are displayed. For all other functions it seems to work effectively.

HMK commented on 2024-03-16 22:55 (UTC)

Cleaned up PKGBUILD and repo (removed unused patches)

HMK commented on 2024-03-16 19:37 (UTC)

Thank you for your comment. It builds fine for me without !buildflags but added it anyway. Hope it helps.

Manifest0 commented on 2024-03-16 17:32 (UTC)

Please add "!buildflags" to the options array

For some reason it stopped building because it was not detecting the IEEE-754 float byte-ordering. Adding !buildflags to the options array, fixed it.

HMK commented on 2022-03-29 17:46 (UTC)

Incredible. It's almost 6 years. Thanks for bringing this to my attention.

makepkg is cloning a bare repo. Idk why and also don't care why, so I moved git interaction into pkgver.

I have disabled my patches for sake of making gtk-gnutella compile again.

If anyone is interested in adding working patches for timeout and max connections, you're more than welcome.

Manifest0, if you want to become co-maintainer, let me know.

Manifest0 commented on 2022-03-27 22:54 (UTC)

Is it possible to update the pkgver function to strip the v from the version?

Otherwise the version will be "v1.2.2" which breaks the version verification.

The regular expression should be something like:

git describe --tags| perl -ane '/(\d.\d.\d)/; print $1'

(i'm not good at sed)

Also use the HTTPS url for the git repo as the git url isn't supported anymore by github.

PKGBUILD with the changes mentioned:

pkgname=gtk-gnutella-git
pkgver=1.1.9.r23.g76f8669
pkgrel=1
pkgdesc="Efficient Gnutella 2 client (latest git version)"
arch=('i686' 'x86_64')
url="http://gtk-gnutella.sourceforge.net/"
license=('GPL')
depends=('gtk2' 'desktop-file-utils')
makedepends=('git')
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
replaces=()
backup=()
options=()
install="${pkgname}.install"
source=("${pkgname}::git+https://github.com/gtk-gnutella/gtk-gnutella.git" "${pkgname}.install")
md5sums=('SKIP' '0b6211b511da48346cecdc1d2f963c76')

pkgver() {
  cd ${pkgbase} && git describe --tags| perl -ane '/(\d\.\d\.\d)/; print $1'
}

prepare() {
  cd ${pkgbase}
  git submodule update --init
}

build() {
  cd ${pkgbase}
  ./build.sh --cc=gcc --prefix=/usr --cflags="-Os" --enable-halloc
}

package() {
  cd ${pkgbase}
  make install INSTALL_PREFIX="${pkgdir}/"
  strip -s ${pkgdir}/usr/bin/gtk-gnutella
}

test0 commented on 2016-07-20 11:47 (UTC)

Is the strip line necessary? I though makepkg does that.