Up to [cvs.NetBSD.org] / pkgsrc / devel / ruby-gio2
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
ruby-gnome: update to 4.3.2.
Upstream changes:
https://github.com/ruby-gnome/ruby-gnome/releases/tag/4.3.2
https://github.com/ruby-gnome/ruby-gnome/releases/tag/4.3.1
https://github.com/ruby-gnome/ruby-gnome/releases/tag/4.3.0
Ruby-GNOME 4.3.2: 2025-08-15
This is a graphene1 rename release.
Changes
Ruby/Graphene1
* Renamed from Ruby/Graphene because "graphene" gem already exists.
Ruby-GNOME 4.3.1: 2025-08-15
Changes
Ruby/Graphene
* Added
Ruby/GSK4
* Added
Ruby/GTK4
* Improvements
+ Added Gtk::Snapshot#save(&block)
+ Added Gtk::Image#intialize(paintable:)
Ruby-GNOME 4.3.0: 2025-07-14
Changes
Ruby/GLib2
* Improvements
+ Added GLib::VariantType.try_convert.
+ Added string representation to GLib::VariantType#inspect.
Ruby/GIO2
* Improvements
+ Changed Gio::Action#change_state to accept raw Ruby objects.
+ Stopped overwriting existing Gio::MenuItem setters.
+ Changed Gio::BytesIcon#initialize to keep the given
GLib::Bytes to prevent from GC.
Ruby/GdkPixbuf
* Fixes
+ Updated Debian package name.
Ruby/GTK3
* Improvements
+ Made Gtk::Popover#pointing_to Rubyish.
Ruby/GDK4
* Fixes
+ Fixed wrong Homebrew package name.
Ruby/GTK4
* Improvements
+ Made Gtk::Popover#pointing_to Rubyish.
+ Added a demo for Gtk::FileDialog.
o GH-1642
o Patch by Eric Cunningham.
+ Marked event controllers in Gtk::Widget automatically.
Thanks
* Eric Cunningham
ruby-gnome: update to 4.2.7.
Upstream changes:
https://github.com/ruby-gnome/ruby-gnome/releases/tag/4.2.7
https://github.com/ruby-gnome/ruby-gnome/releases/tag/4.2.6
Ruby-GNOME 4.2.7: 2025-01-29
This is a Ruby 2.5 on AlmaLinux 8 support release.
Change
Ruby/GLib2
* Improvements
+ Added support for Ruby 2.5 on AlmaLinux 8 again.
Ruby-GNOME 4.2.6: 2025-01-25
This is a C23 support release. This includes ABI incompatible changes
but API is still compatible. If your gem uses
RG_DEF_METHOD()/RG_DEF_SMETHOD()/RG_DEF_PRIVATE_METHOD()
directly instead of using GObjectIntrospection, you need to reinstall
them.
Changes
Ruby/GLib2
* Improvements
+ Added GLib::Value.try_convert for auto conversion.
+ Added support for instantiating GTypeInstance objects.
o GH-1647
o Reported by ppibburr
+ Added support for properties that uses GTypeInstance.
o GH-1651
o Reported by ppibburr
+ GLib::{Variant,Object,Param}: Changed parent class to
GLib::Instantiatable.
+ Added support for GValue<GTypeInstance>
o GH-1654
o GH-1655
o GH-1656
o Patch by ppibburr
+ GLib::Instantiatable#inspect
o GH-1652
o GH-1653
o Patch by ppibburr
+ Added support for C23.
o rbg_define_singleton_method(): Removed because it's not C23
compatible.
o rbg_define_method(): Removed because it's not C23 compatible.
o rbg_define_private_method(): Removed because it's not C23
compatible.
o GH-1660
o Reported by Mamoru TASAKA
+ Removed Data_Get_Struct() fallback. We assume that all users
migrated to TypedData from Data.
* Fixes
+ GLib.setenv: Fixed a bug that the third argument can't be
passed.
Ruby/GObjectIntrospection
* Improvements
+ Added support for (transfer full) of boolean/number return.
+ Added support for ref/unref for GTypeInstance
o GH-1657
o GH-1659
o Patch by ppibburr
Ruby/GTK4
* Fixes
+ Fixed a bug that Gtk::TextBuffer#get_iter_at(:line) returns
Array.
o GH-1649
o Reported by Eric Cunningham
Ruby/GStreamer
* Improvements
+ Gst::AudioLoader: Added.
o GH-1634
o GH-1641
o Patch by KITAITI Makoto
+ Gst::Caps#set_int_value: Added. It's a convenient
Gst::Caps#set_value for a GLib::Type::INT value.
+ Gst::Caps#[]=: Added. It's a convenient Gst::Caps#set_value
wrapper.
+ Gst::Structure#[]: Added. It's a convenient
Gst::Structure#get_value wrapper.
Thanks
* KITAITI Makoto
* ppibburr
* Eric Cunningham
ruby-gnome: update to 4.2.3.
Ruby-GNOME 4.2.3: 2024-09-19
This is a GTK 4 support improvement release.
Changes
All
* Improvements
+ Update project website URL.
o GH-1611
o GH-1615
o Patch by Kazuhiro NISHIYAMA
+ Dropped support for CentOS 7.
Ruby/GLib2
* Improvements
+ Added GLib::VariantDict.
+ Added GLib::OptionArg.
+ Added GLib::OptionFlags.
+ Added GLib.get_os_info.
+ GLib::Param::*.new: Added support for flag names.
+ GLib::Param::*.new: Added support for nil name and blurb.
Ruby/GObjectIntrospection
* Improvements
+ Added support auto setter generation for class methods.
+ Added support auto setter generation for base module methods.
+ Added support for nullable of callback return value.
+ Added support for nullable GHashTable.
Ruby/GIO2
* Improvements
+ Made Gio::ListModel enumerable.
+ Added Gio::ListModel#[].
Ruby/GdkPixbuf2
* Improvements
+ Removed tests that use XPM.
o GH-1614
o Reported by Mamoru TASAKA
Ruby/GTK4
* Improvements
+ Renamed Gtk::License::0BSD to Gtk::License::BSD_0.
o GH-1618
o Reported by rubyFeedback
o Reported by kojix2
+ Gtk::TextBuffer#begin_irreversible_action: Added support for
block.
Thanks
* Mamoru TASAKA
* Kazuhiro NISHIYAMA
* rubyFeedback
* kojix2
ruby-gnome: update to 4.0.4.
Upstream changes:
https://github.com/ruby-gnome/ruby-gnome/releases/tag/4.0.4
Ruby-GNOME 4.0.4: 2022-12-09
This is a release that adds more new libraries: Ruby/Adwaita,
Ruby/GtkSourceView3 and Ruby/Handy.
Changes
Documents
* Improvements
+ Added gdk4 and gtk4.
[GitHub#1514]
[Reported by codart]
All
* Improvements
+ Added support for macOS 12/Xcode 14.
[GitHub#1516]
[Reported by Apoorv Sohal]
Ruby/GLib2
* Improvements
+ Added support for instantiating GLib::Pointer and getting
address of it.
+ Renamed gnome2/ to gnome/ in internal library path.
+ Suppressed connected_closures isn't initialized warning.
+ Re-added GLib::ValueArray because GStreamer still uses it
without replacement.
[GitHub#1520]
[Reported by Matt Palmer]
+ Set missing rb_data_type_t::wrap_struct_name.
[GitHub#1522]
[Patch by Peter Zhu]
+ Added support for more GSpawnFlags.
* Fixes
+ Fixed a bug that GLib::Pointer.gtype and GLib::Pointer#gtype
use the wrong number of arguments.
+ Fixed a memory leak in GLib::Object based classes.
[GitHub#1523]
[Patch by Peter Zhu]
Ruby/GObjectIntrospection
* Improvements
+ Added support for length in field.
[GitHub#1524]
[Reported by jvmf1]
Ruby/GIO2
* Improvements
+ Added support for getting GLib::Mount by Gio::Volume#mount.
[GitHub#604]
Ruby/GTK4
* Improvements
+ [sample] Updated.
[GitHub#1512]
[GitHub#1515]
[Patch by kojix2]
[GitHub#1526]
[GitHub#1527]
[Patch by Daniel Mircea]
* Fixes
+ Fixed a bug that Gtk::ScrolledWindow can't be created.
[GitHub#1504]
[Reported by rubyFeedback]
+ Fixed a typo in Gtk::Image.new.
[GitHub#1504]
[Reported by rubyFeedback]
+ Fixed a bug that Gtk::CellRendereText may be GC-ed.
[GitHub#1518]
[Reported by galtgenod]
+ Fixed a crash bug that is caused when GLib based class defined
by Ruby is used.
[GitHub#1444]
[Reported by HuBandiT]
Ruby/libsecret
* Fixes
+ Fixed wrong MSYS2 package name.
Ruby/GtkSourceView4
* Fixes
+ Fixed package ID.
[GitHub#1525]
[Reported by Daniel Mircea]
Ruby/GtkSourceView5
* Added.
[GitHub#1511]
[Reported by galtgendo]
Ruby/Adwaita
* Added.
[GitHub#1510]
[Reported by rubyFeedback]
Ruby/Handy
* Added.
[GitHub#1434]
[Reported by Jacob Michalskie]
Thanks
* rubyFeedback
* kojix2
* codart
* Apoorv Sohal
* galtgendo
* Matt Palmer
* Peter Zhu
* HuBandiT
* jvmf1
* Daniel Mircea
* Jacob Michalskie
ruby-gnome: update to 3.5.1.
Upstream changes (from NEWS):
== Ruby-GNOME 3.5.1: 2021-01-17
This is a release for Windows.
=== Changes
==== All
* windows: Add workaround for mingw-w64-x86_64-gettext-0.21-1 or
later. Dummy (({DllMain()})) is defined.
==== Ruby/Pango
* Fixes
* Fixed a bug that can't be started.
[GitHub#1456][Reported by Akira Ouchi]
==== Ruby/GObjectIntrospection
* Fixes
* Fixed a bug that (({NoMethodError})) is raised on invalid
signature for constructor.
=== Thanks
* Akira Ouchi
== Ruby-GNOME 3.5.0: 2021-01-11
This is a release that adds support for Ractor.
Ruby/GObjectIntrospection has some backward incompatibilities for
Ractor support. If you have any problem, please report it to
https://github.com/ruby-gnome/ruby-gnome/issues .
=== Changes
==== Ruby/GLib2
* Improvements
* Added support for Ractor.
* Added support for signal handlers and virtual methods in
included module.
* Added support for (({try_convert})) protocol for property setter.
* Added support for converting tuple (({GVariant})) to Ruby.
==== Ruby/GIO2
* Improvements
* Added support for GIO 2.70.
* Added (({Gio::RubyInputStream})) to use Ruby objects as
(({Gio::InputStream})).
* Added (({Gio::RubyOutputStream})) to use Ruby objects as
(({Gio::OutputStream})).
==== Ruby/GObjectIntrospection
* Improvements
* Added support for Ractor. This introduced some backward
incompatiblities.
* Added support for "transfer full" for out (({GError})).
[GitHub#1437][Reported by mcclumpherty]
* Added support for changing whether GVL is unlocked per object by
the following APIs.
* (({GObjectIntrospection::FunctionInfo#set_lock_gvl_default}))
* (({GObjectIntrospection::FunctionInfo#add_lock_gvl_predicate}))
* (({GObjectIntrospection::Loader#prepare_function_info_lock_gvl}))
* Added support for converting from raw argument to enum.
* Added support for (({GList<GVariant>})) return value.
* Added support for reporting an error in callback.
* Fixes
* Fixed a bug that virtual functions of grandparent class can't be
implemented.
[GitHub#1433][Patch by shibafu]
==== Ruby/Pango
* Improvements
* Added support for Ruby 3.2.
==== Ruby/GTK3
* Improvements
* Improved documentation.
[GitHub#1454][Patch by Andy Maleh]
* Added support for Ruby 3.2.
==== Ruby/GDK4
* Improvements
* Updated pkg-config ID.
[GitHub#1435][Patch by Sasi Olin]
==== Ruby/GTK4
* Improvements
* Removed needless rsvg2 dependency on Windows.
[GitHub#1440][Reported by HuBandiT]
* Fixes
* Fixed typos in warning messages.
[GitHub#1442][Patch by HuBandiT]
[GitHub#1415][Reported by rubyFeedback]
=== Thanks
* shibafu
* Sasi Olin
* mcclumpherty
* HuBandiT
* rubyFeedback
* Andy Maleh
ruby-gnome: Update to 3.3.8, and rename package names to match gems.
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.html
https://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