Further Information:
Home
What's New
Resource Centre
WHC Library
Opentalk Forum
About Us
|
The Tcl programming language - Tcl/ Tcl/Tk, and Expect
gui for freebsd
Posted by carloo (carloo), 16 May 2004 have a lot of friends who use windows xp,while im using freebsd and im happy with it,more than my friends with windows. i want that they could try this powerful os,but i need that it could be more user friendly. i can pay someone who wants to make this work.
freebsd needs to have more gui and wizards to make things easier. i've looked all around that a lot of projects use tcl/tk to make their gui. the first thing in freebsd which need to have a gui is the ports installation. what i need to have is a gui with a blank field where peoples write a variable (the right path where the port it is) and a button where there is written "install now". when this button is pressed,some shell commands should be executed and an item with a standard icon is written inside the icewm programs file . i want to change these commands easily because im not a coder,and i want to use this gui for a lot of operations. i will use this gui for the following operations :
1) ports tree syncronizing : to do each time before to install a port.
the command to be invoked by the gui is :
/usr/ports/make index
2) port installation : the gui should look inside the ports tree where it is the port to install and do : "make install clean". here there are 1 variable to get and two commands to execute:
the variable to get from the gui is the right path of the port. for example for apache is :
/usr/ports/www/apache-1.3.29_3
the first command to be invoked by the gui is
cd /usr/ports/www/apache-1.3.29_3
and the second is :
make install clean
3) clean the package db from errors :
the command to be invoked by the gui is :
pkgdb -F
4) to keep the ports db updated :
the command to be invoked by the gui is :
portsdb -uU
5) update of a selected port : the gui should get the name of the port to upgrade.
the command to be invoked by the gui is :
portupgrade name of the port
6) delete a port : the gui should get the name of the package to deinstall
the command to be invoked by the gui is :
pkg_deinstall name of the port
commands explained from point 1 3 and 4 should be invoked by the gui in invisible mode. will be wonderful if a progress bar will tell how much time it remains to end the operation the gui should inform that the current operation is ended,too.
lemme know if someone is interested. thanks
This page is a thread posted to the opentalk forum
at www.opentalk.org.uk and
archived here for reference. To jump to the archive index please
follow this link.
|
|
|