Also reorganize several dependencies in Makefile and buildlink3.mk.
See the following post for details:
https://mail-index.netbsd.org/pkgsrc-users/2019/09/07/msg029327.htmlhttps://mail-index.netbsd.org/pkgsrc-users/2019/09/13/msg029356.html
Upstream changes (from NEWS):
== Ruby-GNOME 3.3.8: 2019-09-10
This is a partially GLib 2.62.0 support release.
=== Changes
==== All
* Improvements
* Changed our project name to Ruby-GNOME from Ruby-GNOME2.
[GitHub#1277][Suggested by kojix2]
[GitHub#1291][Patch by kojix2]
* Stopped to release (({.tar.gz})) because they are no longer
used.
==== Ruby/GLib2
* Improvements
* (({GLib.convert})): Changed to set correct encoding.
* (({GLib::FILENAME_ENCODING})): Added.
* Changed to use the same enum object for the same enum value.
* (({GLib::Enum.find})): Added.
* (({GLib::Bytes#initialize})): Changed to reuse (({String})) data
even if the given (({String})) isn't frozen.
* (({GLib::Bytes.try_convert})): Added.
* (({GLib::Enum.try_convert})): Added.
* (({GLib::Flags.try_convert})): Added.
* (({GLib::Type.try_convert})): Added.
* (({GLib::MkEnums.create})): Added support for flags to enum
definition.
[GitHub#1295][Patch by Mamoru TASAKA]
==== Ruby/GIO2
* Fixes
* Renamed to (({Gio::Icon#hash})) from (({Gio::Icon.hash})).
[GitHub#1293][Reported by Erik Czumadewski]
==== Ruby/GObjectIntrospection
* Improvements
* Introduced (({try_convert})) protocol.
==== Ruby/CairoGObject
* Improvements
* (({Cairo::Context.try_convert})): Added.
* (({Cairo::Device.try_convert})): Added.
* (({Cairo::Pattern.try_convert})): Added.
* (({Cairo::Surface.try_convert})): Added.
* (({Cairo::ScaledFont.try_convert})): Added.
* (({Cairo::FontFace.try_convert})): Added.
* (({Cairo::FontOptions.try_convert})): Added.
* (({Cairo::Region.try_convert})): Added.
=== Thanks
* kojix2
* Erik Czumadewski
* Mamoru TASAKA
pkgsrc changes:
* remove a fix for glib2 pulled from upstream
* remove a gobject-introspection patch for netbsd-6 (seems fixed in upstream)
Upstream changes (from NEWS):
== Ruby-GNOME2 3.2.7: 2018-06-07
This is a packaging bug fix release of 3.2.6.
=== Changes
==== All
* Improvements
* Added support for using unreleased version with Bundler.
[Patch by cedlemo]
* Fixes
* Fixed a packaging bug that dependencies are missing.
== Ruby-GNOME2 3.2.6: 2018-06-06
This is a bug fix release of 3.2.5.
=== Changes
==== Document
* Improvements
* Updated project URL.
[GitHub#1174][Patch by okkez]
==== All
* Improvements
* Added support for using unreleased version with Bundler.
[Patch by cedlemo]
* Windows: Upgraded bundled library versions.
==== Ruby/GLib2
* Improvements
* (({GLib::Object.define_signal})): Added.
(({GLib::Object.signal_new})) is deprecated.
* (({GLib::Object.signal_new})): Changed to accept (({Symbol})) as
flags.
* (({GLib::Signal})): Migrated to (({TypedData})).
* (({GLib::Enum})): Migrated to (({TypedData})).
* (({GLib::Flags})): Migrated to (({TypedData})).
* (({GLib::Boxed})): Migrated to (({TypedData})).
* (({GLib::Param})): Migrated to (({TypedData})).
* (({rbgobj_signal_new()})): Added.
(({rbgobj_signal_wrap()})) is deprecated.
* Dropped GLib < 2.28 support.
* (({GLib::Variant.new})): Changed to accept (({String})) as
variant type.
* (({rbg_variant_type_from_ruby()})): Added.
* (({rbg_gc_guard()})): Added.
* (({rbg_gc_unguard()})): Added.
* Fixes
* Fixed a bug that signal created by (({GLib::Object.signal_new}))
may be GC-ed.
[GitHub#1166][Reported by Izumi Tsutsui]
==== Ruby/GObjectIntrospection
* Improvements
* (({GObjectIntrospection::Struct})): Migrated to (({TypedData})).
* Improved better function detection.
* Added heuristic callback data detection.
* Added support for getting flags field value.
* (({RBGICallbackData})): Hidden details.
* (({rb_gi_callback_data_get_metadata()})): Added.
* (({rb_gi_callback_data_get_rb_callback()})): Added.
* Added (({to_integer})) to (({to_i})) mapping.
[GitHub#1191][Patch by yosuke shiro]
==== Ruby/CairoGObject
* Improvements
* Added (({gtype})) class methods.
==== Ruby/GIO2
* Improvements
* (({Gio::MenuItem#set_attribute_value})): Improved argument conversion.
Callers don't need to create (({GLib::Variant})).
* (({Gio::Settings.new})): Added support for keyword (({Hash})).
[GitHub#1187][Patch by cedlemo]
==== Ruby/Pango
* Improvements
* (({Pango::Attribute})): Migrated to (({GLib::Boxed})).
* (({Pango::Rectangle#dup})): Added.
* (({rbpango_attribute_from_ruby()})): Added.
* Fixes
* Fixed a bug that wrong (({Pango::Attribute})) conversion.
[GitHub#1188][Reported by kojix2]
==== Ruby/GdkPixbuf2
* Improvements
* (({GdkPixbuf::Pixbuf#subpixbuf})): Added.
(({GdkPixbuf::Pixbuf#new_subpixbuf})) is deprecated.
* (({GdkPixbuf::Pixbuf#new})): Improved the default
(({row_stride})) value.
==== Ruby/GDK3
* Improvements
* (({Gdk::Cursor.new})): Added multiple calls with the same value.
[GitHub#1195][Reported by kojix2]
==== Ruby/GTK3
* Improvements
* Removed needless custom callback handlers.
* Dropped GTK+ 3.10 support.
* (({Gtk::Application.new})): Changed to all arguments are omittable.
* (({Gtk::TextBuffer#insert})): Changed to raise an exception for
unknown tag.
* Fixes
* Fixed a bug that (({Gtk::Version.or_later?})) requires the 3rd
argument.
* Fixed demo.
* [GitHub#1175][GitHub#1176][GitHub#1177][GitHub#1178][GitHub#1183]
[GitHub#1184][GitHub#1185]
[Reported by kojix2]
* [GitHub#1181][GitHub#1186][GitHub#1197][GitHub#1210]
[Patch by kojix2]
==== Ruby/Poppler
* Improvements
* (({Cairo::Context#show_poppler_page})): Added for consistency.
==== Ruby/RSVG2
* Improvements
* (({Cairo::Context#show_rsvg_handle})): Added for consistency.
==== Ruby/GStreamer
* Improvements
* (({Gst::Element.[]})): Added as a shortcut of
(({Gst::ElementFactory.make})).
* (({Gst::Bus#poll})): Made all arguments omittable.
=== Thanks
* Izumi Tsutsui
* okkez
* kojix2
* cedlemo
* yosuke shiro
Upstream changes (from NEWS):
== Ruby-GNOME2 3.2.4: 2018-04-09
This is a bug fix release of 3.2.3.
=== Changes
==== Ruby/GLib2
* Fixes
* Fixed a bug that some constants aren't defined. If a content
name is the same constant name at the top level such as
(({Gtk::Object})), the constant isn't defined.
[GitHub#1154][Debian#894816][mikutter#1199]
[Reported by Akira Ouchi][Forwarded by HIGUCHI Daisuke]
==== RubyRsvg2
* Improvements
* Windows: Upgraded bundled librsvg to 2.42.3.
=== Thanks
* Akira Ouchi
* HIGUCHI Daisuke
== Ruby-GNOME2 3.2.3: 2018-04-03
This is a bug fix release of 3.2.2.
=== Changes
==== Ruby/GObjectIntrospection
* Fixes
* Fixed a crash bug when (({GLib::Bytes})) is passed as an argument.
== Ruby-GNOME2 3.2.2: 2018-04-02
This is a release to support Ruby 2.5 on Windows.
=== Changes
==== All
* Windows: Added Ruby 2.5 support.
[GitHub#1148][Reported by Andy Meneely]
* Red Hat: Use (({pkgconfig(name)})) style.
[GitHub#1117][Patch by Mamoru TASAKA]
==== Ruby/GLib2
* Improvements
* (({GLib::Bytes#to_s})): Changed to return a frozen string to
reduce data copy.
* Migrated to (({TypedData})) from (({Data})).
==== Ruby/GObjectIntrospection
* Improvements
* Added (({nil})) argument check.
* (({GObjectIntrospection::Loader#rubyish_method_name})):
Added (({:n_in_args_offset})) option.
* Suppressed a needless copy of (({GLib::Bytes})).
* Added filename array support.
[GitHub#1151][Patch by cedlemo]
* Fixes
* Fixed a overflow bug on 32bit.
[Debian#766020][Reported by Mario Lang]
[GitHub#1137][Forwarded by HIGUCHI Daisuke]
==== Ruby/GTK2
* Fixes
* Fix the wrong number of arguments.
[GitHub#1133][Reported by Mamoru TASAKA]
==== Ruby/GDK3
* Improvements
* Ensured loading GDK 3.
[GitHub#1126][Patch by cedlemo]
* Fixes
* (({Gdk::Screen.default})): Fixed a GC related crash.
* (({Gtk::Widget#style_context})): Fixed a GC related crash.
[GitHub#1149][Reported by Valentin Pelloin]
==== Ruby/GTK3
* Improvements
* Added a tool palette demo.
[GitHub#1116][Patch by cedlemo]
* Added a shortcut demo.
[GitHub#1120][Patch by cedlemo]
* Updated demo.
[Reported by Titouan Teyssier]
[GitHub#1139][Patch by Titouan Teyssier]
* Updated README.
[GitHub#1127][Patch by cedlemo]
* Fixes
* (({Gtk::Container#add_child(child)})): Made workable again.
==== Ruby/Poppler
* Fixes
* (({Poppler::Page#thumbnail_size})): Fixed return value.
[GitHub:rcairo/rcairo#51][Reported by Mamoru TASAKA]
==== Ruby/Gnumeric
* Improvements
* Improved .typelib for Gnumeric detection.
[GitHub#1118][Reported by cedlemo]
=== Thanks
* cedlemo
* Mamoru TASAKA
* Titouan Teyssier
* Mario Lang
* HIGUCHI Daisuke
* Andy Meneely
* Valentin Pelloin
Changes:
* Fixed serious bugs (depends on GC)
* Support GTK+-2.10 and the latest version of each libraries.
* Don't include Ruby/GStreamer and Ruby/Libgda. We cancel to
support Ruby/GStreamer and Ruby/Libgda.
* Cancel to support ruby-1.6.x and GTK+-2.4 or earlier.
Ruby-GNOME 2 is a set of Ruby language bindings for the various
application development libraries included with the GNOME/GTK+
environment.
Ruby/GTK2 is a Ruby binding of GTK+-2.0.x.