Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Discussion & Documentation Gentoo Chat
  • Search

Porthole-0.3 Released!

Opinions, ideas and thoughts about Gentoo. Anything and everything about Gentoo except support questions.
Post Reply
  • Print view
Advanced search
119 posts
  • 1
  • 2
  • 3
  • 4
  • 5
  • Next
Author
Message
dgt84
Guru
Guru
User avatar
Posts: 355
Joined: Tue May 27, 2003 5:21 pm
Location: Germany => USA

Porthole-0.3 Released!

  • Quote

Post by dgt84 » Tue Mar 30, 2004 10:55 pm

Hello!

:!: Porthole has just reached version 0.3!
Porthole is a GTK-based frontend for Portage. It features a hierarchial view of packages and supports fast searches and dependency calculations. Porthole also supports basic emerge features (emerge, unmerge, sync, and upgrades).

Porthole is written in Python and is partially based on an earlier program called gportage, which has been discontinued in favour of Porthole.

Ebuilds can be found on the Porthole website. :wink:

A changelog can be found here!

As always, comments and bug reports are welcome!

Special thanks to everyone that was involved!
Lila themes | The Porthole Portage Frontend | SVG-Utils
Top
Jowilly
Guru
Guru
Posts: 319
Joined: Sat Jun 22, 2002 8:36 pm

  • Quote

Post by Jowilly » Tue Mar 30, 2004 11:24 pm

Great ! :D
Top
charlieg
Advocate
Advocate
User avatar
Posts: 2149
Joined: Tue Jul 30, 2002 11:05 am
Location: Manchester UK
Contact:
Contact charlieg
Website

  • Quote

Post by charlieg » Wed Mar 31, 2004 1:26 am

Awesome. 8)
Want Free games?
Free Gamer - open source games list & commentary

Open source web-enabled rich UI platform: Vexi
Top
Genone
Retired Dev
Retired Dev
User avatar
Posts: 9656
Joined: Fri Mar 14, 2003 6:02 pm
Location: beyond the rim

  • Quote

Post by Genone » Wed Mar 31, 2004 6:01 am

Could you please fix bug 924100? It's one of the things that's stopping me from unmasking it.
Top
Pink
Veteran
Veteran
User avatar
Posts: 1062
Joined: Thu Jul 24, 2003 11:52 am

  • Quote

Post by Pink » Wed Mar 31, 2004 7:46 am

Yeah!! Sync works, upgrade works - great job guys - I'm sure it's pure laziness doing it this way but what a great app :D

Huge difference from 0.2
Top
dgt84
Guru
Guru
User avatar
Posts: 355
Joined: Tue May 27, 2003 5:21 pm
Location: Germany => USA

  • Quote

Post by dgt84 » Wed Mar 31, 2004 7:56 am

Genone wrote:Could you please fix bug 924100? It's one of the things that's stopping me from unmasking it.
Check out this commit from TiredOldCoder a few days before we released. It seems to be fixed, but we forgot to change the bug. I've set it's resolution to fixed but kept it open; I'll close it when I get confirmation from you that this is satisfactory.
Lila themes | The Porthole Portage Frontend | SVG-Utils
Top
Hypnos
Advocate
Advocate
User avatar
Posts: 2889
Joined: Thu Jul 18, 2002 5:12 pm
Location: Omnipresent

  • Quote

Post by Hypnos » Wed Mar 31, 2004 8:24 am

Hmm, I get the following error:

Code: Select all

Traceback (most recent call last):
  File "/usr/bin/porthole", line 41, in ?
    import utils
  File "/usr/lib/porthole/utils.py", line 32, in ?
    import datetime
ImportError: No module named datetime
A missing dependency? Too old python (2.2.3)?
Personal overlay | Simple backup scheme
Top
ed0n
l33t
l33t
User avatar
Posts: 638
Joined: Wed Apr 23, 2003 12:08 pm
Location: Prishtine/Kosove
Contact:
Contact ed0n
Website

  • Quote

Post by ed0n » Wed Mar 31, 2004 8:39 am

Code: Select all

