Hi Following on from some talk last year of creating gems for wxruby, I''ve attached a first try at them (for 0.6.0, not wxruby-swig). I mainly made them because I want to ease installation of Weft QDA by adding wxruby (and sqlite) as gem dependencies, but hopefully they will be generally useful. A couple of queries: 1) Who should be listed as author? 2) It doesn''t include docs - is there any way Zach''s work on the docs can be incorporated 3) It doesn''t include the samples I don''t think 3) matters so much, particularly for people who just want to run an app that requires wxruby. But it''d be nice to fix 2) Also, I haven''t got a compiling environment handy that can complete the source build, but I''ve run it far enough to verify that it calls ''extconf.rb; make; make install'' in the right order. cheers alex _______________________________________________ wxruby-users mailing list wxruby-users@rubyforge.org http://rubyforge.org/mailman/listinfo/wxruby-users
alex fenton wrote:> HiHi!> Following on from some talk last year of creating gems for wxruby, I''ve > attached a first try at them (for 0.6.0, not wxruby-swig). I mainly made > them because I want to ease installation of Weft QDA by adding wxruby > (and sqlite) as gem dependencies, but hopefully they will be generally > useful.Very cool. Thanks.> A couple of queries: > 1) Who should be listed as author?Hm. Most of wxruby 0.6.0 was authored by Park Heesob, but years ago, he asked me to remove his name from the project. I don''t know how he feels about it today. I have probably written the next-most, but Nick is the current project maintainer. It seems like an error on the part of the gem spec designers to have named it ''author'' instead of ''maintainer''. Assuming Nick is ok with it, I would propose something like: "wxruby development team". Folks can check the web site for current and detailed information.> 2) It doesn''t include docs - is there any way Zach''s work on the docs > can be incorporated > 3) It doesn''t include the samples > > I don''t think 3) matters so much, particularly for people who just want > to run an app that requires wxruby. But it''d be nice to fix 2)Perhaps there should be separate gems for wxruby-docs and wxruby-samples?> Also, I haven''t got a compiling environment handy that can complete the > source build, but I''ve run it far enough to verify that it calls > ''extconf.rb; make; make install'' in the right order.I wish I had time this week to try it out. I really want wxruby to be available as a gem. Especially the wxruby-swig version, since that''s the one that will receive any of my available time. Kevin
I''ve just dusted off the gemspec for wxruby (not-swig) attached. The compiled gems are at http://www.pressure.to/ruby/wxruby-gems.tar.gz if someone wants to test them before uploading them. It would be great if wxruby could be autoinstalled as dependency by rubygems.> Assuming Nick is ok with it, I would propose something like: "wxruby > development team". Folks can check the web site for current and detailed > information.As you suggest, email is wxruby-users@rubyforge.org> Perhaps there should be separate gems for wxruby-docs and wxruby-samples?Will look into it, but prefer to work on this on wxruby-swig source tree ...> Especially the wxruby-swig version, since that''s the > one that will receive any of my available time.... will try and make some for wxruby-swig asap, when i get my pc with compile chain on back from repair. a -------------- next part -------------- require ''rubygems'' WXRUBY_GEMSPEC = Gem::Specification.new do | s | s.name = ''wxruby'' s.platform = Gem::Platform::WIN32 s.version = ''0.6.0'' s.summary = "Ruby interface to the WxWidgets GUI library" s.description = <<-EOF WxRuby provides an interface to the WxWidgets library. It enables the creation of GUI applications with native widgets on platforms including Windows, OS X and Linux. EOF s.files = [ ''wxruby.so'' ] s.autorequire = ''wxruby'' s.require_path = ''.'' s.has_rdoc = false s.author = "WxRuby development team" s.email = "wxruby-users@rubyforge.org" s.homepage = "http://wxruby.rubyforge.org/" s.rubyforge_project = "wxruby" end -------------- next part -------------- require ''rubygems'' WXRUBY_GEMSPEC = Gem::Specification.new do | s | s.name = ''wxruby'' s.version = ''0.6.0'' s.summary = "Ruby interface to the WxWidgets GUI library" s.description = <<-EOF WxRuby provides an interface to the WxWidgets library. It enables the creation of GUI applications with native widgets on platforms including Windows, OS X and Linux. EOF s.files = Dir[ ''src/*'' ] s.autorequire = ''wxruby'' s.require_path = ''lib'' s.extensions << ''src/extconf.rb'' s.has_rdoc = false s.author = "WxRuby development team" s.email = "wxruby-users@rubyforge.org" s.homepage = "http://wxruby.rubyforge.org/" s.rubyforge_project = "wxruby" end