Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Gnome Interface For Portage?
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3, ... 12, 13, 14  Next  
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Lowspirit
Apprentice
Apprentice


Joined: 31 Jul 2002
Posts: 258
Location: Northern Sweden

PostPosted: Sun Jan 05, 2003 4:56 pm    Post subject: Progress? Reply with quote

Desirable state?

I for one would be more then :D with only basic tree browsing capabilities to browse Installed and Non-installed packages, in categories etc... I can do the rest from console.

I have zero overview as it is now and since I've had this install in for more then 6 months I think there are plenty of forgotten emerged junk that I could clean out, and having the tree easily overviewable and browsable locally would simplify it when looking for new stuff to emerge too cause I always visit the Online Package Database for that atm and that's not practical, and it's not representative of the tree either since I'm on ~ branch.

Still eagerly awaiting a portage manager for us poor gnomies.
Back to top
View user's profile Send private message
dreamer3
Guru
Guru


Joined: 24 Sep 2002
Posts: 553

PostPosted: Mon Jan 06, 2003 12:37 am    Post subject: Re: Progress? Reply with quote

Lowspirit wrote:
I have zero overview as it is now and since I've had this install in for more then 6 months I think there are plenty of forgotten emerged junk that I could clean out

Here is what I do.

* check /var/cache/edb/world once in a while (it's a list of all installed packages less dependencies) to make sure there isn't any junk I don't use installed
* remove (emerge -C) stuff I haven't used in forever
* emerge -p depclean to show any old dependencies from the stuff I just blew away that can go to
* qpkg -q some_package for each package that depclean shows me because sometimes it wants to remove still needs libs and i just don't trust it
* emerge -C old_libs dep_clean says_i_don't_need

It might not be a whizbang as you're looking for, but it's met all my needs for going on 6 or 7 months now.

I can't help with ways to find new software. I usually only install new software as I find new needs or old software becomes inadequate.
Back to top
View user's profile Send private message
slacker
Tux's lil' helper
Tux's lil' helper


Joined: 18 Sep 2002
Posts: 86
Location: Oakland University

PostPosted: Sun Feb 09, 2003 8:16 am    Post subject: Reply with quote

Today I decided to attempt to write a small test program for a gui interface for portage. This is really preliminary, but this is sort of what I would envision a gnome portagemaster would look like...

screenshot

I think a gnome portagemaster would be really useful to me....
I plan to hopefully have an operational program sometime in the next few weeks. Unless my baby is born before I get version 0.1 out, then I might be busy for a month or so. If anyone is interested let me know, drop me an email.


EDIT: Replaced img tags with url tags (wide image). -- kanuslupus
_________________
http://gnoportage.sourceforge.net
Back to top
View user's profile Send private message
IWBCMAN
Guru
Guru


Joined: 25 Jun 2002
Posts: 474

PostPosted: Sun Feb 09, 2003 10:15 am    Post subject: Reply with quote

slacker

that looks great! really impressive, hats off for your initiative....

unfortunately my programming skills are covered in cob-webs, half abandoned in a dark corner of my attic, otherwise I would offer to help you write it(although I look forward to looking at your code, preferably before it gets so complex that I can't follow it anymore....)


I have some questions though:

have you thought about implementing this idea from within nautilus ? (I have no idea if such is feasible or doable, but integrating the gentoo packaging system into the WM would be a first step towards providing a complete gentoo-desktop solution. )

Would it be possible to have multiple different views of the programs contained in the portage tree ? (I like the idea of the portage tree, but when it comes to looking for software to install the tree metaphor is not very intuitive; I end up spending a lot of time looking for where I have to look, because the portage tree is not functionally organized from a users perspective, albeit from a developers perspective-some packages are only dependencies for user apps, and some are merely apps-one could argue forever how such things should be visually oganized, and of course the portage tree as is, is work already done, but one could have an alphabetical listing, and one could have enhanced categories-ie. multimedia apps, internet/networking apps, office apps, games, and corresponding ones for libs-and although this may be beyond the scope of what you wish to do- would it be possible to show an emerge -pe foo minus all packages which belong to "system"-ie. to see the relative and not absolute package dependencies ?)

will there be a window-view which simply displays the portage description of each package ? (I imagine one could also implement this as a context sensitive pop-up which shows up when one holds the mouse over as package)

How do you plan to implement root access ? will one have to boot gnome as root ? run gnoportage as su, ie. from a command line ? or will there be a dialog which pops up and asks for the password upon start ? or which only pops up when one wants to do an install/delete or rsync ?

Are you planning on implementing the additional configuration options which kportage is beginning to include ?

(please not I am not demanding anything, your contribution here is outstanding, and I will be personally very happy with virtually any offering which is somewhat stable and usefull, regardless of any whiz-bang features-my questions are also sugesstions........)

please keep up the good work.....
Back to top
View user's profile Send private message
knittel
n00b
n00b


Joined: 29 Nov 2002
Posts: 50

PostPosted: Sun Feb 09, 2003 11:07 am    Post subject: Reply with quote

I'd rather see a GTk2 than a gnome2 Version (more genereic, nothing against gnome2 at all) and I would prefer pgsql to mysql.

But now for something completely different: desired feature

A View that only lists installed packages (basically the output of /usr/lib/portage/pkglist), with a rightclick option to [pretend] update it, and optionally displays its dependencies. If possible both sides (what installed program depends on this file and on what programs does this build depend on).


Talking about database: The ability to store per port USE flags (and ACCEPT_KEYWORD flag). This would make life tremendously easier, since you do not have to edit make.conf for just two or three ports you want to install that differ from the default settings. So when installing a piece of software it naturally checks make.conf and after that the database wether different USE Settings are applicable to that port (and dependend files to be installed).
That would rock for "emerge world" big time, I suppose. Especially, since you may selectively install "unstable" ports. Provided, initiated by gportage, of course.

Next step would be replacing /var/db with [a central] pgsql databse to be able to do unattended setups and have centralized package management. But thats more an issue for portage itself, I suspect. Getting megalomaniac now, I'm afraid.
Back to top
View user's profile Send private message
slacker
Tux's lil' helper
Tux's lil' helper


Joined: 18 Sep 2002
Posts: 86
Location: Oakland University

PostPosted: Sun Feb 09, 2003 7:29 pm    Post subject: Reply with quote

Quote:
have you thought about implementing this idea from within nautilus ?

I think that is a very interesting idea, but it might have to be a completly different project. It would defiently be very cool, thanks for bringing that up. :-)

Quote:
will there be a window-view which simply displays the portage description of each package

There is a description and homepage for each of the ebuilds in the .ebuild file, and I plan to parse the data into a textview widget instead of just outputting the ebuild.

Quote:
How do you plan to implement root access ?

I want to see how gnorpm does it, and implement it like that. Where u can just enter the root password.

Quote:
Are you planning on implementing the additional configuration options which kportage is beginning to include ?

Yes, I want to get 0.1 out as soon as possible it's good to release as early and often, I'd like to start getting feedback, changing makeflags, and USE enviroment variables will be in version 0.2 which should shortly follow.

Quote:
Would it be possible to have multiple different views of the programs contained in the portage tree ?

That is possible, I'd have to think about how to implement it. I would like to implement a view where u can search for USE or specific dependencies like if i wanted to look for packages gtk >= 2.0 or whatever i'd like that alot personally.

Quote:
I'd rather see a GTk2 than a gnome2 Version (more genereic, nothing against gnome2 at all) and I would prefer pgsql to mysql.

I agree, I don't plan on actually using any gnome libs. I'm just using gtk2 and libglade.

Quote:

unfortunately my programming skills are covered in cob-webs

I don't consider myself a great programmer by any means, Thank God for open source, I've really enjoyed reading the code from bluefish and gthumb, also gnome-system-tools which I really like but not extremly useful in gentoo.

Thank you guys for giving me some input those were some very good suggestions.
_________________
http://gnoportage.sourceforge.net
Back to top
View user's profile Send private message
axxackall
l33t
l33t


Joined: 06 Nov 2002
Posts: 651
Location: Toronto, Ontario, 3rd Rock From Sun

PostPosted: Sun Feb 09, 2003 9:32 pm    Post subject: Reply with quote

How about Zope? Have anyone considered Zope as web-GUI for Portage?

Seriously, Zope already have hierarchical catalog management. And it's written on Python - the favorite language of Portage programmers!

Why would one need a "local" GUI for package management? Is it any reason to use any specific functions of Gnome or KDE panels?

All is needed for Packages management (comparing to CLI) is GUI. The best GUI today is Web, interface safely transparent for firewalls and still power enough to build intuitive UI applications.

I recommend to read more about Zope on their web site www.zope.org
Back to top
View user's profile Send private message
natemccallum
n00b
n00b


Joined: 24 Jan 2003
Posts: 23

PostPosted: Sun Feb 09, 2003 11:58 pm    Post subject: Reply with quote

Any progress on this project!?
Back to top
View user's profile Send private message
slacker
Tux's lil' helper
Tux's lil' helper


Joined: 18 Sep 2002
Posts: 86
Location: Oakland University

PostPosted: Mon Feb 10, 2003 1:20 am    Post subject: Reply with quote

Zope might be great, and it would be a great asset to gnome if one existed.
But I see it in two ways.
One, zope might have hierarchical catalog management but I don't think that means I should use zope instead of nautilus (for example I'm sure you could write a zope file manager) .
and second, kde already has a gui system for portage why not gnome.
_________________
http://gnoportage.sourceforge.net
Back to top
View user's profile Send private message
bobafettm
n00b
n00b


