Package Details: gtk-gnutella-git 1.2.2.r0.gadc121a3e-1

Git Clone URL: (read-only, click to copy)
Package Base: gtk-gnutella-git
Description: Efficient Gnutella 2 client (latest git version)
Upstream URL:
Licenses: GPL
Conflicts: gtk-gnutella
Provides: gtk-gnutella
Submitter: HMK
Maintainer: HMK
Last Packager: HMK
Votes: 0
Popularity: 0.000000
First Submitted: 2016-05-06 23:53 (UTC)
Last Updated: 2022-03-29 17:45 (UTC)

Latest Comments

xiota commented on 2023-10-14 06:47 (UTC) (edited on 2024-03-03 10:02 (UTC) by xiota)

Clean chroot. pkgver needs adjustment:

git describe --long --tags --abbrev=8 --exclude='[lc]*' | sed -e 's/^v\(.*\)-\([0-9]\+\)-\(g.*\)/\1.r\2.\3/'

Error message:

==> Starting pkgver()...
==> ERROR: pkgver is not allowed to contain colons, forward slashes, hyphens or whitespace.
==> ERROR: pkgver() generated an invalid version: libera-verify-7798-84-gd5eef2621

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:

pkgdesc="Efficient Gnutella 2 client (latest git version)"
arch=('i686' 'x86_64')
depends=('gtk2' 'desktop-file-utils')
source=("${pkgname}::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}
  ./ --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.