You are not logged in.

#26 2005-01-27 20:03:28

cactus
Taco Eater
From: t͈̫̹ͨa͖͕͎̱͈ͨ͆ć̥̖̝o̫̫̼s͈̭̱̞͍̃!̰
Registered: 2004-05-25
Posts: 4,622
Website

Re: I created "Pacmenu" if anyone is interested

Tigger wrote:

According to my limited knowlege of pacman, "pacman -Sl" will look at whatever is available in the repositories listed in the pacman.conf file from the last time it was resfreshed.  This is what pacmenu uses.  pacmenu then compares this to "pacman -Q" and strips out the packages that are installed.

no.

(eliott@hermes ~)$ pacman -Sl current | grep mysql
current mysql 4.1.9-1
(eliott@hermes ~)$ pacman -Q | grep mysql
courier-imap-mysql 3.0.8-2
mysql 4.1.9-1

"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍

Offline

#27 2005-01-27 20:37:06

Tigger
Member
Registered: 2005-01-25
Posts: 48
Website

Re: I created "Pacmenu" if anyone is interested

Going to need another revision - lol.

Good thing you pointed that out.  It will have to compare the package name and version also to be sure the package is installed.  Not a big deal - just another piped grep to include the search for the version within the package grepped line.

Already changed and new package created.

edit - decided to make it do exact name and version checking

Offline

#28 2005-01-28 00:24:29

Tigger
Member
Registered: 2005-01-25
Posts: 48
Website

Re: I created "Pacmenu" if anyone is interested

Okay the new verson is up there and is now installable with pacman -A so it shows up on the package list.

Fixed - alphabetically lists the packages now - slight oversight on my part as current repo packages showed up before extra repo packages and it was a bit confusing

Fixed - checking installed packages against available - does exact package comparisons now.

Let me know of anything else.

I think I will add group selection in the next update.

The link in the first post has been updated.

Offline

#29 2005-01-28 16:08:44

Tigger
Member
Registered: 2005-01-25
Posts: 48
Website

Re: I created "Pacmenu" if anyone is interested

I went ahead and updated pacmenu to include group package install and removal.

I will upload tonight.

So the features so far are:

Install Individual Packages
Install Group packages - like "kde" or "gnome"
Remove Individual Packages
Remove Group Packages
Refresh the Database
Refresh and Update the system

Offline

#30 2005-01-28 16:33:49

rasat
Forum Fellow
From: Finland, working in Romania
Registered: 2002-12-27
Posts: 2,293
Website

Re: I created "Pacmenu" if anyone is interested

I have added Pacmenu to Wiki's user contributions page:
http://wiki2.archlinux.org/index.php/Us … utionsPage

After awhile I am moving this topic to User Contributions forum.
http://bbs.archlinux.org/viewforum.php?f=27

This forum is for discussion about pacman not pacmenu. smile


Markku

Offline

#31 2005-01-28 17:04:34

Tigger
Member
Registered: 2005-01-25
Posts: 48
Website

Re: I created "Pacmenu" if anyone is interested

That is cool.

Offline

#32 2005-01-29 03:16:04

Tigger
Member
Registered: 2005-01-25
Posts: 48
Website

Re: I created "Pacmenu" if anyone is interested

Check the first post - link to new version is there.

Offline

#33 2005-01-29 07:46:46

dtw
Forum Fellow
From: UK
Registered: 2004-08-03
Posts: 4,439
Website

Re: I created "Pacmenu" if anyone is interested

Go tigger!

Offline

#34 2005-01-29 16:25:35

Tigger
Member
Registered: 2005-01-25
Posts: 48
Website

Re: I created "Pacmenu" if anyone is interested

LOL - just offering back something that I find useful myself!

I updated the link again - I put it on my personal website.

the 1.0-4 version now includes the actual deps so it can be installed right after the base install and will satisfy the deps like any other arch package.

Moderators or Site Admins - you can move this thread if you want.

Offline

#35 2005-01-29 23:59:42

sud_crow
Member
From: Argentina
Registered: 2003-06-30
Posts: 546
Website

Re: I created "Pacmenu" if anyone is interested

