Package Details: gettext-git 0.24.r29.gd65c1d5cb-1

Git Clone URL: https://aur.archlinux.org/gettext-git.git (read-only, click to copy)
Package Base: gettext-git
Description: GNU internationalization library
Upstream URL: https://www.gnu.org/software/gettext/
Licenses: GPL-3.0-or-later
Conflicts: gettext
Provides: gettext
Submitter: Chocobo1
Maintainer: Chocobo1
Last Packager: Chocobo1
Votes: 0
Popularity: 0.000000
First Submitted: 2017-08-13 18:55 (UTC)
Last Updated: 2025-03-30 13:29 (UTC)

Required by (635)

Sources (1)

Latest Comments

Chocobo1 commented on 2025-03-30 13:29 (UTC)

thanks for the package.

You're welcome!

Can you please follow the GIT submodule guidelines and download the git submodules in the source array and reference them in prepare()? Actually, the guidelines say that you should download them via the source array.

This is actually a big PITA for maintenance and I would rather not unless it brings substantial benefits (and I'm not aware of any for a vcs package).

(And also, you should change the license identifier to make it SPDX compliant.)

Sure, done.

build() fails for me while running ./configure: ./configure: line 118758: ./tree-sitter.cfg: No such file or directory

Looks like an upstream issue. You should report it to upstream.

dreieck commented on 2025-03-30 12:52 (UTC)

build() fails for me while running ./configure:

[...]
checking for emacs... emacs
checking where .elc files should go... ${datadir}/emacs/site-lisp
./configure: line 118758: ./tree-sitter.cfg: No such file or directory
configure: error: ./configure failed for gettext-tools
==> ERROR: A failure occurred in build().

Regards!

dreieck commented on 2025-03-30 12:44 (UTC)

Ahoj,

thanks for the package.
Can you please follow the GIT submodule guidelines and download the git submodules in the source array and reference them in prepare()?

Actually, the guidelines say that you should download them via the source array.

(And also, you should change the license identifier to make it SPDX compliant.)

Regards and thanks for the package!


==> Starting prepare()...
Submodule 'gnulib' (git://git.sv.gnu.org/gnulib.git) registered for path 'gnulib'
Cloning into '/var/cache/makepkg/build/gettext-git/src/gettext/gnulib'...
Submodule path 'gnulib': checked out '979dcc75b404ed579e588e048a13145f04440e15'

Chocobo1 commented on 2020-09-05 17:53 (UTC)

Please avoid pull git submodules recursively. Users who build other packages which use gnulib may benefit from already having it in SRCDEST-directory.

OK done, however I really dislike this way as it add more maintenance burden, therefore I would only change it upon request.

haawda commented on 2020-09-05 16:56 (UTC)

Please avoid pull git submodules recursively. Users who build other packages which use gnulib may benefit from already having it in SRCDEST-directory.

# Maintainer: Chocobo1 <chocobo1 AT archlinux DOT net>

pkgname=gettext-git
pkgver=0.21.r12.ge645b7d56
pkgrel=1
pkgdesc="GNU internationalization library"
arch=('i686' 'x86_64')
url="https://www.gnu.org/software/gettext/"
license=('GPL3')
depends=('glibc' 'glib2' 'gperf' 'libunistring' 'ncurses')
makedepends=('git' 'fpc' 'grep' 'help2man' 'wget' 'xz')
provides=('gettext')
conflicts=('gettext')
source=("git+https://git.savannah.gnu.org/git/gettext.git" git://git.sv.gnu.org/gnulib)
sha256sums=('SKIP' 'SKIP')

prepare() {
  cd "gettext"
  git submodule init
  git config submodule.gnulib.url ../gnulib
  git submodule update
}

pkgver() {
  cd "gettext"

  git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}

build() {
  cd "gettext"

  ./autogen.sh
  ./configure \
    --prefix="/usr" \
    --without-gettext-tools
  make maintainer-update-po-local
}

check() {
  cd "gettext"

  make check
}

package() {
  cd "gettext"

  make DESTDIR="$pkgdir" install
}

Chocobo1 commented on 2020-07-29 13:59 (UTC)

I needed to install fpc, the Free Pascal Compiler, to build.

Fixed, thanks!

haawda commented on 2020-07-29 13:29 (UTC)

I needed to install fpc, the Free Pascal Compiler, to build.