summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2010-03-25 11:19:42 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2010-03-25 11:19:42 +0000
commitb2651ebc89d864df81585e4f355f66c7acd33dfe (patch)
treec3d276246da49a61cbe5900fbda9c55cf67e3f5b /xfce-extra/eatmonkey
parentInitial commit wrt #311287. (diff)
downloadhistorical-b2651ebc89d864df81585e4f355f66c7acd33dfe.tar.gz
historical-b2651ebc89d864df81585e4f355f66c7acd33dfe.tar.bz2
historical-b2651ebc89d864df81585e4f355f66c7acd33dfe.zip
Change exists to self.exists in compat18.rb by Alex Legler.
Package-Manager: portage-2.2_rc67/cvs/Linux x86_64
Diffstat (limited to 'xfce-extra/eatmonkey')
-rw-r--r--xfce-extra/eatmonkey/ChangeLog6
-rw-r--r--xfce-extra/eatmonkey/Manifest5
-rw-r--r--xfce-extra/eatmonkey/eatmonkey-0.1.4.ebuild8
-rw-r--r--xfce-extra/eatmonkey/files/eatmonkey-0.1.4-syntax.patch13
4 files changed, 23 insertions, 9 deletions
diff --git a/xfce-extra/eatmonkey/ChangeLog b/xfce-extra/eatmonkey/ChangeLog
index 1df71157c827..6a0ba64c8798 100644
--- a/xfce-extra/eatmonkey/ChangeLog
+++ b/xfce-extra/eatmonkey/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for xfce-extra/eatmonkey
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/xfce-extra/eatmonkey/ChangeLog,v 1.1 2010/03/25 11:09:09 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/xfce-extra/eatmonkey/ChangeLog,v 1.2 2010/03/25 11:19:42 ssuominen Exp $
+
+ 25 Mar 2010; Samuli Suominen <ssuominen@gentoo.org>
+ eatmonkey-0.1.4.ebuild, +files/eatmonkey-0.1.4-syntax.patch:
+ Change exists to self.exists in compat18.rb by Alex Legler.
*eatmonkey-0.1.4 (25 Mar 2010)
diff --git a/xfce-extra/eatmonkey/Manifest b/xfce-extra/eatmonkey/Manifest
index eef21cfebb7f..7cd738d818f2 100644
--- a/xfce-extra/eatmonkey/Manifest
+++ b/xfce-extra/eatmonkey/Manifest
@@ -1,4 +1,5 @@
+AUX eatmonkey-0.1.4-syntax.patch 267 RMD160 f0cb358d549a1ee9b626da591009a3e05584815c SHA1 ba48ee628e8ff6defc962f249a9ceec955f976c6 SHA256 38079ada1b5b65a609723fda687bf935c2f0e9b7d85cca890b2cd82545a6a320
DIST eatmonkey-0.1.4.tar.bz2 181996 RMD160 7ea09e041506624d274bdd0c500409f6fd1424e0 SHA1 463c4d0fac612d82be4d9297c41639730902fdea SHA256 b8915a0204d750c939314711cc836f3ad9eb0faddaa2e140ca679d2764a7b3fb
-EBUILD eatmonkey-0.1.4.ebuild 1165 RMD160 1e0a10b85a9e862c5c0f0c0f954c6b8692d50a86 SHA1 bdc860c38bdf2c84dca702ac7e5f3abc8c3e1d15 SHA256 86b4342e06ec8db51a8db994261498f0f84643128f693a84ad113d719dc6aed3
-MISC ChangeLog 360 RMD160 dcb998882c73e016dd38a52d9839e040cfb42d36 SHA1 50cbad1a44d64e75d2e48456570cba88bde3fd4d SHA256 36b09c82e5a9fa8d70548cf6c1f62ecfeb373aa75612c23b26dd502012d9adbd
+EBUILD eatmonkey-0.1.4.ebuild 1055 RMD160 bf6b47933703091563654c8f5f581aacf120c90f SHA1 ec3c6bfe15a9d032e8e6e073f08a006ac38e711b SHA256 fb81d0b9c1c5cfa4e10b8b01321f2d589b25eb76f35ff595c2e2c32f9fd22feb
+MISC ChangeLog 540 RMD160 0c3f433ff74e9446f9007280a056360938778edf SHA1 5b459e08895070f03c330d7d8a642b39175b5a79 SHA256 c47521b63a8ddd5d3fcb0f3d26308599fe976977a1a5244bdacc8a11cfa56a50
MISC metadata.xml 159 RMD160 43722935bd7b4db7fe8db681054f2e53c4a5f7ce SHA1 15958ad72e234ba572c9534533c21532eb6bc0fd SHA256 900ea49b6703fce452e205b85226bf1f994725963e5840da501182e7487d0e63
diff --git a/xfce-extra/eatmonkey/eatmonkey-0.1.4.ebuild b/xfce-extra/eatmonkey/eatmonkey-0.1.4.ebuild
index bdd22e9c79f4..724e43d3432e 100644
--- a/xfce-extra/eatmonkey/eatmonkey-0.1.4.ebuild
+++ b/xfce-extra/eatmonkey/eatmonkey-0.1.4.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/xfce-extra/eatmonkey/eatmonkey-0.1.4.ebuild,v 1.1 2010/03/25 11:09:09 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/xfce-extra/eatmonkey/eatmonkey-0.1.4.ebuild,v 1.2 2010/03/25 11:19:42 ssuominen Exp $
EAPI=2
inherit xfconf
@@ -31,6 +31,7 @@ DEPEND="${COMMON_DEPEND}
pkg_setup() {
DOCS="AUTHORS ChangeLog NEWS README"
XFCONF="--disable-dependency-tracking"
+ PATCHES=( "${FILESDIR}/${P}-syntax.patch" )
}
src_prepare() {
@@ -38,10 +39,5 @@ src_prepare() {
-e 's:/usr/local:/usr:' \
src/eat{monkey,manager.rb} || die
- # compat18.rb has class to handle this, but it's not working for some reason
- sed -i \
- -e 's:Dir.exists:File.directory:' \
- src/eatsettings.rb || die
-
xfconf_src_prepare
}
diff --git a/xfce-extra/eatmonkey/files/eatmonkey-0.1.4-syntax.patch b/xfce-extra/eatmonkey/files/eatmonkey-0.1.4-syntax.patch
new file mode 100644
index 000000000000..bacd69778e56
--- /dev/null
+++ b/xfce-extra/eatmonkey/files/eatmonkey-0.1.4-syntax.patch
@@ -0,0 +1,13 @@
+Fix compability with Ruby 1.8 by Alex Legler <a3li@gentoo.org>. It helps to actually mark the method static.
+
+--- src/compat18.rb
++++ src/compat18.rb
+@@ -12,7 +12,7 @@
+ end
+
+ class Dir
+- def exists?(path)
++ def self.exists?(path)
+ File.directory?(path)
+ end
+ end