Traceback (most recent call last):
  File "/usr/bin/porthole", line 40, in ?
    import utils
  File "/usr/lib/porthole/utils.py", line 36, in ?
    from xmlmgr import XMLManager, XMLManagerError
  File "/usr/lib/porthole/xmlmgr.py", line 63, in ?
    from xml.dom.ext import PrettyPrint
ImportError: No module named ext
Am I missing another dependency?
Top
dol-sen
Retired Dev
Retired Dev
User avatar
Posts: 2805
Joined: Sun Jun 30, 2002 2:44 pm
Location: Richmond, BC, Canada

  • Quote

Post by dol-sen » Wed Mar 31, 2004 8:52 am

From what I could find on my machine, python-2.2 does not have that lib module. look in the :

/usr/lib/python2.2/lib-dynload directory.

It does not show up there in mine, but it is included in:

/usr/lib/python-2.3/lib-dynload directory.

It looks like we need to up the python dependancy to version 2.3

That module is used in the build time estimating feature that has been added to porthole-0.3. It is one of the many features added this release. To see it set the pretend menu option then emerge a package that is already installed. It uses the recorded times from the emerge logs to estimate emerging any package upgrades. It provides fairly accurate results because the times used are the actual times it took to emerge the package on your machine previously. Most package upgrades do not differ greatly in build times.

Sorry, it can not estimate packages never before merged on your system.
Brian
Porthole, the Portage GUI frontend irc@freenode: #gentoo-guis, #porthole, Blog
layman, gentoolkit, CoreBuilder, esearch...
Top
dgt84
Guru
Guru
User avatar
Posts: 355
Joined: Tue May 27, 2003 5:21 pm
Location: Germany => USA

  • Quote

Post by dgt84 » Wed Mar 31, 2004 9:30 am

Go ahead and try emerging Python-2.3 and if that fixes the problem, I will update the ebuilds. If you can't upgrade, or don't want to, let me know and maybe we can add some exception handling code so that it still works with older versions of Python.
I don't want to update the ebuild until we know what is causing both of the problems above.
Lila themes | The Porthole Portage Frontend | SVG-Utils
Top
Hypnos
Advocate
Advocate
User avatar
Posts: 2889
Joined: Thu Jul 18, 2002 5:12 pm
Location: Omnipresent

  • Quote

Post by Hypnos » Wed Mar 31, 2004 11:21 am

dgt84 wrote:Go ahead and try emerging Python-2.3 and if that fixes the problem, I will update the ebuilds. If you can't upgrade, or don't want to, let me know and maybe we can add some exception handling code so that it still works with older versions of Python.
I don't want to update the ebuild until we know what is causing both of the problems above.
Upgrading to 2.3.x fixes the "datetime" problem, and then running "/usr/sbin/python-updater" fixes the XML module problem.
Personal overlay | Simple backup scheme
Top
ed0n
l33t
l33t
User avatar
Posts: 638
Joined: Wed Apr 23, 2003 12:08 pm
Location: Prishtine/Kosove
Contact:
Contact ed0n
Website

  • Quote

Post by ed0n » Wed Mar 31, 2004 11:43 am

Hypnos wrote:"/usr/sbin/python-updater"
I don't have that file.
Top
Hypnos
Advocate
Advocate
User avatar
Posts: 2889
Joined: Thu Jul 18, 2002 5:12 pm
Location: Omnipresent

  • Quote

Post by Hypnos » Wed Mar 31, 2004 11:48 am

ed0n wrote:
Hypnos wrote:"/usr/sbin/python-updater"
I don't have that file.
It's in the newest ebuilds of Python 2.3.x ...
Personal overlay | Simple backup scheme
Top
ed0n
l33t
l33t
User avatar
Posts: 638
Joined: Wed Apr 23, 2003 12:08 pm
Location: Prishtine/Kosove
Contact:
Contact ed0n
Website

  • Quote

Post by ed0n » Wed Mar 31, 2004 1:16 pm

I reemerged the python-3.3 and ran portage-updater but it still doesn't work:

Code: Select all

Traceback (most recent call last):
  File "/usr/bin/porthole", line 40, in ?
    import utils
  File "/usr/lib/porthole/utils.py", line 43, in ?
    import pygtk; pygtk.require("2.0") # make sure we have the right version
  File "/usr/lib/python2.3/site-packages/pygtk.py", line 47, in require
    versions = _get_available_versions()
  File "/usr/lib/python2.3/site-packages/pygtk.py", line 34, in _get_available_versions
    for filename in os.listdir(dir):
