| View previous topic :: View next topic |
| Author |
Message |
dol-sen Developer


Joined: 30 Jun 2002 Posts: 2153 Location: Richmond, BC, Canada
|
Posted: Fri May 09, 2008 8:48 am Post subject: |
|
|
Latest svn updates:
| Quote: | Italian translation updates.
Merged two similar functions into one (mainwindow.py, handling menu callbacks).
completed the right click menu in the new dependency window.
added the advanced emerge dialog right click menu option for all three views: package view, summary view, dependency view.
temporaily disabled pycrash use since it does not work correctly in python-2.5. |
I should have _rc3 out this weekend and should be the last release candidate. Once the translation files are updated, porthole-0.6.0 final  _________________ Brian
Porthole, the Portage GUI frontend irc@freenode: #gentoo-guis, #porthole, Blog
layman, gentoolkit, CoreBuilder, esearch... |
|
| Back to top |
|
 |
dol-sen Developer


Joined: 30 Jun 2002 Posts: 2153 Location: Richmond, BC, Canada
|
Posted: Sun May 11, 2008 2:54 pm Post subject: |
|
|
I have updated the first post in this thread with the latest release candate rc3. It has a number of small interface bugfixes and now includes both the etc-proposals and profuse plug-in modules. Those modules will also auto-detect the presence of their target commands and disable themselves if not found.
added: New Italian translation, right click menus in the depends view, advanced emerge menu options in the right-click menus.
This will be the final release candidate before -0.6.0. If you have not yet seen it. I am looking for volunteers to help update the translation files. you can find the forum thread for translation updates here. _________________ Brian
Porthole, the Portage GUI frontend irc@freenode: #gentoo-guis, #porthole, Blog
layman, gentoolkit, CoreBuilder, esearch... |
|
| Back to top |
|
 |
dol-sen Developer


Joined: 30 Jun 2002 Posts: 2153 Location: Richmond, BC, Canada
|
Posted: Mon May 12, 2008 3:38 pm Post subject: |
|
|
I've found a small bug that was not adding "--oneshot" to the emerge command for dependencies. For those of you that have downloaded and installed the _rc3 version. It will be easy to edit the file.
| Code: | ndex: porthole/mainwindow.py
===================================================================
--- porthole/mainwindow.py (revision 968)
+++ porthole/mainwindow.py (working copy)
@@ -845,7 +845,7 @@
#debug.dprint(self.packages_list)
#debug.dprint(self.keyorder)
for key in self.keyorder:
- if not self.packages_list[key]:
+ if not self.packages_list[key].in_world:
debug.dprint("MAINWINDOW: upgrade_packages(); dependancy selected: " + key)
if not self.setup_command(key, emerge_cmd +" --oneshot" +
config.Prefs.emerge.get_string() + key[:]): #use the full name
|
as root open /usr/lib/python2.5/site-packages/porthole/mainwindow.py in an editor
change line # 848 by adding ".in_world" as shown above.
The ebuild when added to the tree will have the patch applied. Sorry, I don't know why I didn't spot that one when I coded that and tested it _________________ Brian
Porthole, the Portage GUI frontend irc@freenode: #gentoo-guis, #porthole, Blog
layman, gentoolkit, CoreBuilder, esearch... |
|
| Back to top |
|
 |
Kasumi_Ninja Veteran


Joined: 18 Feb 2006 Posts: 1825 Location: The Netherlands
|
Posted: Sat May 17, 2008 8:33 pm Post subject: |
|
|
Overall a very polished release! Here are my suggestions to further improve this already excellent package manager:
- Use eix for searching package description (it now takes an eternity)
- Make it possible to easily unmask packages
- Integrate the Porthole terminal in Porthole, or at the very least provide an option to automatically close the Porthole terminal
- Instead of 'emerge' and ''unmerge' use the terms 'Install' and 'Remove' _________________ Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered |
|
| Back to top |
|
 |
dol-sen Developer


