Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 22938 - abeni-0.0.7.ebuild (New Package)
Summary: abeni-0.0.7.ebuild (New Package)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Alastair Tse (RETIRED)
URL: http://abeni.sf.net/
Whiteboard:
Keywords:
: 22889 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-06-16 11:30 UTC by Rob Cakebread (RETIRED)
Modified: 2003-09-02 06:46 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
abeni 0.0.3 ebuild, new package for first release (abeni-0.0.3.ebuild,728 bytes, text/plain)
2003-06-16 11:34 UTC, Rob Cakebread (RETIRED)
Details
abeni-0.0.5.ebuild (abeni-0.0.5.ebuild,1.06 KB, text/plain)
2003-07-30 15:03 UTC, Rob Cakebread (RETIRED)
Details
abeni-0.0.6.ebuild (abeni-0.0.6.ebuild,1.09 KB, text/plain)
2003-08-06 11:03 UTC, Rob Cakebread (RETIRED)
Details
abeni-0.0.7.ebuild (abeni-0.0.7.ebuild,1.05 KB, text/plain)
2003-08-15 22:58 UTC, Rob Cakebread (RETIRED)
Details
abeni-0.0.8.ebuild (abeni-0.0.8.ebuild,1.09 KB, text/plain)
2003-08-21 15:37 UTC, Rob Cakebread (RETIRED)
Details
fixed ebuild for 0.0.9 (abeni-0.0.9.ebuild,1.07 KB, text/plain)
2003-08-30 05:06 UTC, Marius Mauch (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rob Cakebread (RETIRED) gentoo-dev 2003-06-16 11:30:57 UTC
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.
Comment 1 Rob Cakebread (RETIRED) gentoo-dev 2003-06-16 11:34:16 UTC
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
Comment 2 Rob Cakebread (RETIRED) gentoo-dev 2003-06-16 11:36:12 UTC
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?
Comment 3 Rob Cakebread (RETIRED) gentoo-dev 2003-06-16 12:11:21 UTC
The Sourceforge mirrors sync'd, so the ebuild is working fine now.
Comment 4 Alastair Tse (RETIRED) gentoo-dev 2003-06-16 12:33:09 UTC
taking this one because its related to another bug assigned to me
Comment 5 Rob Cakebread (RETIRED) gentoo-dev 2003-06-18 11:47:40 UTC
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.
Comment 6 Alastair Tse (RETIRED) gentoo-dev 2003-06-19 15:08:06 UTC
*** Bug 22889 has been marked as a duplicate of this bug. ***
Comment 7 Alastair Tse (RETIRED) gentoo-dev 2003-06-19 15:09:28 UTC
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
Comment 8 Rob Cakebread (RETIRED) gentoo-dev 2003-06-19 16:15:37 UTC
I haven't had any problems with USE='gtk', but a lot of people say they get pango/font errors with gtk2 in wxPython.
Comment 9 Marius Mauch (RETIRED) gentoo-dev 2003-06-22 16:26:44 UTC
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.
Comment 10 Rob Cakebread (RETIRED) gentoo-dev 2003-06-22 16:45:28 UTC
> 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 
Comment 11 Alastair Tse (RETIRED) gentoo-dev 2003-06-28 16:47:29 UTC
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
Comment 12 Rob Cakebread (RETIRED) gentoo-dev 2003-06-28 17:29:19 UTC
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.
Comment 13 Alastair Tse (RETIRED) gentoo-dev 2003-07-08 18:15:44 UTC
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.
Comment 14 Rob Cakebread (RETIRED) gentoo-dev 2003-07-21 17:52:10 UTC
Just letting you know I'm still working on this.

I've been developing Abeni with 2.4.12 since that version came out.
Comment 15 Rob Cakebread (RETIRED) gentoo-dev 2003-07-30 15:03:28 UTC
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.
Comment 16 Marius Mauch (RETIRED) gentoo-dev 2003-08-01 22:15:29 UTC
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 ?
Comment 17 Rob Cakebread (RETIRED) gentoo-dev 2003-08-01 23:12:27 UTC
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.
Comment 18 Rob Cakebread (RETIRED) gentoo-dev 2003-08-06 11:03:33 UTC
Created attachment 15624 [details]
abeni-0.0.6.ebuild
Comment 19 Rob Cakebread (RETIRED) gentoo-dev 2003-08-06 11:06:17 UTC
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.
Comment 20 Rob Cakebread (RETIRED) gentoo-dev 2003-08-15 22:58:19 UTC
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"
Comment 21 Rob Cakebread (RETIRED) gentoo-dev 2003-08-21 15:37:01 UTC
Created attachment 16447 [details]
abeni-0.0.8.ebuild
Comment 22 Rob Cakebread (RETIRED) gentoo-dev 2003-08-21 15:40:02 UTC
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
Comment 23 Rob Cakebread (RETIRED) gentoo-dev 2003-08-22 20:52:37 UTC
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.
Comment 24 Rob Cakebread (RETIRED) gentoo-dev 2003-08-28 11:13:04 UTC
0.0.9 released. The abeni-0.0.8.ebuild attachment works for it.

Thanks
Comment 25 Alastair Tse (RETIRED) gentoo-dev 2003-08-29 09:58:14 UTC
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 :)
Comment 26 Rob Cakebread (RETIRED) gentoo-dev 2003-08-29 16:42:20 UTC
No, I don't mind at all, go ahead and use the regular header.

Thanks
Comment 27 Alastair Tse (RETIRED) gentoo-dev 2003-08-30 00:59:04 UTC
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'
Comment 28 Marius Mauch (RETIRED) gentoo-dev 2003-08-30 05:06:48 UTC
Created attachment 16808 [details]
fixed ebuild for 0.0.9

looks like Rob forgot to add a "doins templates" in the ebuild.
Comment 29 Alastair Tse (RETIRED) gentoo-dev 2003-09-02 06:46:07 UTC
thanks guys. i've made some changes to the checking for wxwindow's gtk version and it is now in portage.

thanks guys.