head 1.4; access; symbols pkgsrc-2013Q2:1.4.0.8 pkgsrc-2013Q2-base:1.4 pkgsrc-2012Q4:1.4.0.6 pkgsrc-2012Q4-base:1.4 pkgsrc-2011Q4:1.4.0.4 pkgsrc-2011Q4-base:1.4 pkgsrc-2011Q2:1.4.0.2 pkgsrc-2011Q2-base:1.4 pkgsrc-2010Q2:1.3.0.16 pkgsrc-2010Q2-base:1.3 pkgsrc-2010Q1:1.3.0.14 pkgsrc-2010Q1-base:1.3 pkgsrc-2009Q4:1.3.0.12 pkgsrc-2009Q4-base:1.3 pkgsrc-2009Q3:1.3.0.10 pkgsrc-2009Q3-base:1.3 pkgsrc-2009Q2:1.3.0.8 pkgsrc-2009Q2-base:1.3 pkgsrc-2009Q1:1.3.0.6 pkgsrc-2009Q1-base:1.3 pkgsrc-2008Q4:1.3.0.4 pkgsrc-2008Q4-base:1.3 pkgsrc-2008Q3:1.3.0.2 pkgsrc-2008Q3-base:1.3 cube-native-xorg:1.2.0.6 cube-native-xorg-base:1.2 pkgsrc-2008Q2:1.2.0.4 pkgsrc-2008Q2-base:1.2 cwrapper:1.2.0.2 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.4 date 2010.09.10.05.19.13; author taca; state dead; branches; next 1.3; 1.3 date 2008.09.15.09.02.55; author taca; state Exp; branches; next 1.2; 1.2 date 2008.04.14.21.33.04; author jlam; state Exp; branches; next 1.1; 1.1 date 2008.04.06.23.03.58; author seb; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2008.04.06.23.03.58; author seb; state Exp; branches; next ; desc @@ 1.4 log @Update devel/ruby-debug to 0.10.3 * Use lang/ruby/gem.mk instead of misc/rubygems/rubygem.mk. * Update HOMEPAGE. * Add LICENSE. * Adjust pacakge name, no duplicated ruby. 0.10.3 11/17/08 - a backtrace now warns when it thinks the callstack is truncated which it gets by comparing with caller() - fix setting $0. - fix bug in showing variables in post-mortem - Document how Debugger.start with a block is intended to be used. - Move Kernel#debugger from ruby-debug-base into ruby-debug - Get regression tests working again - Warn and add a "confirmation" when setting a breakpoint on a file that is not loaded. @ text @$NetBSD: patch-aa,v 1.3 2008/09/15 09:02:55 taca Exp $ --- Rakefile.orig 2008-09-15 13:39:49.000000000 +0900 +++ Rakefile @@@@ -8,8 +8,8 @@@@ require 'rake/testtask' SO_NAME = "ruby_debug.so" # ------- Default Package ---------- -RUBY_DEBUG_VERSION = open("ext/ruby_debug.c") do |f| - f.grep(/^#define DEBUG_VERSION/).first[/"(.+)"/,1] +RUBY_DEBUG_VERSION = open(File.join(File.dirname(__FILE__), 'VERSION')) do |f| + f.readlines[0].chomp end COMMON_FILES = FileList[ @@@@ -18,6 +18,7 @@@@ COMMON_FILES = FileList[ 'LICENSE', 'README', 'Rakefile', + 'VERSION', ] CLI_TEST_FILE_LIST = FileList['test/test-*.rb', 'test/cli/**/*_test.rb'] @@@@ -158,9 +159,6 @@@@ EOF end # Rake task to build the default package -Rake::GemPackageTask.new(base_spec) do |pkg| - pkg.need_tar = true -end Rake::GemPackageTask.new(cli_spec) do |pkg| pkg.need_tar = true end @ 1.3 log @Update ruby-debug package to 0.10.2. 0.10.2 - debugger(steps=0) breaks inside of debugger rather than wait for a line event. - trace var varname (stop|nostop) added which issues trace_var. - start method is now properly defined in Debugger module - fixed 'finish' command - rdebug script now works with Ruby 1.8.7 @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.2 2008/04/14 21:33:04 jlam Exp $ @ 1.2 log @Update devel/ruby-debug to version 0.10.1. Changes from version 0.10.0 include: Makefile: + Use a different method for setting the RUBY_DEBUG_VERSION in the Rakefile. We create a file at post-extract time that holds the version number and just directly read it within the Rakefile. patch-aa: + Read the VERSION file in the source directory to set RUBY_DEBUG_VERSION used in the specifications file. + Drop changes that manipulated the file list for the ruby-debug-base package. We already only build the CLI package, so the change is unnecessary. ruby-debug changes: * "rdebug --post-mortem" now really catches uncaught exceptions and brings you to post-mortem handling. "info program" shows the exception. * Use ~/.rdboptrc (rdbopt.ini on MS Windows) to change default options. * Expanded "info" command * "frame" command now accepts an optional thread number argument * add "var cl[ass]" command. Note "var const" can no longer be abbreviated "var c"; use "var co" (or const or constant). * add "condition" command. Allow removal of condition. * rdebug command history can be displayed with "show commands". Fix a bug in history saving. * INCOMPATIBLE CHANGE: "finish" works like gdb - stop just before the most recent method finishes. Will now accept a number which stops that many frames completed. (Note that return line numbers will be funny, the first line of the method until Ruby 1.8.7.) * fix bug in 'list' command when wrapping off the end. * Emacs interaction drastically reworked, expanded, and improved. @ text @d1 1 a1 1 $NetBSD$ d3 1 a3 1 --- Rakefile.orig 2008-04-14 16:52:26.000000000 -0400 d23 1 a23 1 CLI_TEST_FILE_LIST = 'test/test-*.rb' @ 1.1 log @Initial revision @ text @d3 1 a3 5 Sync with current Rake and drop the ruby-debug-base gem build. Keep RUBY_DEBUG_VERSION value in sync with its ruby-debug-base package avatar! --- Rakefile.orig 1970-01-01 00:00:00.000000000 +0000 d5 1 a5 1 @@@@ -8,7 +8,7 @@@@ require 'rake/testtask' d9 5 a13 2 -RUBY_DEBUG_VERSION = open("ext/ruby_debug.c"){|f| f.grep(/^#define DEBUG_VERSION/).first[/"(.+)"/,1]} +RUBY_DEBUG_VERSION = '0.10.0' d16 6 a21 11 'AUTHORS', @@@@ -38,10 +38,6 @@@@ CLI_FILES = COMMON_FILES + FileList[ BASE_TEST_FILE_LIST = 'test/test-ruby-debug-base.rb' BASE_FILES = COMMON_FILES + FileList[ 'lib/**/*', - 'ext/ChangeLog', - 'ext/ruby_debug.c', - 'ext/extconf.rb', - 'ext/win32/*', BASE_TEST_FILE_LIST, ] d23 2 a24 1 @@@@ -147,9 +143,6 @@@@ EOF a33 9 @@@@ -159,7 +152,7 @@@@ task :default => [:package] # Windows specification win_spec = base_spec.clone win_spec.extensions = [] -win_spec.platform = Gem::Platform::WIN32 +win_spec.platform = Gem::Platform::CURRENT win_spec.files += ["lib/#{SO_NAME}"] desc "Create Windows Gem" @ 1.1.1.1 log @Initial import of ruby-debug as version 0.10.0 into the NetBSD Packages Collection. Command line interface for the Ruby debugger ruby-debug. @ text @@