Package Details: tkpacman 1.8.0-1

Git Clone URL: https://aur.archlinux.org/tkpacman.git (read-only)
Package Base: tkpacman
Description: A lightweight GUI for pacman built with Tcl/Tk
Upstream URL: http://sourceforge.net/projects/tkpacman
Keywords: GUI pacman system
Licenses: GPL
Submitter: herremaw
Maintainer: herremaw
Last Packager: herremaw
Votes: 40
Popularity: 0.719637
First Submitted: 2013-08-25 14:25
Last Updated: 2017-10-22 14:33

Dependencies (11)

Required by (0)

Sources (1)

Latest Comments

Le_Limule commented on 2017-11-06 14:51

@herremaw

it was a fresh directory. it was the 1st time i install tkpacman on my Arch Linux.

perhaps my pb is related to the fact i have a (very) old system: my Arch Linux is synchronised to archive.archlinux.org at the date of 2013-08-31.

herremaw commented on 2017-11-05 15:01

@Le_Limule
Strange. I did not have that problem:
LANG=fr_FR.UTF-8; makepkg -s
==> Création du paquet tkpacman 1.8.0-1 (dim. nov. 5 15:36:12 CET 2017)
==> Vérification des dépendances pour l’exécution...
==> Vérification des dépendances pour la compilation...
==> Récupération des sources...
-> Téléchargement de tkpacman-1.8.0.tar.gz...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 353 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 67499 100 67499 0 0 67499 0 0:00:01 --:--:-- 0:00:01 67499
==> Validation des fichiers source avec md5sums...
tkpacman-1.8.0.tar.gz ... Réussite
==> Extraction des sources...
-> Extraction de tkpacman-1.8.0.tar.gz avec bsdtar
==> Entre dans l’environnement fakeroot...
==> Lancement de package()...
==> Nettoyage de l’installation...
-> Suppression des fichiers libtool...
-> Suppression des fichiers indésirables...
-> Suppression des fichiers de bibliothèques statiques...
-> Nettoyage des symboles inutiles dans les fichiers binaires et les bibliothèques...
-> Compression des pages de man/info...
==> Recherche des erreurs d’empaquetage…
==> Création du paquet « tkpacman »...
-> Génération du fichier .PKGINFO...
-> Génération du fichier .BUILDINFO...
-> Génération du fichier .MTREE...
-> Compression du paquet...
==> Quitte l’environnement fakeroot.
==> Création finie : tkpacman 1.8.0-1 (dim. nov. 5 15:36:14 CET 2017)

I have tried a few times to reproduce the error you have encountered, but I could not do so. Could you also retry it in a fresh directory? Maybe there are some files left from a previous build?

Le_Limule commented on 2017-11-05 14:21

hello,

i had a pb:

[utilisateur@ordi tkpacman]$ makepkg -si
==> Création du paquet tkpacman 1.8.0-1 (dim. nov. 5 14:20:15 CET 2017)
==> Vérification des dépendances pour l’exécution...
==> Vérification des dépendances pour la compilation...
==> Récupération des sources...
-> tkpacman-1.8.0.tar.gz trouvé
==> Validation des fichiers sources avec md5sums...
tkpacman-1.8.0.tar.gz ... Réussite
==> Extraction des sources...
-> Extraction de tkpacman-1.8.0.tar.gz avec bsdtar
==> Suppression du répertoire pkg/ existant...
==> Entre dans l’environnement fakeroot...
==> Lancement de package()...
install: impossible d'accéder à « /home/utilisateur/builds/tkpacman/pkg/t/usr/share/tkpacman »: Aucun fichier ou dossier de ce type
make: *** [install] Erreur 1
==> ERREUR : Une erreur s’est produite dans package().
Abandon...
[utilisateur@ordi tkpacman]$


i edited the PKGBUILD, before the "make ... install" line, and i put this:
mkdir -p $pkgdir/usr/share/$pkgname/icons
mkdir -p $pkgdir/usr/share/$pkgname/msgs
mkdir -p $pkgdir/usr/share/$pkgname/askpass/msgs
mkdir -p $pkgdir/usr/bin
mkdir -p $pkgdir/usr/share/applications
mkdir -p $pkgdir/usr/share/doc/$pkgname/en
mkdir -p $pkgdir/usr/share/doc/$pkgname/nl

and it works.

Alad commented on 2017-10-22 18:37

Thanks for the update.

What I meant with /usr/lib is - as I understand file-hierarchy(7) - executable files like askpass.tcl belong there. However, doing so is probably impractical when only a single file in /usr/share is executable.

herremaw commented on 2017-10-22 14:52

Version 1.8.0 has been uploaded:
- Corrections to the predefined templates for the "terminal" option:
- roxterm was removed because it currently does not work wel
with tkPacman
- The template for konsole was corrected
- A template for qterminal was added.
- The help text for this option was corrected accordingly
- The runasroot option "sudo" now also works in KDE without having to
modify the sudo configuration in an awkward way. The help text was
modified accordingly.
- The AUR PKGBULD file now uses a Makefile. I thank Alad Wenter for
showing me how to set up a Makefile.

herremaw commented on 2017-10-22 14:49

@Alad
I have just uploaded a new version of tkpacman with a Makefile based on your proposal. I have removed the execute permission for main.tcl, but I did not manage to remove it for askpass.tcl.

The latter is called indirectly by "sudo --askpass" by storing "/usr/share/tkpacman/askpass/askpass.tcl" in the environment variable "SUDO_ASKPASS".If I put "tclsh /usr/share/tkpacman/askpass/askpass.tcl" in "SUDO_ASKPASS" "sudo --askpass" fails.

herremaw commented on 2017-10-15 06:13

@Alad
Thank you. I will have a look at it.

At the moment tkPacman needs "askpass.tcl" to be executable, but that can be avoided. However, I am not sure that I understand the reason for your quote of file-hierarchy(7). Do you mean that the tcl-sources should be in /usr/lib/tkpacman rather than in /usr/share/tkpacman?

Alad commented on 2017-10-12 22:08

https://paste.xinu.at/OmIIk/

Usage: make DESTDIR="$pkgdir" PREFIX='/usr' install

On that regard, how necessary is it to have main.tcl and askpass.tcl as executables in /usr/share? (assuming they need to be executable and not run by tclsh) Compare file-hierarchy(7):

/usr/lib
Static, private vendor data that is compatible with all
architectures (though not necessarily architecture-independent).
Note that this includes internal executables or other binaries
that are not regularly invoked from a shell. Such binaries may be
for any architecture supported by the system. Do not place public
libraries in this directory, use $libdir (see below), instead.

herremaw commented on 2017-10-07 14:31

@Alad
No problem. No need to hurry.

Alad commented on 2017-10-07 13:52

herremaw, sorry for the late reply; I'm a bit busy at the moment. I'll write you back on the Makefile as soon as I have the time.

All comments