Bug#692864: Bug#623914: any progress? [launchy, spoon, and mdpress]
Hi,
Cédric Boutillier wrote:
> You proposed to package ruby-launchy about 18 months ago. Have you made
> any progress on that? I've just proposed to package mdpress (#692864)
> which has a depency on ruby-launchy.
>
> This package would fit very well for inclusion in the Ruby packaging
> team, which could offer team maintenance. Don't hesitate to contact the
> team on debian-ruby@lists.debian.org.
I played around a little bit with gem2deb and noticed that there's one
launchy dependency which is not yet packaged: (ruby-)spoon. (Other,
already packaged dependencies seem to be at least ruby-minitest,
ruby-addressable, and ruby-ffi.) So I guess spoon[1] needs to be
packaged first. Apache License 2.0 is no issue and gem2deb built a
ruby-spoon.deb out of the box.
[1] https://github.com/headius/spoon
Launchy did not built out of the box, symlink some files from
ruby-launchy/spec/*.rb to ruby-launchy/ helped. I also had to remove
the yaml file from debian/ruby-test-files.yaml.
Additionally two suspicious tests are failing:
# Running tests:
............F.....F..xprop: unable to open display ''
xprop: unable to open display ''
..........................................................................xprop: unable to open display ''
.xprop: unable to open display ''
.............................................
Fabulous tests in 0.089517s, 1575.1205 tests/s, 2122.5028 assertions/s.
1) Failure:
test_0002_when host_os is 'darwin' the appropriate 'app_list' method is called(Launchy::Application::Browser) [/home/abe/debian/ruby-launchy-2.1.2/spec/applications/browser_spec.rb:24]:
Expected: "/usr/bin/open"
Actual: "/bin/open"
2) Failure:
test_0004_when host_os is 'linux' the appropriate 'app_list' method is called(Launchy::Application::Browser) [/home/abe/debian/ruby-launchy-2.1.2/spec/applications/browser_spec.rb:24]:
Expected: nil
Actual: "/usr/bin/xdg-open"
I actually have more or less working proof-of-concept packages of
mdpress, ruby-launchy and ruby-spoon at [2], but since I haven't any
experience in ruby packaging, these packages were mostly made by
gem2deb. They're really ugly and hence they shouldn't be used but
rather improved.
[2] http://noone.org/debian/mdpress-ugly-packages/
And no, I don't ITP any of these in Debian as I don't want to dig into
ruby packaging further than I already did. (But feel free to use them
as starting point for your own packages.) I just was too curious to
get mdpress running without spoiling my system with native gems. :-)
Regards, Axel
--
,''`. | Axel Beckert <abe@debian.org>, http://people.debian.org/~abe/
: :' : | Debian Developer, ftp.ch.debian.org Admin
`. `' | 1024D: F067 EA27 26B9 C3FC 1486 202E C09E 1D89 9593 0EDE
`- | 4096R: 2517 B724 C5F6 CA99 5329 6E61 2FF9 CD59 6126 16B5
Reply to: