View previous topic :: View next topic |
Author |
Message |
Karim Apprentice
Joined: 13 Apr 2004 Posts: 218
|
Posted: Tue Jun 08, 2004 9:54 pm Post subject: Yet another Portage frontend: guitoo revisited |
|
|
Hi!
Well, I like the name "guitoo" ... and if no one objects to that.
Guitoo is a little project in C++ to learn QT Designer. More information at http://guitoo.sourceforge.net with screenshots.
So if anyone feels for some testing, the source code is found at sourceforge, including an executable. Sorry, have not learn howto create ebuilds yet.
Any feedback will be greatly appreciated |
|
Back to top |
|
|
headache Apprentice
Joined: 26 May 2004 Posts: 226
|
Posted: Tue Jun 08, 2004 10:37 pm Post subject: |
|
|
Looks very nice...
Ebuilds? _________________ "I'd rather have a President who does it to a woman than one who does it to his country" -- Shirley Maclaine
Liberal (adj.): Free from bigotry; open to progress; tolerant of others. |
|
Back to top |
|
|
Ard Righ Guru
Joined: 24 Jun 2002 Posts: 337 Location: Wellington, NZ
|
Posted: Wed Jun 09, 2004 2:02 am Post subject: |
|
|
headache wrote: | Looks very nice... |
I have to agree it looks very nice. It depend on having KDE or QT packages installed however, and I prefer to run GTK packages |
|
Back to top |
|
|
Karim Apprentice
Joined: 13 Apr 2004 Posts: 218
|
Posted: Wed Jun 09, 2004 8:49 pm Post subject: |
|
|
headache wrote: | Looks very nice...
Ebuilds? |
Thanks!
You can find the ebuild at http://guitoo.sourceforge.net. I think I got it right.
Here is it how you install it:
1. Download the ebuild and the source. The files can also be found at sourceforge.net.
2. Move "guitoo-0.20.1.ebuild" to "/usr/local/portage/app-portage/guitoo".
Code: | mkdir /usr/local/portage/app-portage/guitoo
cp guitoo-0.20.1.ebuild /usr/local/portage/app-portage/guitoo/. |
3. "${PORTDIR_OVERLAY}" has to be defined in "/etc/make.conf", but mostly, it's "/usr/local/portage".
4. Then type Code: | ebuild guitoo-0.20.1.ebuild digest |
5. Move "guitoo-0.20.1.tar.gz" to "/usr/portage/distfiles".
Code: | cp guitoo-0.20.1.tar.gz /usr/portage/distfiles/. |
6. Finally type
7. |
|
Back to top |
|
|
Voltago Advocate
Joined: 02 Sep 2003 Posts: 2593 Location: userland
|
Posted: Wed Jun 09, 2004 8:58 pm Post subject: |
|
|
Ard Righ wrote: |
I have to agree it looks very nice. It depend on having KDE or QT packages installed however, and I prefer to run GTK packages |
You know porthole? |
|
Back to top |
|
|
Karim Apprentice
Joined: 13 Apr 2004 Posts: 218
|
Posted: Thu Jun 10, 2004 7:58 am Post subject: |
|
|
Voltago wrote: | Ard Righ wrote: |
I have to agree it looks very nice. It depend on having KDE or QT packages installed however, and I prefer to run GTK packages |
You know porthole? |
Porthole is emerged, really nice! Guitoo is much the same concept.
Porthole has some more advanced features, that guitoo lacks.
Then Guitoo i C++/QT and Porthole Python/GTK.
Though the idea is to improve on the user friendliness.
Make it easy for the user to get an overview of the system ... have still a long way to go
Please, go ahead and try it, and tell me what you like or not. |
|
Back to top |
|
|
Karim Apprentice
Joined: 13 Apr 2004 Posts: 218
|
|
Back to top |
|
|
vdboor Guru
Joined: 03 Dec 2003 Posts: 592 Location: The Netherlands
|
Posted: Tue Jun 22, 2004 8:34 am Post subject: |
|
|
Dude this looks very nice! A QT frontend is exactly what I was looking for! (I'm a very big fan of KDE, and it's tools for application development)
Btw, I have a suggestion for you:
I notice that most people create a GUI that work exactly like the emerge command line, but I woulc suggest the following:
- If you deside to "emerge -u world", show a list of packages with checkboxes in front of them. People can deside what packages they really want to merge.
..I think this is the value/bennefits of a gui interface if something shows exactly the same as "emerge -av -u world", I'd rather use the command line.
(I mean, people even invent menu's with the --ask and --pretend options, but this is imho very useless in a gui!)
- Could you also find a way to run an emerge in the background, and attach to it again as well? (as I always use emerge from a screen)
Thanks in advice. _________________ The best way to accelerate a windows server is by 9.81M/S²
Linux user #311670 and Yet Another Perl Programmer
[ screenies | Coding on KMess ] |
|
Back to top |
|
|
genstef Retired Dev
Joined: 13 Jun 2004 Posts: 668 Location: M/Bay/Germany
|
Posted: Tue Jun 22, 2004 1:07 pm Post subject: |
|
|
I suggest adding this patch to the ebuild for easier and automatic fast download:
Code: | --- /home/stefan/guitoo-0.21.0.ebuild 2004-06-22 15:00:04.223435888 +0200
+++ /usr/local/portage/app-portage/guitoo/guitoo-0.21.0.ebuild 2004-06-22 15:02:27.521651248 +0200
@@ -5,10 +5,10 @@
inherit kde-base || die
need-kde 3.2
-RESTRICT="fetch"
+RESTRICT="nomirror"
DESCRIPTION="Portage frontend"
HOMEPAGE="guitoo.sourceforge.net"
-SRC_URI="http://prdownloads.sourceforge.net/guitoo/${P}.tar.gz"
+SRC_URI="mirror://sourceforge/guitoo/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"
|
|
|
Back to top |
|
|
Karim Apprentice
Joined: 13 Apr 2004 Posts: 218
|
Posted: Tue Jun 22, 2004 5:09 pm Post subject: |
|
|
vdboor wrote: | Dude this looks very nice! A QT frontend is exactly what I was looking for! (I'm a very big fan of KDE, and it's tools for application development)
Btw, I have a suggestion for you:
I notice that most people create a GUI that work exactly like the emerge command line, but I woulc suggest the following:
- If you deside to "emerge -u world", show a list of packages with checkboxes in front of them. People can deside what packages they really want to merge.
..I think this is the value/bennefits of a gui interface if something shows exactly the same as "emerge -av -u world", I'd rather use the command line.
(I mean, people even invent menu's with the --ask and --pretend options, but this is imho very useless in a gui!)
- Could you also find a way to run an emerge in the background, and attach to it again as well? (as I always use emerge from a screen)
Thanks in advice. |
Great you like it
1. When you have the results from "emerge My World", you can select multiple packages by ctrl-clicking them. Then you press "emerge". A checkbox would be more obvious.
2. It would be a great feature to have emerge in the background. I'll look into that.
Thanks for your feedback! |
|
Back to top |
|
|
Karim Apprentice
Joined: 13 Apr 2004 Posts: 218
|
Posted: Tue Jun 22, 2004 5:27 pm Post subject: |
|
|
genstefan wrote: | I suggest adding this patch to the ebuild for easier and automatic fast download:
Code: | --- /home/stefan/guitoo-0.21.0.ebuild 2004-06-22 15:00:04.223435888 +0200
+++ /usr/local/portage/app-portage/guitoo/guitoo-0.21.0.ebuild 2004-06-22 15:02:27.521651248 +0200
@@ -5,10 +5,10 @@
inherit kde-base || die
need-kde 3.2
-RESTRICT="fetch"
+RESTRICT="nomirror"
DESCRIPTION="Portage frontend"
HOMEPAGE="guitoo.sourceforge.net"
-SRC_URI="http://prdownloads.sourceforge.net/guitoo/${P}.tar.gz"
+SRC_URI="mirror://sourceforge/guitoo/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"
|
|
Really nice
guitoo-0.21.0.ebuild is now patched at http://guitoo.sourceforge.net
Installation instruction would be then:
Edit your make.conf for local packages
Code: | echo PORTDIR_OVERLAY="/usr/local/portage" >> /etc/make.conf |
Unmask guitoo
Code: | mkdir /etc/portage
echo "app-portage/guitoo ~x86" >> /etc/portage/package.keywords |
Add local repository for guitoo ebuild
Code: | mkdir /usr/local/portage
mkdir /usr/local/portage/app-portage
mkdir usr/local/portage/app-portage/guitoo
cp guitoo-0.21.0.ebuild usr/local/portage/app-portage/guitoo |
emerge guitoo
Code: | ebuild guitoo-0.21.0.ebuild digest
emerge -v guitoo |
|
|
Back to top |
|
|
nesl247 Veteran
Joined: 15 Jun 2004 Posts: 1614 Location: Florida
|
Posted: Tue Jun 22, 2004 5:34 pm Post subject: |
|
|
Why is guitoo detecting already upgraded packages to be upgraded.. And it wants to downgrade gnome.. Then when i do emerge -puD world and emerge -puD system i dont get everything that guitoo wants to upgrade? |
|
Back to top |
|
|
Karim Apprentice
Joined: 13 Apr 2004 Posts: 218
|
Posted: Wed Jun 23, 2004 9:28 am Post subject: |
|
|
iotc247 wrote: | Why is guitoo detecting already upgraded packages to be upgraded.. And it wants to downgrade gnome.. Then when i do emerge -puD world and emerge -puD system i dont get everything that guitoo wants to upgrade? |
I suspect that guitoo internal list of packages are not update. Searching for "upgradables packages" is based on myworld.xml and portagetree.xml.
Emerge wants to downgrade gnome for me too. You can find posts about that.
So go to "Tools" tab and do generate myworld.xml and portagetree.xml! |
|
Back to top |
|
|
SoulSe Tux's lil' helper
Joined: 07 Sep 2003 Posts: 134 Location: South Africa
|
Posted: Wed Jun 23, 2004 10:38 am Post subject: |
|
|
I also prefer gtk, but I am already have kde-base and qt installed so I can use k3b... so bring it on _________________ AMD AthlonXP 2500+
512MB RAM
Geforce FX5700 |
|
Back to top |
|
|
nesl247 Veteran
Joined: 15 Jun 2004 Posts: 1614 Location: Florida
|
Posted: Wed Jun 23, 2004 1:07 pm Post subject: |
|
|
Emerge doesnt want to upgrade it guitoo does. |
|
Back to top |
|
|
Karim Apprentice
Joined: 13 Apr 2004 Posts: 218
|
Posted: Thu Jun 24, 2004 8:16 am Post subject: |
|
|
iotc247 wrote: | Emerge doesnt want to upgrade it guitoo does. |
Could you be more precise? Take a screenshot for example. |
|
Back to top |
|
|
Lance Tux's lil' helper
Joined: 02 Apr 2004 Posts: 125
|
Posted: Thu Jun 24, 2004 4:38 pm Post subject: |
|
|
I have the same problem.
Code: |
#emerge -uDpv world
|
reported nothing, while 29 packages were reported to be upgradable in Guitoo. And yes, I had regenerated world.xml and portage.xml[/img] _________________ choose Gentoo, choose freedom |
|
Back to top |
|
|
Karim Apprentice
Joined: 13 Apr 2004 Posts: 218
|
Posted: Thu Jun 24, 2004 7:08 pm Post subject: |
|
|
Lance wrote: | I have the same problem.
Code: |
#emerge -uDpv world
|
reported nothing, while 29 packages were reported to be upgradable in Guitoo. And yes, I had regenerated world.xml and portage.xm |
It could be correct.
Guitoo parse each packages digest-file to see which arch they are, eg. if they are "x86" or not.
Please post your upackages.xml found in /var/tmp/guitoo. |
|
Back to top |
|
|
eskimo n00b
Joined: 26 Mar 2004 Posts: 9 Location: Wien, Österreich, Austria, Europe
|
Posted: Fri Jun 25, 2004 7:37 am Post subject: Great work! |
|
|
Really great work! I like it!
Some suggestions:
- as noted before by vdboor, choosing packages with checkboxes, either only
the package, or with version. Maybe emerge whole categories?
- Make options in checkboxes- so. klick the checkbox once - just emerge
package, twice update, three times fetch only, ... that would be great.
- Maybe few exactly what is going to be emerged (dependencies, maybe
because of which useflag)- then deselect useflags, ...
Before I've seen your project, I planned writing such a gui on my own, with the above features, but now this is unneccessary to reinvent the wheel. Maybe I will have some spare time somewhere, for helping you, if you like. (But I have to learn QT first ) _________________ To mess up a Linux box, you need to work at it; to mess up your Windows box, you just need to work on it. |
|
Back to top |
|
|
eskimo n00b
Joined: 26 Mar 2004 Posts: 9 Location: Wien, Österreich, Austria, Europe
|
Posted: Fri Jun 25, 2004 7:41 am Post subject: wrong signature |
|
|
Sorry- my signature was the wrong way round _________________ To mess up a Linux box, you need to work at it; to mess up your Windows box, you just need to work on it. |
|
Back to top |
|
|
Karim Apprentice
Joined: 13 Apr 2004 Posts: 218
|
Posted: Sun Jun 27, 2004 10:38 pm Post subject: Re: Great work! |
|
|
eskimo wrote: | Really great work! I like it!
Some suggestions:
- as noted before by vdboor, choosing packages with checkboxes, either only
the package, or with version. Maybe emerge whole categories?
- Make options in checkboxes- so. klick the checkbox once - just emerge
package, twice update, three times fetch only, ... that would be great.
- Maybe few exactly what is going to be emerged (dependencies, maybe
because of which useflag)- then deselect useflags, ...
Before I've seen your project, I planned writing such a gui on my own, with the above features, but now this is unneccessary to reinvent the wheel. Maybe I will have some spare time somewhere, for helping you, if you like. (But I have to learn QT first ) |
Thanks for the feedback! And your help is most welcome
The project started in QT, though I'm using KDevelop mostly now. QT for the gui part and KDevelop for logic behind. (Part of the reason is that KDevelop easily generates all source for a classic gmake compilation - QT use qmake.)
An early source is posted at sourceforge.net cvs. I stil have to learn and master cvs. |
|
Back to top |
|
|
eskimo n00b
Joined: 26 Mar 2004 Posts: 9 Location: Wien, Österreich, Austria, Europe
|
Posted: Thu Jul 01, 2004 8:55 pm Post subject: Re: Great work! |
|
|
I've started learning cvs a view weeks ago- I liked this book - its great:
Open Source Development with CVS -2nd Edition, written by: Karl Fogel and Moshe Bar.
It can be downloaded free over the internet- the following link should be right, (I'm not able to test it in the moment, but if the link is broken, or something, you can easily find the book with google, and I think sourceforge.net has got a link to it, in its cvs docs.
http://www.informatik.uni-freiburg.de/~dbis/lehre/SQLpraktSS04/OpenSourceDevWithCVS.pdf
Have fun! There is also something availbable, called subversion, it seems too be an improved cvs, but it is not yet supported by sourceforge.net. (I don't know this tool ) _________________ To mess up a Linux box, you need to work at it; to mess up your Windows box, you just need to work on it. |
|
Back to top |
|
|
Fillepe The Mexican n00b
Joined: 12 Mar 2004 Posts: 71
|
Posted: Thu Jul 01, 2004 11:08 pm Post subject: Good work |
|
|
I just installed it, I think it is very cool and your install instructions are first class. Very well done. |
|
Back to top |
|
|
Karim Apprentice
Joined: 13 Apr 2004 Posts: 218
|
Posted: Fri Jul 02, 2004 11:21 pm Post subject: guitoo-0.22.0 released |
|
|
eskimo wrote: | I've started learning cvs a view weeks ago- I liked this book - its great:
Open Source Development with CVS -2nd Edition, written by: Karl Fogel and Moshe Bar.
It can be downloaded free over the internet- the following link should be right, (I'm not able to test it in the moment, but if the link is broken, or something, you can easily find the book with google, and I think sourceforge.net has got a link to it, in its cvs docs.
http://www.informatik.uni-freiburg.de/~dbis/lehre/SQLpraktSS04/OpenSourceDevWithCVS.pdf
Have fun! There is also something availbable, called subversion, it seems too be an improved cvs, but it is not yet supported by sourceforge.net. (I don't know this tool ) |
Thanks a lot ...
KDevelop has cvs integrated. My cvs repository is local for the moment. With Cervisia I've tested to import guitoo-0.21.1 to cvs.sourceforge.net ...
I guess we should continue development discussions in right forum, like https://sourceforge.net/forum/?group_id=110914
I've released guitoo-0.22.0 which support all architectures, plus some few enhancements regarding finding "upgradable packages".
Take a look in the src folder. "guitoo.pro" is the QT project file. A step up you find "guitoo.kdevelop" - the KDevelop project file.
This is how I do it (haven't found a better way):
Quote: | Open "guitoo.pro" in QT and edit forms which creates .ui files |
Quote: | At cli compile in "src" with "qmake -project && qmake && make" which creates .cpp and .h from .ui files |
Quote: | Open "guitoo.kdevelop" in KDevelop and build project |
KDevelop is 3.0.4 and QT 3.3.2. |
|
Back to top |
|
|
Karim Apprentice
Joined: 13 Apr 2004 Posts: 218
|
Posted: Sat Jul 10, 2004 11:17 pm Post subject: guitoo-0.30.0 released |
|
|
eskimo wrote: | Really great work! I like it!
Some suggestions:
- as noted before by vdboor, choosing packages with checkboxes, either only
the package, or with version. Maybe emerge whole categories?
- Make options in checkboxes- so. klick the checkbox once - just emerge
package, twice update, three times fetch only, ... that would be great.
- Maybe few exactly what is going to be emerged (dependencies, maybe
because of which useflag)- then deselect useflags, ...
Before I've seen your project, I planned writing such a gui on my own, with the above features, but now this is unneccessary to reinvent the wheel. Maybe I will have some spare time somewhere, for helping you, if you like. (But I have to learn QT first ) |
Hi Eskimo and all gentooist!
Guitoo has now checkboxes for package selection. You can even select emerge a specific package version.
Installation instructions are the same, se above.
Again, I love feedback!
Enjoy! |
|
Back to top |
|
|
|