[DRE-maint] ruby-setup-rb.mk, and ftbses
terceiro at softwarelivre.org
Mon Jan 14 16:36:58 UTC 2008
Lucas Nussbaum escreveu isso aí:
> > I think I have a simpler solution. What to you think about just:
> > --- 1/class/ruby-setup-rb.mk (revisão 2419)
> > +++ 1/class/ruby-setup-rb.mk (cópia de trabalho)
> > @@ -35,7 +35,7 @@
> > include /usr/share/ruby-pkg-tools/1/class/ruby-common.mk
> > PACKAGED_RUBY_SETUP_CMD = /usr/lib/ruby/1.8/setup.rb
> > -DEB_RUBY_SETUP_CMD = setup.rb
> > +DEB_RUBY_SETUP_CMD = debian-setup.rb
> > DEB_RUBY_CONFIG_ARGS = --installdirs=std
> > DEB_RUBY_CLEAN_TARGET = distclean
> > This way we don't touch upstream's setup.rb and don't have to check anything
> > else.
> > I still need to check if all the packages build with this change. BTW, what is
> > the most practical way to do that?
> When I did it back in december, I apt-get source'd all the packages in
> the same dir, then run pbuilder with a chroot with ruby-pkg-tools
> installed on each of them.
Thanks. I just did it the following way:
created a chroot (all other steps were done inside it)
installed ruby-pkg-tools built from svn trunk
downloaded each package source with apt-src
built each package
List of packages tested:
$ svn ls svn://svn.debian.org/pkg-ruby-extras/packages | sed -e '/\/$/ !d; s/\/$//'
The only package that failed to build is libsvg-ruby because it tweaks some
build variables like that:
DEB_RUBY_SETUP_CMD = install.rb
DEB_RUBY_CONFIG_ARGS = --site-ruby=/usr/lib/ruby/1.8
DEB_RUBY_CLEAN_TARGET = clean
With ruby-pkg-tools 0.13, just removing those lines makes the package build
fine. I just did it, but also kept Arnaud's checks for existing
$(DEB_RUBY_SETUP_CMD) in the case other packages have such hardcoding.
libcairo-ruby also fails to build, but for an unrelated reason (see #458679)
Antonio Terceiro <terceiro at softwarelivre.org>
GnuPG ID: 0F9CB28F
More information about the Pkg-ruby-extras-maintainers