Joined: 30 Jun 2002 Posts: 2153 Location: Richmond, BC, Canada
|
Posted: Sat May 17, 2008 10:16 pm Post subject: |
|
|
| Aniruddha wrote: | | - Use eix for searching package description (it now takes an eternity) |
I looked at using eix or esearch a long time ago.
-- esearch did not contain all the info the way I needed for porthole. It was python already so easily imported, but did not seem to be developed any more.
-- eix is coded in 'c' and did not have a python interface. It's code was not designed to be easily interfaced with for external data transfer. Obtaining data from eix would require parsing terminal output which is messy and changes in eix's output would break it easily. My testing showed that for only a few packages to print in the search results it was faster than esearch, but when then were more like 10 or more results to print eix slowed considerably to many times that of esearch. esearch was very consistent with times no matter how many package results needed to print.
This version of porthole now has it's own description database that it will automatically update when it detects that the portage tree has been updated. If you do a sync in porthole after it is finished you will see your cpu still running at 100% while it updates and saves it's new description database. It will also check if the database is current to the portage tree when porthole is started. If you try a search before it finishes it will dispaly the progress dialog. After that searches will be very fast just like in esearch or eix. The one thing that porthole does not due so far is detect when overlays are updated by themselves. I have been talking with necoro (portato's dev) and we think he's come up with a method for monitoring and detecting changes in overlays. That should make it into porthole's next release.
| Quote: | | - Make it possible to easily unmask packages |
Already there... just right-click your mouse with the package selected in the package-view or over a specific version in the package Summary's ebuild table. It gives you all the options depending on the package status. There is also the advanced emerge dialog that gives you all the options along with USE flag descriptions.
There are three areas that have right-click menu options. The package listings, Package Summary ebuild table and the dependency view. The dependencies are also dbl-clickable to bring up their own pop-up window.
| Quote: | | - Integrate the Porthole terminal in Porthole, or at the very least provide an option to automatically close the Porthole terminal |
Actually I plan to do the opposite. I want to separate out the terminal to its own process. Possibly recode some of it in "c" to speed up some portions, possibly use the vte terminal widget instead of our python one for broader adaptability.
I also plan to be able to completely hide the terminal and get status messages from the main window. I have wanted to add an animated icon to indicate the terminal status for a long time now, but alas I'm not an artist. I've been wanting an animated propeller design that spins slowly when a command is running in the terminal. Something that does not use a lot of cpu, I think gif images are the correct type for this and have support in pygtk.
Any artistic volunteers?
| Quote: | | - Instead of 'emerge' and ''unmerge' use the terms 'Install' and 'Remove' |
Is very possible. I am also going to separate out the current hard coding of the emerge commands into a config file to make it easy to change PM's. With that you will also be able to specify your own custom install scripts and emerge wrappers. Probably be able to use pkgcore for the install and possibly the internal backend data as well.
Thank you for your review. There have been quite a few changes since the last release. Look around some more, there's more to see  _________________ Brian
Porthole, the Portage GUI frontend irc@freenode: #gentoo-guis, #porthole, Blog
layman, gentoolkit, CoreBuilder, esearch... |
|
| Back to top |
|
 |
Kasumi_Ninja Veteran


Joined: 18 Feb 2006 Posts: 1825 Location: The Netherlands
|
Posted: Wed May 21, 2008 8:57 pm Post subject: |
|
|
| dol-sen wrote: | | This version of porthole now has it's own description database that it will automatically update when it detects that the portage tree has been updated. If you do a sync in porthole after it is finished you will see your cpu still running at 100% while it updates and saves it's new description database. It will also check if the database is current to the portage tree when porthole is started. If you try a search before it finishes it will dispaly the progress dialog. After that searches will be very fast just like in esearch or eix. |
I did an emerge --sync and now searching is lightning fast
| Quote: | | Already there... just right-click your mouse with the package selected in the package-view or over a specific version in the package Summary's ebuild table. It gives you all the options depending on the package status. |
I suggest you rename it from "add ~x86 to package keywords" to "unmask".
| Quote: | Actually I plan to do the opposite. I want to separate out the terminal to its own process. Possibly recode some of it in "c" to speed up some portions, possibly use the vte terminal widget instead of our python one for broader adaptability.
I also plan to be able to completely hide the terminal and get status messages from the main window. I have wanted to add an animated icon to indicate the terminal status for a long time now, but alas I'm not an artist. I've been wanting an animated propeller design that spins slowly when a command is running in the terminal. Something that does not use a lot of cpu, I think gif images are the correct type for this and have support in pygtk.
Any artistic volunteers? |
Oh well, as long ad the separate terminal is out of sight 'd be happy. Aren't there free gif images on the web? Like http://www.gifs.net/gif/
| Quote: | | Is very possible. I am also going to separate out the current hard coding of the emerge commands into a config file to make it easy to change PM's. With that you will also be able to specify your own custom install scripts and emerge wrappers. Probably be able to use pkgcore for the install and possibly the internal backend data as well. |
That would be great! _________________ Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered |
|
| Back to top |
|
 |
Kasumi_Ninja Veteran


Joined: 18 Feb 2006 Posts: 1825 Location: The Netherlands
|
Posted: Wed May 21, 2008 9:42 pm Post subject: |
|
|
It would be nice if porthole has a a possibility to ignore failed emerges during world updates. Something like this script:
| Quote: | Without doubt, one of Gentoo's best features is its package management system, Portage. Portage makes it very easy to update your entire system with one simple command. Sadly, things don't always go as smooth as they should. Almost every Gentoo user has typed emerge -uD world and gone to bed with the hope of waking up in the morning to a completely up to date system. Unfortunately, it's more likely that you.ll wake up to a failed emerge on package 3 of 220. And so the troubleshoot and emerge --resume process begins.
Enter update-world to save the day. Update-world is a bash script that was recently created by count_zero and posted in the forums. The script controls the update process and forces portage to skip past failed builds and continue compiling packages until the update list is finished. Failed builds are added to a list for review once the update is finished. |
http://www.gentoo.org/news/en/gwn/20061204-newsletter.xml
http://forums.gentoo.org/viewtopic-t-497125-postdays-0-postorder-asc-start-0.html _________________ Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered |
|
| Back to top |
|
 |
dol-sen Developer


Joined: 30 Jun 2002 Posts: 2153 Location: Richmond, BC, Canada
|
Posted: Thu May 22, 2008 1:40 am Post subject: |
|
|
| Aniruddha wrote: | | It would be nice if porthole has a a possibility to ignore failed emerges during world updates |
Porthole already does and has since about version -0.3 if not earlier.
It has been so long, I forgot... but if you just hit the upgrade button without viewing the upgradeable packages first it does send the emrege -u world command. If you choose "No" to upgrading all packages in your world file, it will bring you to the "upgradeable packages" view for you to choose from. see more expalnation below.
In fact most people use the porthole feature that does not normally use the emerge -u world command for it's update process. Instead since all installed packages are loaded into it's database. it scans through all installed packages and presents you the list, separated out into the different categories the package belong to including any package system, sets, world and dependencies. It is up to you to select which ones you wish to update and then sends them to its queue to be upgraded individually. To get to that one just select "Upgradeable packages" view from the drop down selector box just to the left of the search entry box.
| Quote: | | I suggest you rename it from "add ~x86 to package keywords" to "unmask". |
There are 2 different types of unmask. One is the keyword "~arch" which is the one you are refering to and the other is hard masked packages. The one above is done that way to be clear which one you are choosing. The "~x86" in the above is added dynamically depending on your system arch. The second "hard masked" option is called unmask in the menu options. They come up only when they are relavent to what may be desired depending on their current status. _________________ Brian
Porthole, the Portage GUI frontend irc@freenode: #gentoo-guis, #porthole, Blog
layman, gentoolkit, CoreBuilder, esearch... |
|
| Back to top |
|
 |
Kasumi_Ninja Veteran


Joined: 18 Feb 2006 Posts: 1825 Location: The Netherlands
|
Posted: Thu May 22, 2008 10:00 pm Post subject: |
|
|
| dol-sen wrote: | | Aniruddha wrote: | | It would be nice if porthole has a a possibility to ignore failed emerges during world updates |
Porthole already does and has since about version -0.3 if not earlier.
It has been so long, I forgot... but if you just hit the upgrade button without viewing the upgradeable packages first it does send the emrege -u world command. If you choose "No" to upgrading all packages in your world file, it will bring you to the "upgradeable packages" view for you to choose from. see more expalnation below.
In fact most people use the porthole feature that does not normally use the emerge -u world command for it's update process. Instead since all installed packages are loaded into it's database. it scans through all installed packages and presents you the list, separated out into the different categories the package belong to including any package system, sets, world and dependencies. It is up to you to select which ones you wish to update and then sends them to its queue to be upgraded individually. To get to that one just select "Upgradeable packages" view from the drop down selector box just to the left of the search entry box. |
This only handy when you know upfront which packages will fail. The problem with update world is that packages fail stalling the entire update process. The update-world script prevents this by skipped failed emerges. _________________ Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered |
|
| Back to top |
|
 |
Kasumi_Ninja Veteran


Joined: 18 Feb 2006 Posts: 1825 Location: The Netherlands
|
Posted: Thu May 22, 2008 10:06 pm Post subject: |
|
|
I noticed that after installing a package the "Loading package descriptions" dialog hangs. I have to click "Cancel" to get rid of this dialog.
-Which package do I need to install in order to enable "gksudo -g"?
-Is it possible to queue multiple programs in order to emerge them at once?
-I think it's an good idea to use "autounmask -n" for unmasking packages that way one can unmask all packages a once  _________________ Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered |
|
| Back to top |
|
 |
dol-sen Developer


Joined: 30 Jun 2002 Posts: 2153 Location: Richmond, BC, Canada
|
Posted: Fri May 23, 2008 1:20 am Post subject: |
|
|
| Quote: | | Which package do I need to install in order to enable "gksudo -g"? |
That would be x11-libs/gksu. But you can put in the command for any GUI su/sudo client such as kdesu.
| Quote: | | Is it possible to queue multiple programs in order to emerge them at once? |
Yes, for all that information and a lot more. Click on the "Help" ==> "Contents" menu item, in the upper right page corner choose item c. "Terminal Window". You will find answers for nearly everything about porthole in those help pages.
| Quote: | | I think it's an good idea to use "autounmask -n" for unmasking packages that way one can unmask all packages a once |
Currently the emerge commands are hard coded and not easily changed (that should be easily configurable in the next major porthole version). Also I have had too many major changes to portholes code and too little time to work on it. That is why it has been 2 years in the making for this release. I fully plan to add a semi-automatic type of unmasking system to porthole. But for fully automatic unmasking there is the potential problem of blindly unmasking packages and then complaining that things are broken. That is why I chose to work on the dependency view enhancements first. It is so you can look at what needs unmasking/keywording and decide if it is what you want. I have done a lot of work improving the dependency view over the previous versions. So please look over the main window help page ("Help" ==> "Contents" menu item, etc.), there is a great deal of information including a number of screenshots explaining features. I still have a few small updates to complete on the help pages, but you should find everything you need to know about porthole. Also, development help is welcomed, patches, translations. plug-in enhancements...
| Quote: | | I noticed that after installing a package the "Loading package descriptions" dialog hangs. I have to click "Cancel" to get rid of this dialog. |
This one is a possible bug, I have not experienced that except for when there was a problem in the portage tree. In order to troubleshoot it you need to open a terminal window and start porthole from there with the following command to get as much info as possible to determine what the problem is.
If you get some "qa notices" or other portage errors that are causing the hang, then it is likely you have some problem in your copy of the tree. Sometimes deleting a corrupt file and syncing the tree again will fix it. If not then please submit a bug report and attach a copy of the file you save the complete terminal output to Please don't cut out portions. Sometimes the clue to finding/fixing the bug is hidden in the preceding text. (see the link in my sig.) _________________ Brian
Porthole, the Portage GUI frontend irc@freenode: #gentoo-guis, #porthole, Blog
layman, gentoolkit, CoreBuilder, esearch... |
|
| Back to top |
|
 |
Kasumi_Ninja Veteran


Joined: 18 Feb 2006 Posts: 1825 Location: The Netherlands
|
Posted: Fri May 23, 2008 8:15 am Post subject: |
|
|
| dol-sen wrote: | | Quote: | | Which package do I need to install in order to enable "gksudo -g"? |
That would be x11-libs/gksu. But you can put in the command for any GUI su/sudo client such as kdesu. |
Hmm that is strange. I have gksu installed, but when I launch porthole from the application menu in gnome it is launched without root priveleges,
| Quote: | | IYes, for all that information and a lot more. Click on the "Help" ==> "Contents" menu item, in the upper right page corner choose item c. "Terminal Window". You will find answers for nearly everything about porthole in those help pages. |
Thanks.
| Quote: | | Currently the emerge commands are hard coded and not easily changed (that should be easily configurable in the next major porthole version). Also I have had too many major changes to portholes code and too little time to work on it. That is why it has been 2 years in the making for this release. I fully plan to add a semi-automatic type of unmasking system to porthole. But for fully automatic unmasking there is the potential problem of blindly unmasking packages and then complaining that things are broken. |
The only thing autounmask does is to unmask all dependencies of an masked application
| Quote: | That is why I chose to work on the dependency view enhancements first. It is so you can look at what needs unmasking/keywording and decide if it is what you want. I have done a lot of work improving the dependency view over the previous versions. So please look over the main window help page ("Help" ==> "Contents" menu item, etc.), there is a great deal of information including a number of screenshots explaining features. I still have a few small updates to complete on the help pages, but you should find everything you need to know about porthole. Also, development help is welcomed, patches, translations. plug-in enhancements... |
Your hard work shows, porthole is a great application I wish I had the time/skills to help
| Quote: | This one is a possible bug, I have not experienced that except for when there was a problem in the portage tree. In order to troubleshoot it you need to open a terminal window and start porthole from there with the following command to get as much info as possible to determine what the problem is.
If you get some "qa notices" or other portage errors that are causing the hang, then it is likely you have some problem in your copy of the tree. Sometimes deleting a corrupt file and syncing the tree again will fix it. If not then please submit a bug report and attach a copy of the file you save the complete terminal output to Please don't cut out portions. Sometimes the clue to finding/fixing the bug is hidden in the preceding text. (see the link in my sig.) |
Here's the output. I don't see anything special: _________________ Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered
Last edited by Kasumi_Ninja on Fri Jun 06, 2008 8:00 am; edited 1 time in total |
|
| Back to top |
|
 |
dol-sen Developer


Joined: 30 Jun 2002 Posts: 2153 Location: Richmond, BC, Canada
|
Posted: Sat May 24, 2008 1:21 am Post subject: |
|
|
| Quote: | | DATABASE: load() file is loaded, mtime = 1211402810 |
That is the same file that it knows is up to date and re-loaded 3 times in that output, The fourth time was not included and would have been in 1 or 2 more output lines. Nowhere in that output does it say that the descriptions db was out of date and updating.
Are you sure it is the descriptions update that is hanging? I know there have been a few instances that the progress bar in the lower left corner of the main window stayed at 100% and was not reset to "Done". I thought it was fixed, but if that is what you are seeing... then don't worry about it. It is only a trivial display bug that will not affect operation. It is also not related to the descriptions update process. That has it's own small pop-up dialog box and progress bar that only shows itself if you do a descriptions search before it is finished updating. Otherwise the description update process is all done in the background.
I just did a sync, notice last 5 lines of output, showing it is out of date and started the DescriptionReader().
| Code: | DATABASE: db_update(); db_thread is done...
DATABASE: db_update(); db_thread.join...
DBREADER: DatabaseReader.run(); finished
DATABASE: db_update(); db_thread.join is done...
DATABASE: db_update(); db is updated
DATABASE: load() loading 'db' from file: /var/db/porthole/descriptions.db
BACKENDS Utilities: get_sync_info();
BACKENDS Utilities: get_sync_info(); last_sync = Sat May 24 01:10:14 UTC 2008
DATABASE: load(); 'db' is out of date
READERS: DescriptionReader(); process id = 20540 *****************
|
If you can, take a screenshot and open a bug for it on porthole's sourceforge site. Don't try to post it here.
| Quote: | | I have gksu installed, but when I launch porthole from the application menu in gnome it is launched without root priveleges, |
gksu is only used for launching programs from porthole as root. Namely the etc-proposals program, profuse, and porhole's set_config.py script which actually does the modifications to the /etc/portage/package.* files and /etc/make.conf. Porthole itself runs as a user and uses normal cli sudo for running the commands from the queue. I plan to integrate libgksu into the terminal so that only the terminal (spawned shell process) that runs the emerge commands will run as root. the rest of the gui will run as a user. If you want to run porthole as root then you will have to do so from a su'd terminal, or run it by "sudo porthole" or edit the launcher command to "gksu porthole" so gksu will handle the it, etc..
| Quote: | | The only thing autounmask does is to unmask all dependencies of an masked application | Yes, I know. If you re-read what I previously posted... I do not agree with fully automatic unmasking. My intent is to present a list of packages that need unmasking and get your approval first, before proceeding. That way a user will have ample opportunity to review and change their mind. If they don't and just hit "Yes" then it is not my or porthole's fault if things break, etc.  _________________ Brian
Porthole, the Portage GUI frontend irc@freenode: #gentoo-guis, #porthole, Blog
layman, gentoolkit, CoreBuilder, esearch... |
|
| Back to top |
|
 |
dol-sen Developer


Joined: 30 Jun 2002 Posts: 2153 Location: Richmond, BC, Canada
|
Posted: Sun May 25, 2008 2:27 pm Post subject: |
|
|
OK, time to back pedal...
It finally screwed up and I experienced the bug with the description loading dialog being dead. It did not leave any debug message trail either. But I know the exact conditions it needs now, so should be relatively easy to find  _________________ Brian
Porthole, the Portage GUI frontend irc@freenode: #gentoo-guis, #porthole, Blog
layman, gentoolkit, CoreBuilder, esearch... |
|
| Back to top |
|
 |
dol-sen Developer


Joined: 30 Jun 2002 Posts: 2153 Location: Richmond, BC, Canada
|
Posted: Sun May 25, 2008 6:31 pm Post subject: |
|
|
I've just committed a number of updates that fix several bugs and does some code cleanup in the portagelib.py
Changes:-- updates for portage-2.2 compatibility
-- streamline portage calls to be consistent and easier to update info after syncs, etc. using copied code from emerge
-- fix set_config.py not updating /etc/make.conf USE= correctly for multiline assignment. Now uses code copied and extended from layman. Full overlay support will now be easier to implement in future.
-- fix the description update dialog bug noted in previous posts
-- fix bug in the USE flags setting not agreeing with emerge after modifications were made to /etc/make.conf
-- help file updates including more screenshot pics
For those of you with svn copies please "svn update" and test it. Report here if you find anything not working correctly or if all is OK. I still need to update setup.py for it to install correctly after these changes, so run it from the svn download copy only. I have tested (quick, not thorough) it to run correctly on portage-2.1.4.4, 2.1.5.2, 2.2_pre6, 2.2_pre7, so more testing and feedback is appreciated.
After I get some good feedback I'll create a patch to _rc3 and update the ebuild for everyone else. _________________ Brian
Porthole, the Portage GUI frontend irc@freenode: #gentoo-guis, #porthole, Blog
layman, gentoolkit, CoreBuilder, esearch... |
|
| Back to top |
|
 |
dol-sen Developer


Joined: 30 Jun 2002 Posts: 2153 Location: Richmond, BC, Canada
|
Posted: Sun Jun 01, 2008 7:18 pm Post subject: |
|
|
OK, Iv'e just released -0.6.0_rc4 which has all the bugfixes to date. Unless some other major bugs show up, this will probably be the last release candidate before -0.6.0 final. I can't think of much more to do to this one without moving towards the next release.
bugzilla posting: bug #219902
Mostly all that is left is Translation updates. If you are able to translate porthole's interface to another language. Please see this forum thread devoted to that specific topic. Existing translations just need some updating.
Thank you. _________________ Brian
Porthole, the Portage GUI frontend irc@freenode: #gentoo-guis, #porthole, Blog
layman, gentoolkit, CoreBuilder, esearch... |
|
| Back to top |
|
 |
Kasumi_Ninja Veteran


Joined: 18 Feb 2006 Posts: 1825 Location: The Netherlands
|
Posted: Sun Jun 01, 2008 9:05 pm Post subject: |
|
|
| dol-sen wrote: | OK, Iv'e just released -0.6.0_rc4 which has all the bugfixes to date. Unless some other major bugs show up, this will probably be the last release candidate before -0.6.0 final. I can't think of much more to do to this one without moving towards the next release.
bugzilla posting: bug #219902
Mostly all that is left is Translation updates. If you are able to translate porthole's interface to another language. Please see this forum thread devoted to that specific topic. Existing translations just need some updating.
Thank you. |
Thanks, I will try it asap  _________________ Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered |
|
| Back to top |
|
 |
dol-sen Developer


Joined: 30 Jun 2002 Posts: 2153 Location: Richmond, BC, Canada
|
Posted: Thu Jun 05, 2008 5:54 am Post subject: |
|
|
Ok, _rc4 is in the portage tree now.
sync and emerge for those that have been waiting. _________________ Brian
Porthole, the Portage GUI frontend irc@freenode: #gentoo-guis, #porthole, Blog
layman, gentoolkit, CoreBuilder, esearch... |
|
| Back to top |
|
 |
aitch Tux's lil' helper

Joined: 26 Sep 2005 Posts: 88 Location: New Zealand
|
Posted: Fri Jun 06, 2008 12:35 am Post subject: |
|
|
hey just trying out some portage frontends and porthole looks pretty nice. one thing I was wondering about is whether it's possible to merge/unmerge whole sets?
alternatively, is there a way to unmerge multiple files at once, since the queue option only seems to work for emerging.
thanks for your work on this excellent frontend! |
|
| Back to top |
|
 |
dol-sen Developer


Joined: 30 Jun 2002 Posts: 2153 Location: Richmond, BC, Canada
|
Posted: Fri Jun 06, 2008 8:18 am Post subject: |
|
|
| Quote: | | one thing I was wondering about is whether it's possible to merge/unmerge whole sets? |
Merge/unmerge is currently 'No'. group selection is only working for the "Upgrade" toolbutton. It will merge currently non-installed packages as well. For a test just set the --pretend flag select all/several set member packages in the sets view, click upgrade.
It is early for set support and only has some of the basics. I need to re-work that somewhat yet.
| Quote: | alternatively, is there a way to unmerge multiple files at once, since the queue option only seems to work for emerging.
|
The queue will always work. It does not initially show itself when there is only 1 command to process. If given multiple commands or another command before the current running one is finished it will show itself.
Currently unmerging must be done one at a time. You do not have to wait for the running command to finish before clicking to unmerge another, just keep selecting the packages and click to unmerge.
I intend to make the selection checkboxes available for all views and all command options that make sense. I have only recently gotten a life again and have time to develop porthole again  _________________ Brian
Porthole, the Portage GUI frontend irc@freenode: #gentoo-guis, #porthole, Blog
layman, gentoolkit, CoreBuilder, esearch... |
|
| Back to top |
|
 |
seren Guru


Joined: 27 Aug 2005 Posts: 448 Location: Wisconsin
|
Posted: Fri Jun 06, 2008 5:23 pm Post subject: |
|
|
[quote="Aniruddha"] | dol-sen wrote: | | Quote: | | Which package do I need to install in order to enable "gksudo -g"? |
That would be x11-libs/gksu. But you can put in the command for any GUI su/sudo client such as kdesu. |
Hmm that is strange. I have gksu installed, but when I launch porthole from the application menu in gnome it is launched without root priveleges,
Just installed 0.6.0-rc4 and I'm having the same Problem. I had no other versions installed. Fixed by editing /usr/share/applications/porthole.desktop and changing Exec=porthole to Exec=gtksu porthole works as expected. |
|
| Back to top |
|
 |
dol-sen Developer


Joined: 30 Jun 2002 Posts: 2153 Location: Richmond, BC, Canada
|
Posted: Fri Jun 06, 2008 9:41 pm Post subject: |
|
|
There were problems adding that to the porthole.desktop file years ago. It did not always work for all desktop managers and interfaces. Some users are primarily using KDE and use a different su client, etc.. Also porthole does not need to run as root. It will run as a user and sudo the emerge commands in it's terminal.
The "gksu" app is only used to launch the plug-in packages and saving changes to the configs. It is also configurable to use any graphical su/sudo app.
For the next release I intend to work on the terminal more and integrate libgksu, for even more versatility, etc..
btw: Latest svn changes: | Code: | - remove pyxml dependency by using the built-in python xml.minidom module more fully.
- Improved the sudo password handling, including password scrambling for in memory storage, watching for bad password messages
from sudo. Not only the standard response but all 43 possible insults that can be configured to use. It will also bring up the password
entry dialog to re-enter the correct password for as long as sudo will allow. |
P.S. [shameless plug] for Gpytage a /etc/portage/ files editor in gtk that I have been helping is now in the tree. Try it out and comment here. _________________ Brian
Porthole, the Portage GUI frontend irc@freenode: #gentoo-guis, #porthole, Blog
layman, gentoolkit, CoreBuilder, esearch... |
|
| Back to top |
|
 |
dol-sen Developer


Joined: 30 Jun 2002 Posts: 2153 Location: Richmond, BC, Canada
|
Posted: Sat Jun 07, 2008 5:05 pm Post subject: |
|
|
It looks like porthole is not yet compatible with the SQlite backend to portage. This is due to a threading issue that prevents porthole from access to the info from it's threaded upgrades reader. SQLite objects are only useable from within the same thread. I will look into it, hopefully it will not be too difficult to resolve before -0.6.0 final. _________________ Brian
Porthole, the Portage GUI frontend irc@freenode: #gentoo-guis, #porthole, Blog
layman, gentoolkit, CoreBuilder, esearch... |
|
| Back to top |
|
 |
X-dark n00b


Joined: 29 Sep 2008 Posts: 24 Location: Waterloo, ON, Canada
|
Posted: Fri Oct 03, 2008 12:07 am Post subject: |
|
|
| I don't know if this is known but ticking the "ask" option doesn't change anything to the command executed. |
|
| Back to top |
|
 |
dol-sen Developer


Joined: 30 Jun 2002 Posts: 2153 Location: Richmond, BC, Canada
|
Posted: Sat Oct 04, 2008 5:31 pm Post subject: |
|
|
Right you are... checking just now it seems about half a dozen of the newer options additions are not working. I will look into it. I think I have forgotten to get back to finish their toggle coding. There always seemed to be bigger things to fix/do. There are some that should uncheck another when it is checked, but are not.
Things get too busy in the summer for me so I have not been able to complete the terminal queue bug rewrite I've been working on. It occurs when trying to move items in the queue. It is mostly done, but needs more work and debugging before I upload it to sourceforge. I am starting to get more time again, but no internet connection at home right now makes it difficult to get my brain back into coding mode.
Fixing these option toggles should not be too difficult and I will get it fixed soon.
Thanks. _________________ Brian
Porthole, the Portage GUI frontend irc@freenode: #gentoo-guis, #porthole, Blog
layman, gentoolkit, CoreBuilder, esearch... |
|
| Back to top |
|
 |
|
|
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
|
|