[DRE-maint] Bug#593325: Bug#593325: Patch to uncompress examples

Antonio Terceiro terceiro at debian.org
Sun Nov 6 11:08:22 UTC 2011


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 at debian.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-ruby-extras-maintainers/attachments/20111106/f303e0aa/attachment-0001.pgp>


More information about the Pkg-ruby-extras-maintainers mailing list