summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Kohl <citizen428@gentoo.org>2005-02-07 21:42:00 +0000
committerMichael Kohl <citizen428@gentoo.org>2005-02-07 21:42:00 +0000
commit65a131c9a2ccdbcf7cef4b913f1c3c0f833d1006 (patch)
treebad43a167075f7f4249865b729ef597c448b826b /dev-util/freeride
parentstable on x86; remove obsolete ebuild (diff)
downloadgentoo-2-65a131c9a2ccdbcf7cef4b913f1c3c0f833d1006.tar.gz
gentoo-2-65a131c9a2ccdbcf7cef4b913f1c3c0f833d1006.tar.bz2
gentoo-2-65a131c9a2ccdbcf7cef4b913f1c3c0f833d1006.zip
Version bump; submitted by Brandon Philips <brandon@ifup.org> in bug #68277. Changed DEPEND to RDEPEND.
(Portage version: 2.0.51-r15)
Diffstat (limited to 'dev-util/freeride')
-rw-r--r--dev-util/freeride/ChangeLog11
-rw-r--r--dev-util/freeride/Manifest7
-rw-r--r--dev-util/freeride/files/digest-freeride-0.9.21
-rw-r--r--dev-util/freeride/files/freeride-0.9.2-gentoo-appframe.patch99
-rw-r--r--dev-util/freeride/freeride-0.6.0.ebuild4
-rw-r--r--dev-util/freeride/freeride-0.9.2.ebuild43
6 files changed, 159 insertions, 6 deletions
diff --git a/dev-util/freeride/ChangeLog b/dev-util/freeride/ChangeLog
index 9430a76a11ee..91f79259de3b 100644
--- a/dev-util/freeride/ChangeLog
+++ b/dev-util/freeride/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-util/freeride
-# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/freeride/ChangeLog,v 1.2 2004/06/25 02:32:11 agriffis Exp $
+# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/freeride/ChangeLog,v 1.3 2005/02/07 21:42:00 citizen428 Exp $
+
+*freeride-0.9.2 (07 Feb 2005)
+
+ 07 Feb 2005; Michael Kohl <citizen428@gentoo.org>
+ +files/freeride-0.9.2-gentoo-appframe.patch, +freeride-0.9.2.ebuild:
+ Version bump; submitted by Brandon Philips <brandon@ifup.org> in bug #68277.
+ Changed DEPEND to RDEPEND.
*freeride-0.6.0 (05 Jun 2004)
diff --git a/dev-util/freeride/Manifest b/dev-util/freeride/Manifest
index 3f98269b1fd1..cabdbe6dc108 100644
--- a/dev-util/freeride/Manifest
+++ b/dev-util/freeride/Manifest
@@ -1,6 +1,9 @@
-MD5 66aedb90459bde95b83724e243fa4e27 freeride-0.6.0.ebuild 1128
-MD5 11342d0ca03caa85eea00cb6a2b754e2 ChangeLog 476
+MD5 7e3598c68c2980b322516333a1ac2eae freeride-0.9.2.ebuild 1014
+MD5 6dafbf64f1983e9c3e53cebd5bc1ac5e freeride-0.6.0.ebuild 1128
+MD5 38de74d26b6eb45d626186f6ea1c490a ChangeLog 739
MD5 3eec9f3fe48b51f49dbc1f171a3b026f metadata.xml 157
MD5 d5e7056def50daf45dfc4beec376eda7 files/freeride.sh 61
MD5 4940a8a3ac6a7668fbe6bc1ceb5ada16 files/freeride-0.6.0-gentoo-properties.diff 589
+MD5 3bce99c22ee094ee34f1de737f6fa821 files/freeride-0.9.2-gentoo-appframe.patch 3482
MD5 73c3e290be08116f774e253567e21278 files/digest-freeride-0.6.0 63
+MD5 a13f0b5c93a940d03f27076e45623d3e files/digest-freeride-0.9.2 66
diff --git a/dev-util/freeride/files/digest-freeride-0.9.2 b/dev-util/freeride/files/digest-freeride-0.9.2
new file mode 100644
index 000000000000..74243916a0d6
--- /dev/null
+++ b/dev-util/freeride/files/digest-freeride-0.9.2
@@ -0,0 +1 @@
+MD5 04a9802f712074085349eac6d0d1483d freeride-0.9.2.tar.gz 496043
diff --git a/dev-util/freeride/files/freeride-0.9.2-gentoo-appframe.patch b/dev-util/freeride/files/freeride-0.9.2-gentoo-appframe.patch
new file mode 100644
index 000000000000..0e6b904b1b24
--- /dev/null
+++ b/dev-util/freeride/files/freeride-0.9.2-gentoo-appframe.patch
@@ -0,0 +1,99 @@
+--- appframe.rb.old 2004-12-03 22:24:02.000000000 +0100
++++ appframe.rb 2005-02-07 20:19:55.224242776 +0100
+@@ -1,6 +1,6 @@
+ # Purpose: Setup and initialize the core gui interfaces
+ #
+-# $Id: freeride-0.9.2-gentoo-appframe.patch,v 1.1 2005/02/07 21:42:00 citizen428 Exp $
++# $Id: freeride-0.9.2-gentoo-appframe.patch,v 1.1 2005/02/07 21:42:00 citizen428 Exp $
+ #
+ # Authors: Curt Hibbs <curt@hibbs.com>
+ # Contributors:
+@@ -37,7 +37,24 @@
+
+ component_slot.subscribe do |event, slot|
+ if (event == :notify_slot_add && slot.parent == component_slot)
+- Renderer.new(plugin, slot)
++ app = Fox::FXApp.new("FreeRIDE", "FreeRIDE")
++ r = Renderer.new(plugin, slot, app)
++ app.create
++
++ plugin["/system/ui/messagepump"].set_proc do
++ begin
++ app.run
++ rescue
++ exc_box = FreerideExceptionBox.new(r,"#{$!.class}: #{$!.message}\n\n#{$@.join("\n")}")
++ if exc_box.execute == MBOX_CLICKED_YES
++ plugin['/system/ui/components/EditPane'].each_slot {|ep| ep.manager.save}
++ end
++ # raise the exception again for the text console
++ raise
++ ensure
++ plugin["/system/shutdown"].call(1)
++ end
++ end
+ end
+ end
+
+@@ -52,14 +69,13 @@
+ class Renderer < Fox::FXMainWindow
+ include Fox
+ attr_reader :plugin
+- def initialize(plugin, slot)
++
++ def initialize(plugin, slot, app)
+ @plugin = plugin
+ @slot = slot
+-
++ @app = app
+ @command = @slot["/system/ui/commands"]
+ @plugin.log_info << "AppFrame started"
+- @app = FXApp.new("FreeRIDE", "FreeRIDE")
+- @app.init(ARGV)
+
+ # use the FR mini icon for the main window
+ mi_path = "#{plugin.plugin_configuration.full_base_path}/icons/bullseye.ico"
+@@ -146,24 +162,28 @@
+ @plugin["/system/ui/fox/dockbar/south/textAngle"].data = 0
+ @plugin.log_info << "Dockbar UI components positioned OK!"
+
+- @app.create
++ #LJ@app.create
+ @running = true
+
+- @plugin["/system/ui/messagepump"].set_proc do
+- begin
+- @app.run
+- rescue
+- exc_box = FreerideExceptionBox.new(self,"#{$!.class}: #{$!.message}\n\n#{$@.join("\n")}")
+- if exc_box.execute == MBOX_CLICKED_YES
+- @plugin['/system/ui/components/EditPane'].each_slot {|ep| ep.manager.save}
+- end
+- # raise the exception again for the text console
+- raise
+- ensure
+- @running = false
+- @plugin["/system/shutdown"].call(1)
+- end
+- end
++# BGB - START
++# was:
++# @plugin["/system/ui/messagepump"].set_proc do
++# begin
++# @app.run
++# rescue
++# exc_box = FreerideExceptionBox.new(self,"#{$!.class}: #{$!.message}\n\n#{$@.join("\n")}")
++# if exc_box.execute == MBOX_CLICKED_YES
++# @plugin['/system/ui/components/EditPane'].each_slot {|ep| ep.manager.save}
++# end
++# # raise the exception again for the text console
++# raise
++# ensure
++# @running = false
++# @plugin["/system/shutdown"].call(1)
++# end
++# end
++# now:
++# BGB - END
+ end
+
+ def shutdown
diff --git a/dev-util/freeride/freeride-0.6.0.ebuild b/dev-util/freeride/freeride-0.6.0.ebuild
index 0a49762fcf30..0f26dc690f7d 100644
--- a/dev-util/freeride/freeride-0.6.0.ebuild
+++ b/dev-util/freeride/freeride-0.6.0.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2004 Gentoo Foundation
+# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/freeride/freeride-0.6.0.ebuild,v 1.4 2004/07/14 23:28:05 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/freeride/freeride-0.6.0.ebuild,v 1.5 2005/02/07 21:42:00 citizen428 Exp $
inherit ruby eutils
diff --git a/dev-util/freeride/freeride-0.9.2.ebuild b/dev-util/freeride/freeride-0.9.2.ebuild
new file mode 100644
index 000000000000..a3e1478e66e2
--- /dev/null
+++ b/dev-util/freeride/freeride-0.9.2.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/freeride/freeride-0.9.2.ebuild,v 1.1 2005/02/07 21:42:00 citizen428 Exp $
+
+inherit ruby eutils
+
+DESCRIPTION="FreeRIDE is a pure Ruby Integrated Development Environment."
+HOMEPAGE="http://freeride.rubyforge.org/"
+SRC_URI="http://rubyforge.org/frs/download.php/2185/${P}.tar.gz"
+
+LICENSE="Ruby"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+
+USE_RUBY="any"
+
+RDEPEND="virtual/ruby
+ >=x11-libs/fox-1.2
+ >=dev-ruby/fxruby-1.2
+ >=x11-libs/fxscintilla-1.61"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}/plugins/rubyide_fox_gui
+
+ # A little patch I've created from FR CVS. Probably won't be
+ # needed in future versions.
+ epatch ${FILESDIR}/${P}-gentoo-appframe.patch
+}
+
+src_install() {
+ siteruby=$(${RUBY} -r rbconfig -e 'print Config::CONFIG["sitedir"]')
+ insinto "${siteruby}/${PN}"
+ doins *.rb || "doins *.rb failed"
+
+ cp -R config freebase plugins redist so test \
+ "${D}${siteruby}/${PN}" || die "cp -R failed"
+
+ newbin ${FILESDIR}/freeride.sh freeride || die "dobin failed"
+
+ erubydoc
+}