Congratulations for the package, since i have Arch that i wanted a method to browse the available packages different to the webpage, with the intro of -Ql repo.


I dont know if this is posible but i was thinking if there is any chance on getting the option, while browsing the available packages (the INSTALL option in the menu), to see a brief description (the web one) of the package. This could be through pressing the D(escription) key or the I(nfo) key while the package is selected.

Just an idea, i think browsing the available packages and knowing what each does would be an awasome addition to the installer.

Again, thanks for the menu!


Leonardo Andrés Gallego
www.archlinux-es.org || Comunidad Hispana de Arch Linux

Offline

#36 2005-01-30 00:10:31

Tigger
Member
Registered: 2005-01-25
Posts: 48
Website

Re: I created "Pacmenu" if anyone is interested

I was thinking about that - need to look at it in more depth.

I am also planning to add a function to check what files belong to what package as a menu option too.

Glad you find it useful too!

Offline

#37 2005-01-30 12:11:37

rasat
Forum Fellow
From: Finland, working in Romania
Registered: 2002-12-27
Posts: 2,293
Website

Re: I created "Pacmenu" if anyone is interested

Its very nice. I think we are here getting something where both devs and users can agree without that "GUI flame". smile
Myself, I will replace my "pacman upgrade icon" to pacmenu. This icon was a shortcut instead of first loading a console and then type "pacman -Syu".

Can you add "refresh abs".

What's the command line starting pacmenu from a menu?... fluxbox
konsole /usr/bin/pacmenu (???)

PS.
versio 1.0-1 --> 1.0-2 = PKGBUILD/package fix
version1.0-1 --> 1.1-1  = system upgrade

EDIT:
konsole -e /usr/bin/pacmenu
In Eterm it looks beautiful.
http://user-contributions.org/projects/ … acmenu.jpg


Markku

Offline

#38 2005-01-30 15:40:54

Tigger
Member
Registered: 2005-01-25
Posts: 48
Website

Re: I created "Pacmenu" if anyone is interested

abs refresh will be added in version 1.1 just for you!

Looks like I better start a changelog on my website wink

Offline

#39 2005-01-30 16:00:47

Tigger
Member
Registered: 2005-01-25
Posts: 48
Website

Re: I created "Pacmenu" if anyone is interested

Ok - 1.1 is now up - added abs refresh just for you rasat!

Offline

#40 2005-01-31 14:19:50

scarecrow
Member
From: Greece
Registered: 2004-11-18
Posts: 715

Re: I created "Pacmenu" if anyone is interested

Pacmenu is great tool and can get even better, I like it a lot...
Thanks a lot for it, Tigger.


Microshaft delenda est

Offline

#41 2005-01-31 15:55:44

Tigger
Member
Registered: 2005-01-25
Posts: 48
Website

Re: I created "Pacmenu" if anyone is interested

No problem - glad you find it useful.

I will try to implement most things that people suggest - as long as it is possible to do.

If there is something you think would be good to have in it, just let me know.

Offline

#42 2005-02-01 05:42:17

rasat
Forum Fellow
From: Finland, working in Romania
Registered: 2002-12-27
Posts: 2,293
Website

Re: I created "Pacmenu" if anyone is interested

rasat wrote:

Would be easier to scroll through the list, if the packages could be categorized as per package category at Arch's home page.
http://www.archlinux.org/packages.php
Instead of listing all, user could specify a category e.g. network or utility. Unfortunately pacman doesn't use these categories.

I contacted apeiro and he setup a package-category site. Its updated along with changes at the home page.
ftp://ftp.archlinux.org/extra/os/i686/packages.txt

It needs some sed, awk and grep to make it into a template.


Markku

Offline

#43 2005-02-01 05:58:00

Tigger
Member
Registered: 2005-01-25
Posts: 48
Website

Re: I created "Pacmenu" if anyone is interested

Shouldn't be a problem to add that as both remove and install menus.

CINSTALL and CREMOVE will be the new menu options and the categoris will be selectable under there.  Hopefully I will have it done tomorrow night and tested so I can upload it to my site for you all to get.

This is getting bigger than I had expected - lol.

Offline

