New version; attaching what I have so far; it builds, but fails with a file not found error. I am not using gnome or gvim use flags, so I can test that side of stuff. I appreciate that you're working on a new kiwi svn dl; the src file and dir are PIDA-0.5.0 not pida-0.5.0 so I thought the changes of that and dependencies might be useful. Reproducible: Always Traceback (most recent call last): File "/usr/bin/pida", line 29, in ? main() File "/usr/lib/python2.4/site-packages/pida/core/application.py", line 133, in main exit_val = run_func(env) File "/usr/lib/python2.4/site-packages/pida/core/application.py", line 93, in run_pida b.start() File "/usr/lib/python2.4/site-packages/pida/core/boss.py", line 28, in start self._sm.activate_editor(editor_name) File "/usr/lib/python2.4/site-packages/pida/core/servicemanager.py", line 233, in activate_editor self.editor.pre_start() File "/usr/lib/python2.4/site-packages/pida/editors/vim/vim.py", line 130, in pre_start self._view.run() File "/usr/lib/python2.4/site-packages/pida/editors/vim/vim.py", line 42, in run self._vim.run() File "/usr/lib/python2.4/site-packages/pida/utils/vim/vimembed.py", line 131, in run close_fds=True) File "/usr/lib/python2.4/subprocess.py", line 543, in __init__ errread, errwrite) File "/usr/lib/python2.4/subprocess.py", line 975, in _execute_child raise child_exception OSError: [Errno 2] No such file or directory $ sed -n '120,131{p;}; 132q;' /usr/lib/python2.4/site-packages/pida/utils/vim/vimembed.py args = self.args[:] # a copy args.extend(['--socketid', '%s' % xid]) if not xid: return if not self.pid: popen = subprocess.Popen( [self._command, '--servername', self.get_server_name(), '--cmd', 'let PIDA_EMBEDDED=1', '--cmd', 'so %s' % self._init_script ] + args, close_fds=True)
Created attachment 123725 [details] pida-0.5.0.ebuild (not finished)
Created attachment 123779 [details] pida-0.5.0.ebuild This one works :-) It turns out it needs either a patched emacs or gvim. Since I don't run emacs, and don't know anything about the patches, I made it unconditionally depend on gvim. The Add Project seems to work ok with gentoo kwiki as well.
Created attachment 123990 [details] pida-0.5.0.ebuild 0.5.0 has a bug when loading python plugin (for class/doc browser etc.) This means it needs bicyclerepair. According to Ali, the main pida dev, this will not be required for the next version (he fixed the bug while we spoke.) Another bug came up while testing this; if there's a problem loading a plugin, the IDE freezes. This is already fixed in svn. (Only change is addition of bicyclerepair as rdepend.) I really do recommend this one; it makes python GUI development a doddle, and requires little that is not on most standard Gentoo desktops. gvim is an eye-opener too :)
Created attachment 123991 [details] pida-0.5.0.ebuild :oops: really sorry atom wasn't fully-formed (no >=)
Whoops, just committed 0.5.0 a few minutes ago. I'll add the bicyclerepairman RDEPEND. I reported the gvim bug upstream (where it won't start if you dont' have gvim installed but want to use a different editor) Thanks, Steve.