pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc Update ruby-gnome2 to 2.2.0.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7c66a28dfb6e
branches:  trunk
changeset: 631624:7c66a28dfb6e
user:      obache <obache%pkgsrc.org@localhost>
date:      Tue Mar 11 12:11:45 2014 +0000

description:
Update ruby-gnome2 to 2.2.0.

== Ruby-GNOME2 2.2.0: 2014-03-09

It is a release that Ruby/GIO2 is migrated to
Ruby/GObjectIntrospection based bindings.

Some API changes in Ruby/GIO2 are expected but unexpected API changes
may exist. If you find API change, please report it. If the API change
provides non Rubyish API, it will be a bug.

=== Changes

==== Ruby/GLib2

  * Improvements
    * Stopped to use deprecated API internally in G_REPLACE_SET_PROPERTY.
    * Added RG_REPLACE_SET_PROPERTY.
    * Reduced locking on object creation.
    * Exported rbg_inspect().
    * Created code level error.
    * Raised code level error instead of domain level error.

  * Fixes
    * Fixed a bug that wrong error code may be used.

==== Ruby/GTK2

  * Improvements
    * Suppressed warnings on startup.

  * Fixes
    * [windows] Suppressed IME related warnings.
      [Reported by OBATA Akio]
    * [GitHub#222] Fixed a bug that Gdk::EventAny related methods
      aren't used by other Gdk::Event classes.
      [Reported by mtasaka]

==== Ruby/GDK3

  * Improvements
    * Added Gdk::Display#device_manager.
    * Added Gdk::Window#display.
    * Suppressed warnings on startup.
    * Added Gdk::Event::PROPAGATE.
    * Added Gdk::Event::STOP.

  * Fixes
    * [windows] Suppressed IME related warnings.
    * Fixed a bug that Gdk::DeviceManager is wrong object.
    * [GitHub#222] Fixed a bug that Gdk::EventAny related methods
      aren't used by other Gdk::Event classes.
      [Reported by mtasaka]

==== Ruby/GTK3

  * Improvements
    * Added Gtk::MenuButton.
    * [GitHub#219] Added Gtk::LevelBar. [Patch by cosmo0920]
    * Added Gtk::IconView.
    * [GitHub#206] Added Gtk::HeaderBar. [Reported by dark-yux]
    * [GitHub#223] Added Gtk::Stack. [Patch by cosmo0920]
    * Suppressed warnings on startup.
    * Added Gtk::Revealer.
    * Updated sample scripts.
    * [GitHub#227] Added Gtk::SearchBar. [patch by cosmo0920]

==== Ruby/GIO2

  * Improvements
    * Migrated to Ruby/GObjectIntrospection based bindings.
    * [SF.net#187] Supported Gio::ContentType.guess.
      [Reported by neversleep1911]
    * Added Gio::Resources.lookup_data.
    * Added Gio::Resources.open_stream.
    * Added Gio::Resources.enumerate_children.
    * Added Gio::Resources.get_info.
    * Added Gio::Resources.register.
    * Added Gio::Resources.unregister.

  * Changes
    * Removed Gio::Socket#create_source. Use
      Gio::InputStream#create_source or
      Gio::OutputStream#create_source instead.
    * Removed Gio::InetAddress.new_from_string. Use
      Gio::InetAddress.new instead.
    * Removed Gio::InetAddress.new_any. Use
      Gio::InetAddress.any instead.
    * Removed Gio::InetAddress.new_l. Use
      Gio::InetAddress.any instead.

  * Fixes
    * [SF.net#186] Fixed a bug that Gio::ContentType module functions
      raises "no implicit conversion" error.
      [Reported by neversleep1911]

==== Ruby/Pango

  * Improvements
    * [ruby-gnome2-devel-en] Re-supported build on CentOS 5.
      [Reported by Grant Schoep]

==== Ruby/Poppler

  * Improvements
    * Suppressed a warning on startup.

==== Ruby/GtkSourceView2

  * Improvements
    * [GitHub#226] Suppressed warnings.
      [Patch by cosmo0920]

  * Fixes
    * [GitHub#215] Fixed a return value for
      GtkSource#get_mark_category_background.
      [Reported by mtasaka]

==== Ruby/GObjectIntrospection

  * Improvements
    * [GitHub#216] Suppressed warnings on armv7hl.
      [Reported by mtasaka]
    * Supported freeing interface.
    * Supported freeing struct.
    * Supported String as void * value for value.
    * Supported freeing array of int8.
    * Supported freeing array of uint8.
    * Supported defining errors.
    * Improved guessing target method for overloaded method.
    * Supported array length.
    * Supported inout array.
    * Converted GBytes to String instead of wrapped GBytes.
    * Supported all exception types rather than GLib::Error.

  * Changes
    * Changed returned value of inout array to an array from an array
      and array length.

  * Fixes
    * [GitHub#216] Fixed test failures on i686 environment.
      [Reported by mtasaka]

==== Ruby/ClutterGTK

  * Improvements
    * Added duplicated Clutter.init check.

=== Thanks

  * OBATA Akio
  * mtasaka
  * cosmo0920
  * Grant Schoep
  * dark-yux
  * neversleep1911

diffstat:

 devel/ruby-gnome2-gio/Makefile          |   8 +++++++-
 devel/ruby-gnome2-gio/PLIST             |  11 ++++++++---
 meta-pkgs/ruby-gnome2/Makefile.common   |   4 ++--
 meta-pkgs/ruby-gnome2/distinfo          |   8 ++++----
 x11/ruby-gnome2-gtk3/Makefile           |   4 +---
 x11/ruby-gnome2-gtksourceview3/Makefile |   3 +--
 6 files changed, 23 insertions(+), 15 deletions(-)

diffs (107 lines):

diff -r 3707adb8cf19 -r 7c66a28dfb6e devel/ruby-gnome2-gio/Makefile
--- a/devel/ruby-gnome2-gio/Makefile    Tue Mar 11 12:06:54 2014 +0000
+++ b/devel/ruby-gnome2-gio/Makefile    Tue Mar 11 12:11:45 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2013/06/20 09:12:14 obache Exp $
+# $NetBSD: Makefile,v 1.15 2014/03/11 12:11:45 obache Exp $
 #
 
 PKGNAME=               ${RUBY_PKGPREFIX}-gnome2-gio-${VERSION}
@@ -11,9 +11,15 @@
 
 DEPENDS+=              ${RUBY_PKGPREFIX}-gnome2-glib>=${VERSION}:../../devel/ruby-gnome2-glib
 
+INSTALLATION_DIRS+=    lib/pkgconfig
+
+post-install:
+       ${INSTALL_DATA} ${WRKSRC}/gio2/ext/gio2/ruby-gio2.pc ${DESTDIR}${PREFIX}/lib/pkgconfig/
+
 do-test:
        ${RUN} cd ${WRKSRC}/gio2/test && ${SETENV} ${TEST_ENV} ${RUBY} load-test.rb
 
 .include "../../devel/glib2/buildlink3.mk"
+.include "../../devel/ruby-gnome2-gobject-introspection/buildlink3.mk"
 .include "../../devel/ruby-pkg-config/tool.mk"
 .include "../../meta-pkgs/ruby-gnome2/Makefile.common"
diff -r 3707adb8cf19 -r 7c66a28dfb6e devel/ruby-gnome2-gio/PLIST
--- a/devel/ruby-gnome2-gio/PLIST       Tue Mar 11 12:06:54 2014 +0000
+++ b/devel/ruby-gnome2-gio/PLIST       Tue Mar 11 12:11:45 2014 +0000
@@ -1,7 +1,12 @@
-@comment $NetBSD: PLIST,v 1.3 2013/02/07 13:41:55 obache Exp $
+@comment $NetBSD: PLIST,v 1.4 2014/03/11 12:11:45 obache Exp $
 lib/pkgconfig/ruby-gio2.pc
 ${RUBY_VENDORLIB}/gio2.rb
 ${RUBY_VENDORLIB}/gio2/deprecated.rb
+${RUBY_VENDORLIB}/gio2/inet-address.rb
+${RUBY_VENDORLIB}/gio2/input-stream.rb
+${RUBY_VENDORLIB}/gio2/loader.rb
+${RUBY_VENDORLIB}/gio2/output-stream.rb
+${RUBY_VENDORLIB}/gio2/pollable-input-stream.rb
+${RUBY_VENDORLIB}/gio2/pollable-output-stream.rb
+${RUBY_VENDORLIB}/gio2/resources.rb
 ${RUBY_VENDORARCHLIB}/gio2.${RUBY_DLEXT}
-${RUBY_VENDORARCHLIB}/rbgio2.h
-${RUBY_VENDORARCHLIB}/rbgio2conversions.h
diff -r 3707adb8cf19 -r 7c66a28dfb6e meta-pkgs/ruby-gnome2/Makefile.common
--- a/meta-pkgs/ruby-gnome2/Makefile.common     Tue Mar 11 12:06:54 2014 +0000
+++ b/meta-pkgs/ruby-gnome2/Makefile.common     Tue Mar 11 12:11:45 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.39 2014/01/14 12:01:51 obache Exp $
+# $NetBSD: Makefile.common,v 1.40 2014/03/11 12:11:45 obache Exp $
 #
 # used by devel/ruby-gnome2-atk/Makefile
 # used by devel/ruby-gnome2-gio/Makefile
@@ -34,7 +34,7 @@
 HOMEPAGE=              http://ruby-gnome2.sourceforge.jp/
 LICENSE=               gnu-lgpl-v2.1
 
-VERSION=               2.1.0
+VERSION=               2.2.0
 USE_RUBY_EXTCONF?=     yes
 CONFIGURE_ENV+=                RUBYOPT="-Ku"
 RUBY_VERSION_SUPPORTED=        193 200
diff -r 3707adb8cf19 -r 7c66a28dfb6e meta-pkgs/ruby-gnome2/distinfo
--- a/meta-pkgs/ruby-gnome2/distinfo    Tue Mar 11 12:06:54 2014 +0000
+++ b/meta-pkgs/ruby-gnome2/distinfo    Tue Mar 11 12:11:45 2014 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.39 2014/01/14 12:01:51 obache Exp $
+$NetBSD: distinfo,v 1.40 2014/03/11 12:11:45 obache Exp $
 
-SHA1 (ruby-gnome2-all-2.1.0.tar.gz) = 04d3c55c3be4368b15399369c9b61bbd0112f443
-RMD160 (ruby-gnome2-all-2.1.0.tar.gz) = b25cb398434b09af89f3fc156ba522cec9a7d4de
-Size (ruby-gnome2-all-2.1.0.tar.gz) = 1754946 bytes
+SHA1 (ruby-gnome2-all-2.2.0.tar.gz) = 45d1bd38de78c320a562d3f3825f45077e26309f
+RMD160 (ruby-gnome2-all-2.2.0.tar.gz) = d327faecd633e6a9ad509123a77cd828a3dfa6b1
+Size (ruby-gnome2-all-2.2.0.tar.gz) = 1736638 bytes
 SHA1 (patch-glib2_lib_mkmf-gnome2.rb) = 7ea9f2066aae905e64d8477f500245e3e3b5df9e
diff -r 3707adb8cf19 -r 7c66a28dfb6e x11/ruby-gnome2-gtk3/Makefile
--- a/x11/ruby-gnome2-gtk3/Makefile     Tue Mar 11 12:06:54 2014 +0000
+++ b/x11/ruby-gnome2-gtk3/Makefile     Tue Mar 11 12:11:45 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2014/01/14 12:01:51 obache Exp $
+# $NetBSD: Makefile,v 1.13 2014/03/11 12:11:46 obache Exp $
 #
 
 PKGNAME=               ${RUBY_PKGPREFIX}-gnome2-gtk3-${VERSION}
@@ -18,8 +18,6 @@
 
 BUILDLINK_API_DEPENDS.ruby-gnome2-glib+=       ${RUBY_PKGPREFIX}-gnome2-glib>=${VERSION}
 .include "../../devel/ruby-gnome2-glib/buildlink3.mk"
-BUILDLINK_API_DEPENDS.ruby-gnome2-gio+=        ${RUBY_PKGPREFIX}-gnome2-gio>=${VERSION}
-.include "../../devel/ruby-gnome2-gio/buildlink3.mk"
 BUILDLINK_API_DEPENDS.ruby-gnome2-pango+=      ${RUBY_PKGPREFIX}-gnome2-pango>=${VERSION}
 .include "../../devel/ruby-gnome2-pango/buildlink3.mk"
 .include "../../graphics/ruby-rcairo/buildlink3.mk"
diff -r 3707adb8cf19 -r 7c66a28dfb6e x11/ruby-gnome2-gtksourceview3/Makefile
--- a/x11/ruby-gnome2-gtksourceview3/Makefile   Tue Mar 11 12:06:54 2014 +0000
+++ b/x11/ruby-gnome2-gtksourceview3/Makefile   Tue Mar 11 12:11:45 2014 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.13 2014/02/12 11:31:50 obache Exp $
+# $NetBSD: Makefile,v 1.14 2014/03/11 12:11:46 obache Exp $
 #
 
 PKGNAME=               ${RUBY_PKGPREFIX}-gnome2-gtksourceview3-${VERSION}
-PKGREVISION=           1
 COMMENT=               Ruby binding of gtksourceview3
 CATEGORIES=            x11
 



Home | Main Index | Thread Index | Old Index