#44 2005-02-01 08:47:31

Tigger
Member
Registered: 2005-01-25
Posts: 48
Website

Re: I created "Pacmenu" if anyone is interested

CINSTALL and CREMOVE have been added.

This means you can install and remove not only by alphabetical order or by group packages, but also by categories like the install CD is setup.

Updated link is in the first post or you can just go to my pacmenu page on my website:

http://linux.jetsue.com/pacmenu.html

Offline

#45 2005-02-01 11:13:42

scarecrow
Member
From: Greece
Registered: 2004-11-18
Posts: 715

Re: I created "Pacmenu" if anyone is interested

Nice one. Next step could be checkboxes, so one can select multiple packages for (de)installation, but I guess you have already considered that.


Microshaft delenda est

Offline

#46 2005-02-01 17:48:40

Tigger
Member
Registered: 2005-01-25
Posts: 48
Website

Re: I created "Pacmenu" if anyone is interested

Ok 1.3 is now up and here are the changes:

* - Added some information to let the user know that the packages.txt file is being retrieved and manipulated for later use.  This takes a while and only downloads if the pacmenu.cat file doesn't exist in /etc.  /etc/pacmenu.cat is the category list and /etc/pacmenu.pkgs lists all the packages from the packages.txt file.  This gets re-fetched when you either refresh or update as well but the delay won't be a surprise anymore with the included dialog

* - Changed the initial menu to have the basics only - the INSTALL and REMOVE are submenus now that you go to from the initial menu.
Under these, there is the option to have an alphabetical menu, a category menu or a group menu.

* - Changed all the package selection menus to checklist so multiple packages or groups can be selected for install or removal.

Wow - this thing is way more feature rich than I had imagined it would be - lol. Thanks for all the suggestions folks!

BTW -  tried to see if a description could be added somewhere but it is difficult as not all descriptions are a single line thus making them very difficult to parse properly.

Offline

#47 2005-02-01 18:19:47

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: I created "Pacmenu" if anyone is interested

how about "Press D to see a description" and have a popup similar to the way the kernel menuconfig works.... you could spit out the whole -Qi output

Offline

#48 2005-02-01 18:27:33

Tigger
Member
Registered: 2005-01-25
Posts: 48
Website

Re: I created "Pacmenu" if anyone is interested

'D" - Can't do that in bash/dialog.  Will see about adding another button or menu item for queries.  Pressing "D" will take you to the first package that starts with a "d".  Same goes for any other letter.

I'm waiting on rasat to see if the packages.txt list can be preformatted on the ftp - this will make the category sort quick on new lists.

The category menu will only show those packages that are in the category list provided by Arch so any other repo's you have that are not "Official" will not show up by category - you have to use alphabetical for that.

Having to format the category list using bash/awk/sed is painfully slow due to the size so I asked rasat if he can ask apeiro to preformat the file like the /etc/pacmenu.pkgs file.

Offline

#49 2005-02-01 19:54:25

Tigger
Member
Registered: 2005-01-25
Posts: 48
Website

Re: I created "Pacmenu" if anyone is interested

1.4 will be coming soon - apeiro gave me a better way of parsing the packages.txt file proving you can teach an old dog new tricks - lol.

rasat also pointed out that there should be the option of downloading the file rather than just going ahead and fetching it - sorry to anyone that gets offended by this - 1.4 will ask your permission to get the file.

Offline

#50 2005-02-02 19:36:12

Tigger
Member
Registered: 2005-01-25
Posts: 48
Website

Re: I created "Pacmenu" if anyone is interested

1.4 is ready:

http://linux.jetsue.com/pacmenu.html

http://linux.jetsue.com/pacmenu-1.4-1.pkg.tar.gz


Changelog for 1.4:

*-removed automatic fetching of the category template file and provided an option to update it on the main menu.

*-better parsing of the packages.txt file thanks to apeiro's little suggestion and code snippet he gave me

*-reorganized the function order in the file - no visible changes to the user, just easier to follow the code.

A big thanks to all for the suggestions so far for pacmenu and a special thanks to apeiro for his code snippet smile

Offline

Board footer

Powered by FluxBB