Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 215337 - New version: app-misc/alexandria-0.6.3
Summary: New version: app-misc/alexandria-0.6.3
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: John Keeping
URL:
Whiteboard:
Keywords:
Depends on: 215457 215458 215634
Blocks:
  Show dependency tree
 
Reported: 2008-03-29 15:32 UTC by Santiago M. Mola (RETIRED)
Modified: 2008-04-23 18:29 UTC (History)
3 users (show)

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


Attachments
Ebuild for alexandria 0.6.3 (alexandria-0.6.3.ebuild,1.54 KB, text/plain)
2008-03-30 17:30 UTC, John Keeping
Details
Patch to fix potential segfault (alexandria-0.6.3-no_tooltips.patch,639 bytes, patch)
2008-03-30 17:33 UTC, John Keeping
Details | Diff
Updated ebuild (alexandria-0.6.3.ebuild,1.42 KB, text/plain)
2008-03-31 22:05 UTC, John Keeping
Details
Patch to remove Amazon AWS 3.x provider (alexandria-0.6.3-no_amazon_3.0.diff,671 bytes, patch)
2008-04-09 18:53 UTC, John Keeping
Details | Diff
Updated ebuild (alexandria-0.6.3.ebuild,1.69 KB, text/plain)
2008-04-09 18:56 UTC, John Keeping
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Santiago M. Mola (RETIRED) gentoo-dev 2008-03-29 15:32:35 UTC
2008-02-21
Alexandria 0.6.3 released
With new iPod Notes export, and a new Amazon ECS 4.0 provider, as well as greater stability.
Comment 1 John Keeping 2008-03-30 17:30:18 UTC
Created attachment 147708 [details]
Ebuild for alexandria 0.6.3
Comment 2 John Keeping 2008-03-30 17:33:48 UTC
Created attachment 147710 [details, diff]
Patch to fix potential segfault

Patch that disables tooltips on icon view. I get a segmentation fault in the mouse motion handler. This seems to be a bug in ruby-gtk2, but I haven't had time to dig into it further, other than confirming that it segfaults on two separate Gentoo amd64 systems, but not on an Ubuntu box.
Comment 3 John Keeping 2008-03-30 17:53:30 UTC
Sorry I haven't filed an ebuild for this sooner, but I've been wanting to find the cause of the segfault.

I've filed separate bugs (with ebuilds) for a couple of optional dependencies in bugs #215457 and #215458. If you don't think these should be added to the tree then alexandria remains usable without them.

The bug causing the segfault seems to be in the get_path method of GtkIconView, but I've had the same results trying get_item as well.
Comment 4 Hans de Graaff gentoo-dev Security 2008-03-31 18:27:01 UTC
Might be a good idea to open a separate bug for the ruby-gtk2 bug so we can track that. Might be nice to test it on a x86 system as well, I'm not sure Ubuntu is amd64?

We've just added a new mirror for rubyforge stuff, so that you won't need the download id anymore:

SRC_URI="mirror://rubyforge/${PN}/${P}.tar.gz"

It makes sense to me to add the other ruby stuff as well, but I'm not sure about the use flags. In any case it would be good to also get descriptions for them. Have a look at profiles/use.local.desc to see what needs to be provided in the end.

I would rather see use flags describing what people will get, rather then the underlying package. amazon makes sense to me, I guess zoom makes sense as well given that it is for the Z39.50 Object-Orientation Model. :-)

For mechanize it may make sense to call the use flag for the site it will scrape? evo is already used in the context of evolution (mail client) support, so perhaps another name might be better, and imagesize also sounds like it may need a better more descriptive name.

Another approach for this (e.g. taken by git) is to list the extra packages that can unlock additional functionality. See git's pkt_postinst().

It would be great if you could have another look at these, while I go and have a look at the dependencies.
Comment 5 Hans de Graaff gentoo-dev Security 2008-03-31 18:28:34 UTC
...and so I go and check out what dev-ruby/revolution is about... forget my remarks about the evo use flag. :-)
Comment 6 John Keeping 2008-03-31 19:40:17 UTC
I've filed a separate bug #215634 for the GtkIconView issue, with a patch attached which fixes it for me.
Comment 7 Santiago M. Mola (RETIRED) gentoo-dev 2008-03-31 20:32:56 UTC
$ alexandria
Can't load hpricot, hence provider Amazon not available

dev-ruby/hpricot is run-time dependency for Amazon functionality.
Comment 8 Santiago M. Mola (RETIRED) gentoo-dev 2008-03-31 20:51:15 UTC
Well, you can read INSTALL for more accurate notes. There are various missing dependencies, and also, most of the listed ones are not build-time dependencies and shouldn't be included in DEPEND. I'll be posted an updated ebuild proposal.

Although, we should decide something...

Do we really want to pull in optional run-time dependencies through USE flags? Maybe we can drop most of them and give some advice in pkg_postinst, and for some of them we could just force them (if they're little enough).
Comment 9 John Keeping 2008-03-31 22:05:40 UTC
Created attachment 147926 [details]
Updated ebuild

An updated version of my ebuild. I've switched to the rubyforge mirror, listed the dependencies better (I think - could someone check this please?) and added hpricot as a dependency for amazon - I had read it was needed for mechanize but the INSTALL file doesn't make it clear that it's also needed for amazon)

I've also decided to force imagesize as a dependency as the functionality is probably going to be used by most people. I think revolution should remain as a use flag as people using evolution will expect the evo useflag to enable evolution support in all packages that can support it. On the data providers I think the post install message might be the most sensible thing to do but would like to know what others think.
Comment 10 Leonardo Valeri Manera 2008-04-09 09:27:32 UTC
Is there a way to patch the default position of the old (v3) amazon provider to the bottom of the list, since Amazon stopped v3 access?
Comment 11 John Keeping 2008-04-09 18:53:11 UTC
Created attachment 149224 [details, diff]
Patch to remove Amazon AWS 3.x provider

This patch completely disables the Amazon AWS 3.x provider. Moving it to the bottom of the list is just a workaround and if we're patching the code we might as well remove it completely.
Comment 12 John Keeping 2008-04-09 18:56:11 UTC
Created attachment 149226 [details]
Updated ebuild

Updated ebuild which includes the above patch and also adds a log message to inform people about what dependencies they need for the different book providers while removing the use flags for those.
Comment 13 Leonardo Valeri Manera 2008-04-23 18:16:23 UTC
No more blockers! \o/

coldwind, can this be pushed to tree now? :D
Comment 14 Hans de Graaff gentoo-dev Security 2008-04-23 18:22:15 UTC
I've just added the latest version of the 0.6.3 ebuild and the amazon patch to CVS. John, thanks for providing a couple of revisions for the ebuild, and thanks to the others for feedback and testing.
Comment 15 Leonardo Valeri Manera 2008-04-23 18:29:26 UTC
Thanks for the work John :D