Joined: 27 Oct 2002
Posts: 3
Location: MI

PostPosted: Mon Feb 10, 2003 9:34 pm    Post subject: Reply with quote

Quote:
How about Zope? Have anyone considered Zope as web-GUI for Portage?


no doubt !! Zope can be used for A GREAT many things ! IMO one of the coolest addon's for a server !!

Quote:
Today I decided to attempt to write a small test program for a gui interface for portage. This is really preliminary, but this is sort of what I would envision a gnome portagemaster would look like...


Sweet Idea Slacker !! I'm really impressed by this program and cant wait to imp. on my system !!!
Back to top
View user's profile Send private message
Lowspirit
Apprentice
Apprentice


Joined: 31 Jul 2002
Posts: 258
Location: Northern Sweden

PostPosted: Tue Feb 11, 2003 12:11 am    Post subject: Support Reply with quote

Really glad to see things happening in the GTK2 portage frontend department :D

Just some quick comments on screenshot (which obviously is a early draft but you can't post a screenshot and not expect enthusiastic comments) :

* HIG compliance.
Always good.

* Listview icons.
No idea if this is doable through some glade control but tiny packages (like in KPortage) are great instant visual cues on a package status.

* Tray icon.
Having it minimize to notification area during rsyncs/compiles would be a neat feature.

Personally all I need a UI for initially is to keep track of what crap I've installed without having to pico through my world file, so what's seen on that screenshot now (if it's not a mockup) would more then suffice for my needs.
_________________
Gentoo | AMD X2 3800+ 2GB RAM | Kernel 2.6.30 . ReiserFS . CFQ . GCC4.3.3 | Firefox 3.5 | Gnome 2.26 w/ Compiz-Fusion
"Penguins are the only fish that can fly"
Back to top
View user's profile Send private message
slacker
Tux's lil' helper
Tux's lil' helper


Joined: 18 Sep 2002
Posts: 86
Location: Oakland University

PostPosted: Tue Feb 11, 2003 12:36 am    Post subject: Reply with quote

Thanks for the comments, and it is a really early draft. I'm really surprised to get alot of positive feedback, and I appreciate it. Although I don't feel like i've gotten it to a point for even an initial release it yet.

Quote:
Personally all I need a UI for initially is to keep track of what crap I've installed without having to pico through my world file, so what's seen on that screenshot now (if it's not a mockup) would more then suffice for my needs.


Thats more or less my feelings also. But it'd be nice to add some features that would go above and beyond, for me, searching for specific package dependencies like gtk2 for example.... would be useful also....
icons would be really easy to add, thanks for pointing that out. Tray icon, I honestly never thought of that.

Right now, I've given it alot of consideration on how to proceed and after my initial test, because I have a recursive function scanning the portage directory and now checking files to see if they are installed or not. It's not altogether lethargic, but I might be able to speed it up alittle bit. As far as it being a mockup, I wish it was because it has been consuming alot of my time.

I mean, as for outputting the commands to a text buffer that was easy, just spawn a process with a pipe and watch the pipe, io_dialog as the callback function where it spits the readline to the buffer.
Code:
if (g_spawn_async_with_pipes ( NULL, command, NULL,
      G_SPAWN_SEARCH_PATH, NULL, NULL, NULL, NULL, &pout, &perr, &error))
   {
      channel = g_io_channel_unix_new (pout);
      g_io_add_watch (channel, G_IO_IN | G_IO_HUP | G_IO_ERR |
                G_IO_NVAL, io_dialog, buffer);
      g_io_channel_unref (channel);


scanning the portage directory is accomplished by recursively calling a function like this:
Code:
while ((name = g_dir_read_name(dir))) {
      gchar *fullpath ;      
      fullpath = g_strconcat(directory, "/", name, NULL);       
      if (dir_in_categories (name,  categories)) {
         gtk_tree_store_append (GTK_TREE_STORE (store), &iter, NULL);
         gtk_tree_store_set (GTK_TREE_STORE (store), &iter, 0, name, -1);      
         read_dir_entries (store, fullpath, iter);
      }


and getting the filename from the treeview I did in a simple manner I just went up the tree and g_strconcat , something.ebuild, move up strconcat/something.ebuild until you get to the portage dir. so then u can just call emerge $filesfullpath --pretend or whatever you want to do with the file.

Thats why it's just a test though, I mean I figure if I consider things I can find a simpler/ more kosher way to do them. Furthermore, I'm not a master glib/gtk programmer by any means. I just really like the idea of doing this, because I feel like I would use something like this, and so the need is there. I want to give back to opensource because it gives to me. Additional bonus is that I hate C++ and have had to learn it for the past 3 years here at the university, C is a refreshing break kicks the hell outta VHDL too. I only hope people don't rip apart my code, because I am a lazy programmer.
_________________
http://gnoportage.sourceforge.net
Back to top
View user's profile Send private message
slacker
Tux's lil' helper
Tux's lil' helper


Joined: 18 Sep 2002
Posts: 86
Location: Oakland University

PostPosted: Wed Feb 12, 2003 1:47 am    Post subject: Reply with quote

Ok, well I have done alittle more coding and I am now able to check whether or not a file is installed or not, by using pkglist. So that is the last feature I will add at this point, the last two things are a. check to make sure when you run the program that you are root or suid .. b. clean the code up, get rid of straggler strings that i didn't free, etc, giving the variables better names.
I started the cleaning process today, after this I will release version 0.1.

This is the latest development screenshot.
http://gnoportage.sourceforge.net/test4.png
_________________
http://gnoportage.sourceforge.net


Last edited by slacker on Thu Feb 13, 2003 7:49 pm; edited 1 time in total
Back to top
View user's profile Send private message
slacker
Tux's lil' helper
Tux's lil' helper


Joined: 18 Sep 2002
Posts: 86
Location: Oakland University

PostPosted: Wed Feb 12, 2003 5:53 am    Post subject: Reply with quote

Ok, I've cleaned the original test program up alittle bit, and although it isn't anywhere near where I want it to be, I thought I'd give u guys a link to see what I've done so far. So I can start getting feedback, I think I will have to restructure things alot when I release version 0.2. I'd like to hear people's comments about the code I wrote good bad or indifferent, constructive criticism is appreciated, so that I may learn more, I am by no means a great programmer, but I strive to make myself better, I want to contribute to open source and gentoo, because I feel they've given me alot, so plz don't flame me too much. Hopefully I can improve things to a higher standard. It didn't take me that long to assemble this program so it is by no ways complete. If something doesn't work let me know, what this program should do right now in the test phase is
a. display the portage tree
b. mark installed packages.
c. emerge $package, emerge $package -p, emerge sync (doesn't automatically redo treeview after done, so if things are deleted you will have to hit the build tree button to refresh).
d. make sure you are either root or su when the program starts.

http://gnoportage.sourceforge.net/gnoportage-0.1.tar.gz
_________________
http://gnoportage.sourceforge.net


Last edited by slacker on Thu Feb 13, 2003 7:46 pm; edited 1 time in total
Back to top
View user's profile Send private message
IWBCMAN
Guru
Guru


Joined: 25 Jun 2002
Posts: 474

PostPosted: Wed Feb 12, 2003 12:59 pm    Post subject: Reply with quote

slacker,

way cool

I downloaded your file unpacked it and did a ./configure and make. make failed after about one minute with the following messages(i am using id3lib-3.8.2,glibc-2.3.1-r3,gcc-3.2.2, autoconf-2.54,automake-1.63, gnome2.2)

Code:

gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/X11R6/include    -I/usr/include    -g2   -Wall -c `test -f filebrowser.c || echo './'`filebrowser.c
In file included from /usr/local/include/utils.h:35,
                 from filebrowser.c:28:
/usr/include/id3/id3lib_streams.h:27:19: fstream: No such file or directory
/usr/include/id3/id3lib_streams.h:28:20: iostream: No such file or directory
/usr/include/id3/id3lib_streams.h:29:18: iosfwd: No such file or directory
In file included from /usr/local/include/utils.h:35,
                 from filebrowser.c:28:
/usr/include/id3/id3lib_streams.h:31: parse error before "std"
In file included from /usr/local/include/utils.h:37,
                 from filebrowser.c:28:
/usr/include/id3/id3lib_strings.h:32:18: string: No such file or directory
In file included from /usr/local/include/utils.h:37,
                 from filebrowser.c:28:
/usr/include/id3/id3lib_strings.h:35: parse error before "std"
/usr/include/id3/id3lib_strings.h:36: syntax error before '{' token
/usr/include/id3/id3lib_strings.h:43: parse error before "pos_type"
/usr/include/id3/id3lib_strings.h:44: parse error before "off_type"
/usr/include/id3/id3lib_strings.h:45: parse error before "state_type"
/usr/include/id3/id3lib_strings.h:48: parse error before '&' token
/usr/include/id3/id3lib_strings.h: In function `assign':
/usr/include/id3/id3lib_strings.h:49: `__c1' undeclared (first use in this function)
/usr/include/id3/id3lib_strings.h:49: (Each undeclared identifier is reported only once
/usr/include/id3/id3lib_strings.h:49: for each function it appears in.)
/usr/include/id3/id3lib_strings.h:49: `__c2' undeclared (first use in this function)
/usr/include/id3/id3lib_strings.h: At top level:
/usr/include/id3/id3lib_strings.h:52: parse error before '&' token
/usr/include/id3/id3lib_strings.h: In function `eq':
/usr/include/id3/id3lib_strings.h:53: `__c1' undeclared (first use in this function)
/usr/include/id3/id3lib_strings.h:53: `__c2' undeclared (first use in this function)
/usr/include/id3/id3lib_strings.h: At top level:
/usr/include/id3/id3lib_strings.h:56: parse error before '&' token
/usr/include/id3/id3lib_strings.h: In function `lt':
/usr/include/id3/id3lib_strings.h:57: `__c1' undeclared (first use in this function)
/usr/include/id3/id3lib_strings.h:57: `__c2' undeclared (first use in this function)
/usr/include/id3/id3lib_strings.h: At top level:
/usr/include/id3/id3lib_strings.h:60: parse error before '*' token
/usr/include/id3/id3lib_strings.h: In function `compare':
/usr/include/id3/id3lib_strings.h:62: `for' loop initial declaration used outside C99 mode
/usr/include/id3/id3lib_strings.h:62: `__n' undeclared (first use in this function)
/usr/include/id3/id3lib_strings.h:63: `__s1' undeclared (first use in this function)
/usr/include/id3/id3lib_strings.h:63: `__s2' undeclared (first use in this function)
/usr/include/id3/id3lib_strings.h: At top level:
/usr/include/id3/id3lib_strings.h:69: parse error before '*' token
/usr/include/id3/id3lib_strings.h: In function `length':
/usr/include/id3/id3lib_strings.h:71: syntax error before '*' token
/usr/include/id3/id3lib_strings.h:72: `__p' undeclared (first use in this function)
/usr/include/id3/id3lib_strings.h:74: `__s' undeclared (first use in this function)
/usr/include/id3/id3lib_strings.h: At top level:
/usr/include/id3/id3lib_strings.h:77: parse error before '*' token
/usr/include/id3/id3lib_strings.h:78: parse error before '*' token
/usr/include/id3/id3lib_strings.h: In function `find':
/usr/include/id3/id3lib_strings.h:80: syntax error before '*' token
/usr/include/id3/id3lib_strings.h:80: parse error before '-' token
/usr/include/id3/id3lib_strings.h:80: `__p' undeclared (first use in this function)
/usr/include/id3/id3lib_strings.h:80: parse error before ')' token
/usr/include/id3/id3lib_strings.h: At top level:
/usr/include/id3/id3lib_strings.h:85: parse error before '*' token
/usr/include/id3/id3lib_strings.h:86: parse error before '*' token
/usr/include/id3/id3lib_strings.h: In function `move':
/usr/include/id3/id3lib_strings.h:87: `char_type' undeclared (first use in this
function)
/usr/include/id3/id3lib_strings.h:87: parse error before ')' token
/usr/include/id3/id3lib_strings.h: At top level:
/usr/include/id3/id3lib_strings.h:89: parse error before '*' token
/usr/include/id3/id3lib_strings.h:90: parse error before '*' token
/usr/include/id3/id3lib_strings.h: In function `copy':
/usr/include/id3/id3lib_strings.h:91: `char_type' undeclared (first use in this
function)
/usr/include/id3/id3lib_strings.h:91: parse error before ')' token
/usr/include/id3/id3lib_strings.h: At top level:
/usr/include/id3/id3lib_strings.h:93: parse error before '*' token
/usr/include/id3/id3lib_strings.h:94: parse error before '*' token
/usr/include/id3/id3lib_strings.h:95: conflicting types for `assign'
/usr/include/id3/id3lib_strings.h:49: previous declaration of `assign'
/usr/include/id3/id3lib_strings.h: In function `assign':
/usr/include/id3/id3lib_strings.h:96: `char_type' undeclared (first use in this
function)
/usr/include/id3/id3lib_strings.h:96: `__p' undeclared (first use in this function)
/usr/include/id3/id3lib_strings.h:96: `__s' undeclared (first use in this function)
/usr/include/id3/id3lib_strings.h:96: `__n' undeclared (first use in this function)
/usr/include/id3/id3lib_strings.h:97: `__a' undeclared (first use in this function)
/usr/include/id3/id3lib_strings.h: At top level:
/usr/include/id3/id3lib_strings.h:102: parse error before "to_char_type"
/usr/include/id3/id3lib_strings.h:102: parse error before '&' token
/usr/include/id3/id3lib_strings.h: In function `to_char_type':
/usr/include/id3/id3lib_strings.h:103: `char_type' used prior to declaration
/usr/include/id3/id3lib_strings.h: At top level:
/usr/include/id3/id3lib_strings.h:106: parse error before '&' token
/usr/include/id3/id3lib_strings.h: In function `to_int_type':
/usr/include/id3/id3lib_strings.h:106: parse error before "int_type"
/usr/include/id3/id3lib_strings.h: At top level:
/usr/include/id3/id3lib_strings.h:109: parse error before '&' token
/usr/include/id3/id3lib_strings.h: In function `eq_int_type':
/usr/include/id3/id3lib_strings.h:110: `__c1' undeclared (first use in this function)
/usr/include/id3/id3lib_strings.h:110: `__c2' undeclared (first use in this function)
/usr/include/id3/id3lib_strings.h: In function `eof':
/usr/include/id3/id3lib_strings.h:113: `static_cast' undeclared (first use in this function)
/usr/include/id3/id3lib_strings.h:113: parse error before "int_type"
/usr/include/id3/id3lib_strings.h: At top level:
/usr/include/id3/id3lib_strings.h:116: parse error before '&' token
/usr/include/id3/id3lib_strings.h: In function `not_eof':
/usr/include/id3/id3lib_strings.h:117: `__c' undeclared (first use in this function)
/usr/include/id3/id3lib_strings.h:117: parse error before "int_type"
/usr/include/id3/id3lib_strings.h: At top level:
/usr/include/id3/id3lib_strings.h:123: syntax error before '{' token
/usr/include/id3/id3lib_strings.h:125: parse error before ':' token
/usr/include/id3/id3lib_strings.h:126: parse error before ':' token
In file included from filebrowser.c:28:
/usr/local/include/utils.h:39: parse error before "dami"
/usr/local/include/utils.h:40: syntax error before '{' token
/usr/local/include/utils.h:81: parse error before '=' token
/usr/local/include/utils.h:82: parse error before '=' token
/usr/local/include/utils.h:85: parse error before "toWString"
/usr/local/include/utils.h:88: parse error before "convert"
/usr/local/include/utils.h:88: parse error before "data"
/usr/local/include/utils.h:91: parse error before '&' token
/usr/local/include/utils.h:92: parse error before '&' token
/usr/local/include/utils.h:93: parse error before '&' token
/usr/local/include/utils.h:94: parse error before '&' token
/usr/local/include/utils.h:95: parse error before '&' token
/usr/local/include/utils.h:96: parse error before '&' token
/usr/local/include/utils.h:97: parse error before '&' token
/usr/local/include/utils.h:98: parse error before '&' token
make[2]: *** [filebrowser.o] Error 1
make[2]: Leaving directory `/home/karl/gnoportage-0.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/karl/gnoportage-0.1'
make: *** [all] Error 2


note id3lib has proven to be very troublesome before, and many apps which require it do not seem to able to find it, this may be causing the problem here.....
Back to top
View user's profile Send private message
Lowspirit
Apprentice
Apprentice


Joined: 31 Jul 2002
Posts: 258
Location: Northern Sweden

PostPosted: Wed Feb 12, 2003 3:51 pm    Post subject: Reply with quote

Okey got it compiled and running, i'll go straight to the feedback part :wink:

1. Tree rebuild progress.
Perhaps a statusbar at the bottom with a progressbar stowed into it. It certainly rebuilds faster then KPortage (a year or so since I ran it so it could have improved) so it's really on the edge if a progressbar would be needed or not but i'd l

2. Installed packages.
I still don't have a way to view only installed packages, I have to click through each little section to see if it's installed, not all that efficient.

3. Package search.
Not really essential or something that you should bother with in this early stage, but such a function is missed.

4. Sync.
No way to abort it, and that tiny piece of the screen it shows it on doesn't seem to scroll to follow the action. This is one of the big things that really could benefit ease of use (new user friendly) if it was hooked into a UI that just monitored stages, basically a dialog of some sort that shows "Connecting to rsync server..." "Connection established, recieving list..." "Syncing lists..." "Last stage, Updating portage...". Or something like that, while displaying a happy spinning icon or something.

5. Icons.
Trivial issue but... sync is the only one that makes sense to me. There are plently of gnome stock icons out there, jimmacs entire collection is pretty much LGPL, your bound to find something more fitting there, doesn't have to be eye boggling, just make more sense :
http://jimmac.musichall.cz/ikony.php3

Hope you'll take it as constructive feedback, all issues is trivial really except #2, which essentially is the show stopper for me that made me uninstall waiting for further updates.

Oh and you should make an ebuild for it, or someone should... I tried but apparently I suck.
_________________
Gentoo | AMD X2 3800+ 2GB RAM | Kernel 2.6.30 . ReiserFS . CFQ . GCC4.3.3 | Firefox 3.5 | Gnome 2.26 w/ Compiz-Fusion
"Penguins are the only fish that can fly"
Back to top
View user's profile Send private message
slacker
Tux's lil' helper
Tux's lil' helper


Joined: 18 Sep 2002
Posts: 86
Location: Oakland University

PostPosted: Wed Feb 12, 2003 5:29 pm    Post subject: Reply with quote

IWBCMAN: Sorry I will have to look into this more, I have media-libs/id3lib-3.8.2 installed on my computer also, and it built ok for me, but I am not using gnome 2.2 yet, so maybe thats the problem. I'll try to make sure the next thing I put out builds for u.

Lowspirit: Thank you very much for the input, it's excellent with alot of good suggestions. I want to know what everyone thinks. I don't think what you said is negative in any way.
I thought the tree might have been slower than Kportagemaster, I was worried about that alot. I don't forsee the tree getting too much slower than it is now. A status bar would be a good idea and I thought about a progress bar too.
Quote:

2. Installed packages.
I still don't have a way to view only installed packages, I have to click through each little section to see if it's installed, not all that efficient.

That I can definetly do, but would you like to see a. just the packages installed and nothing else in a list? or b. packages installed in the tree with categories ? It seems like you'd rather see option one. Either way when I get this feature added, and put in a stop button it will become test release 0.2. Package searching is a cool idea I'm working on currently. I think that it'd be a very good add-on. I eventually want people to be able to search for packages by dependencies like gtk2 but I will probably have to add a perl backend for the program to do that, which I am currently studying. (gnome-system-tools does this). I also have the same issues with the sync, emerge button, so I will need to add a stop button most definetly. Icons would make it look really cool :-) , but they are eye-candy so I won't have them in a release until it's getting close to version 1.0.

Making an ebuild I can do. I'll put it up tonite. Oh and I will hopefully have a small webpage up letting u guys know about how the project is coming and place releases there, tonight.
_________________
http://gnoportage.sourceforge.net
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 15989
Location: Colorado

PostPosted: Wed Feb 12, 2003 5:41 pm    Post subject: Reply with quote

You might consider starting a sourceforge project page (or similar).
_________________
Safety is my gaol.
US Constitution | Amendments
Back to top
View user's profile Send private message
brad
n00b
n00b


Joined: 29 Nov 2002
Posts: 6

PostPosted: Wed Feb 12, 2003 6:03 pm    Post subject: Reply with quote

Here's an idea on the above compile error. It's trying to include /usr/local/include/utils.h which in turn tries to include the offending c++ header. On my stable, 1.4 gentoo
install it's including /usr/include/utils.h and compiles just fine. This header is a part of media-sound/cdparanoia.

I'm curious if you have cdparanoia installed. If so, it shouldn't be looking in /usr/local/include before the system include directory.

Might want to list cdparanoia as a dependency for this software or just use the similar glib functions (since it's already a gtk project).
Back to top
View user's profile Send private message
Gooba
n00b
n00b


Joined: 23 Jan 2003
Posts: 6
Location: Fremont, Ca.

PostPosted: Wed Feb 12, 2003 11:09 pm    Post subject: Installed Packages Reply with quote

When I first installed I ran into a problem of wanting to install all my mail programs and they were conflicting with stuff from the defaults installed when I ran the "emerge system". The problem was that I didn't know what the defaults were and had no simple way of finding out what was installed so I wound up doing "emerge -s <app>" for everything in the net-mail directory before I figured out what I needed to unmerge to get what I wanted.
Back to top
View user's profile Send private message
lanatha
n00b
n00b


Joined: 04 Feb 2003
Posts: 6
Location: Dark Side of the Moon

PostPosted: Wed Feb 12, 2003 11:58 pm    Post subject: Reply with quote

Great idea! Good execution, too.

A bunch of ideas:

1) Add a bar of filters for the package list; that way you don't have to handle it specially, just have the list of available packages get filtered according to various selections. For example, 'installed', 'not installed', 'outdated', etc.

2) Handle changelogs with a right-click situation; right-click the package name and hit 'changelog' to see the whole changelog; right-click a specific version and hit 'changelog' to get all changes since that version.

3) Icons! Instead of a 'installed' clicker, you could use item-colors and icon-styles to identify package states. eg, masked/blocked packages show up red, development packages yellow. Uninstalled packages get a little box, tbz2's get a box with an indicator of some sort, installed packages are open boxes. Maybe a little grey box with a cobweb for nixed packages.

4) Virtual packages, somehow. No real ideas on this one.

5) Interactive package install/uninstall lists. I select a package and say 'queue for install', it queues it up, and all of its dependencies. Same thing for updates. Then, I can go back and remove certain items from the list, or tweak the installed versions, and It'll grey out the packages I messed up the dependencies for. In this manner, I can play with the possible package installations, and then set a script to running.

6) Important: Possibly more a portage thing, but the tool should keep installing packages if a package from the emerge fails, as long as dependencies aren't broken. For example, say I have 83 packages to update for Gnome-2.2, and I leave it go overnight, and say it fails on package #1. *curse*


Anyway... more where that came from. :-P
Back to top
View user's profile Send private message
IWBCMAN
Guru
Guru


Joined: 25 Jun 2002
Posts: 474

PostPosted: Thu Feb 13, 2003 12:04 am    Post subject: Reply with quote

brad,

thank you for your tip - I have often installed software from source using ./configure, make, make install-without realizing that it defaults to "/usr/local" as stardard prefix-this in turn has led to different files being installed in both /usr/include and /usr/local/include(so basically I probably caused this program onece when trying to manually install a version of id3lib which I needed for a specific program-which come to think of it, kept saying it could not find the id3lib includes........whoops)

Slacker,
my solution- to getting your program up and running was to simply temporarily move my /usr/local/include to /usr/local/oldinclude and to specify --includer=/usr when I configured your program-with these two steps if compiled fine and WOW-it works....I will post again after I have played around with it some more.....I will mention though quickly that a little work is needed regarding spacing(a least with larger fonts) between the menus(ie. text) and the button bar- but other than that it looks good, take a look at my screenshot (here:http://iwbcman.homelinux.org/gnome2_2+gtk2_apps.html)
to see what I mean....it looks very,very promising.....
Back to top
View user's profile Send private message
Gooba
n00b
n00b


Joined: 23 Jan 2003
Posts: 6
Location: Fremont, Ca.

PostPosted: Thu Feb 13, 2003 12:15 am    Post subject: Anti-dependency/Conflict Management Reply with quote

It's probably kind of a newbie feature and I don't know why I didn't think of it before, but an interface that says somewhere "This package is equivalent to/in conflict with: <package list>" would be great. For someone just starting out it'd be useful to have some basic info like "Install postfix *or* sendmail *or* ssmtp".

When you're installing individual packages or even a whole system it'd be really handy to have it up front tell you what the conflict was rather than just crap out because there was one.
Back to top
View user's profile Send private message
slacker
Tux's lil' helper
Tux's lil' helper


Joined: 18 Sep 2002
Posts: 86
Location: Oakland University

PostPosted: Thu Feb 13, 2003 4:50 am    Post subject: Reply with quote

I think I have figured out why it wanted utils.h and fixed it. Really sorry about that hopefully now it won't give anyone a problem.
I fixed it and you can download a new tarball from here
http://gnoportage.sourceforge.net/
There is also a burning question on my mind, is the screenshot on that page close to what you guys want to see with the installed package tree?
Quote:
You might consider starting a sourceforge project page (or similar).

I sent in a request to sourceforge today, and hopefully they'll except. The project name would be gnoportage.

It seems like I got my work cut out for me ;-), I appreciate all the input from you guys, it is really good stuff you've given me to think about.

Quote:
5) Interactive package install/uninstall lists. I select a package and say 'queue for install', it queues it up, and all of its dependencies. Same thing for updates. Then, I can go back and remove certain items from the list, or tweak the installed versions, and It'll grey out the packages I messed up the dependencies for. In this manner, I can play with the possible package installations, and then set a script to running.