OSError: [Errno 2] No such file or directory: '/usr/lib/python23.zip'
Top
dol-sen
Retired Dev
Retired Dev
User avatar
Posts: 2805
Joined: Sun Jun 30, 2002 2:44 pm
Location: Richmond, BC, Canada

  • Quote

Post by dol-sen » Wed Mar 31, 2004 2:00 pm

what is the

Code: Select all

emerge -pv python
output show for use flag settings?
Brian
Porthole, the Portage GUI frontend irc@freenode: #gentoo-guis, #porthole, Blog
layman, gentoolkit, CoreBuilder, esearch...
Top
ed0n
l33t
l33t
User avatar
Posts: 638
Joined: Wed Apr 23, 2003 12:08 pm
Location: Prishtine/Kosove
Contact:
Contact ed0n
Website

  • Quote

Post by ed0n » Wed Mar 31, 2004 2:14 pm

Code: Select all

[ebuild   R   ] dev-lang/python-2.3.3  +X +berkdb -bootstrap -build -doc +gdbm -ipv6 +ncurses +readline +ssl +tcltk -ucs2  0 kB 
Top
dol-sen
Retired Dev
Retired Dev
User avatar
Posts: 2805
Joined: Sun Jun 30, 2002 2:44 pm
Location: Richmond, BC, Canada

  • Quote

Post by dol-sen » Wed Mar 31, 2004 2:26 pm

that's the same as I have.

done some more checking... it is not installed by python2.3, a

Code: Select all

qpkg -f /usr/lib/python23.zip
turns up nothing, looking at the /usr/lib dir in nautilus, it does not show up. BUT it shows in the python path browser in idle????? It isn't openable either.

got me on that one

in a terminal type "idle", then in the file menu click path browser, sounds like it won't be there. But check.
Brian
Porthole, the Portage GUI frontend irc@freenode: #gentoo-guis, #porthole, Blog
layman, gentoolkit, CoreBuilder, esearch...
Top
ed0n
l33t
l33t
User avatar
Posts: 638
Joined: Wed Apr 23, 2003 12:08 pm
Location: Prishtine/Kosove
Contact:
Contact ed0n
Website

  • Quote

Post by ed0n » Wed Mar 31, 2004 6:15 pm

Reemerging pygtk made it work.

Thanks.
Top
IWBCMAN
Guru
Guru
User avatar
Posts: 474
Joined: Tue Jun 25, 2002 10:59 am

  • Quote

Post by IWBCMAN » Fri Apr 02, 2004 9:48 pm

I too had to reemerge pygtk to get porthole running-it seeems to work ok-but when I try to "Run Custom Command" this is the rror message that appears-no window opens up....
I checked to see if the porhole.glade file was actually installed-it is, it is in /usr/share/porthole.....

