You are not logged in.
Pages: 1
This is an application I have missed in Arch Linux, providing a broader package information beside Arch's home page. An information similar to freshmeat.net with details, thumbnails and types of application.
PkgInfo is an Arch Linux Package Information viewer developed in Ruby with the Glade interface. This program allows you to browse in main or application categories for basic package information with detailed descriptions and thumbnails. Also integrates simple package management via pacman for adding or removing packages.
Browse view + introduction (click thumbnails)
Information detail view
Package name, version and short description are provided by pacman. The other informations from PkgData.
[PkgData is Arch Linux Package Data containing package details, types of app, and thumbnail. Also a simple script downloading latest information. Version 0.57 contains 57% of Arch's official packages.
How to install:
1. Enable "Community" repo in /etc/pacman.conf
2. Download pkgdata
http://user-contributions.org/projects/pkgdata/pkg/
pacman -A pkgdata-0.57-1.pkg.tar.gz
3. and pkginfo
http://user-contributions.org/projects/pkginfo/pkg/
pacman -A pkginfo-0.4.2-1-pkg.tar.gz.
Before pkginfo can be installed, install the dependency packages.
My thanks to Penguin helping with Bash scripts and Eugenia suggestions in usability. And Rubyforen.
http://www.rubyforen.de/index.php
Markku
Offline
I've been wishing that thing for so long!
x=0
while x=0 do;
THANK YOU!;
end.
EDIT: Will you put that in AUR anytime?
"...archoholism is a hard disease to cure..."
Archlinux Brasil
Offline
Yes, it makes getting pkg info locally a snap. Thanks!
/path/to/Truth
Offline
EDIT: Will you put that in AUR anytime?
Version 0.4.3 will be in AUR once I find a good solution when using PkgInfo in user mode. The pacman features abs, -Syu, install and remove require root access. Sudo package will be in dependency but need to inform the user to add the user name in /etc/sudoers.
How to know if user has sudo access? "[ `id -u` -ne 0 ]" only checks if root access.
Markku
Offline
AFAIK you can't check for sudo access, you have to assume that he have and execute whatever you want to under sudo, if it fails then he don't have permissions, You can simplify it like, if you want to write /var/lock/xxx for ex. write /tmp/x under sudo first (just echo so it won't fail unless he can't execute under sudo, this is a good workaround...
P.S: sudo id = 0
[My Blog] | [My Repo] | [My AUR Packages]
Offline
You can simplify it like, if you want to write /var/lock/xxx for ex. write /tmp/x under sudo first
If there is no permission sudo will ask for password. If the application is not started from a terminal, there is no password field to enter. The application freezes... waiting for pass.
Markku
Offline
_Gandalf_ wrote:You can simplify it like, if you want to write /var/lock/xxx for ex. write /tmp/x under sudo first
If there is no permission sudo will ask for password. If the application is not started from a terminal, there is no password field to enter. The application freezes... waiting for pass.
You may want to look at gksu. Its a gui for su to gain root access.
Offline
Exactly,
@rasat check http://wael.nasreddine.com/files/config … n/wael_nfs , I've made this script to mount an NFS partition via a key binding long ago.
[My Blog] | [My Repo] | [My AUR Packages]
Offline
I included both gksu (default) and sudo. In menu bar an option to turn sudo on and off with short introduction how to configure. If sudo is off, gksu is active. Gksu work well, though, I don't like the fade-in feature... like defective video card, also temporarily blanks out pkginfo's interface.
pkginfo ver. 0.5
AUR
http://aur.archlinux.org/packages.php?d … =1&ID=5776
pkgdata ver. 0.61
AUR
http://aur.archlinux.org/packages.php?d … =1&ID=5775
Arch pkg
http://user-contributions.org/projects/pkginfo/pkg/
http://user-contributions.org/projects/pkgdata/pkg/
Markku
Offline
Got this error:
aurbuild -sa pkgdata
<snip>
loading package data... done.
checking dependencies... done.
checking for file conflicts...
error: failed to prepare transaction (conflicting files)
pkgdata: usr/bin/pkgdata exists in filesystem
pacman -Qo /usr/bin/pkgdata
/usr/bin/pkgdata is owned by icu 3.4.1-1
Offline
Thanks for the information, good it was noticed at this stage.
I have replaced /usr/bin/pkgdata with /usr/sbin/pkgdatadl. Pkgdata is a lib package, now proper.
Both pkgdata (0.61.1) and pkginfo (0.5.1) are updated in AUR and usercb repo. Tested with aurbuild.
Markku
Offline
Here are more information about PkgData.
http://blog.archlinux.org/2006/06/27/pkgdata/
Markku
Offline
New update version 0.6
Minor bug fix. Includes Quick Start quide.
Earlier there was some problem with ruby-libglade in one of the dependency packages, now its fixed.
Markku
Offline
i was checking it out earlier today, seems quite useful. Good stuff rasat
Offline
Does the 'Install'/' Remove' options work properly?
EDIT: Yes, It does!!!!!!! (post-installation reboot was needed!)
Last edited by s26c.sayan (2007-05-20 07:53:45)
March Linux : An Arch Linux "distrolet" that I am trying to develop (March = My Arch!)
Please take a look......:)
Offline
@rasat
Could you explain me where/how you got this info? I'm referring to pkgdata's apps (detailed catagories) and desc (detailed descriptions) files. Is there a database somewhere (up-to-date) or did you make it?
Offline
Pages: 1