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
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
Created attachment 90026 [details] peacock-1.9.1-r1.ebuild
Created attachment 90027 [details] files/peacock.desktop
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.
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.
Created attachment 90191 [details, diff] peacock-1.9.1.ebuild.diff
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.
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. :)
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.