Code: Select all

 
** (porthole:14476): WARNING **: `GtkTextSearchFlags' is not an enum type
 
(porthole:14476): libglade-WARNING **: could not find glade file 'porthole.glade'
Traceback (most recent call last):
  File "/usr/lib/porthole/mainwindow.py", line 593, in custom_run
    get_command = RunDialog(self.prefs, self.setup_command)
  File "/usr/lib/porthole/command.py", line 35, in __init__
    self.wtree = gtk.glade.XML(self.gladefile, "run_dialog")
RuntimeError: could not create GladeXML object
 
EDIT:

I just edited

/usr/lib/porthole/command.py

and changed "porthole.glade"

to

"/usr/share/porthole/porthole.glade"

and now the dialog comes up.....unfortunately I don't know python-I haven't programmed anything in 15 years-but this little hack seems to work-but it's probably not good hard-coding the path like that.....
Top
dgt84
Guru
Guru
User avatar
Posts: 355
Joined: Tue May 27, 2003 5:21 pm
Location: Germany => USA

  • Quote

Post by dgt84 » Fri Apr 02, 2004 11:18 pm

Okay, good feedback so far :)
I think tomorrow I will make a porthole-0.3-r1 ebuild with updated deps and a patch to fix the above problem.
Lila themes | The Porthole Portage Frontend | SVG-Utils
Top
bicolao
n00b
n00b
Posts: 50
Joined: Mon Jan 05, 2004 6:48 am

  • Quote

Post by bicolao » Sat Apr 03, 2004 7:54 am

One thing i would like to see in porthole is that when you emerge a package, porthole allows you to select which USE flags you like ;)
Bi Cờ Lao
Top
dgt84
Guru
Guru
User avatar
Posts: 355
Joined: Tue May 27, 2003 5:21 pm
Location: Germany => USA

  • Quote

Post by dgt84 » Sat Apr 03, 2004 9:24 am

bicolao wrote:One thing i would like to see in porthole is that when you emerge a package, porthole allows you to select which USE flags you like ;)
We have this planned, but can you think of a good interface for it? We need something that's easy to use, not too complicated, and it needs to fit in well with the rest of Porthole :?:

About the bug above, it's a one-liner. To fix it, change line 34 in /usr/lib/porthole/command.py to say this:

Code: Select all

        self.gladefile = prefs.DATA_PATH + "porthole.glade"
I'm going to work on the ebuild now and try to update the Porthole site and submit the updated ebuild to bugs.gentoo.org.
Lila themes | The Porthole Portage Frontend | SVG-Utils
Top
metnik
Apprentice
Apprentice
Posts: 167
Joined: Fri Sep 19, 2003 7:02 pm
Location: Italia
Contact:
Contact metnik
Website

  • Quote

Post by metnik » Sat Apr 03, 2004 12:42 pm

I tried to emerge gnome-vfs-sftp-0.1.2 with Porthole, but It writes some errors..

000005 /usr/sbin/ebuild.sh: line 13: rm: command not found
...
000151 ./usr/share/doc/gnome-vfs-sftp-0.1.2/AUTHORS.gz
000152 ./usr/share/doc/gnome-vfs-sftp-0.1.2/ChangeLog.gz
000153 >>> Done.
000154 >>> extracting info
000155 >>> extracting gnome-vfs-sftp-0.1.2
000156 [gnome-vfs-sftp-0.1.2] bash: line 1: bzip2: command not found
000157 [gnome-vfs-sftp-0.1.2] bash: line 1: tar: command not found
000158 !!! Error extracting /usr/portage/packages/All/gnome-vfs-sftp-0.1.2.tbz2
000159 *** process terminated ***

but with emerge everything works
<? L'esperto è colui che sa sempre più cose di un argomento sempre più ristretto; fino a sapere tutto di nulla ?>
Top
dol-sen
Retired Dev
Retired Dev
User avatar
Posts: 2805
Joined: Sun Jun 30, 2002 2:44 pm
Location: Richmond, BC, Canada

  • Quote

Post by dol-sen » Sat Apr 03, 2004 4:11 pm

I just emerged it fine with porthole, running it local mode.

How did you run porthole? How did you set it to emerge -- did you use the "Run Custom Command" dialog & ACCEPT_KEYWORDS= , or did you add the pkg to your package.unmask file?


BTW. for those that have not looked, in the run dialog popdown list for the command line. I have created a few persistent history items that contain some pretyped emerge variations for ACCEPT_KEYWORDS= & USE= that just need a little editing and filling in the blanks, but should save some typing. We will (I think) in the future create a configuration window that will allow you to set the default values for those persistent history items among other things. In the meantime, if you are on a different arch you will need to edit the /root/.porthole/prefs.xml file and change it to your arch & it will persist with your changes.
Brian
Porthole, the Portage GUI frontend irc@freenode: #gentoo-guis, #porthole, Blog
layman, gentoolkit, CoreBuilder, esearch...
Top
spb
Retired Dev
Retired Dev
User avatar
Posts: 2135
Joined: Fri Jan 02, 2004 1:18 pm
Location: Cambridge, UK

  • Quote

Post by spb » Sat Apr 03, 2004 7:50 pm

Slight problem: it needs PyXML, but the ebuild doesn't know that.
Top
Post Reply
  • Print view

119 posts
  • 1
  • 2
  • 3
  • 4
  • 5
  • Next

Return to “Gentoo Chat”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic