1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-15 07:56:36 +00:00

Remove expired port:

2015-07-15 audio/rubyripper: Does not build and is deprecated upstream
This commit is contained in:
Rene Ladan 2015-07-16 21:23:42 +00:00
parent ae06b7c18d
commit d2a06715cb
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=392324
8 changed files with 1 additions and 182 deletions

1
MOVED
View File

@ -7692,3 +7692,4 @@ x11/gmessage||2015-07-14|Upstream has disappeared and development ceased
security/ssh-guid||2015-07-14|Development ceased, broken with modern ssh
textproc/gdict||2015-07-14|Development ceased, unusable
print/pup||2015-07-14|Development ceased, unusable
audio/rubyripper||2015-07-16|Has expired: Does not build and is deprecated upstream

View File

@ -660,7 +660,6 @@
SUBDIR += rubygem-ruby-mp3info
SUBDIR += rubygem-ruby-ogginfo
SUBDIR += rubygem-ruby-shout
SUBDIR += rubyripper
SUBDIR += s3mod
SUBDIR += sbagen
SUBDIR += schism

View File

@ -1,59 +0,0 @@
# Created by: Alexey Dokuchaev <danfe@FreeBSD.org>
# $FreeBSD$
PORTNAME= rubyripper
DISTVERSION= 0.6.2
PORTREVISION= 2
CATEGORIES= audio sysutils ruby
MASTER_SITES= GOOGLE_CODE
MAINTAINER= multimedia@FreeBSD.org
COMMENT= Digital audio CD extraction tool for accurate ripping
LICENSE= GPLv3
BROKEN= Does not build with newer rubygem-gettext
DEPRECATED= Does not build and is deprecated upstream
EXPIRATION_DATE= 2015-07-15
# cdparanoia is not really required for the build, but the port would not
# configure without it (ideally, configure script should be fixed instead
# of forcing this superfluous build dependency)
BUILD_DEPENDS= rxgettext:${PORTSDIR}/devel/rubygem-gettext \
cdparanoia:${PORTSDIR}/audio/cdparanoia
RUN_DEPENDS:= ${BUILD_DEPENDS} \
rubygem-gtk2>=0:${PORTSDIR}/x11-toolkits/rubygem-gtk2 \
cdrdao:${PORTSDIR}/sysutils/cdrdao \
cd-discid:${PORTSDIR}/audio/cd-discid
USES= tar:bzip2 gettext
USE_RUBY= yes
INSTALLS_ICONS= yes
DESKTOP_ENTRIES="Rubyripper" "Secure Audio Disc Ripper" \
"${PORTNAME}" "rrip_gtk2" "Audio;AudioVideo;" false
post-patch:
# fix an apparent typo
@${REINPLACE_CMD} -e 's,cdparanioa,cdparanoia,' \
${WRKSRC}/locale/po/bg/rubyripper.po \
${WRKSRC}/locale/po/ru/rubyripper.po
@${REINPLACE_CMD} 's,/usr/local/lib/ruby/site_ruby/1.8,${RUBY_SITELIBDIR},' \
${WRKSRC}/rubyripper_cli.rb ${WRKSRC}/rubyripper_gtk2.rb
do-build:
cd ${WRKSRC} && ${RUBY} configure --update-lang
do-install:
@${MKDIR} ${STAGEDIR}${RUBY_SITELIBDIR}
${INSTALL_DATA} ${WRKSRC}/rr_lib.rb ${STAGEDIR}${RUBY_SITELIBDIR}
.for frontend in cli gtk2
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}_${frontend}.rb \
${STAGEDIR}${PREFIX}/bin/rrip_${frontend}
.endfor
@${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/128x128/apps
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.png \
${STAGEDIR}${PREFIX}/share/icons/hicolor/128x128/apps
cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/share "-name *.mo"
.include <bsd.port.mk>

View File

@ -1,2 +0,0 @@
SHA256 (rubyripper-0.6.2.tar.bz2) = 817a800ba9a8eca9a8130fad861913c8ebdc4ec3011135e216b41007fc989ebb
SIZE (rubyripper-0.6.2.tar.bz2) = 119416

View File

@ -1,62 +0,0 @@
--- rr_lib.rb.orig
+++ rr_lib.rb
@@ -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
+ elsif installed('cdcontrol'); `cdcontrol -f #{cdrom} eject` #FreeBSD has cdcontrol(1) in the base system
else puts _("No eject utility found!")
end
end
@@ -573,15 +575,15 @@
end
end
- unless File.blockdev?(@cdrom) #is it a real device?
+ unless File.chardev?(@cdrom) #is it a real device?
@error = _("Cdrom drive %s does not exist on your system!\n"\
"Please configure your cdrom drive first.") % [@cdrom]
@query = false
return false
end
- unless (File.readable?(@cdrom) && File.writable?(@cdrom))
- @error = _("You don't have read and write permission\n"\
+ unless File.readable?(@cdrom)
+ @error = _("You don't have read permissions\n"\
"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 +607,13 @@
return true
end
- unless ((File.chardev?(device) || File.blockdev?(device)) && File.readable?(device) && File.writable?(device))
+ unless ((File.chardev?(device) || File.blockdev?(device)) && File.readable?(device))
permission = nil
if File.chardev?(device) && installed('ls')
permission = `ls -l #{device}`
end
- @error = _("You don't have read and write permission\n"\
+ @error = _("You don't have read permissions\n"\
"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 +2526,7 @@
# 6) is req_matches_all <= req_matches_errors
def checkConfig
- unless File.symlink?(@settings['cdrom']) || File.blockdev?(@settings['cdrom'])
+ unless File.symlink?(@settings['cdrom']) || File.chardev?(@settings['cdrom'])
@error = ["error", _("The device %s doesn't exist on your system!") % [@settings['cdrom']]]
return false
end

View File

@ -1,27 +0,0 @@
--- rubyripper_gtk2.rb.orig
+++ rubyripper_gtk2.rb
@@ -248,13 +248,13 @@
def handle_tray
@buttons.each{|button| button.sensitive = false}
Thread.new do
- if installed('eject')
+ if installed('cdcontrol')
if @buttontext[2].text == _("Open tray")
@instances['GtkMetadata'] = false
@instances['ShortMessage'].open_tray(@settings['cdrom'])
change_display(@instances['ShortMessage'])
cancelTocScan()
- `eject #{@settings['cdrom']}` # spit the cd out
+ `cdcontrol -f #{@settings['cdrom']} eject` # spit the cd out
@buttontext[2].set_text('_'+_("Close tray"),true)
@buttonicons[2].stock = Gtk::Stock::GOTO_TOP
@instances['ShortMessage'].ask_for_disc
@@ -262,7 +262,7 @@
else
@instances['ShortMessage'].close_tray(@settings['cdrom'])
change_display(@instances['ShortMessage'])
- `eject --trayclose #{@settings['cdrom']}` # close the tray
+ `cdcontrol -f #{@settings['cdrom']} close` # close the tray
@buttontext[2].set_text('_'+_("Open tray"),true)
@buttonicons[2].stock = Gtk::Stock::GOTO_BOTTOM
scan_drive()

View File

@ -1,18 +0,0 @@
Rubyripper is a digital audio extraction tool that uses cdparanoia error
correcting power and its own secure ripping algorithm to ensure that the
rip is done successfully and accurately. It is very similar to and much
inspired by EAC for Windows, the golden standard of CD ripping software.
Some of the main features:
- Graphical (GTK+2) and command line interfaces
- Secure (accurate) ripping method
- Editable FreeDB tag fetching
- FLAC, Ogg/Vorbis, MP3, WAV format support; more codecs can be passed
- Multiple codec encoding in one run
- Drive offset support (http://www.accuraterip.com/driveoffsets.htm)
- Playlist and cue sheet creation
- Logfile with analysis of corrected and impossible to correct positions
- MD5 sum for each track included in the logfile
WWW: http://code.google.com/p/rubyripper/

View File

@ -1,13 +0,0 @@
bin/rrip_cli
bin/rrip_gtk2
%%RUBY_SITELIBDIR%%/rr_lib.rb
share/icons/hicolor/128x128/apps/rubyripper.png
share/locale/bg/LC_MESSAGES/rubyripper.mo
share/locale/de/LC_MESSAGES/rubyripper.mo
share/locale/es/LC_MESSAGES/rubyripper.mo
share/locale/fr/LC_MESSAGES/rubyripper.mo
share/locale/hu/LC_MESSAGES/rubyripper.mo
share/locale/it/LC_MESSAGES/rubyripper.mo
share/locale/nl/LC_MESSAGES/rubyripper.mo
share/locale/ru/LC_MESSAGES/rubyripper.mo
share/locale/se/LC_MESSAGES/rubyripper.mo