Date: Sun, 31 Jul 2011 11:41:03 -0700 From: Stanislav Sedov <stas@FreeBSD.org> To: Ryan Steinmetz <zi@FreeBSD.org> Cc: linimon@FreeBSD.org, swills@FreeBSD.org, wxs@FreeBSD.org, Renato Botelho <garga@FreeBSD.org>, ruby@FreeBSD.org, tabthorpe@FreeBSD.org, decke@FreeBSD.org Subject: Re: RFC: Replacing graphics/ruby-rmagick with graphics/rubygem-rmagick Message-ID: <20110731114103.302d0cee.stas@FreeBSD.org> In-Reply-To: <20110731023007.GA57933@fast.rit.edu> References: <20110731023007.GA57933@fast.rit.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Sat, 30 Jul 2011 22:30:07 -0400 Ryan Steinmetz <zi@FreeBSD.org> mentioned: > All, > > I am planning on removing graphics/ruby-rmagick and replacing it with > graphics/rubygem-rmagick, pending maintainer/mentor approval. > > They both install the same library (RMagick2.so), however, the rubygem > registers with the gem framework. Without it being registered as a gem, > other ruby applications which depend on the gem consider it not to be > installed and complain. > > As a result, I believe that the best course of action is to update the > dependencies in the two ports that depend on ruby-rmagick > (graphics/rubygem-gruff and www/redmine) and remove > graphics/ruby-rmagick, replacing it with graphics/rubygem-rmagick. > > I'd welcome any thoughts/feedback you may have. > > I do not have any attachments to being the MAINTAINER for > rubygem-rmagick, so if stas@ (or anyone else) is interested in it, > please let me know. > I don't think it's a good idea. It might looks fine from the rubygems camp side, but for projects not using rubygems it means that you wouldn't be able to do 'require rmagick' and do the work. Even worse, for non-rubygems applications you will need to run it via `ruby -rrubygems /path/to/app` instead of just `app`. As an example of this try running bluecloth from the rubygem-bluecloth package: % ruby /usr/local/lib/ruby/gems/1.8/gems/BlueCloth-1.0.1/bin/bluecloth /usr/local/lib/ruby/gems/1.8/gems/BlueCloth-1.0.1/bin/bluecloth:15:in `require': no such file to load -- bluecloth (LoadError) from /usr/local/lib/ruby/gems/1.8/gems/BlueCloth-1.0.1/bin/bluecloth:15 Personally, I'm not in favor of having these two ports either, I actually requested the removal of rubygem- version immediately upon commit: http://www.mail-archive.com/cvs-all@freebsd.org/msg149854.html Not sure why it didn't happen though. But since other ports now depend on it, we probably cannot do it anymore. :-( - -- Stanislav Sedov ST4096-RIPE () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments -----BEGIN PGP SIGNATURE----- iQIcBAEBAgAGBQJONaHFAAoJEL8lojEJL9nwY8IQAMbH6dO3R8gAeKavaOXYE0SN it/MbUX5gJeLMZySAx8zS1FkuAQ1c5EXVWE/wobW/x7RMRNwk9OScxIA0UsEBAHx vpDq9DR8wjj7NB1alp4n79n2Bur9DPE2ZL+5ploRrUs+q0+oIKzQvTgOUlwvllbi CjyTEvbGxtZeavJACMqAiA9xt3J0VoGC53Mc9aNCjjoFh04No3zyMPnMgT8LMLmf d+dvdl5Wxq1fNvJtU2StRVozLTGuHYiafxcT+4q0V5xjjARatzzAa4WTy9mWn1Kl sIKJUOL5v++cEShWEhxvHlZRSSFpXSZsExcpR/p7Y4Gvf/gfyOrmwEJ5e6EJp0bH S5OAP7jLXKMXG+LHt4COtgN9XjNnJVtk1+N1jdkEpCiwGWgDTtwnPOGmnRLTPcg0 0Am+ELPl+1YCoP6OhNXwKgy+D4MQc4JkfOouQwr0fX/tn7mjRueUQJHLpS7x+SYO kIIuabeaG8Qu8//+IH75WZCCeJuqeKfGi18Sst7cshv0qHeuUv/HvZSaE7WhDbpG T83dOnqlOBWxqRFX3+uLiK4sUvDCX207y2IUH93BMAyRpnEr8DWz+csU3sPZnpus Yl82E+OQsbWKubFexIPSyWqq5Za+ELYJ2WHsN7Uhqm5MIDpMP1ge8GgbDqyif2lh 8RrBjhrf771+IsZSnmK4 =Brbj -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110731114103.302d0cee.stas>