head 1.7; access; symbols pkgsrc-2013Q2:1.7.0.8 pkgsrc-2013Q2-base:1.7 pkgsrc-2012Q4:1.7.0.6 pkgsrc-2012Q4-base:1.7 pkgsrc-2011Q4:1.7.0.4 pkgsrc-2011Q4-base:1.7 pkgsrc-2011Q2:1.7.0.2 pkgsrc-2011Q2-base:1.7 pkgsrc-2010Q1:1.6.0.2 pkgsrc-2010Q1-base:1.6 pkgsrc-2009Q4:1.5.0.2 pkgsrc-2009Q4-base:1.5 pkgsrc-2009Q2:1.4.0.2 pkgsrc-2009Q2-base:1.4 pkgsrc-2009Q1:1.3.0.4 pkgsrc-2009Q1-base:1.3 pkgsrc-2008Q4:1.3.0.2 pkgsrc-2008Q4-base:1.3 pkgsrc-2008Q3:1.2.0.2 pkgsrc-2008Q3-base:1.2 cube-native-xorg:1.1.0.6 cube-native-xorg-base:1.1 pkgsrc-2008Q2:1.1.0.4 pkgsrc-2008Q2-base:1.1 cwrapper:1.1.0.2; locks; strict; comment @# @; 1.7 date 2010.04.17.06.40.44; author obache; state dead; branches; next 1.6; 1.6 date 2010.03.19.13.22.42; author obache; state Exp; branches; next 1.5; 1.5 date 2009.08.12.12.43.08; author obache; state dead; branches; next 1.4; 1.4 date 2009.05.31.09.00.48; author obache; state Exp; branches; next 1.3; 1.3 date 2008.10.22.10.42.02; author obache; state Exp; branches; next 1.2; 1.2 date 2008.09.17.00.21.48; author obache; state Exp; branches; next 1.1; 1.1 date 2008.06.19.15.10.28; author taca; state Exp; branches; next ; desc @@ 1.7 log @Update ruby-gnome2 to 0.19.4. == Ruby-GNOME2 0.19.4: 2011-04-17 NOTE: 0.19.x releases are development series. This release has many bug fixes and some improvements. The fixed bugs include a memory leak bug on GC. If your application live long time, you should upgrade. === Changes ==== Ruby/GLib2 * Bug fixes: * fixed type_register on Ruby 1.9. [Simon Arnaud, Kouhei Sutou] * fixed memory leak in GC. [Kouhei Sutou] ==== Ruby/GTK2 * Bug fixes: * [#2865895] support GdkWindow's cursor property. NOTE: GTK+ 2.18.0 is unsupported version. [Guillaume Cottenceau, Mamoru Tasaka] * Gtk::MenuItem.new accepts nil as a label. [Kazuhiro NISHIYAMA, Kouhei Sutou] * fixed wrong conversion in Gtk::TreePath#<=>. [Takeuchi Yusuke, Kouhei Sutou] * fix Gtk::RecentInfo#application_info's double free bug. [Kouhei Sutou] * Improvements: * Gdk::Window#invalidate accepts nil as 'area' argument. It means 'invalidates whole window'. [Hiroyuki Ito] * Gtk::Clipbord#request_text sets UTF-8 encoding in Ruby 1.9. [Rg Rg, Kouhei Sutou] * add Gtk::TreePath#==. [Takeuchi Yusuke, Kouhei Sutou] ==== Ruby/Pango * Improvements: * add Pango::Gravity. [Hiroyuki Ito, Kouhei Sutou] ==== Ruby/GdkPixbuf * add Gdk::Pixbuf#pixels=. [Michal Suchanek] ==== Ruby/GStreamer * Bug fixes: * [#2920997] fix argument type. [Johan Kiviniemi] * [#2924886] implement Gst::MessageTag#parse. [Vincent Carmona] ==== Ruby/GtkMozEmbed * Bug Fixes: * [#2924766] fix -Wl,-rpath syntax. [OBATA Akio] * [#2925285] Gtk::MozEmbed#chrome_mask fails. [tobi, Kouhei Sutou] * support XULRunner 1.9.2. [OBATA Akio] === Thanks * Guillaume Cottenceau * Mamoru Tasaka * Michal Suchanek * Simon Arnaud * Kazuhiro NISHIYAMA * Johan Kiviniemi * OBATA Akio * Hiroyuki Ito * Rg Rg * Vincent Carmona * tobi * Takeuchi Yusuke * ... @ text @$NetBSD: patch-ac,v 1.6 2010/03/19 13:22:42 obache Exp $ * for patch-aa part#3 http://ruby-gnome2.svn.sourceforge.net/viewvc/ruby-gnome2?view=rev&revision=3748 --- glib/src/lib/mkmf-gnome2.rb.orig 2009-09-24 11:30:50.000000000 +0000 +++ glib/src/lib/mkmf-gnome2.rb @@@@ -331,10 +331,10 @@@@ def add_obj(name) $objs << name unless $objs.index(name) end -def glib_mkenums(prefix, files, g_type_prefix, include_files) +def glib_mkenums(prefix, files, g_type_prefix, include_files, options={}) add_distcleanfile(prefix + ".h") add_distcleanfile(prefix + ".c") - GLib::MkEnums.create(prefix, files, g_type_prefix, include_files) + GLib::MkEnums.create(prefix, files, g_type_prefix, include_files, options) end def check_cairo @ 1.6 log @Add paches taken from upstream to fix build ruby-gnome2-gtkmozembed with xulrunner-1.9.2.x. @ text @d1 1 a1 1 $NetBSD$ @ 1.5 log @Update ruby-gnome2 to 0.19.1. This release is a bug fix release of 0.19.0. === Changes ==== Ruby/GTK2 * use RUBYARCHDIR [OBATA Akio] * #2814953: install missing headers [Mamoru Tasaka] ==== Ruby/GLib2 * Bug fixes: * avoid object allocation while GC [OBATA Akio, Kouhei Sutou] * use RUBYARCHDIR [OBATA Akio] * mkmf-gnome2.rb add "-I$(vendorarchdir)" to $CPPFLAGS. [OBATA Akio, Kouhei Sutou] ==== Ruby/ATK * use RUBYARCHDIR [OBATA Akio] ==== Ruby/Pango * use RUBYARCHDIR [OBATA Akio] * use gem version rcairo as fallback [OBATA Akio] ==== Ruby/Libart * use RUBYARCHDIR [OBATA Akio] ==== Ruby/GdkPixbuf * use gem version rcairo as fallback [OBATA Akio] ==== Ruby/GnomePrint * install rblibgnomeprintversion.h [OBATA Akio, Kouhei Sutou] ==== Ruby/GtkMozEmbeded * fix header generation error caused by missing file [OBATA Akio] ==== Ruby/VTE * support VTE 0.20 [Kouhei Sutou] ==== Ruby/PanelApplet * #2815036: re-support Ruby 1.8.6. [Mamoru Tasaka, Kouhei Sutou] ==== Ruby/Libglade2 * Debian#519786: fix GC related SEGV when a widget in glade is removed by hand. [Arnaud Cornet, Kouhei Sutou] === Thanks * OBATA Akio * Mamoru Tasaka * Arnaud Cornet @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.4 2009/05/31 09:00:48 obache Exp $ d3 2 a4 1 Also look at vendor. d6 1 a6 1 --- glib/src/lib/mkmf-gnome2.rb.orig 2008-09-13 11:18:06.000000000 +0000 d8 2 a9 1 @@@@ -257,7 +257,7 @@@@ def make_version_header(app_name, pkgnam d12 7 a18 3 def check_ruby_func - $CPPFLAGS << " -I$(sitearchdir) " + $CPPFLAGS << " -I$(vendorarchdir) " d20 1 a20 2 #Other options ruby_header = "ruby.h" @ 1.4 log @Update ruby-gnome2 to 0.19.0. == Ruby-GNOME2 0.19.0: 2009-05-29 This release supports new versions of panel-applet and xulrunner and fixes various bugs including some GC issues === Changes Ruby/GLib2: * add 'const' to name argument of rbgerr_define_gerror() [Nikolai Weibull, Kouhei Sutou] * Bug fixes: * #2420281: Failed to build [troels knak-nielsen, Kouhei Sutou] * #2493874: glib/rbglib_maincontext.c error in "RUBY_UBF_IO" [boo, Kouhei Sutou] * wrong priority conversion in GLib::Timeout.add and GLib::Timeout.add_seconds. [Nikolai Weibull] * fixed limits of basic types [Pascal Terjan] Ruby/GTK2: * Bug fixes: * fixed initialize function is deleted. [kimura wataru, Kouhei Sutou] * checked GTK_FILE_SYSTEM_ERROR availability. GTK+ 2.15.x doesn't have it. [Kouhei Sutou] * fixed GC problems. [Kouhei Sutou] * #2195432: Gtk::RCStyle.set_color_flags wrong conversion [Jesse van den Kieboom, Kouhei Sutou] * #2318481: gtkselectiondata_set Drag and Drop API problem [dave foster, Kouhei Sutou] * #2420281: Failed to build [troels knak-nielsen, Kouhei Sutou] Ruby/Pango: * added Pango::Attribute#start_index= and Pango::Attribute#end_index=. [Geoff Youngs, Kouhei Sutou] Ruby/Poppler: * removed 0.6.x support. 0.8.0 or later is required. [Kouhei Sutou] Ruby/RSVG2: * fixed broken cairo integration. [James Healy, Kouhei Sutou] Ruby/PanelApplet: * #2466921: fixed build failure with libpanel-applet >= 2.25 [Mamoru Tasaka, Kouhei Sutou] * fixed incomplete install. [Pascal Terjan, Kouhei Sutou] Ruby/GtkMozEmbed: * supported XULRunner 1.9.0. [Arnaud Cornet, Kouhei Sutou] Ruby/GNOME2: * supported MinGW. [id:luna_8bit, Kouhei Sutou] Ruby/Bonobo2: * moved Bonobo.setup_x_error_handler to Ruby/BonoboUI2. [id:luna_8bit, Kouhei Sutou] Ruby/BonoboUI2: * moved Bonobo.setup_x_error_handler from Ruby/Bonobo2. [id:luna_8bit, Kouhei Sutou] Ruby/GnomeVFS: * format security error. [Pascal Terjan] === Thanks * kimura wataru * Philipp Götzinger * Andrew S. Townley * Jesse van den Kieboom * James Healy * dave foster * troels knak-nielsen * boo * Geoff Youngs * Arnaud Cornet * id:luna_8bit * ... @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.3 2008/10/22 10:42:02 obache Exp $ @ 1.3 log @Update ruby-gnome2 to 0.18.0. == Ruby-GNOME2 0.18.0: 2008-09-30 This release fixes some memory leak bugs and has new experimental packages. === Changes Ruby/GLib: * mkmf-gnome2.rb: add check_cairo. [Kouhei Sutou] * fixed memory leaks. [Kouhei Sutou] * [#2110165] Gdk::Pixbuf memory leak * install glib-enum-types.h. [Andy Spencer] * [#2106938] Install glib-enum-types.h Ruby/GTK2: * add GTK+ 2.12 related bindings. [Guillaume Cottenceau] * fixed initialize order. [Kouhei Sutou] * [#2113491] Incorrect initialize order (compiling with mingw) Ruby/GooCanvas [NEW][EXPERIMENTAL]: * added. [Kouhei Sutou] Ruby/Pango: * fixed memory leaks. [Kouhei Sutou] Ruby/GtkSourceView2 [NEW][EXPERIMENTAL]: * add. [yselkowitz] @ text @d1 3 a3 1 $NetBSD: patch-ac,v 1.2 2008/09/17 00:21:48 obache Exp $ @ 1.2 log @Update ruby-gnome2 to 0.17.0 release. pkgsrc changes: * Add some additional modules: devel/ruby-gnome2-bonobo devel/ruby-gnome2-bonoboui devel/ruby-gnome2-gconf devel/ruby-gnome2-libglade graphics/ruby-gnome2-gtkglext multimedia/ruby-gnome2-gstreamer print/ruby-gnome2-gnomeprintui sysutils/ruby-gnome2-gnomevfs www/ruby-gnome2-gtkhtml2 www/ruby-gnome2-gtkmozembed x11/ruby-gnome2-gtksourceview x11/ruby-gnome2-vte * Fixed detection of rcairo. It had been broken since switched to gem. patch-a{c,h,i,j,k,l.m} (It Already in upstream trunk) * Add patches for allow to load gem rcairo. patch-a{n,o,p} * Fixed overwritten glib module when installing modules require generated header of glib module. Modify to install the header as part of glib module and use bl3.mk. * clean up dependency * Add test target for modules having unit test. * Modified patch-a{a,b,d,f,g} to acceptable by upstream. Ruby-GNOME2-0.17.0 (2008-09-07) Release notes: * This Release supports Ruby 1.8.7 and has many bug fixes and new bound functions. Main changes: * Ruby/GLib: - [#2060606] Crash when removing ruby applet from gnome panel with 0.7rc1 [Kouhei Sutou] * Ruby/GTK: - [#2025651] FTBFS with gtk+ 2.13.5 [Cesare Tirabassi, Kouhei Sutou] - [#2043970] Segfaults on 64-bit Linux [Neil Roberts, Kouhei Sutou] * Ruby/Pango: - [#2043970] Pango::FontDescription#weight= seg fault [Kouhei Sutou] * Many other changes, GC bugs, Segfault fixes. See corresponding ChangeLog for detailed information on changes and contributors. Special thanks for your contributions to: (list in no particular order) - Neil Roberts - Cesare Tirabassi - Arnaud Cornet @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.1 2008/06/19 15:10:28 taca Exp $ d3 1 a3 1 --- glib/src/lib/mkmf-gnome2.rb.orig 2008-06-23 10:00:00.000000000 +0000 a13 42 @@@@ -296,6 +296,41 @@@@ def glib_mkenums(prefix, files, g_type_p GLib::MkEnums.create(prefix, files, g_type_prefix, include_files) end +def check_cairo + return false unless PKGConfig.have_package('cairo') + + have_rb_cairo_h = have_header('rb_cairo.h') + unless have_rb_cairo_h + begin + require 'rubygems' + gem 'cairo' + require 'cairo' + rcairo_src_gem_path_re = + /\A#{Regexp.escape(Gem.dir)}\/gems\/cairo-[\d.]+\/src\z/ + $:.each do |path| + if rcairo_src_gem_path_re =~ path + $CFLAGS += " -I#{path} " + have_rb_cairo_h = have_header('rb_cairo.h') + break + end + end + rescue LoadError + end + end + + if have_rb_cairo_h + if /mingw|cygwin|mswin32/ =~ RUBY_PLATFORM + unless ENV["CAIRO_PATH"] + puts "Error! Set CAIRO_PATH." + exit 1 + end + add_depend_package("cairo", "src", ENV["CAIRO_PATH"]) + $defs << "-DRUBY_CAIRO_PLATFORM_WIN32" + end + end + have_rb_cairo_h +end + check_ruby_func if /mingw/ =~ RUBY_PLATFORM @ 1.1 log @Update to ruby-gnome2-0.17.0rc1 to build with newer gnome packages. @ text @d1 1 a1 1 $NetBSD$ d3 1 a3 1 --- glib/src/lib/mkmf-gnome2.rb.orig 2008-06-06 23:03:39.000000000 +0900 d5 2 a6 1 @@@@ -241,6 +241,7 @@@@ end d9 1 a9 1 $CPPFLAGS << " -I$(sitearchdir) " d13 43 a55 1 have_func("rb_define_alloc_func") # for ruby-1.8 @