Search Criteria
Package Details: leafpad 0.8.19-6
Package Actions
| Git Clone URL: | https://aur.archlinux.org/leafpad.git (read-only, click to copy) |
|---|---|
| Package Base: | leafpad |
| Description: | A notepad clone for GTK+ 2.0 |
| Upstream URL: | http://tarot.freeshell.org/leafpad/ |
| Licenses: | GPL-2.0-or-later |
| Submitter: | City-busz |
| Maintainer: | andreas_baumann |
| Last Packager: | andreas_baumann |
| Votes: | 4 |
| Popularity: | 0.61 |
| First Submitted: | 2025-10-27 06:48 (UTC) |
| Last Updated: | 2026-04-23 07:56 (UTC) |
Dependencies (2)
- gtk2AUR (gtk2-patched-filechooser-icon-viewAUR, gtk2-ng-gitAUR, gtk2-ng-gitAUR)
- intltool (make)
Latest Comments
andreas_baumann commented on 2025-11-15 09:40 (UTC)
You are probably right about the signature:
ypoluektovich commented on 2025-11-15 09:14 (UTC)
... And what is that supposed to be protecting us from, that the SHA signature in PKGBUILD doesn't do better? Not to mention that the package is now impossible to install automatically. It feels like the signature should just be dropped from this package.
andreas_baumann commented on 2025-11-13 07:53 (UTC)
Pulled in the patches from github and added them on top of 0.8.9, making the patching transparent. This has the same overall effect on the code as just using the git repo at the current revision, I'm aware of that. :-)
andreas_baumann commented on 2025-11-13 07:37 (UTC) (edited on 2025-11-13 07:39 (UTC) by andreas_baumann)
https://github.com/tarot231/leafpad has not a single tag or release marked. I reckon, this is the original author there. I see a fix in translations which I can pull in manually.
Rebasing the package on the git repo is an idea for fixes, you are right. But first there must be an idea which commit fits to the last release from 2022 (0.8.19).
andreas_baumann commented on 2025-11-13 07:33 (UTC)
The PGP key are in the subdirectory
keys/pgpand can be imported withgpg --import < keys/pgp/05B80A3FFAF8FED36ADC7A31EE109F4A0F184934.asc. This is not a reason to flag a package out-of-date IMHO.andreas_baumann commented on 2025-11-13 07:29 (UTC)
Why should I change leafpad to leafpad-git, wouldn't that just be a new package?
ZeroDot1 commented on 2025-11-12 23:41 (UTC)
"# Maintainer: Aaron Griffin aaron@archlinux.org
Contributor: Link Dupont link@subpop.net
FINAL VERSION, behebt pkgver- und Autotools-Fehler.
pkgname=leafpad-git pkgver=0.8.19.r0.g555c82c pkgrel=1 pkgdesc='A notepad clone for GTK+ 2.0 (Git version)' arch=('x86_64') url='https://github.com/tarot231/leafpad' license=('GPL-2.0-or-later') depends=('gtk2')
HINZUGEFÜGT: autoconf, automake zum Generieren von ./configure
makedepends=('intltool' 'git' 'autoconf' 'automake')
source=('leafpad::git+https://github.com/tarot231/leafpad.git')
sha256sums=('SKIP')
prepare() { cd "${srcdir}/leafpad" }
pkgver() { cd "$srcdir/leafpad"
# Holt Datum und Commit-Hash für die Versionsnummer local ver=$(git log -1 --format="%cd" --date=format:"%Y%m%d") local hash=$(git rev-parse --short HEAD)
printf "0.8.19.r%s.g%s" "${ver}" "${hash}" }
build() { cd "${srcdir}/leafpad"
# NEUER SCHRITT: Generiert das fehlende ./configure Skript # Dies muss vor ./configure ausgeführt werden. autoreconf -fiv
./configure \ --prefix=/usr \ --enable-chooser make }
package() { cd "${srcdir}/leafpad"
make DESTDIR="${pkgdir}" install
echo 'StartupNotify=true' >> "${pkgdir}/usr/share/applications/leafpad.desktop" }"
ZeroDot1 commented on 2025-11-12 23:26 (UTC)
Maintainer: Aaron Griffin aaron@archlinux.org
Contributor: Link Dupont link@subpop.net
pkgname=leafpad-git pkgver=0.8.19.r0.g555c82c # Dies wird später durch makepkg aktualisiert pkgrel=1 pkgdesc='A notepad clone for GTK+ 2.0 (Git version)' arch=('x86_64') url='https://github.com/tarot231/leafpad' license=('GPL-2.0-or-later') depends=('gtk2') makedepends=('intltool' 'git') # 'git' als makedepend hinzugefügt
Verwende die Git-URL als Quelle
source=('git+https://github.com/tarot231/leafpad.git' '0001-fix-format-security-error-from-gcc.patch')
sha256sums sind für Git-Quellen nicht notwendig
sha256sums=('SKIP' '2b99426837e0a78077931e33bbfac280b238e0d170366c09e62bf98770e837dc')
Die Funktion pkgver() extrahiert die korrekte Versionsnummer aus dem Git-Repo
pkgver() { cd "$srcdir/leafpad" # Setze die pkgver auf das letzte Tag plus r<commit-count>.<git-hash> git describe --long --tags | sed 's/([^-]*-)g/r\1&/;s/-/./g' }
prepare() { cd "${srcdir}/leafpad"
patch -Np1 < ../0001-fix-format-security-error-from-gcc.patch }
build() { cd "${srcdir}/leafpad"
./configure \ --prefix=/usr \ --enable-chooser make }
package() { cd "${srcdir}/leafpad"
make DESTDIR="${pkgdir}" install echo 'StartupNotify=true' >> "${pkgdir}/usr/share/applications/leafpad.desktop" }