LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Blogs > radiodee1
User Name
Password

Notices

Rate this Entry

The same GTK project with a bug fix

Posted 10-25-2009 at 03:28 PM by radiodee1
Updated 10-25-2009 at 03:56 PM by radiodee1

--10/25/2009--

There was this bug in my GTK project. The correct version number for a package didn't always show up. I fixed that in the most recent version.

Here's the link.

https://sourceforge.net/projects/gaptsearch/

GAPTSEARCH
The idea behind this project is to have a way to search and display package information on a debian system, in a graphical way, without having to become root user.

As a consequence, the program I came up with is a search tool, but not a management tool. You can view all your package info but you cannot change your system. That's the way it's supposed to be, though, and I use the program frequently myself before and after I install software. I like to install software using aptitude from the command line, and this program helps me get the spelling of package names right when I'm typing. I leave it open on the desktop while I'm actually typing, and now I don't get my package names misspelled half as often.

The inspiration for the project was the synaptic program. I was pleased by the ability to enter the name (or part of the name) of the package you want to search for, and then getting a list of packages that match that search criteria. Synaptic, though, requires that you enter your root password. Also I believe it uses apt-get as a back end. I feel my program is better because it uses whatever package manager you want to actually install packages, and you don't need to log in as root.

The project uses apt-cache and aptitude commands internally to produce the various lists and descriptions. You can choose to search using either one.

It's called gaptsearch, which is the letter 'g' followed by the words 'apt' and 'search', and then all smushed together.

It is available on sourceforge as a tar ball or a i386 deb package. I've installed the deb on lenny and squeeze and in a VM on a ubuntu system. The tar ball is set up to produce a debian package. This is the procedure to make the package from the tar.gz package:

cd into the top level of the unpacked tar ball as regular user. Then execute the following commands.

Code:
./configure
fakeroot debian/rules binary
That's about it. The deb is created for you in the parent directory to the one you're in. The version I've committed most recently is 1.1.3-1 .
Posted in Uncategorized
Views 768 Comments 0
« Prev     Main     Next »
Total Comments 0

Comments

 

  



All times are GMT -5. The time now is 10:32 PM.

Main Menu
Advertisement

My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration