From: hiroshi h. <cos...@gm...> - 2014-11-02 06:33:48
|
Hi, Now, except x86-mingw32 package, Ruby/Clutter doesn't depend on Ruby/Pango. > > https://github.com/ruby-gnome2/ruby-gnome2/blob/master/clutter/Rakefile#L25 > > If we always require pango, we need to add "pango" to this line. > > > Thanks suggestion! I've added "pango" to this line. > 2014-11-02 1:26 GMT+09:00 Hiroshi Hatake <nu...@co...>: > > > > Author Hiroshi Hatake <cos...@gm...> Date 2014-11-02 > 01:26:08 +0900 (Sun, 02 Nov 2014) New Revision > 7dce6fc3a26308b779219aa6ea457eb5b02e1e4b Message > > > > clutter: always require pango > > > > Because Clutter::Actor#create_pango_context returns Pango::Context. > > And it needs its test. > > > > Modified files > > > > clutter/lib/clutter.rb > > clutter/test/run-test.rb > > > > Modified: clutter/lib/clutter.rb (+1 -1) > > =================================================================== > > @@ -16,6 +16,7 @@ > > > > require "gobject-introspection" > > require "cairo-gobject" > > +require "pango" > > > > base_dir = Pathname.new(__FILE__).dirname.dirname.expand_path > > vendor_dir = base_dir + "vendor" + "local" > > @@ -26,7 +27,6 @@ > GObjectIntrospection.prepend_typelib_path(vendor_girepository_dir) > > > > if vendor_dir.exist? > > require "atk" > > - require "pango" > > require "gdk_pixbuf2" > > end > > > > > > Modified: clutter/test/run-test.rb (+2 -0) > > =================================================================== > > @@ -22,12 +22,14 @@ ruby_gnome2_base = File.expand_path(ruby_gnome2_base) > > glib_base = File.join(ruby_gnome2_base, "glib2") > > cairo_gobject_base = File.join(ruby_gnome2_base, "cairo-gobject") > > gobject_introspection_base = File.join(ruby_gnome2_base, > "gobject-introspection") > > +pango_base = File.join(ruby_gnome2_base, "pango") > > clutter_base = File.join(ruby_gnome2_base, "clutter") > > > > modules = [ > > [glib_base, "glib2"], > > [cairo_gobject_base, "cairo-gobject"], > > [gobject_introspection_base, "gobject-introspection"], > > + [pango_base, "pango"], > > [clutter_base, "clutter"], > > ] > > modules.each do |target, module_name| > > > > > > > ------------------------------------------------------------------------------ > > > > _______________________________________________ > > ruby-gnome2-cvs mailing list > > rub...@li... > > https://lists.sourceforge.net/lists/listinfo/ruby-gnome2-cvs > > > > > ------------------------------------------------------------------------------ > _______________________________________________ > ruby-gnome2-devel-en mailing list > rub...@li... > https://lists.sourceforge.net/lists/listinfo/ruby-gnome2-devel-en > |