Abeni is a Gentoo Linux GUI editor and syntax checker written in Python. It uses the wxPython library for the GUI. It is easy to use for novice ebuild enthusiasts yet should aid the seasoned developers too. This version lets you use repoman, lintool, create diffs for submitting ebuilds and use ebuild/emerge commands. Abeni's main goal is writing ebuilds quickly, efficiently and syntactally correct. You can create a new ebuild from scratch or import existing ebuilds. This is the second release, mainly a developer pre-alpha release. Reproducible: Always Steps to Reproduce: 1. 2. 3.
Created attachment 13378 [details] abeni 0.0.3 ebuild, new package for first release Had to change abeni-0.0.2 to comply with liquidx's suggestions so had to release 0.0.3
liquidx, I used your suggestion to use: SRC_URI="mirror://sourceforge/abeni/${P}.tar.gz" As of now none of the mirrors have my 0.0.3 release. I can download it directly from Sourceforge's 'files' section on Abeni's project page though. Should I leave it as is?
The Sourceforge mirrors sync'd, so the ebuild is working fine now.
taking this one because its related to another bug assigned to me
I've released abeni-0.0.4.tar.gz, the ebuild for 0.0.3 still works for it. Let me know if I need to submit a new bug for it. Thanks.
*** Bug 22889 has been marked as a duplicate of this bug. ***
its alright, you don't need to submit a new bug about it. i'm still testing this. for some reason my wxGTK/wxPython isn't reacting very well and the text labels aren't displaying for me with out a whole load of pango errors. but this is for 0.0.3. i'll try 0.0.4 a little later
I haven't had any problems with USE='gtk', but a lot of people say they get pango/font errors with gtk2 in wxPython.
A suggestion for the category button: use the $PORTDIR/profiles/categories list instead of the filesystem, the former one contains all valid categories and is also used by repoman for checking. Oh, I also got the pango errors. Seems to be in a loop as there are 5 errors repeating a lot.
> use the $PORTDIR/profiles/categories Good idea, I'll change that. On the pango errors, which version of wxPython and did you use gtk2 to compile wxGTK/wxPython? Thanks
i've been trying to get wxGTK and wxPython out the door, but seems like abeni has some big problems with it .. but you're not the only wxPython app that has problems. ftpcube also doesn't work with wxGTK-2.4.1 and wxPython-2.4.1.2. mcvaio ~ % abeni Traceback (most recent call last): File "/usr/bin/abeni", line 4, in ? import abeni.abeni File "/usr/lib/python2.2/site-packages/abeni/abeni.py", line 14, in ? from portage import config File "/usr/lib/python2.2/site-packages/portage.py", line 214, in ? signal.signal(signal.SIGINT,exithandler) SystemError: error return without exception set
I'm using wxPython 2.4.1.2 and wxGTK 2.4.1 right now. I found out that the error: signal.signal(signal.SIGINT,exithandler) SystemError: error return without exception set is caused from 'from portage import config' To fix it I had to import portage before 'from wxPython.wx import *'. Now it works fine. Pysoulseek 1.2.0.4_pre4 gives the same SIGINT error. I just commented out line 95 in /usr/bin/pyslsk and it works fine: #signal.signal(signal.SIGTERM, sigtermHandler) Everything else is working great. gtk2 support is still really bad though, I can't even get through a lot of the wxPython official demo because of pango errors. Anything that uses wxStyledText or wxHTML has pango/font problems. I tell everyone to use -gtk2 when compiling wxGTK/wxPython for Abeni. I'm going to release 0.0.5 today or tommorow.
rob you reckon you can release a 0.0.5 that works with wxGTK 2.4.1 and wxPython 2.4.1.2 ? those are in portage now.
Just letting you know I'm still working on this. I've been developing Abeni with 2.4.12 since that version came out.
Created attachment 15245 [details] abeni-0.0.5.ebuild Abeni 0.0.5 works great with wxPython 2.4.12. I did all the testing on it since the day 2.4.12 came out. Its not going to work with gtk2 though. I've tried every version of wxPython/wxGTK with gtk2 and I can't get my app or the official wxPython demo to work with gtk2.
genone@andy genone $ abeni Importing portage config, wxPython, Python and Abeni modules... Traceback (most recent call last): File "/usr/bin/abeni", line 4, in ? import abeni.abeni File "/usr/lib/python2.2/site-packages/abeni/abeni.py", line 1169, in ? app=MyApp(0) File "/usr/lib/python2.2/site-packages/wxPython/wx.py", line 1991, in __init__ wxApp.__init__(self, flag) File "/usr/lib/python2.2/site-packages/wxPython/wx.py", line 1939, in __init__ _wxStart(self.OnInit) File "/usr/lib/python2.2/site-packages/abeni/abeni.py", line 1163, in OnInit frame=MyFrame(None, -1, 'Abeni - The ebuild Builder ' + __version__) File "/usr/lib/python2.2/site-packages/abeni/abeni.py", line 52, in __init__ GetOptions(self) File "/usr/lib/python2.2/site-packages/abeni/utils.py", line 8, in GetOptions parent.pref = myOptions.Prefs() File "/usr/lib/python2.2/site-packages/abeni/options.py", line 55, in Prefs pref['editor'] = self.editor AttributeError: Options instance has no attribute 'editor' Is that a known error ?
No, thanks for catching that. That happened because you had config file from an older version of Abeni. I just fixed that in the upcoming 0.0.6. If you remove ~/.abeni/abenirc it should start up fine.
Created attachment 15624 [details] abeni-0.0.6.ebuild
Abeni 0.0.6 is ready. It lets you view the log in a separate window, has colored output, lets you view all eclass files, USE descriptions. It fixes the problem genone described with the config file from older versions.
Created attachment 16154 [details] abeni-0.0.7.ebuild Round 7. This release adds a project manager for your overlay directory. It stores the info in a Python Gadfly SQL database (new DEPEND). Also, you can be lazy with DEPEND and Abeni will determine versions. Example: DEPEND="dev-python/wxPython" Abeni will convert that to DEPEND="dev-python/wxPython-2.4.1.2"
Created attachment 16447 [details] abeni-0.0.8.ebuild
Hi Alastair, I've released another version. The only change in the ebuild is the copyright header line. I changed it after reading the mail on the developer list by Daniel Robbins entitled "Re: [gentoo-dev] Why should copyright assignment be a requirement?" If this is going to be a problem, please let me know. I'd really like to get 0.0.8 in portage. Its difficult to get people to test Gentoo-only software if its not in portage. I've squashed all known bugs in this release. What do I need to do to get this in portage? Thanks, Rob
I heard you're on vacation, Alastair. I'll hurry up and wait in that case :) I've actually had a flood of people testing it since yesterday, so I've got plenty to work on now.
0.0.9 released. The abeni-0.0.8.ebuild attachment works for it. Thanks
alright. this will get into portage as soon as the copyright policy is settled. right now, even though drobbins has said it is alright to put contributors' in the copyright, we don't have the exact policy in place on how to put them in. for example, our qa tools will pick up on the headers and say they are invalid. maybe an extra line in the headers like: # Contributors: Rob Cakebread <robc> would be better .. but i'm waiting something in policy first. unless you don't really mind about the copyright and let me commit it with the current gentoo copyright and then we can make changes to it later :)
No, I don't mind at all, go ahead and use the regular header. Thanks
i just tried running abeni 0.0.9 but it failed opening /usr/share/abeni/templates should that be distributed with the tarball or installed otherwise? because the README doesn't say anything about it. Importing portage config, wxPython, Python and Abeni modules... Traceback (most recent call last): File "/usr/bin/abeni", line 4, in ? import abeni.abeni File "/usr/lib/python2.2/site-packages/abeni/abeni.py", line 1617, in ? app=MyApp() File "/usr/lib/python2.2/site-packages/wxPython/wx.py", line 1991, in __init__ wxApp.__init__(self, flag) File "/usr/lib/python2.2/site-packages/wxPython/wx.py", line 1939, in __init__ _wxStart(self.OnInit) File "/usr/lib/python2.2/site-packages/abeni/abeni.py", line 1611, in OnInit frame=MyFrame(None, -1, 'Abeni - The ebuild Builder ' + __version__) File "/usr/lib/python2.2/site-packages/abeni/abeni.py", line 96, in __init__ shutil.copy("/usr/share/abeni/templates", ("%s/templates/Templates.py" % abeniDir)) File "/usr/lib/python2.2/shutil.py", line 62, in copy copyfile(src, dst) File "/usr/lib/python2.2/shutil.py", line 28, in copyfile fsrc = open(src, 'rb') IOError: [Errno 2] No such file or directory: '/usr/share/abeni/templates'
Created attachment 16808 [details] fixed ebuild for 0.0.9 looks like Rob forgot to add a "doins templates" in the ebuild.
thanks guys. i've made some changes to the checking for wxwindow's gtk version and it is now in portage. thanks guys.