I LOVE that idea, I will definetly be putting that in as soon as possible.

Fixing for larger fonts, I will also look into.

Right now I think the two most important things are a list of installed packages only/current packages, and a stop button for the building process. That I can have done pretty soon and I was working on that alittle bit tonight. I will be putting out more tarballs soon as I start adding the features you guys are requesting, but please be patient I gotta take them one at a time. I'm also re-thinking a few things, I think I can make the tree much faster and more efficient than it is now. And trust me icons are on the way, I'd like to fix the engine first.
_________________
http://gnoportage.sourceforge.net
Back to top
View user's profile Send private message
IWBCMAN
Guru
Guru


Joined: 25 Jun 2002
Posts: 474

PostPosted: Thu Feb 13, 2003 8:50 pm    Post subject: Reply with quote

slacker,

now that your program has successfully compiled for me, I have had a chance to look at it. It looks great - here are some suggestions, some have already been pointed out, so here goes:
1) definitely shoot for HIG compliance-this should be a great gnome application -a the program mature so will its complexity- menus, seperate windows, and dialogues -coordination and planning are central to a good gui, and gnoportage should be, IMHO, primarily a GREAT GUI frontend to the incredible backend functionality of portage.

2) I don't know if you are on the gentoo mailing lists or doing the IRC thing, but be sure to inform yourself as to the current and planned direction of portage itself, so as not to have to duplicate efforts-portage may be getting more reverse dependency tracking here soon, gnoportage should orient itself with the planned functionality of portage, only offering "more" where this does not mean duplicated effort...

3) well why not build ebuild editing right into gnoportage, I frequently edit ebuils, so why not have the window for displaying ebuild contents, be writable, with perhaps a "edit" button, which would a) open the already displayed ebuild for editing and b) launch the "file open" dialogue, and c) allow for, via the "close file" dialog, changing the ebuild name which is to be saved, and where it should be saved to(ie. open an ebuild in the normal /usr/portage tree and then modify it saving it in the /usr/local/portage tree for experimenting.....) ALTERNATELY: one "edit" button next to the ebuild display window....and a "file open" entry in the file menu.....

4) a kind of "favorites" or bookmarks like "/etc/make.conf" and "package.mask"in one of the menus for editing these files- of course you may want to make a more fundamental decision as to the approach used in this GUI -ie. you may wish to just stick with a graphical represenatation of the options listed in make.conf(somewhat like kportage does this now) and have no text editing capabilities at all....or choose for more direct interaction with the portage system via direct editing capabilites- this is your choice.....And of course you could probably just launch gnome-editor with the buttons and menu entries-just send the URL to gnome-temrinal.....



just some thoughts and suggestions...thanks again for your work
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Goto page Previous  1, 2, 3, ... 12, 13, 14  Next
Page 2 of 14

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum