Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 137846

Summary: peacock-1.9.1 needs a fix for gtkhtml-3.0
Product: Gentoo Linux Reporter: Carles Escrig <simkin>
Component: New packagesAssignee: Gentoo SGML project <sgml>
Status: RESOLVED FIXED    
Severity: normal CC: dav_it, gentoo
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 161756    
Attachments: peacock-1.9.1-r1.ebuild
files/peacock.desktop
peacock-1.9.1.ebuild.diff
peacock-1.9.1.ebuild

Description Carles Escrig 2006-06-24 07:45:02 UTC
app-editors/peacock-1.9.1 in portage doesn't work for me. Fails with:



(peacock-2:12682): Bonobo-WARNING **: Activation exception 'No s'ha pogut activa r 
Comment 1 Carles Escrig 2006-06-24 07:45:02 UTC
app-editors/peacock-1.9.1 in portage doesn't work for me. Fails with:



(peacock-2:12682): Bonobo-WARNING **: Activation exception 'No s'ha pogut activa r «OAFIID:GNOME_GtkHTML_Editor:3.0»'

(peacock-2:12682): Bonobo-CRITICAL **: bonobo_widget_set_property: assertion `co ntrol != NULL' failed



That's because it's expecting gnome-extra/gtkhtml-3.0.x. That could be solved by specifying in the dependencies =gnome-extra/gtkhtml-3.0.* ...
by the way, I've changed the ebuild in order to work with the latest gtkhtml version in portage. Also added a menu entry (in filesdir) for the application.

Please test and bump this as soon as possible as the actual ebuild in portage doesn't work although is marked as stable.

Regards

//simkin
Comment 2 Carles Escrig 2006-06-24 07:45:35 UTC
Created attachment 90026 [details]
peacock-1.9.1-r1.ebuild
Comment 3 Carles Escrig 2006-06-24 07:46:38 UTC
Created attachment 90027 [details]
files/peacock.desktop
Comment 4 Alexandre Buisse (RETIRED) gentoo-dev 2006-06-26 05:49:05 UTC
When you update an existing ebuild, please provide a diff, it's easier for us to look at. Also please paste only unlocalized error messages (in english).

What do you call "to work with the latest version in portage"? Does this mean that one needs to have the exact version of gtkhtml in the peacock file that you sed? Won't it work with 3.0 if I have 3.8 in the ebuild and vice-versa?

Thanks for clarification, I couldn't find anything on those issues.
Comment 5 Carles Escrig 2006-06-26 08:42:40 UTC
I'll take care of providing a diff next time, I'm sorry.

The problem with peacock is that the program is expecting gtkhtml-3.0* but the dependencies in the ebuild doesn't specify anything (indeed that dependency is missing at all).

This can be solved adding:

=gnome-extra/gtkhtml-3.0*

to the dependencies. That's enough.

I was trying to make peacock work with >=gnome-extra/gtkhtml-3 in order to not have another installed slot of gtkhtml, but specifying the right version of gtkhtml is the way to go I guess.

Also, I attached a menu file for the app, that's trivial but nice if included in the changes.

Ouch! Sorry, app-text/gnome-spell is another missing dependency

Thanks for your time. Regards.
Comment 6 Carles Escrig 2006-06-26 08:43:15 UTC
Created attachment 90191 [details, diff]
peacock-1.9.1.ebuild.diff
Comment 7 PaulNM 2007-01-12 13:36:07 UTC
This is just an idea, not critical in any way, but perhaps making the app-text/gnome-spell dependency rely on a use flag would be better? I don't have gnome-spell installed, and peacock-2 is perfectly usable once I installed gtkhtml-3.0*, just without spell checking.
Comment 8 Davide Italiano (RETIRED) gentoo-dev 2007-08-16 01:53:36 UTC
Created attachment 128230 [details]
peacock-1.9.1.ebuild

Tested w/ gtkhtml dependency. It works fine. 
I also tried implementing IUSE="spell" but reading the source I saw that this feature can't be implemented. I polished the ebuild that you can see in the attachment removing a lot of dependencies that are unnecessary, with the proper versions declared in configure.in . The extra dependency =gnome-extra/gtkhtml-3.0* wasn't mentioned in configure, but it's used in source code. Here's the cause of this lack/error. That dependency should bring all the other components (spell included) according to the user settings. :)
Comment 9 Leonardo Boshell (RETIRED) gentoo-dev 2007-08-17 04:15:43 UTC
The gtkhtml-3.0 dependency has been added, along with some other editions based on the patches provided here. The changes are in peacock-1.9.1-r1.ebuild.

Thanks.