Paul van Tilburg escreveu isso aí: > Hey all, > > On Sun, Oct 16, 2011 at 07:42:57PM +0200, Olivier Sallou wrote: > > Tags: patch > > > > Here is patch to remove compression of examples in ruby-gtk2 > > > > Only impact is in debian/rules. > > > > > > Olivier > > > diff -Nru ruby-gnome2-1.0.0/debian/rules ruby-gnome2-1.0.0/debian/rules > > --- ruby-gnome2-1.0.0/debian/rules 2011-10-16 17:01:52.000000000 +0200 > > +++ ruby-gnome2-1.0.0/debian/rules 2011-10-16 18:47:38.000000000 +0200 > > @@ -17,3 +17,7 @@ > > dh_strip -p$$i --dbg-package=$$i-dbg ; \ > > done > > dh_strip > > + > > + > > +override_dh_compress: > > + dh_compress -X.rb > > I also noticed this in one of the packages that I migrated as well... > the examples are compressed, which I find inconvenient. > a long time ago we agreed that ruby-pkg-tools should do this by default > (i.e not compressing examples). I assume this is just overlooked > for gem2deb so I guess that this bug report should be reassigned to > gem2deb? However, before doing this I wanted to recheck with the > maintainers/community/you guys. There is a slight difference between ruby-pkg-tools and gem2deb. While ruby-pkg-tools called CDBS and could modify most things in how CDBS operates, gem2deb does not call debhelper, but is called by it. I don't see a way for dh_ruby to influence the other debhelper programs, except perhaps by generating a debian/rules with lots of override_dh_* targets, which seems dirty to me. Of course, if anyone comes up with an idea of how to implement this on the gem2deb side, we will totally consider it. -- Antonio Terceiro <terceiro@debian.org>
Attachment:
signature.asc
Description: Digital signature