From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Jul 3 16:10:11 2011 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2A8451065672 for ; Sun, 3 Jul 2011 16:10:11 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 084368FC18 for ; Sun, 3 Jul 2011 16:10:11 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p63GAAn1003005 for ; Sun, 3 Jul 2011 16:10:10 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p63GAAqN003001; Sun, 3 Jul 2011 16:10:10 GMT (envelope-from gnats) Resent-Date: Sun, 3 Jul 2011 16:10:10 GMT Resent-Message-Id: <201107031610.p63GAAqN003001@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Steven Wills Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 986E31065670 for ; Sun, 3 Jul 2011 16:09:24 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 7F04E8FC08 for ; Sun, 3 Jul 2011 16:09:24 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id p63G9OGY092616 for ; Sun, 3 Jul 2011 16:09:24 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id p63G9OZ9092615; Sun, 3 Jul 2011 16:09:24 GMT (envelope-from nobody) Message-Id: <201107031609.p63G9OZ9092615@red.freebsd.org> Date: Sun, 3 Jul 2011 16:09:24 GMT From: Steven Wills To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/158612: [patch] update audio/rubyripper to use rubygem-gettext instead of ruby-gettext X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Jul 2011 16:10:11 -0000 >Number: 158612 >Category: ports >Synopsis: [patch] update audio/rubyripper to use rubygem-gettext instead of ruby-gettext >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Jul 03 16:10:10 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Steven Wills >Release: >Organization: >Environment: >Description: The attached patch updates audio/rubyripper to use devel/rubygem-gettext instead of devel/ruby-gettext. devel/rubygem-gettext is a newer version of the software which works with Ruby 1.9. This change will allow using audio/rubyripper with Ruby 1.9. >How-To-Repeat: >Fix: Patch attached with submission follows: Index: Makefile =================================================================== RCS file: /home/ncvs/ports/audio/rubyripper/Makefile,v retrieving revision 1.1 diff -u -r1.1 Makefile --- Makefile 6 Nov 2010 19:13:24 -0000 1.1 +++ Makefile 3 Jul 2011 16:07:36 -0000 @@ -6,6 +6,7 @@ # PORTNAME= rubyripper +PORTREVISION= 1 DISTVERSION= 0.6.0 CATEGORIES= audio sysutils ruby MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE} @@ -18,7 +19,7 @@ # cdparanoia is not really required for build, but it would not configure # without it (ideally, configure script should be fixed instead of forcing # superfluous build dependency) -BUILD_DEPENDS= ${RUBY_SITELIBDIR}/gettext.rb:${PORTSDIR}/devel/ruby-gettext \ +BUILD_DEPENDS= rubygem-gettext>0:${PORTSDIR}/devel/rubygem-gettext \ cdparanoia:${PORTSDIR}/audio/cdparanoia RUN_DEPENDS:= ${BUILD_DEPENDS} \ ${RUBY_SITEARCHLIBDIR}/gtk2.so:${PORTSDIR}/x11-toolkits/ruby-gtk2 \ Index: files/patch-rr_lib.rb =================================================================== RCS file: /home/ncvs/ports/audio/rubyripper/files/patch-rr_lib.rb,v retrieving revision 1.1 diff -u -r1.1 patch-rr_lib.rb --- files/patch-rr_lib.rb 6 Nov 2010 19:13:24 -0000 1.1 +++ files/patch-rr_lib.rb 3 Jul 2011 15:05:01 -0000 @@ -1,6 +1,14 @@ ---- rr_lib.rb.orig -+++ rr_lib.rb -@@ -70,6 +70,7 @@ +--- rr_lib.rb.orig 2010-06-18 19:36:16.000000000 +0000 ++++ rr_lib.rb 2011-07-03 15:04:20.000000000 +0000 +@@ -22,6 +22,7 @@ + $rr_version = '0.6.0' #application wide setting + + begin ++ require 'rubygems' + require 'gettext' + include GetText + bindtextdomain("rubyripper") +@@ -70,6 +71,7 @@ Thread.new do if installed('eject') ; `eject #{cdrom}` elsif installed('diskutil'); `diskutil eject #{cdrom}` #Mac users don't got eject, but diskutil @@ -8,7 +16,7 @@ else puts _("No eject utility found!") end end -@@ -573,15 +574,15 @@ +@@ -573,15 +575,15 @@ end end @@ -27,7 +35,7 @@ "for device %s on your system! These permissions are\n"\ "necessary for cdparanoia to scan your drive.\n\n%s\n"\ "You might want to add yourself to the necessary group in /etc/group")\ -@@ -605,13 +606,13 @@ +@@ -605,13 +607,13 @@ return true end @@ -43,7 +51,7 @@ "for device %s on your system! These permissions are\n"\ "necessary for cdparanoia to scan your drive.\n\n%s\n"\ "You might want to add yourself to the necessary group in /etc/group")\ -@@ -2524,7 +2525,7 @@ +@@ -2524,7 +2526,7 @@ # 6) is req_matches_all <= req_matches_errors def checkConfig >Release-Note: >Audit-Trail: >Unformatted: