pacpl-4.0.5/0000755000000000000000000000000011160607057011320 5ustar rootrootpacpl-4.0.5/po/0000755000000000000000000000000011130145643011731 5ustar rootrootpacpl-4.0.5/po/zh_CN.po0000644000000000000000000001242211007226734013277 0ustar rootroot############################################ # Chinese_Simplified - Ni Hui (shuizhuyuanluo@126.com) ############################################ # # 翻译介绍: # # 1) 只需翻译在 = 等号后面的文本(翻译值而不是键名称) # 2) 确定在 = 等号两边都只有一个空格 # 3) 确认在文件顶部包含语言名称,以及您的姓名/电子邮件地址 # 4) 拼写检查 # 5) 请翻译这段介绍并包含在您的 lang.po 中 # # 您可以将您的翻译提交到 viiron@gmail.com ################## # 错误消息 # ################## error = 错误 failed = failed: bad_input = 目标格式不支持。 multi_out = 当编码多个文件时不能使用 --outfile。 no_config = 未找到配置文件...使用默认设置。 unk_encoder = selected encoder not valid for: unk_decoder = selected decoder not valid for: no_decoder = 警告:无法编码以下文件: no_encoder = 不支持编码“至”以下格式: no_encode_app = could not find suitable application to encode: no_decode_app = could not find suitable application to decode: no_app = 无法找到程序: no_outdir = 输出目录不存在。 no_infile = 以下不是一个文件或目录: no_input = 您必须至少指定一个输出文件。 no_read_tag = 无法读取标记: no_write_tag = 无法写入标记: no_disc = 无法打开音频碟片: no_cddb = 无法找到 cddb 条目。 使用 --nocddb 选项。 no_kdialog = 未找到 kdialog。 请安装 kdebase 软件包。 need_outdir = 您必须指定一个输出目录。 encode_failed = 编码失败,退出状态: decode_failed = 解码失败,退出状态: empty_dir = 目录为空,尝试使用 --recursive 选项: opening_dir = 无法打开目录: opening_file = 无法打开文件: seek_help = 参见“pacpl --help”或“pacpl --longhelp”以查看选项清单。 ########### # 通知 # ########### converting = 正在转换: conv_comp = 转换完成。 removed_tmp = 删除临时文件: removed_src = 删除源文件: enc_fmts = 编码格式: dec_fmts = 解码格式: tag_info = 附上标记信息: write_tag_i = 正在写入标记信息: creating_dir = 正在创建目录: imported = 导入的模块: debug = 调试: loaded_config = 装入的配置文件: ripping_track = 正在抓取音轨: total_converted = Total files converted: overwrite = 输出文件已存在。 使用 --overwrite 来替换存在的文件。 show_encoders = encoders for show_decoders = decoders for ####################################### # Konqueror 和 Amarok 的用户提示符 # ####################################### kde_overwrite = 如果输出文件已存在是否覆盖?(1 = 是,0 = 否) kde_bitrate = 选择比特率 kde_freq = 音频采样率 kde_chans = 音频通道 kde_fcomp = FLAC 压缩级别 kde_pcomp = LPAC 压缩级别 kde_acomp = APE 压缩级别 kde_oggqual = Ogg Vorbis 质量级别 kde_spxqual = speex 质量级别 kde_aacqual = AAC/MP4/M4A 质量级别 kde_mpcqual = Musepack 质量级别 kde_ofmode = OptimFrog 压缩模式 kde_ofopt = OptimFrog 最佳级别 kde_bratio = BONK 下载采样率 kde_bquanl = BONK 量化级别 kde_bpsize = BONK 预计大小 ################## # 帮助菜单文本 # ################## to = 目标格式 recursive = 递归转换目录 preserve = 保持目录结构 formats = 列出支持的编码/解码格式 only = 只转换匹配扩展名的文件 keep = 保持文件匹配目标格式 help = 本帮助菜单 longhelp = 完整的选项清单 version = 显示版本信息 usage = 用法:pacpl --to <格式> <选项> [文件/目录] defopts = turn off default encoder options (0) eopts = 用户提供的编码选项 dopts = 用户提供的解码选项 nopts = user supplied normalize options outfile = 输出文件名称 outdir = 输出目录 dryrun = 不转换文件 overwrited = 覆盖目标文件 normalize = normalize wav file before encoding delete = 转换后删除源文件 encoder = specify an alternate encoder decoder = specify an alternate decoder verbose = 显示详细信息 user_opts = 用户选项: enc_opts = 编码选项: bitrate = 比特率 (默认:128) freq = 声频 (默认:44100) channels = 音频通道数 (默认:2) effect = sox 效果 (aiff/au/snd/raw/voc/smp/avr/cdr) fcomp = flac/fla 压缩级别 (默认:2) pcomp = lpac/pac 压缩级别 (默认:3) acomp = ape 压缩级别 (默认:3000) oggqual = ogg 质量级别 (默认:3) spxqual = spx 质量级别 (默认:8) aacqual = aac/mp4/m4a 质量级别 (默认:100) mpcqual = mpc/mpp 质量级别 (默认:radio) ofmode = ofr/ofs 模式 (默认:normal) ofopt = ofr/ofs 最佳 (默认:fast) bratio = bonk 下载采样率 (默认:2) bquanl = bonk 量化级别 (默认:1.0) bpsize = bonk 预计大小 (默认:128) tag_opts = 标记选项: artist = 设定艺术家信息 title = 设定标题 track = 设定音轨号 year = 设定专辑/音轨的年/日期 album = 设定专辑标题信息 genre = 设定流派 comment = 设定评论 taginfo = 显示选择文件的标记信息 tag_usage = 附上标记用法:pacpl <选项> [文件] rip_opts = 抓取选项: rip = 抓取以逗号分隔的音轨或者全部 nocddb = 禁用 cddb noinput = 禁用 cddb 交互 nscheme = 命名方案 cdinfo = 显示当前碟片的 cddb 信息 device = 默认 = /dev/cdrom rip_usage = 抓取用法:pacpl --rip [音轨/全部] --to <格式> <选项>pacpl-4.0.5/po/ca.po0000644000175000001440000001403711007226637013232 0ustar viriiusers############################################ # Català - Xavi (xavi13@gmail.com) ############################################ # # Translation Instructions: # # 1) only translate text after the = sign (translate the value not the key) # 2) make sure there is only one space between either side of the = sign # 3) be sure to include the language name, and your name/email at the top # 4) spell check # 5) please translate these instructions and include them with your lang.po # # You can submit your translations to viiron@gmail.com ################## # Error messages # ################## error = error failed = failed: bad_input = format de destí no suportat. multi_out = --outfile no es pot utilitzar codificant múltiples fitxers. no_config = fitxer de configuració no trobat...utilitzant paràmetres per defecte. unk_encoder = selected encoder not valid for: unk_decoder = selected decoder not valid for: no_decoder = Avís: el següent fitxer no es pot decodificar: no_encoder = codificant 'per' el següent no està suportat: no_encode_app = could not find suitable application to encode: no_decode_app = could not find suitable application to decode: no_app = no puc trobar l'aplicació: no_outdir = el directori de sortida no existeix no_infile = el següent no és un fitxer o directori no_input = heu d'especificar almenys un fitxer d'entrada no_read_tag = no puc llegir etiqueta per: no_write_tag = no puc escriure etiqueta per: no_disc = no puc obrir el disc d'àudio: no_cddb = no puc trobar l'entrada cddb. utilitzeu la opció --nocddb. no_kdialog = no trobo kdialog. instal·leu el paquet kdebase. need_outdir = heu d'especificar un directori de sortida. encode_failed = codificació fallida amb codi de sortida: decode_failed = decodificació fallida amb codi de sortida: empty_dir = directori buit, proveu utilitzant la opció --recursive: opening_dir = no puc obrir el directori: opening_file = no puc obrir el fitxer: seek_help = vegeu 'pacpl --help' o 'pacpl --longhelp' per a la llista d'opcions. ########### # Notices # ########### converting = Convertint: conv_comp = Conversió finalitzada. removed_tmp = fitxer temporal esborrat: removed_src = fitxer original esborat: enc_fmts = formats de codificació: dec_fmts = formats de decodificació: tag_info = etiquetant informació per: write_tag_i = escribint informació d'etiqueta per: creating_dir = creant directori: imported = mòduls importats: debug = depuració: loaded_config = fitxer de configuració carregat: ripping_track = Extraient pista: total_converted = Total files converted: overwrite = fitxer de sortida existent. utiltzeu --overwrite per substituir el fitxer existent. show_encoders = encoders for show_decoders = decoders for ####################################### # user prompts for Konqueror & Amarok # ####################################### kde_overwrite = sobreescriure fitxer de sortida si existeix? (1 = si, 0 = no) kde_bitrate = seleccioneu bitrate kde_freq = rati de mostreig d'àudio kde_chans = canals d'àudio kde_fcomp = nivell de compresió FLAC kde_pcomp = nivell de compresió LPAC kde_acomp = nivell de compresió APE kde_oggqual = nivell de qualitat Ogg Vorbis kde_spxqual = nivell de qualitat speex kde_aacqual = nivell de qualitat AAC/MP4/M4A kde_mpcqual = nivell de qualitat Musepack kde_ofmode = mode de compresió OptimFrog kde_ofopt = nivell d'optimització OptimFrog kde_bratio = rati de pèrdua BONK kde_bquanl = rati de quantificació BONK kde_bpsize = mida de predicció BONK ################## # Help menu text # ################## to = format de destí recursive = converteix directori(s) recursivament preserve = preserva l'estructura de directoris formats = llista els formats codificació/decodificació suportats only = només converteix fitxers coincidents amb l'extensió keep = manté fitxers coincidents amb el format de destí help = aquest menú d'ajut longhelp = llista completa d'opcions version = mostra informació de versió usage = ús: pacpl --to [fitxer(s)/directori(s)] defopts = turn off default encoder options (0) eopts = opcions de codificació proporcionades per l'usuari dopts = opcions de decodificació proporcionades per l'usuari nopts = opcions de normalització proporcionades per l'usuari outfile = nom de fitxer de sortida outdir = directori de sortida dryrun = no converteix fitxers overwrited = sobreescriu fitxer de destí normalize = normalitza fitxer wav abans de codificar delete = esborra fitxer origen després de la conversió encoder = specify an alternate encoder decoder = specify an alternate decoder verbose = mostra informació detallada user_opts = opcions d'usuari: enc_opts = opocions del codificador: bitrate = bitrate (def. 128) freq = freqüència d'àudio (def. 44100) channels = nombre de canals d'àudio (def. 2) effect = efecte sox (aiff/au/snd/raw/voc/smp/avr/cdr) fcomp = nivell de compresió flac/fla (def. 2) pcomp = nivell de compresió lpac/pac (def. 3) acomp = nivell de compresió ape (def. 3000) oggqual = nivell de qualitat ogg (def. 3) spxqual = nivell de qualitat spx (def. 8) aacqual = nivell de qualitat aac/mp4/m4a (def. 100) mpcqual = nivell de qualitat mpc/mpp (def. ràdio) ofmode = mode ofr/ofs (def. normal) ofopt = optimització ofr/ofs (def. ràpid) bratio = rati de pèrdua bonk (def. 2) bquanl = rati de quantficació bonk (def. 1.0) bpsize = mida de predicció bonk (def. 128) tag_opts = opcions d'etiquetatge: artist = estableix informació de l'artista title = estableix el títol track = estableix número de pista year = estableix any/data de l'àlbum/pista album = estableix informació del títol de l'àlbum genre = estableix el gènere comment = estableix comentaris taginfo = mostra informació de l'etiqueta del fitxer seleccionat tag_usage = ús de l'etiquetatge: papcl [fitxer(s)] rip_opts = opcions d'extracció: rip = extreu pistes separades per coma o totes nocddb = desactiva cddb noinput = desactiva cddb interactivament nscheme = esquema de nombrat cdinfo = mostra informació cddb del disc actual device = defecte = /dev/cdrom rip_usage = ús de l'exractor: pacpl --rip [pista(es)/tot] --to pacpl-4.0.5/po/de.po0000644000000000000000000001406211007226646012672 0ustar rootroot################################################### # Deutsch - Andreas Lang (andreas.lang@gmail.com) # ################################################### # # Übersetzungsanweisungen: # # 1) Nur der Text nach dem = Zeichen (übersetz den Wert und nicht den zugehörigen Schlüssel) # 2) stell sicher, dass auf jeder Seite des = genau ein Leerzeichen ist # 3) stell sicher, dass ganz oben, die Sprache, Dateiname sowie Emailadresse stehen # 4) Rechtschreibprüfung # 5) bitte übersetz diese Anweisung und benenne es in lang.po # # fertig, dann sende die Übersetzung an viiron@gmail.com #################### # Fehler Meldungen # #################### error = Fehler failed = failed: bad_input = Zielformat wird nicht unterstützt multi_out = --outfile kann nicht genutzt werden, wenn mehre Dateien sind ausgewählt no_config = configuration file not found...using default settings. unk_encoder = selected encoder not valid for: unk_decoder = selected decoder not valid for: no_decoder = Warnung: die folgende Datei konnte nicht dekodiert werden no_encoder = Kodierung 'zu' dem Folgenden wird nicht unterstützt: no_encode_app = could not find suitable application to encode: no_decode_app = could not find suitable application to decode: no_app = konnte nicht die Anwendung finden: no_outdir = Ausgabeverzeichnis existiert nicht. no_infile = das Folgende ist keine Datei oder kein Verzeichnis: no_input = es muss mindestens eine Eingabedatei ausgewählt sein. no_read_tag = konnte die Bezeichnung (tag) nicht lesen von: no_write_tag = konnte die Bezeichnung (tag) nicht schreiben für: no_disc = konnte die CD nicht öffnen: no_cddb = konnte den cddb Eintrag nicht finden. Benutzt die --nocddb Option. no_kdialog = kdialog konnte nicht gefunden werden. Installiere das kdebase Paket. need_outdir = Das Ausgabeverzeichnis muss angegeben werden. encode_failed = Kodierung ist fehlgeschlagen mit dem Status: decode_failed = Dekodierung ist fehlgeschlagen mit dem Status: empty_dir = Verzeichnis ist leer, benutzt die --recursive Option: opening_dir = konnte nicht das Verzeichnis öffnen: opening_file = konnte nicht die Datei öffnen: seek_help = benutzt 'pacpl --help' oder 'pacpl --longhelp' für eine Auflistung der Optionen ############# # Meldungen # ############# converting = Konvertierung: conv_comp = Konvertierung fertig. removed_tmp = lösche temporäre Datei: removed_src = lösche quell Datei: enc_fmts = kodiere Format: dec_fmts = Dekodiere Format: tag_info = Bezeichnung für: write_tag_i = schreibe Bezeichnungen für: creating_dir = erzeuge Verzeichnis: imported = lade Module: debug = debug: loaded_config = loaded configuration file: ripping_track = Lese Track: total_converted = Total files converted: overwrite = Ausgabedatei existiert. Benutz --overwrite zum Überschreiben. show_encoders = encoders for show_decoders = decoders for ############################################# # Benutzer Kommandos für Konqueror & Amarok # ############################################# kde_overwrite = Überschreibe Ausgabedatei wenn sie existiert? (1 = Ja, 0 = Nein) kde_bitrate = Wähle Bitrate kde_freq = Audio Samplingfrequenz kde_chans = Audio Kanäle kde_fcomp = FLAC Komprimierungsgrad kde_pcomp = LPAC Komprimierungsgrad kde_acomp = APE Komprimierungsgrad kde_oggqual = Ogg Vorbis Qualitätsgrad kde_spxqual = speex Qualitätsgrad kde_aacqual = AAC/MP4/M4A Qualitätsgrad kde_mpcqual = Musepack Qualitätsgrad kde_ofmode = OptimFrog Kompressionsmode kde_ofopt = OptimFrog Optimierungsgrad kde_bratio = BONK Verhältnis beim Heruntersampling kde_bquanl = BONK Quantisierung kde_bpsize = BONK Einflussgröße ############## # Hilfe Menü # ############## to = Zielformat recursive = Rekursive Konvertierung von Verzeichnis(sen) preserve = Einhalten der Verzeichnisstruktur formats = Liste von unterstützen Kodierung/Dekodierung Formaten only = nur konvertierte Dateianhänge stimmen überein keep = keep files matching destination format help = dieses Hilfsmenü longhelp = Komplette Liste der Optionen version = gib Informationen über die Version usage = benutz: pacpl --to [Datei(en)/Verzeichnis(se)] defopts = turn off default encoder options (0) eopts = Benutzerspezifische Kodierungsoptionen dopts = Benutzerspezifische Dekodierungsoptionen nopts = user supplied normalize options outfile = Ausgabe Dateiname outdir = Ausgabeverzeichnis dryrun = nicht konvertierbare Dateien overwrited = überschreib Ausgabedatei normalize = normalize wav file before encoding delete = lösche Quelldateien nach der Konvertierung encoder = specify an alternate encoder decoder = specify an alternate decoder verbose = gib detaillierte Informationen user_opts = Benutzeroptionen enc_opts = Kodierungsoptionen: bitrate = Bitrate (Standard 128) freq = Audio Samplingfreqenz (Standard 44100) channels = Anzahl der Audio Kanäle (Standard 2) effect = sox Effekt (aiff/au/snd/raw/voc/smp/avr/cdr) fcomp = flac/fla Komprimierungsgrad (Standard 2) pcomp = lpac/pac Komprimierungsgrad (Standard 3) acomp = ape Komprimierungsgrad (Standard 3000) oggqual = ogg Qualitätsgrad (Standard. 3) spxqual = spx Qualitätsgrad (Standard 8) aacqual = aac/mp4/m4a Qualitätsgrad (Standard 100) mpcqual = mpc/mpp Qualitätsgrad (Standard radio) ofmode = ofr/ofs Mode (Standard normal) ofopt = ofr/ofs Optimierung (Standard fast) bratio = bonk Verhältnis beim Heruntersampling (Standard 2) bquanl = bonk Quantisierung (Standard 1.0) bpsize = bonk Einflüssgröße (Standard 128) tag_opts = Bezeihnungsoptionen: artist = setze Musiker Informationen title = setze Titel track = setze Track Nummer year = setze Jahr/Tag vom Album/Track album = setze Album Titel Informationen genre = setze Genre comment = setze Kommentare taginfo = zeige Bezeichnungsinformationen für ausgewählte Datei tag_usage = Bezeichnung nutze: pacpl [Datei(en)] rip_opts = Optionen beim Track lesen: rip = Lese track, getrennt durch Komma nocddb = deaktiviere cddb noinput = deaktiviere cddb interaktiv nscheme = Schema für die Namensgebung cdinfo = zeige cddb Informationen für aktuelle CD device = Standard = /dev/cdrom rip_usage = lese: pacpl --rip [Track(s)/alle] --to pacpl-4.0.5/po/es.po0000644000000000000000000001420511007226654012707 0ustar rootroot############################################ # Español - Antonio (ac_z01@yahoo.es) ############################################ # # Translation Instructions: # # 1) only translate text after the = sign (translate the value not the key) # 2) make sure there is only one space between either side of the = sign # 3) be sure to include the language name, and your name/email at the top # 4) spell check # 5) please translate these instructions and include them with your lang.po # # You can submit your translations to viiron@gmail.com ################## # Error messages # ################## error = error failed = failed: bad_input = formato de destino no soportado. multi_out = --outfile no puede ser usado cuando se codifican varios ficheros. no_config = fichero de configuración no encontrado... usando parámetros por defecto. unk_encoder = selected encoder not valid for: unk_decoder = selected decoder not valid for: no_decoder = Aviso: el siguiente fichero no puede ser codificado: no_encoder = codificación de los siguientes 'para' no esta soportada: no_encode_app = could not find suitable application to encode: no_decode_app = could not find suitable application to decode: no_app = no encuentro la aplicación: no_outdir = directorio de salida no existe. no_infile = Lo siguiente no es un fichero o un directorio: no_input = Debe especificar al menos un archivo de entrada. no_read_tag = No se ha podido leer la etiqueta de: no_write_tag = No se ha podido escribir la etiqueta de: no_disc = No se puede abrir el disco de audio: no_cddb = no pudo encontrar la entrada cddb . Use la opción -- nocddb . no_kdialog = kdialog no se encuentra instalado. Instale el paquete kdebase. need_outdir = Debe especificar un directorio de salida. encode_failed = la codificación ha fallado con el estatus de salida: decode_failed = la decodificación ha fallado con el estatus de salida: empty_dir = directorio vacío, intente utilizar la opción --recursive opening_dir = no se puede abrir el directorio: opening_file = no se puede abrir el fichero: seek_help = use 'pacpl --help' o 'pacpl --longhelp' para la lista de opciones. ########### # Notices # ########### converting = Convirtiendo: conv_comp = Conversión completada. removed_tmp = eliminado fichero temporal: removed_src = eliminado el fichero origen: enc_fmts = formato de codificación: dec_fmts = formato de decodificación: tag_info = etiquetando información para: write_tag_i = escribiendo información de etiqueta para: creating_dir = creando directorio: imported = importando módulos: debug = depuración: loaded_config = cargando fichero de configuración: ripping_track = Extrayendo pista: total_converted = Total files converted: overwrite = el archivo de salida existe. use --overwrite para reemplazar este archivo. show_encoders = encoders for show_decoders = decoders for ####################################### # user prompts for Konqueror & Amarok # ####################################### kde_overwrite = ¿sobreescribir el archivo de salida si existe? (1 = s1, 0 = no) kde_bitrate = selecciona bitrate kde_freq = ratio de muestreo de audio kde_chans = canales de audio kde_fcomp = nivel de compresión FLAC kde_pcomp = nivel de compresión LPAC kde_acomp = nivel de compresión APE kde_oggqual = calidad de salida Ogg Vorbis kde_spxqual = speex quality level kde_aacqual = nivel de calidad AAC/MP4/M4A kde_mpcqual = nivel de calidad Musepack kde_ofmode = modo de compresión OptimFrog kde_ofopt = nivel de optimización OptimFrog kde_bratio = BONK downsampling ratio kde_bquanl = BONK quantanization level kde_bpsize = BONK predictor size ################## # Help menu text # ################## to = formato destino recursive = conversión recursiva de carpeta(s) preserve = preservar la estructura de directorio formats = lista de formatos codificación/decodificación only = sólo convertir los ficheros que coincidan con la extensión keep = mantener la correspondencia de formato destino de los ficheros. help = este es el menu de ayuda longhelp = lista completa de opciones version = ver información de la versión usage = use: pacpl --to [archivo(s)/directorio(s)] defopts = turn off default encoder options (0) eopts = opciones de usuario para el codificador dopts = opciones de usuario para el decodificador nopts = user supplied normalize options outfile = nombre fichero de salida outdir = directorio de salida dryrun = no convertir archivos overwrited = sobreescribir archivo destino normalize = normalize wav file before encoding delete = Eliminar el fichero fuente después de la conversión encoder = specify an alternate encoder decoder = specify an alternate decoder verbose = mostrar información detallada user_opts = opciones de usuario: enc_opts = opciones de codificación: bitrate = bitrate (def. 128) freq = frecuencia audio (def. 44100) channels = Número de canales de audio (def. 2) effect = efectos de sox (aiff/au/snd/raw/voc/smp/avr/cdr) fcomp = nivel de compresión flac/fla (def. 2) pcomp = nivel de compresión lpac/pac (def. 3) acomp = nivel de compresión ape (def. 3000) oggqual = nivel de calidad ogg (def. 3) spxqual = nivel de calidad spx (def. 8) aacqual = nivel de calidad aac/mp4/m4a (def. 100) mpcqual = nivel de calidad mpc/mpp (def. radio) ofmode = modo ofr/ofs (def. normal) ofopt = optimización fr/ofsn (def. fast) bratio = bonk down sampling ratio (def. 2) bquanl = bonk quantization level (def. 1.0) bpsize = bonk predictor size (def. 128) tag_opts = opciones de etiqueta: artist = Establecer la información sobre el artista title = poner título track = poner numero a la pista year = poner año/fecha al álbum/pista album = poner información de álbum tÍtulo genre = poner género comment = poner comentarios taginfo = mostrar información de etiqueta para el fichero seleccionado tag_usage = usot de etiquetado: pacpl [archivo(s)] rip_opts = opciones de extracción: rip = extraer pistas separadas por comas o todo nocddb = Desactivar cddb noinput = Desactivar interactividad cddb nscheme = nombre de esquema cdinfo = Muestrala información cddb para el disco actual device = default = /dev/cdrom rip_usage = uso de la extracción: pacpl --rip [pista(s)/all] --to pacpl-4.0.5/po/et.po0000644000175000017500000001611011007226662012171 0ustar virii################################################################## # pacpl translation for version 4.0.1 and newer # Estonian - Priit Jõerüüt, priit [ät] joeruut [dot] com # Codepage - UTF-8 # Estonian translation copyright - Priit Jõerüüt # Licence - see pacpl licence ################################################################## # # Translation Instructions: # # 1) only translate text after the = sign (translate the value not the key) # 2) make sure there is only one space between either side of the = sign # 3) be sure to include the language name, and your name/email at the top # 4) spell check # 5) please translate these instructions and include them with your lang.po # # You can submit your translations to viiron@gmail.com ############################## # Error messages - Veateated # ############################## error = viga failed = toiming ei õnnestunud: bad_input = väljundvorming ei ole toetatud. multi_out = --outfile parameetrit (võtit) ei saa kasutada mitme faili kodeerimisel. no_config = Ei leidnud konfiguratsioonifaili... kasutan vaikeseadeid. unk_encoder = valitud kodeerija ei sobi: unk_decoder = valitud dekodeerija ei sobi: no_decoder = Hoiatus: järgnevat faili ei õnnestunud dekodeerida: no_encoder = Järgnevasse vormingusse kodeerimine ei ole toetatud: no_encode_app = ei leidnud kodeerimiseks sobilikku rakendust: no_decode_app = ei leidnud dekodeerimiseks sobilikku rakendust: no_app = Ei lednud rakendust või vajalikku teeki: no_outdir = väljundkataloogi ei ole olemas. no_infile = Ei suuda leida sellist faili või kataloogi (kindluse mõttes kasuta näiteks absoluutset failiteed): no_input = defineeritud peab olema vähemalt üks sisendfail. no_read_tag = Ei saanud lugeda järgnevat lipikut (tag): no_write_tag = Ei saanud kirjutada järgnevat lipikut (tag): no_disc = Ei leidnud CD-plaati: no_cddb = Ei leidnud selle plaadi kohta cddb (välise CD-andmebaasi) kirjeid. Kasuta --nocddb parameetrit (võtit). no_kdialog = Ei leidnud kdialog tarkvara. Paigalda kdebase pakk. need_outdir = Väljundkataloog peab olema kirjeldatud. encode_failed = Kodeerimine ebaõnnestus järgneva olekuteatega: decode_failed = Dekodeerimine ebaõnnestus järgneva olekuteatega: empty_dir = Kataloog oli tühi, proovi kasutada --recursive parameetrit (võtit): opening_dir = Ei saanud avada kataloogi: opening_file = Ei saanud avada faili: seek_help = Vaata lisateavet pacpl võimaluste kohta 'pacpl --help' või 'pacpl --longhelp' päringutega. #################### # Notices - Teated # #################### converting = Konverteerin: conv_comp = Konverteerimine lõpetatud. removed_tmp = Kustutasin ajutise faili: removed_src = Kustutasin lähtefaili: enc_fmts = kodeerimisvormingud: dec_fmts = dekodeerimisvormingud: tag_info = loen lipikut (tag): write_tag_i = Kirjutan lipikut (tag): creating_dir = Loon kataloogi: imported = Laetud moodulid: debug = Debug- ehk veaotsingu väljund: loaded_config = Laetud konfiguratsioonifail: ripping_track = CD pala failiks kopeerimine: total_converted = Konverteeritud faile kokku: overwrite = Väljundfail on juba olemas. Olemasoleva faili ülekirjutamiseks kasuta --overwrite parameetrit (võtit). show_encoders = kodeerijad show_decoders = dekodeerijad ############################################################################### # user prompts for Konqueror & Amarok - Konqueror ja Amarok liideste päringud # ############################################################################### kde_overwrite = kas kirjutan väljundfaili üle kui fail juba olemas on? (1 = jah, 0 = ei) kde_bitrate = vali bitikiirus kde_freq = audio sämplingusagedus kde_chans = audiokanaleid kde_fcomp = FLAC kompressioonitase kde_pcomp = LPAC kompressioonitase kde_acomp = APE kompressioonitase kde_oggqual = Ogg Vorbis kvaliteeditase kde_spxqual = speex kvaliteeditase kde_aacqual = AAC/MP4/M4A kvaliteeditase kde_mpcqual = Musepack kvaliteeditase kde_ofmode = OptimFrog kompressioonirežiim kde_ofopt = OptimFrog optimiseerimistase kde_bratio = BONK sämplingu alandamise suhtarv kde_bquanl = BONK kvantisatsioonitase kde_bpsize = BONK ennustusarv ##################################### # Help menu text - Abiteabe tekstid # ##################################### to = väljundvorming recursive = konverteeri kataloog(e) rekursiivselt preserve = säilita kataloogide struktuur formats = loenda toetatud kodeerimis- ja dekodeerimisvormingud only = konverteeri vaid nimetatud laiendiga failid keep = jäta alles sihtvormingus failid help = käesolev abiteave longhelp = terviklik parameetrite loetelu version = näita tarkvara versiooni usage = Õige kasutus on: pacpl --to [fail(id)/kataloog(id)] defopts = turn off default encoder options (0) eopts = kasutaja poolt määratud täiendavad suvandid (eelistused) kodeerimiseks dopts = kasutaja poolt määratud täiendavad suvandid (eelistused) dekodeerimiseks nopts = kasutaja määratud suvandid (eelistused) normaliseerimise jaoks outfile = väljundfaili nimi outdir = väljundkataloogi nimi dryrun = ära konverteri (kuiv trenn) overwrited = kirjuta väljundfail üle normalize = normaliseeri wav-fail enne kodeerimist delete = kustuta lähtefailid peale konveteerimist encoder = määratle alternatiivne kodeerija decoder = määratle alternatiivne dekodeerija verbose = näita programmi töö käigus detailset teavet tegevuse kohta user_opts = Kasutaja suvandid: enc_opts = Kodeerimisega seotud suvandid: bitrate = bitikiirus (vaikimisi 128) freq = audiosagedus (vaikimisi 44100) channels = audiokanalite arv (vaikimisi 2) effect = sox efekt (aiff/au/snd/raw/voc/smp/avr/cdr) fcomp = flac/fla kompressiooni tase (vaikimisi 2) pcomp = lpac/pac kompressiooni tase (vaikimisi 3) acomp = ape kompressiooni tase (vaikimisi 3000) oggqual = ogg vorbis kvaliteeditase (vaikimisi 3) spxqual = spx kvaliteeditase (vaikimisi 8) aacqual = aac/mp4/m4a kvaliteeditase (vaikimisi 100) mpcqual = mpc/mpp kvaliteeditase (vaikimisi radio) ofmode = ofr/ofs viis (vaikimisi normal) ofopt = ofr/ofs optimisatsion (vaikimisi fast) bratio = bonk sämplingu alandamise suhtarv (vaikimisi 2) bquanl = bonk kvantisatsioonitase (vaikimisi 1.0) bpsize = bonk ennustusarv (vaikimisi 128) tag_opts = Lipikute (tag) kirjutamisega seotud suvandid: artist = määra esitaja title = määra loo pealkiri track = määra loo number year = määra albumi või loo aasta või kuupäev album = määra albumi pealkiri või nimetus genre = määra žanr comment = määra kommentaarid või märkused taginfo = näita valitud faili lipikuid (tag) tag_usage = Lipikute (tag) kuvamise ja määramise kasutus: pacpl [fail(id)] rip_opts = CD-plaadil asuvate lugude faili(de)ks kopeerimise suvandid: rip = kopeeri valitud plaadi lood (komadega eraldadtd lugude numbrid) või kõik plaadi lood nocddb = ära luba cddb-päringuid (välise CD-andmebaasi päringuid) noinput = ära luba cddb (välise CD-andmebaasi) interaktiivsust nscheme = reeglid mille alusel moodustada failide nimed cdinfo = näita selle plaadi cddb (välise CD-andmebaasi) teavet device = plaadimängija (vaikimisi /dev/cdrom) rip_usage = Lugude CD-lt failiks kopeerimise kasutus: pacpl --rip [lugu(lood)/kõik (all)] --to pacpl-4.0.5/po/pl.po0000644000175000001440000001411711007226702013252 0ustar viriiusers############################################ # Polish - Michał Smoczyk (msmoczyk@wp.pl) ############################################ # # Instrukcje tłumaczenia: # # 1) tłumacz tylko tekst po znaku równości = (tłumacz tylko wartość, a nie klucz) # 2) upewnij się, że po obu stronach znaku równości jest tylko jedna spacja # 3) upewnij się, że podałeś nawzę języka i swoje dane (adres/e-mail) na górze pliku # 4) sprawdź pisownię # 5) proszę przetłumacz również te instrukcje i dołącz je do pliku lang.po # # Wyślij swoje tłumaczenie do viiron@gmail.com ##################### # Komunikaty błędów # ##################### error = błąd failed = niepowodzenie: bad_input = format docelowy nie jest obsługiwany. multi_out = opcja --outfile nie może być użyta kiedy kodujesz wiele plików. no_config = nie znaleziono pliku konfiguracyjnego... użycie domyślnych ustawień. unk_encoder = wybrany koder nieodpowiedni dla: unk_decoder = wybrany dekoder nieodpowiedni dla: no_decoder = ostrzeżenie: następujący plik nie może być zdekodowany: no_encoder = kodowanie do wybranego formatu tego pliku/katalogu nie jest obługiwane: no_encode_app = nie można znaleźć odpowiedniego programu aby zakodować: no_decode_app = nie można znaleźć odpowiedniego programu aby zdekodować: no_app = nie można odnaleźć aplikacji: no_outdir = katalog wyjściowy nie istnieje. no_infile = nie jest to plik ani katalog: no_input = musisz podać co najmniej jeden plik wejściowy. no_read_tag = nie można odczytać taga dla: no_write_tag = nie można zapisać taga dla: no_disc = nie można otworzyć dysku audio: no_cddb = nie można odnaleźć wpisu cddb. użyj opcji --nocddb. no_kdialog = nie odnaleziono kdialog. zainstaluj pakiet kdebase. need_outdir = musisz podać katalog docelowy. encode_failed = kodowanie zakończone niepowodzeniem ze statusem: decode_failed = dekodowanie zakończone niepowodzeniem ze statusem: empty_dir = katalog jest pusty, spróbuj użyc opcji --recursive: opening_dir = nie można otworzyć katalogu: opening_file = nie można otworzyć pliku: seek_help = zobacz 'pacpl --help' lub 'pacpl --longhelp' w celu zapoznania się z listą opcji. ############## # Komunikaty # ############## converting = Konwertowanie: conv_comp = Konwersja zakończona. removed_tmp = usunięto plik tymczasowy: removed_src = usunięto plik źródłowy: enc_fmts = formaty kodowania: dec_fmts = formaty dekodowania: tag_info = informacja zawarta w tagach dla: write_tag_i = zapisywanie taga dla: creating_dir = tworzenie katalogu: imported = zaimportowane moduły: debug = debugowanie: loaded_config = załadowany plik konfiguracyjny: ripping_track = Zgrywanie ścieżki: total_converted = Łącznie przekonwertowanych plików: overwrite = plik wyjściowy istnieje. użyj opcji --overwrite aby zastąpić istniejący plik. show_encoders = kodery dla show_decoders = dekodery dla ###################################### # Zapytania dla Konquerora i Amaroka # ###################################### kde_overwrite = czy nadpisać plik wyjściowy jeśli istnieje? (1 = tak, 0 = nie) kde_bitrate = wybierz bitrate kde_freq = częstość próbkowania audio kde_chans = kanały audio kde_fcomp = poziom kompresji FLAC kde_pcomp = poziom kompresji LPAC kde_acomp = poziom kompresji APE kde_oggqual = poziom jakości Ogg Vorbis kde_spxqual = poziom jakości speex kde_aacqual = poziom jakości AAC/MP4/M4A kde_mpcqual = poziom jakości Musepack kde_ofmode = tryb kompresji OptimFrog kde_ofopt = poziom optymalizacji OptimFrog kde_bratio = BONK downsampling ratio kde_bquanl = poziom BONK quantanization kde_bpsize = rozmiar BONK predictor ################# # Teksty pomocy # ################# to = format docelowy recursive = konwertuj rekursywnie katalog(i) preserve = zachowaj strukturę katalogu formats = wyświetl listę obsługiwanych formatów kodowania/dekodowania only = konwertuj tylko pliki z poddanym rozszerzeniem keep = zachowaj oryginalne pliki, nie koduj ich ponownie help = wyświetl to menu pomocy longhelp = lista wszystkich opcji version = wyświetl informację o wersji programu usage = użycie: pacpl --to [plik(i)/katalog(i)] defopts = turn off default encoder options (0) eopts = opcje kodera użytkownika dopts = opcje dekodera użytkownika nopts = opcje normalizacji użytkownika outfile = nazwa pliku wyjściowego outdir = katalog docelowy dryrun = nie konwertuj plików overwrited = nadpisz plik docelowy normalize = zrormalizuj plik wav przed zakodowaniem delete = usuń plik źródłowy po konwersji encoder = podaj alternatywny koder decoder = podaj alternatywny dekoder verbose = pokaż szczegółowe informacje user_opts = opcje użytkownika: enc_opts = opcje kodowania: bitrate = bitrate (domyślnie 128) freq = częstotliwość audio (domyślnie 44100) channels = liczba kanałów audio (domyślnie 2) effect = efekt sox (aiff/au/snd/raw/voc/smp/avr/cdr) fcomp = poziom kompresji flac/fla (domyślnie 2) pcomp = poziom kompresji lpac/pac (domyślnie 3) acomp = poziom kompresji ape (domyślnie 3000) oggqual = poziom jakości ogg (domyślnie 3) spxqual = poziom jakości spx (domyślnie 8) aacqual = poziom jakości aac/mp4/m4a (domyślnie 100) mpcqual = poziom jakości mpc/mpp (domyślnie radio) ofmode = tryb ofr/ofs (domyślnie normal) ofopt = optymalizacja ofr/ofs (domyślnie fast) bratio = bonk down sampling ratio (domyślnie 2) bquanl = poziom bonk quantization (domyślnie 1.0) bpsize = rozmiar bonk predictor (domyślnie 128) tag_opts = opcje tagowania: artist = ustaw informację o artyście title = ustaw tytuł track = ustaw numer ścieżki year = ustaw rok/datę albumu lub ścieżki album = ustaw tytuł albumu genre = ustaw rodzaj comment = ustaw komentarz taginfo = pokaż informację zawartą w tagach dla wybranego pliku tag_usage = tagowanie: pacpl [plik(i)] rip_opts = opcje zgrywania audio: rip = zgrywa ścieżki oddzielone przecinkiem lub wszystkie nocddb = wyłącz cddb noinput = wyłącz interaktywność cddb nscheme = schemat nazw cdinfo = pokaż informację cddb dla bieżącego dysku device = domyślnie = /dev/cdrom rip_usage = zgrywanie audio: pacpl --rip [ścieżka(i)/all] --to pacpl-4.0.5/po/pt.po0000644000000000000000000001456311007226710012723 0ustar rootroot################################################################ # Portuguese (Portugal) - Evandro Alves (evandro.pa@gmail.com) # ################################################################ # # Intruções de tradução: # # 1) apenas traduzir texto a seguir ao sinal = (traduza o valor e não a chave) # 2) assegure-se de que existe apenas um espaço em ambos os lados do sinal = # 3) assegure-se de ter incluído o nome da linguagem, e o seu nome/email no topo # 4) verifique a ortografia # 5) pro favor traduza estas instruções e inclua-as com o seu ficheiro lang.po # # Pode submeter as suas traduções para viiron@gmail.com ##################### # Mensagens de Erro # ##################### error = erro failed = failed: bad_input = formato de destino não suportado. multi_out = --outfile não pode ser usado aquando da codificação de multiplos ficheiros. no_config = configuration file not found...using default settings. unk_encoder = selected encoder not valid for: unk_decoder = selected decoder not valid for: no_decoder = aviso: o ficheiro seguinte não pode ser descodificado: no_encoder = não é suportada a codificação 'para' o seguinte: no_encode_app = could not find suitable application to encode: no_decode_app = could not find suitable application to decode: no_app = não é possível encontrar a aplicaçao: no_outdir = a directoria de saída não existe. no_infile = o seguinte não é um ficheiro ou directoria: no_input = tem de especificar pelo menos um ficheiro de entrada. no_read_tag = não é possível ler a etiqueta de: no_write_tag = não é possível escrever a etiqueta de: no_disc = não é possível abrir o disco de audio: no_cddb = não é possível encontrar a entrada cddb. use a opção --nocddb. no_kdialog = kdialog não encontrado. instale o pacote kdebase. need_outdir = tem que especificar um directoria de saída. encode_failed = a codificação falhou com o seguinte erro: decode_failed = a descodificação falhou com o seguinte erro: empty_dir = directoria vazia, experimente usar a opção --recursive: opening_dir = não é possível abrir a directoria: opening_file = não é possível abrir o ficheiro: seek_help = use 'pacpl --help' ou 'pacpl --longhelp' para apresentar a lista das opções. ######### # Notas # ######### converting = A converter: conv_comp = Conversão completa. removed_tmp = ficheiro temporário removido: removed_src = ficheiro de origem removido: enc_fmts = formatos de codificação: dec_fmts = formatos de descodificação: tag_info = informação de etiquetas de: write_tag_i = a gravar etiquetas de: creating_dir = a criar directoria: imported = módulos importados: debug = depuração: loaded_config = loaded configuration file: ripping_track = A extrair a pista: total_converted = Total files converted: overwrite = o ficheiro de saída já existe. use --overwrite para substituir ficheiros existentes. show_encoders = encoders for show_decoders = decoders for ################################################# # prompts de utilizador para Konqueror & Amarok # ################################################# kde_overwrite = sobrescrever o ficheiro de saída se este já existir? (1 = sim, 0 = não) kde_bitrate = seleccione o bitrate kde_freq = frequências de amostragem do som kde_chans = canais do som kde_fcomp = nível de compressão FLAC kde_pcomp = nível de compressão LPAC kde_acomp = nível de compressão APE kde_oggqual = nível de qualidade OggVorbis kde_spxqual = nível de qualidade speex kde_aacqual = nível de qualidade AAC/MP4/M4A kde_mpcqual = nível de qualidade Musepack kde_ofmode = modo de compressão OptimFrog kde_ofopt = nível de optimização OptimFrog kde_bratio = relação de downsampling BONK kde_bquanl = nível de quantificação BONK kde_bpsize = tamanho do predictor BONK ###################### # Texto do menu help # ###################### to = formato do destino recursive = conversão recursiva de directoria(s) preserve = preserva da estrutura da directoria formats = lista formatos de codificação/descodificação suportados only = apenas converte ficheiros com a extensão indicada keep = manter os ficheiros correspondentes ao formato de destino help = este menu de ajuda longhelp = lista completa de opções version = mostra informação sobre a versão usage = uso: pacpl --to [ficheiro(s)/directoria(s)] defopts = turn off default encoder options (0) eopts = opções de codificação indicados pelo utilizador dopts = opções de descodificação indicados pelo utilizador nopts = user supplied normalize options outfile = nome do ficheiro de saída outdir = directoria de saída dryrun = não converte ficheiros overwrited = sobrescrever ficheiro de destino normalize = normalize wav file before encoding delete = remover ficheiro de origem após a conversão encoder = specify an alternate encoder decoder = specify an alternate decoder verbose = mostrar informação detalhada user_opts = opções do utilizador: enc_opts = opções do codificador: bitrate = bitrate (def. 128) freq = frequência do som (def. 44100) channels = número de canais de som (def. 2) effect = efeito sox (aiff/au/snd/raw/voc/smp/avr/cdr) fcomp = nível de compressão flac/fla (def. 2) pcomp = nível de compressão lpac/pac (def. 3) acomp = nível de compressão ape (def. 3000) oggqual = nível de qualidade ogg (def. 3) spxqual = nível de qualidade spx (def. 8) aacqual = nível de qualidade aac/mp4/m4a (def. 100) mpcqual = nível de qualidade mpc/mpp (def. radio) ofmode = modo ofr/ofs (def. normal) ofopt = optimização ofr/ofs (def. fast) bratio = nível de downsampling bonk (def. 2) bquanl = nível de quantificação bonk (def. 1.0) bpsize = tamanho do predictor bonk (def. 128) tag_opts = opções de etiquetas: artist = inserir informação do artista title = inserir título track = inserir número da pista year = inserir ano/data do album/pista album = inserir informação sobre o título do album genre = inserir género comment = inserir comentários taginfo = mostrar informação de etiqueta para o ficheiro seleccionado tag_usage = uso de etiquetas: pacpl [ficheiro(s)] rip_opts = opções de extracção: rip = extrar pistas separadas por vírgula ou all nocddb = desactivar cddb noinput = desactivar interactividade cddb nscheme = nome do esquema cdinfo = mostrar informação cddb do disco corrente device = default = /dev/cdrom rip_usage = uso de estracção: pacpl --rip [pista(s)/all] --to pacpl-4.0.5/po/ro.po0000644000175000001440000001414211130137556013262 0ustar viriiusers############################################ # Romana - Sabadac Petru-Gabriel (the_l0st_treasure@yahoo.com) ############################################ # # Translation Instructions: # # 1) only translate text after the = sign (translate the value not the key) # 2) make sure there is only one space between either side of the = sign # 3) be sure to include the language name, and your name/email at the top # 4) spell check # 5) please translate these instructions and include them with your lang.po # # You can submit your translations to viiron@gmail.com ################## # Error messages # ################## error = eroare failed = esuat: bad_input = formatul de destinatie nu este suportat. multi_out = optiunea --outfile nu poate fi folosita la codarea mai multor fisiere. no_config = fisierul de configurare nu a fost gasit...utilizam setarile implicite. unk_encoder = encoderul selectat nu este valid pentru: unk_decoder = decoderul selectat nu este valid pentru: no_decoder = avertisment: urmatorul fisier nu a putut fi decodat: no_encoder = codificare 'la' urmatorul tip de fisiere nu este suportata: no_encode_app = nu am putut gasi o aplicatie potrivita pentru a codifica: no_decode_app = nu am putut gasi o aplicatie potrivita pentru a decodifica: no_app = nu am putut gasi aplicatia: no_outdir = directorul de iesire nu exista. no_infile = urmatorul nu este un fisier sau director: no_input = trebuie sa specifici cel putin un fisier de intrare. no_read_tag = nu am putut citi tag-ul pentru: no_write_tag = nu am putut scrie tag-ul pentru: no_disc = nu am putut deschide CD-ul audio: no_cddb = nu am putut gasi intrarea cddb. folositi optiunea --nocddb. no_kdialog = kdialog nu a fost gasit. instalati pachetul kdebase. need_outdir = trebuie sa specifici un director de iesire. encode_failed = codarea a esuat cu mesajul: decode_failed = decodarea a esuat cu mesajul: empty_dir = directorul este gol, incearca sa folosesti optiunea --recursive: opening_dir = nu am putut deschide directorul: opening_file = nu am putut deschide fisierul: seek_help = vezi 'pacpl --help' sau 'pacpl --longhelp' pentru o lista de optiuni. ########### # Notices # ########### converting = Convertim: conv_comp = ..executat. removed_tmp = sters fisierul temporar: removed_src = sters sursa fisierului: enc_fmts = formate de codare: dec_fmts = formate de decodare: tag_info = informatia tag-ului pentru: write_tag_i = scrie informatia tag-ului pentru: creating_dir = creeaza directorul: imported = importa module: debug = depaneaza: loaded_config = fisier de configuratie incarcat: ripping_track = copiem track-uri: total_converted = nr. total de fisiere transformate: overwrite = fisierul de iesire exista deja. foloseste --overwrite pentru a inlocui fisierul existent. show_encoders = encoderurile pentru show_decoders = decoderurile pentru ####################################### # user prompts for Konqueror & Amarok # ####################################### kde_overwrite = suprascrie fisierul de iesire daca el exista? (1 = da, 0 = nu) kde_bitrate = selecteaza rata de biti kde_freq = rata audio simpla kde_chans = canale audio kde_fcomp = nivel de compresie FLAC kde_pcomp = nivel de compresie LPAC kde_acomp = nivel de compresie APE kde_oggqual = nivel de calitate Ogg Vorbis kde_spxqual = nivel de calitate speex kde_aacqual = nivel de calitate AAC/MP4/M4A kde_mpcqual = nivel de calitate Musepack kde_ofmode = mod de compresie OptimFrog kde_ofopt = nivel de optimizare OptimFrog kde_bratio = BONK downsampling ratio kde_bquanl = BONK quantanization level kde_bpsize = aproximarea dimensiunii cu BONK ################## # Help menu text # ################## to = formatul de destinatie recursive = transforma directorul/directoarele recursiv preserve = conserva structura directorului formats = lista cu formatele suportate de codare/decodare only = converteste doar fisiere cu extensia keep = pastreaza fisierele cu extensia formatului de destinatie help = acest meniu de ajutor longhelp = lista completa de optiuni version = afiseaza informatii despre versiune usage = utilizare: pacpl --to [fisier(e)/director(directoare)] eopts = utilizatorul furnizeaza optiunile encoderului dopts = utilizatorul furnizeaza optiunile decoderului nopts = utilizatorul furnizeaza optiunile de normalizare outfile = numele fisierului de iesire outdir = numele directorului de iesire dryrun = nu converti fisierele overwrited = suprascrie fisierul de destinatie normalize = normalizeaza fisierul wav inainte de a-l coda delete = sterge fisierul-sursa dupa conversie encoder = specifica un encoder alternativ decoder = specifica un decoder alternativ verbose = arata informatii detaliate user_opts = optiunile utilizatorului: enc_opts = optiunile encoderului: bitrate = rata de biti (implicit. 128) freq = frectenva audio (imp. 44100) channels = numarul de canale audio (imp. 2) effect = efectul sox (aiff/au/snd/raw/voc/smp/avr/cdr) fcomp = nivel de compresie flac/fla (imp. 2) pcomp = nivel de compresie lpac/pac (imp. 3) acomp = nivel de compresie ape (imp. 3000) oggqual = nivel de calitate ogg (imp. 3) spxqual = nivel de calitate spx (imp. 8) aacqual = nivel de calitate aac/mp4/m4a (imp. 100) mpcqual = nivel de calitate mpc/mpp (imp. radio) ofmode = modul ofr/ofs (imp. normal) ofopt = optimizare ofr/ofs (imp. rapid) bratio = bonk down sampling ratio (imp. 2) bquanl = bonk quantization level (imp. 1.0) bpsize = aproximare de dimensiune cu bonk (imp. 128) tag_opts = optiuni de tag: artist = seteaza informatiile despre artist title = seteaza titlul track = seteaza numarul track-ului year = seteaza anul/data albumului/trackului album = seteaza informatiile despre titlul albumului genre = seteaza genul comment = seteaza comentariile taginfo = arata informatiile de tag pentru fisierul selectat tag_usage = utilizarea tagului: pacpl [fisier(e)] rip_opts = optiuni de copiere: rip = copie track-urile separate prin virgula sau toate nocddb = dezactiveaza cddb noinput = dezactiveaza interactivitatea cddb nscheme = denumim schema cdinfo = arata informatia cddb pentru discul curent device = implicit = /dev/cdrom rip_usage = utilizarea lui rip: pacpl --rip [track(uri)/all] --to pacpl-4.0.5/po/tr.po0000644000175000001440000001375111130144045013263 0ustar viriiusers############################################ # Turkish - Cantek Cetin (circass@gmail.com) - Osman KARAGOZ (osmank3@gmail.com) # Codepage - UTF-8 ############################################ # # Translation Instructions: # # 1) only translate text after the = sign (translate the value not the key) # 2) make sure there is only one space between either side of the = sign # 3) be sure to include the language name, and your name/email at the top # 4) spell check # 5) please translate these instructions and include them with your lang.po # # You can submit your translations to viiron@gmail.com ################## # Error messages # ################## error = hata failed = durdu: bad_input = kaynak biçimi desteklenmiyor. multi_out = --çoklu dosya çevirimi sırasında çıktı dosyası kullanılamaz. no_config = ayar dosyası bulunamadı...orjinal ayarlar kullanılıyor. unk_encoder = bunun için seçilen kodlayıcı bulunamadı: unk_decoder = bunun için seçilen kod okuyucu bulunamadı: no_decoder = uyarı: bu dosya uygun biçimde çevirilemedi: no_encoder = 'to' biçimin bu biçime çevirimi desteklenmiyor: no_encode_app = kodlama için uygun uygulama bulunamadı: no_decode_app = kod okuma için uygun uygulama bulunamadı: no_app = uygulama bulunamadı: no_outdir = çıktı dosyası yok. no_infile = bu bir dosya veya dizin değil: no_input = en az bir girdi dosyası belirlemelisiniz. no_read_tag = Dosya için etiket(tag) okunamadı: no_write_tag = Dosya için etiket(tag) yazılamadı: no_disc = Ses CD'si açılamadı: no_cddb = cddb girdisi bulunamadı.--nocddb seçeneğini kullanın. no_kdialog = kdialog bulunamadı. kde base paketini yükleyin. need_outdir = bir çıktı dizini belirtmelisiniz. encode_failed = çıkış durumunda kodlama durduruldu: decode_failed = çıkış durumunda kod okuma durduruldu: empty_dir = dizin boş, --recursive seçeneğini kullanmayı deneyin: opening_dir = dizin açılamadı: opening_file = dosya açılamadı: seek_help = seçenek listesi için 'pacpl --help' or 'pacpl --longhelp' komutlarını kullan. ########### # Notices # ########### converting = çeviriliyor: conv_comp = ..tamamlandı. removed_tmp = geçici dosya silindi: removed_src = kaynak dosya silindi: enc_fmts = kodlayıcı biçimleri: dec_fmts = kod okuyucu biçimleri: tag_info = dosya etiket(tag) bilgisi: write_tag_i = dosya için tag bilgisi yazılıyor: creating_dir = dizin oluşturuluyor: imported = eklenen modüller: debug = hata giderme: loaded_config = çağrılan ayar dosyası: ripping_track = Ses izleri kodlanıyor: total_converted = Toplam çevrilen dosya: overwrite = Bu isimde bir dosya var.üstüne yazmak için --overwrite komutunu kullan. show_encoders = kodlayıcılar show_decoders = kod okuyucular ####################################### # user prompts for Konqueror & Amarok # ####################################### kde_overwrite = çıktı dosyası varsa üstüne yaz? (1 = evet, 0 = hayır) kde_bitrate = bitrate seç kde_freq = ses örnekleme oranı kde_chans = ses kanalları kde_fcomp = FLAC sıkıştırma seviyesi kde_pcomp = LPAC sıkıştırma seviyesi kde_acomp = APE sıkıştırma seviyesi kde_oggqual = Ogg Vorbis kalite seviyesi kde_spxqual = speex kalite seviyesi kde_aacqual = AAC/MP4/M4A kalite seviyesi kde_mpcqual = Musepack kalite seviyesi kde_ofmode = OptimFrog sıkıştırma modu kde_ofopt = OptimFrog optimizasyon seviyesi kde_bratio = BONK aşağı örnekleme oranı kde_bquanl = BONK quantanization seviyesi kde_bpsize = BONK predictor boyutu ################## # Help menu text # ################## to = çıktı biçimi recursive = dizinleri rekursif olarak �evir preserve = dizin yapısını koru formats = desteklenen kodlama/kod okuma biçimlerini listele only = sadece uzantıları eşleşen dosyaları çevir keep = keep files matching destination format help = yardım longhelp = tüm seçenek listesi version = versiyon bilgisini göster usage = kullanım: pacpl --to [dosyalar/dizinler] orjopts = orjinal kodlayıcı ayarlarını kapat (0) eopts = kullanıcı tanımlı kodlayıcı seçenekleri dopts = kullanıcı tanımlı kod okuyucu seçenekleri nopts = user supplied normalize options outfile = çıktı dosya adı outdir = çıktı dizini dryrun = dosyaları çevirme overwrited = çıktı dosyasının üstüne yaz normalize = wav dosyasını kodlamadan önce normalle delete = çevirme tamamlandığında kaynak dosyayı sil encoder = alternatif kodlayıcı belirle decoder = alternatif kod okuyucu belirle verbose = detaylı bilgi göster user_opts = kullanıcı seçenekleri: enc_opts = kodlayıcı seçenekleri: bitrate = bitrate (orj. 128) freq = örnek oranı (orj. 44100) channels = ses kanal sayısı (orj. 2) effect = sox efekt (aiff/au/snd/raw/voc/smp/avr/cdr) fcomp = flac/fla sıkıştırma seviyesi (orj. 2) pcomp = lpac/pac sıkıştırma seviyesi (orj. 3) acomp = ape sıkıştırma seviyesi (orj. 3000) oggqual = ogg kalite seviyesi (orj. 3) spxqual = spx kalite seviyesi (orj. 8) aacqual = aac/mp4/m4a kalite seviyesi (orj. 100) mpcqual = mpc/mpp kalite seviyesi (orj. radio) ofmode = ofr/ofs mod (orj. normal) ofopt = ofr/ofs optimizasyon (orj. fast) bratio = bonk aşağı örnekleme oranı (orj. 2) bquanl = bonk quantization seviyesi (orj. 1.0) bpsize = bonk predictor boyutu (orj. 128) tag_opts = etiket(tag) seçenekleri: artist = sanatçı bilgisi gir title = başlık gir track = parça numarası gir year = albüm/parça yol/tarih ini gir album = album başlığını gir genre = tipini gir comment = yorumları gir taginfo = seçili dosya için etiket(tag) bilgilerini göster tag_usage = etiketleme(tagging) kullanım: pacpl [dosya(lar)] rip_opts = ses izleri kodlama seçenekleri: rip = virgül ile ayrılmış parçaların veya hepsinin ses izlerini kodla nocddb = cddb yi etkisiz kıl noinput = cddb interactivity i etkisiz kıl nscheme = isimlendirme şeması cdinfo = takılı disk için cddb bilgisini göster device = varsayılan = /dev/cdrom rip_usage = ses izi kodlama kullanım: pacpl --rip [parça(lar)/all] --to pacpl-4.0.5/po/ru_RU.po0000644000175000001440000002301611130144062013664 0ustar viriiusers############################################ # Russian - Illarion Khapersky (larry-m@yandex.ru) ############################################ # # Инструкции по переводу: # # 1) переводите только текст, указанный после знака = (переводите значение, но не ключевое слово) # 2) убедитесь, что с каждой стороны знака "равно" только по одном пробелу. # 3) запишите имя перевода и ваше имя и адрес электронной почты в поле наверху на английском языке # 4) проверьте орфографию # 5) пожалуйста переведите эти инструкции и включите их в свой файл перевода # # Вы можете посылать ваши переводы по адресу: viiron@gmail.com ################## # Error messages # ################## error = ошибка failed = конвертация не удалась: bad_input = выбранный формат не поддерживается. multi_out = --outfile не может быть использован для конвертирования нескольких файлов. no_config = файл конфигурации не найден...используются настройки по умолчанию. unk_encoder = выбранный кодировщик не подходит для: unk_decoder = выбранный декодер не подходит для: no_decoder = внимание: этот файл не может быть декодирован: no_encoder = кодирование в этом формате не поддерживается. no_encode_app = невозможно найти подходящее приложение для кодирования: no_decode_app = невозможно найти подходящее приложение для декодирования: no_app = невозможно найти приложение. no_outdir = директория вывода не существует. no_infile = введенные данные не являются файлом или директорией: no_input = требуется указать хотя бы один файл для конвертации. no_read_tag = невозможно прочитать тег из: no_write_tag = невозможно записать тег в: no_disc = нет доступа к аудио диску: no_cddb = не найдена запись cddb. используйте --nocddb в командной строке. no_kdialog = kdialog не найден. установите пакет kdebase. need_outdir = нужно указать директорию вывода. encode_failed = ошибка кодирования: decode_failed = ошибка декодирования: empty_dir = директория пуста, воспользуйтесь --recursive в командной строке. opening_dir = невозможно открыть директорию: opening_file = невозможно открыть файл: seek_help = наберите 'pacpl --help' или 'pacpl --longhelp' для списка опций в командной строке. ########### # Notices # ########### converting = Конвертируется: conv_comp = Конвертирование завершено. removed_tmp = удален временный файл: removed_src = удален исходный файл: enc_fmts = форматы кодирования: dec_fmts = форматы декодирования: tag_info = чтение тега: write_tag_i = запись тега: creating_dir = создание директории: imported = подключенные модули: debug = debug: loaded_config = загружен конфигурационный файл: ripping_track = копирование трека: total_converted = общее количество конвертированных файлов: overwrite = файл с таким именем уже существует. используйте --overwrite, чтобы заменить этот файл. show_encoders = кодировщики для show_decoders = декодеры для ####################################### # user prompts for Konqueror & Amarok # ####################################### kde_overwrite = переписать, если файл уже существует? (1 = да, 0 = нет) kde_bitrate = битрейт kde_freq = частота семплирования kde_chans = количество аудио каналов kde_fcomp = уровень сжатия FLAC kde_pcomp = уровень сжатия LPAC kde_acomp = уровень сжатия APE kde_oggqual = уровень качества Ogg Vorbis kde_spxqual = уровень качества speex kde_aacqual = уровень качества AAC/MP4/M4A kde_mpcqual = уровень качества Musepack kde_ofmode = метод сжатия OptimFrog kde_ofopt = уровень сжатия OptimFrog kde_bratio = уровень субдискретизации BONK kde_bquanl = уровень квантования BONK kde_bpsize = размер опережающего чтения BONK ################## # Help menu text # ################## to = формат выходного файла recursive = рекурсивно конвертировать файлы в папках preserve = сохранять структуру папки formats = вывести список поддерживаемых форматов only = конвертировать файлы только с указанным расширением keep = не трогать файлы того же типа, как и выходной формат help = вызвать эту справку longhelp = полный список опций version = вывести информацию о версии программы usage = командная строка: pacpl --to <формат> <настройки> [файл(ы)/каталог(и)] defopts = отключить настройки кодировщика, указанные по умолчанию (0) eopts = настройки кодирования, напрямую передаваемые в программу-кодировщик dopts = настройки декодирования, напрямую передаваемые в программу-кодировщик nopts = настройки нормализации, указываемые пользователем outfile = имя целевого файла outdir = имя целевого каталога dryrun = тестовый режим, файлы не конвертируются overwrited = переписать целевой файл normalize = нормализовать wav файл перед кодированием delete = удалить исходный файл после конвертации encoder = использовать другой кодировщик decoder = использовать другой декодер verbose = показывать дополнительную информацию user_opts = пользовательские настройки enc_opts = настройки кодировщика: bitrate = битрейт (по умол. 128) freq = частота сэмплирования (по умол. 44100) channels = количество аудио каналов (по умол. 2) effect = эффект sox (aiff/au/snd/raw/voc/smp/avr/cdr) fcomp = уровень сжатия flac/fla (по умол. 2) pcomp = уровень сжатия lpac/pac (по умол. 3) acomp = уровень сжатия ape (по умол. 3000) oggqual = уровень качества ogg (по умол. 3) spxqual = уровень качества spx (по умол. 8) aacqual = уровень качества aac/mp4/m4a (по умол. 100) mpcqual = уровень качества mpc/mpp (по умол. radio) ofmode = режим ofr/ofs (по умол. normal) ofopt = оптимизация ofr/ofs (по умол. fast) bratio = уровень субдискретизации (down-sampling) bonk (по умол. 2) bquanl = уровень квантования bonk (по умол. 1.0) bpsize = размер опережающего чтения bonk (по умол. 128) tag_opts = опции тегов: artist = записать информацию об исполнителе title = записать название произведения track = записать номер трека year = записать год/дату альбома/трека album = записать название альбома genre = записать жанр comment = записать комментарии taginfo = показать теги в указанном файле tag_usage = пример записи тегов: pacpl <опции> [файл(ы)] rip_opts = настройки копирования с диска: rip = копировать треки, разделенные запятой или все nocddb = отключить cddb noinput = не связываться с cddb nscheme = схема именования файлов cdinfo = показать информацию из cddb по этому диску device = устройство по умолчанию = /dev/cdrom rip_usage = пример копирования треков: pacpl --rip [трек(и)/все треки] --to <формат> <опции> pacpl-4.0.5/po/en_US.po0000644000000000000000000001272511007226564013316 0ustar rootroot############################################ # English - Philip Lyons (viiron@gmail.com) ############################################ # # Translation Instructions: # # 1) only translate text after the = sign (translate the value not the key) # 2) make sure there is only one space between either side of the = sign # 3) be sure to include the language name, and your name/email at the top # 4) spell check # 5) please translate these instructions and include them with your lang.po # # You can submit your translations to viiron@gmail.com ################## # Error messages # ################## error = error failed = failed: bad_input = destination format not supported. multi_out = --outfile can not be used when encoding multiple files. no_config = configuration file not found...using default settings. unk_encoder = selected encoder not valid for: unk_decoder = selected decoder not valid for: no_decoder = warning: the following file could not be decoded: no_encoder = encoding 'to' the following is not supported: no_encode_app = could not find suitable application to encode: no_decode_app = could not find suitable application to decode: no_app = could not find application: no_outdir = output directory does not exist. no_infile = the following is not a file or directory: no_input = you must specify at least one input file. no_read_tag = could not read tag for: no_write_tag = could not write tag for: no_disc = unable to open audio disc: no_cddb = could not find cddb entry. use the --nocddb option. no_kdialog = kdialog not found. install kdebase package. need_outdir = you must specify an output directory. encode_failed = encode failed with exit status: decode_failed = decode failed with exit status: empty_dir = directory empty, try using the --recursive option: opening_dir = could not open directory: opening_file = could not open file: seek_help = see 'pacpl --help' or 'pacpl --longhelp' for a list of options. ########### # Notices # ########### converting = Converting: conv_comp = ..done. removed_tmp = removed temporary file: removed_src = removed source file: enc_fmts = encode formats: dec_fmts = decode formats: tag_info = tagging information for: write_tag_i = writing tag information for: creating_dir = creating directory: imported = imported modules: debug = debug: loaded_config = loaded configuration file: ripping_track = Ripping track: total_converted = Total files converted: overwrite = output file exists. use --overwrite to replace existing file. show_encoders = encoders for show_decoders = decoders for ####################################### # user prompts for Konqueror & Amarok # ####################################### kde_overwrite = overwrite output file if it exists? (1 = yes, 0 = no) kde_bitrate = select bitrate kde_freq = audio sampling rate kde_chans = audio channels kde_fcomp = FLAC compression level kde_pcomp = LPAC compression level kde_acomp = APE compression level kde_oggqual = Ogg Vorbis quality level kde_spxqual = speex quality level kde_aacqual = AAC/MP4/M4A quality level kde_mpcqual = Musepack quality level kde_ofmode = OptimFrog compression mode kde_ofopt = OptimFrog optimization level kde_bratio = BONK downsampling ratio kde_bquanl = BONK quantanization level kde_bpsize = BONK predictor size ################## # Help menu text # ################## to = destination format recursive = recursively convert directory(s) preserve = preserve directory structure formats = list supported encode/decode formats only = only convert files matching extension keep = keep files matching destination format help = this help menu longhelp = complete list of options version = display version information usage = usage: pacpl --to [file(s)/directory(s)] defopts = turn off default encoder options (0) eopts = user supplied encoder options dopts = user supplied decoder options nopts = user supplied normalize options outfile = output file name outdir = output directory dryrun = do not convert files overwrited = overwrite destination file normalize = normalize wav file before encoding delete = remove source file after conversion encoder = specify an alternate encoder decoder = specify an alternate decoder verbose = show detailed information user_opts = user options: enc_opts = encoder options: bitrate = bitrate (def. 128) freq = audio frequency (def. 44100) channels = number of audio channels (def. 2) effect = sox effect (aiff/au/snd/raw/voc/smp/avr/cdr) fcomp = flac/fla compression level (def. 2) pcomp = lpac/pac compression level (def. 3) acomp = ape compression level (def. 3000) oggqual = ogg quality level (def. 3) spxqual = spx quality level (def. 8) aacqual = aac/mp4/m4a quality level (def. 100) mpcqual = mpc/mpp quality level (def. radio) ofmode = ofr/ofs mode (def. normal) ofopt = ofr/ofs optimization (def. fast) bratio = bonk down sampling ratio (def. 2) bquanl = bonk quantization level (def. 1.0) bpsize = bonk predictor size (def. 128) tag_opts = tagging options: artist = set artist information title = set title track = set track number year = set year/date of the album/track album = set album title information genre = set genre comment = set comments taginfo = show tagging information for selected file tag_usage = tagging usage: pacpl [file(s)] rip_opts = ripping options: rip = rip tracks separated by comma or all nocddb = disable cddb noinput = disable cddb interactivity nscheme = naming scheme cdinfo = show cddb information for current disc device = default = /dev/cdrom rip_usage = rip usage: pacpl --rip [track(s)/all] --to pacpl-4.0.5/po/nl_NL.po0000644000175000001440000001352711130137537013651 0ustar viriiusers############################################ # Dutch - Sander Pientka (cumulus0007@gmail.com) ############################################ # # Translation Instructions: # # 1) only translate text after the = sign (translate the value not the key) # 2) make sure there is only one space between either side of the = sign # 3) be sure to include the language name, and your name/email at the top # 4) spell check # 5) please translate these instructions and include them with your lang.po # # You can submit your translations to viiron@gmail.com ################## # Error messages # ################## error = fout failed = mislukt: bad_input = uitvoerformaat wordt niet ondersteund. multi_out = --outfile kan niet gebruikt worden bij het encoderen van meerdere bestanden. no_config = configuratiebestand niet gevonden...standaard instellingen gebruiken. unk_encoder = geselecteerde encoder is niet geldig voor: unk_decoder = geselecteerde decoder is niet geldig voor: no_decoder = waarschuwing: het volgende bestand kon niet gedecodeerd worden: no_encoder = naar het volgende encoderen wordt niet ondersteund: no_encode_app = kon geen geschikte toepassing vinden om te encoderen: no_decode_app = kon geen geschikte toepassing vinden om te decoderen: no_app = kon toepassing niet vinden: no_outdir = uitvoerlocatie bestaat niet. no_infile = het volgende is niet een bestand of map: no_input = ten minste één invoerbestand is vereist. no_read_tag = kon tag niet lezen van: no_write_tag = kon tag niet schrijven naar: no_disc = kan audioschijf niet openen: no_cddb = kon cddb-waarde niet vinden. gebruik de optie --nocddb. no_kdialog = kon kdialog niet vinden. installeer het pakket kdebase. need_outdir = een uitvoerlocatie is vereist. encode_failed = encoderen mislukte met afsluitstatus: decode_failed = decoderen mislukte met afsluitstatus:: empty_dir = locatie is leeg, probeer de optie --recursive option: opening_dir = kon locatie niet openen: opening_file = kon bestand niet openen: seek_help = zie 'pacpl --help' of 'pacpl --longhelp' voor een lijst met opties. ########### # Notices # ########### converting = Omzetten: conv_comp = ..klaar. removed_tmp = tijdelijk bestand verwijderd: removed_src = bronbestand verwijderd: enc_fmts = encodingsformaten: dec_fmts = encodingsformaten: tag_info = informatie taggen voor: write_tag_i = taginformatie schrijven voor: creating_dir = map maken: imported = geïmporteerde modules: debug = debug: loaded_config = configuratiebestand geladen: ripping_track = track rippen: total_converted = Totaal aantal tracks omgezet: overwrite = uitvoerbestand bestaat al. gebruik --overwrite om het bestaande bestand te vervangen. show_encoders = encoders voor show_decoders = decoders voor ####################################### # user prompts for Konqueror & Amarok # ####################################### kde_overwrite = uitvoerbestand overschrijven als het al bestaat? (1 = ja, 0 = nee) kde_bitrate = selecteer bitrate kde_freq = audio sampling rate kde_chans = audiokanalen kde_fcomp = FLAC-compressieniveau kde_pcomp = LPAC-compressieniveau kde_acomp = APE-compressieniveau kde_oggqual = Ogg Vorbis-kwaliteitsniveau kde_spxqual = speex-kwaliteitsniveau kde_aacqual = AAC/MP4/M4A-kwaliteitsniveau kde_mpcqual = Musepack-kwaliteitsniveau kde_ofmode = OptimFrog-compressiemodus kde_ofopt = OptimFrog-optimalisatieniveau kde_bratio = BONK-downsamplingverhouding kde_bquanl = BONK-kwantisatieniveau kde_bpsize = BONK-predictorgrootte ################## # Help menu text # ################## to = bestemmingsformaat recursive = mappen recursief omzetten preserve = mappenstructuur behouden formats = ondersteunde en/decodingformaten weergeven only = Alleen bestanden omzetten die overeenkomen met extensie keep = laat bestanden het bestemmingsformaat aanhouden help = dit hulpmenu longhelp = complete lijst van opties version = versie-informatie weergeven usage = gebruik: pacpl --to [bestand(en)/map(pen)] eopts = encoderopties van gebruiker dopts = decoderopties van gebruiker nopts = normalisatieopties van gebruiker outfile = output file name outdir = output directory dryrun = bestanden niet daadwerkelijk omzetten overwrited = bestemmingsbestand overschrijven normalize = wav-bestand normaliseren na omzetten delete = bronbestand verwijderen na omzetten encoder = een alternatieve encoder opegeven decoder = een alternatieve decoder opegeven verbose = uitgebreide informatie weergeven user_opts = gebruikersopties: enc_opts = encoderopties: bitrate = bitrate (standaard: 128) freq = audiofrequentie (standaard: 44100) channels = aantal audiokanelen (standaard: 2) effect = sox-effect (aiff/au/snd/raw/voc/smp/avr/cdr) fcomp = flac/fla-compressieniveau (standaard: 2) pcomp = lpac/pac-compressieniveau (standaard: 3) acomp = ape-compressieniveau (standaard: 3000) oggqual = ogg-kwaliteitsniveau (standaard: 3) spxqual = spx-kwaliteitsniveau (standaard: 8) aacqual = aac/mp4/m4a-kwaliteitsniveau (standaard: 100) mpcqual = mpc/mpp-kwaliteitsniveau (standaard: radio) ofmode = ofr/ofs-modus (standaard: normaal) ofopt = ofr/ofs-optimalisatie (standaard: snel) bratio = bonk-downsamplingverhouding (standaard: 2) bquanl = bonk-quantisatieverhouding (standaard: 1.0) bpsize = bonk-predictorgrootte (standaard: 128) tag_opts = tagopties: artist = artiestinformatie instellen title = titel instellen track = tracknummer instellen year = jaar/datum van track/album instellen album = albumtitelinformatie instellen genre = genre instellen comment = commentaar instellen taginfo = taginformatie voor geselecteerd bestand weergeven tag_usage = taggebruik: pacpl [bestand(en)] rip_opts = ripopties: rip = rip tracks separated by comma or all nocddb = cddb uitschakelen noinput = cddb-interactiviteit uitschakelen nscheme = benoemingsschema cdinfo = cddb-informatie van huidige schijf weergeven device = standaard: = /dev/cdrom rip_usage = ripgebruik: pacpl --rip [track(s)/alles] --to pacpl-4.0.5/po/fr_FR.po0000644000175000001440000001504011007226674013641 0ustar viriiusers##################################################### # Français - Guillaume LOYOT (gui41981@hotmail.com) # ##################################################### # # Instructions de traduction: # # 1) traduire uniquement le texte après le signe = (traduire la valeur et non la clé) # 2) s'assurer de ne laisser qu'un seul espace de part et d'autre du signe = # 3) s'assurer d'inclure le nom de la langue ainsi que votre nom/email au début de ce fichier # 4) vérifier la grammaire et la syntaxe # 5) s'il vous plait, veuillez traduire ces instructions et les inclure dans votre fichier langue.po # # Vous pouvez soumettre vos traductions à viiron@gmail.com ##################### # Messages d'erreur # ##################### error = erreur failed = échec: bad_input = format de destination non supporté. multi_out = --outfile ne peut être utilisé lors de l'encodage multiple. no_config = fichier de configuration non trouvé... utilisation des paramètres par défaut. unk_encoder = type d'encodeur non valide pour: unk_decoder = type de décodeur non valide pour: no_decoder = Attention: ce fichier ne peut être converti: no_encoder = encoding 'to' cette option n'est pas supportée: no_encode_app = impossible de trouver l'application nécessaire à l'encodage: no_decode_app = impossible de trouver l'application nécessaire au décodage: no_app = impossible de trouver l'application: no_outdir = le répertoire de destination n'existe pas. no_infile = l'entrée suivante n'est ni un fichier ni un répertoire: no_input = vous devez spécifier au moins un fichier source. no_read_tag = lecture du tag impossible pour: no_write_tag = écriture du tag impossible pour: no_disc = impossible d'ouvrir le disque audio: no_cddb = impossible de trouver d'entrées cddb. Utiliser l'option --nocddb. no_kdialog = kdialog Introuvable. Installez le paquet kdebase. need_outdir = Vous devez spécifier un répertoire de destination. encode_failed = Erreur d'encodage avec le code de sortie: decode_failed = Erreur de décodage avec le code de sortie: empty_dir = répertoire vide, essayez avec l'option --recursive: opening_dir = impossible d'ouvrir le répertoire: opening_file = impossible d'ouvrir le fichier: seek_help = voir 'pacpl --help' ou 'pacpl --longhelp' pour une liste détaillée des options. ########### # Notices # ########### converting = Conversion: conv_comp = Conversion terminée. removed_tmp = suppression du fichier temporaire: removed_src = suppression du fichier source: enc_fmts = formats d'encodage: dec_fmts = formats de décodage: tag_info = informations sur les tags pour: write_tag_i = écriture des tags pour: creating_dir = création du répertoire: imported = modules importés: debug = débogage: loaded_config = fichier de configuration chargé: ripping_track = extraction de la piste: total_converted = Total des fichiers convertis: overwrite = le fichier de sortie existe. Utilisez --overwrite pour remplacer le fichier existant. show_encoders = encodeurs pour show_decoders = décodeurs pour ################################################## # affichages utilisateur pour Konqueror & Amarok # ################################################## kde_overwrite = écraser le fichier de sortie si existant? (1 = oui, 0 = non) kde_bitrate = choisir le bitrate kde_freq = taux d'échantillonage audio kde_chans = cannaux audio channels kde_fcomp = niveau de compression FLAC kde_pcomp = niveau de compression LPAC kde_acomp = niveau de compression APE kde_oggqual = niveau de qualité Ogg Vorbis kde_spxqual = niveau de qualité speex kde_aacqual = niveau de qualité AAC/MP4/M4A kde_mpcqual = niveau de qualité Musepack kde_ofmode = mode de compression OptimFrog kde_ofopt = niveau d'optimisation OptimFrog kde_bratio = ratio d'échantillonage BONK kde_bquanl = niveau quantique de BONK kde_bpsize = taille du prédicat BONK ######################## # Texte du menu d'aide # ######################## to = format de destination recursive = répertoire(s) de conversion récursive preserve = respecte la structure des répertoires formats = liste les formats d'encodage/décodage supportés only = convertit uniquement les fichiers dont l'extension correspond keep = conserve les fichiers de destination dont le format correspond help = affiche ce menu d'aide longhelp = liste complète des options version = affiche les informations de version usage = utilisation: pacpl --to [fichier(s)/répertoire(s)] defopts = turn off default encoder options (0) eopts = options utilisateur complémentaires d'encodage dopts = options utilisateur complémentaires de décodage nopts = options utilisateur complémentaires de normalisation outfile = nom de fichier de sortie outdir = répertoire de sortie dryrun = ne pas convertir les fichiers overwrited = écraser les fichiers de destination normalize = normalisation wave avant encodage delete = suppression du fichier source après conversion encoder = spécifie un encodeur alternatif decoder = spécifie un décodeur alternatif verbose = affiche les informations détaillées user_opts = options utilisateur: enc_opts = options d'encodage: bitrate = bitrate (def. 128) freq = fréquence audio (def. 44100) channels = nombre maximum de cannaux (def. 2) effect = effet sox (aiff/au/snd/raw/voc/smp/avr/cdr) fcomp = niveau de compression flac/fla (def. 2) pcomp = niveau de compression lpac/pac (def. 3) acomp = niveau de compression ape (def. 3000) oggqual = niveau de qualité ogg (def. 3) spxqual = niveau de qualité spx (def. 8) aacqual = niveau de qualité aac/mp4/m4a (def. 100) mpcqual = niveau de qualité mpc/mpp (def. radio) ofmode = mode ofr/ofs (def. normal) ofopt = optimisation ofr/ofs (def. fast) bratio = ratio d'échantillonage bonk (def. 2) bquanl = niveau quantique de bonk (def. 1.0) bpsize = taille du prédicat bonk (def. 128) tag_opts = options de tag: artist = définit les informations sur l'artiste title = définit le titre track = définit le numéro de la piste year = définit l'année/la date de l'album/de la piste album = définit le titre de l'album genre = définit le genre comment = définit les commentaires taginfo = affiche les informations de tags pour le(s) fichier(s) sélectionné(s) tag_usage = utilisation des tags: pacpl [fichier(s)] rip_opts = options d'extraction: rip = extrait les pistes séparées par des virgules ou toutes (option all) nocddb = désactive cddb noinput = désactive cddb interaction nscheme = schéma de nommage cdinfo = affiche les informations cddb pour le disque courant device = défaut = /dev/cdrom rip_usage = utilisation de l'extration audio: pacpl --rip [piste(s)/all] --to pacpl-4.0.5/po/it_IT.po0000644000175000001440000001416111130144055013643 0ustar viriiusers############################################ # Italian - Mastermind-X (mastermind.x11@gmail.com) ############################################ # # Translation Instructions: # # 1) only translate text after the = sign (translate the value not the key) # 2) make sure there is only one space between either side of the = sign # 3) be sure to include the language name, and your name/email at the top # 4) spell check # 5) please translate these instructions and include them with your lang.po # # You can submit your translations to viiron@gmail.com ################## # Error messages # ################## error = errore failed = fallito: bad_input = formato di destinazione non supportato. multi_out = --outfile non può essere usato nella codifica di file multipli. no_config = file di configurazione non trovato ...uso le impostazioni di default. unk_encoder = l'encoder selezionato non è valido per: unk_decoder = l'decoder selezionato non è valido per: no_decoder = attenzione: il seguente file non può essere decodificato: no_encoder = l'encoding nel seguente formato non è supportato: no_encode_app = impossibile trovare un applicazione adatta alla codifica: no_decode_app = impossibile trovare un applicazione adatta alla decodifica: no_app = impossibile trovare l'applicazione: no_outdir = la cartella di output non esiste. no_infile = il seguente non è ne un file ne una cartella: no_input = devi specificare almeno un file di input. no_read_tag = impossibile leggere il tag per: no_write_tag = impossibile scrivere il tag per: no_disc = impossibile aprire il cd audio: no_cddb = impossibile trovare la voce cddb. usa l'opzione --nocddb. no_kdialog = kdialog non trovato. installa il pacchetto kdebase. need_outdir = devi specificare una cartella di output. encode_failed = codifica fallita con exit status: decode_failed = decodifica fallita con exit status: empty_dir = cartella vuota, prova usando l'opzione --recursive: opening_dir = impossibile aprire la cartella: opening_file = impossibile aprire il file: seek_help = vedi 'pacpl --help' o 'pacpl --longhelp' per una lista di opzioni. ########### # Notices # ########### converting = Convertendo: conv_comp = ..fatto. removed_tmp = rimossi i file temporanei: removed_src = rimossi i file sorgente: enc_fmts = formati di codifica: dec_fmts = formati di decodifica: tag_info = informazioni di tagging per: write_tag_i = scrittura delle informazioni di tag per: creating_dir = creando la cartella: imported = moduli importati: debug = debug: loaded_config = file di configurazione caricato: ripping_track = Acquisendo la traccia: total_converted = Totale die files convertiti: overwrite = il file di output esiste. usa --overwrite per sovrascrivere il file esistente. show_encoders = encoders per show_decoders = decoders per ####################################### # user prompts for Konqueror & Amarok # ####################################### kde_overwrite = sovrascrivi il file di output se esiste? (1 = si, 0 = no) kde_bitrate = seleziona il bitrate kde_freq = frequenza di campionamento kde_chans = canali audio kde_fcomp = FLAC: livello di compressione kde_pcomp = LPAC: livello di compressione kde_acomp = APE: livello di compressione kde_oggqual = Ogg Vorbis: livello di qualità kde_spxqual = speex: livello di qualità kde_aacqual = AAC/MP4/M4A: livello di qualità kde_mpcqual = Musepack: livello di qualità kde_ofmode = OptimFrog: modalità di compressione kde_ofopt = OptimFrog: livello di ottimizzazione kde_bratio = BONK: rateo di downsapling kde_bquanl = BONK: livello di quantizzazione kde_bpsize = BONK: dimensione del predittore ################## # Help menu text # ################## to = formato di destinazione recursive = converti ricorsivamente le cartelle preserve = preserva la struttura delle cartelle formats = lista dei formati di codifica/decodifica supportati only = converti solo i file con l'estensione corrispondente keep = mantieni i files con formato corrispondente a quello di destinazione help = questo help menu longhelp = lista completa delle opzioni version = mostra informazioni di versione usage = Uso: pacpl --to [files/cartelle] eopts = opzioni di codifica fornite dall'utente dopts = opzioni di decodifica fornite dall'utente nopts = opzioni di normalizzazione fornite dall'utente outfile = nome del file di output outdir = cartella di output dryrun = non convertire i files overwrited = sovrascrivi i file di destinazione normalize = normalizza il file wav prima della codifica delete = elimina il file sorgente dopo la conversione encoder = specifica un encoder alternativo decoder = specifica un decoder alternativo verbose = mostra informazioni dettagliate user_opts = opzioni utente: enc_opts = opzioni di codifica: bitrate = bitrate (def. 128) freq = frequenza audio (def. 44100) channels = numero di canali audio (def. 2) effect = effetti sox (aiff/au/snd/raw/voc/smp/avr/cdr) fcomp = livello di compressione flac/fla (def. 2) pcomp = livello di compressione lpac/pac (def. 3) acomp = livello di compressione ape (def. 3000) oggqual = livello di qualità ogg (def. 3) spxqual = livello di qualità spx (def. 8) aacqual = livello di qualità aac/mp4/m4a (def. 100) mpcqual = livello di qualità mpc/mpp (def. radio) ofmode = modalità di compressione ofr/ofs (def. normal) ofopt = livello di ottimizzazione ofr/ofs (def. fast) bratio = rateo di downsampling bonk (def. 2) bquanl = livello di quantizzazione bonk (def. 1.0) bpsize = Dimensione del predittore bonk (def. 128) tag_opts = opzioni di tagging: artist = imposta informazioni artista title = imposta titolo track = imposta numero traccia year = imposta anno/data del album/traccia album = imposta informazioni titolo dell'album genre = imposta genere comment = imposta commenti taginfo = mostra informazioni di tagging del file selezionato tag_usage = uso del tagging: pacpl [file(s)] rip_opts = opzioni di acquisizione: rip = rip tracks separated by comma or all nocddb = disabilita cddb noinput = disabilita interazione cddb nscheme = schema di rinominazione cdinfo = mostra le informazioni cddb per il seguente disco device = default = /dev/cdrom rip_usage = uso in acquisizione: pacpl --rip [traccia(e)/all] --to pacpl-4.0.5/TODO0000644000000000000000000000010710777665401012020 0ustar rootrootAdd more translations to the po/ files Add more distribution packages pacpl-4.0.5/aclocal.m40000644000000000000000000000210010677476327013171 0ustar rootroot dnl Copyright C 2002 Dean Povey dnl Copying and distribution of this file, with or without modification, dnl are permitted in any medium without royalty provided the copyright dnl notice and this notice are preserved. dnl Modified 9-9-2007 by Philip Lyons (viiron@gmail.com) dnl to halt on first failed test when used with AC_MSG_ERROR() AC_DEFUN([AC_PROG_PERL_MODULES],[dnl ac_perl_modules="$1" # Make sure we have perl if test -z "$PERL"; then AC_CHECK_PROG(PERL,perl,perl) fi if test "x$PERL" != x; then ac_perl_modules_failed=0 for ac_perl_module in $ac_perl_modules; do AC_MSG_CHECKING(for perl module $ac_perl_module) # Would be nice to log result here, but can't rely on autoconf internals $PERL "-M$ac_perl_module" -e exit > /dev/null 2>&1 if test $? -ne 0; then AC_MSG_RESULT(no); ac_perl_modules_failed=1 else AC_MSG_RESULT(ok); fi # Run optional shell commands if test "$ac_perl_modules_failed" = 0; then : $2 else : $3 fi done else AC_MSG_WARN(could not find perl) fi])dnl pacpl-4.0.5/extra/0000755000000000000000000000000011026622337012442 5ustar rootrootpacpl-4.0.5/extra/mod-install-kubuntu.sh0000755000000000000000000000174610715370470016731 0ustar rootroot#!/bin/bash # # This script only installs the required Perl modules. # # You will need to install the Ubuntu restricted extras package # to use MP3. This can be done using the following steps: # # 1) Click on "Add/Remove Programs" in the main menu # 2) Click on the "Others" category # 3) Scroll down and check the box next to Ubuntu restricted extras # 4) Click on "Apply Changes" # # After completing the above steps you can install the required encoders # and decoders using Adept Manager or in a terminal via 'sudo apt-get' # # It is suggested (and probably necessary) to complete the above steps # before installing the below modules. # # run this script using: sh mod-install-kubuntu.sh sudo apt-get install libogg-vorbis-header-perl \ libcddb-get-perl \ libaudio-musepack-perl \ libaudio-wma-perl \ libmp3-tag-perl \ libmp4-info-perl \ libaudio-flac-header-perl pacpl-4.0.5/extra/sample.m0000644000000000000000000000106110741314734014101 0ustar rootroot# Sample MP5 codec - John Doe (johndoe@example.org) # # This is just a sample. my $mp5 = { NAME => 'mp5', DEFAULT_ENCODER => 'ffmpeg', DEFAULT_DECODER => 'lame', TAGS => { READ => 0, WRITE => 0, MODULE => undef }, # do not change ENCODER => { ffmpeg => { NAME => 'ffmpeg', ESTR => sub { "-y -i %i %o" }, }, }, DECODER => { lame => { NAME => 'lame', DSTR => sub { "--decode %i %o" }, }, }, }; import_module($mp5);pacpl-4.0.5/extra/README.module0000644000000000000000000000101510742156533014607 0ustar rootrootUSER MODULES: The best way to incorporate you own module is to copy the sample.m to a new file and change the various values accordinly. If you're familiar with Perl and hashes, then writing your own shouldn't be a problem. Wild card %i will be the input file, and wild card %o will be the output file. ESTR = string used to encode the temporary .wav file DSTR = string used to decode to the temporary .wav file It should be noted that for the time being --dopts and --eopts will no longer work with imported codecs. pacpl-4.0.5/extra/pacpl-gui.kmdr0000644000175000001440000020503510737334772015565 0ustar viriiusers main Philip Lyons (viiron@gmail.com) GPL v3 4.0.0 main 0 0 488 361 850 650 Perl Audio Converter image0 @outputDir.setText(@env(HOME)) @odir.setText(@env(HOME)) conv 0 10 490 377 144 144 144 61 61 61 false Rounded 0 tab Co&nvert Layout17 10 180 331 29 unnamed 0 6 convert C&onvert convert files & directories to output format AAC AC3 AIFF APE AU AVR BONK CAF CDR FAP FLA FLAC IRCAM LA LPAC M4A MAT MAT4 MAT5 MMF MP2 MP3 MP4 MPC MPP NIST OFR OFS OGG PAC PAF PVF RA RAW SD2 SF SHN SMP SND SPX TTA VOC W64 WAV WMA Format 27 @widgetText clearc &Clear clear konsole window Label1 output format Konsole1 true 10 220 470 91 227 227 227 @if (@String.isEmpty(@exec(which pacpl))) @Message.error("Could not find pacpl in your PATH, please check your installation") @endif @if(@String.isEmpty(@Input)) @Message.error("You must specity at least one file or directory to convert") @endif @if(@String.isEmpty(@outputDir)) @Message.error("Your must specify the output directory") @endif OPTS="" @if (@overwrite.checked) OPTS="--overwrite" @endif @if(@preserve.checked) OPTS="$OPTS --preserve" @endif @if(@recursive.checked) OPTS="$OPTS --recursive" @endif @if(@delete.checked) OPTS="$OPTS --delete" @endif @if(@dryrun.checked) OPTS="$OPTS --dryrun" @endif @if(@promptgui.checked) OPTS="$OPTS --gui" @endif @forEach(i, @Input) @ #echo pacpl --to @Format $OPTS --outdir @outputDir "@i" pacpl --to @Format $OPTS --outdir @outputDir "@i" @end Layout5 10 10 470 60 unnamed 0 6 Label3 destination folder Label2 files & directories outputDir @widgetText Directory Input @widgetText true ButtonGroup1 10 80 460 91 Layout40 10 10 438 71 unnamed 0 6 promptgui pro&mpt for encoder options use kdialog to prompt for bitrate, quality, etc. preserve preserve &directroy structure recursive recursi&vely convert input folder dryrun dr&yrun (simulate conversion only) simulate. don't actually convert files. delete delete source file &after conversion overwrite overwrite destination file tab R&ip ripkonsoler 6 224 470 81 OPTIONS="" RIPOPTS="" @if(@String.isEmpty(@tracks) && !@ripall.checked) @Message.error("rip all or tracks must be set in order to rip cd") @endif @if(@String.isEmpty(@device)) @Message.error("device string empty. this option must be set") @endif OPTIONS="--device @device" @if(!@String.isEmpty(@odir)) OPTIONS="$OPTIONS --outdir @odir" @endif @if(@promptE.checked) OPTIONS="$OPTIONS --gui" @endif @if(@dryrunr.checked) OPTIONS="$OPTIONS --dryrun" @endif @if(@overw.checked) OPTIONS="$OPTIONS --overwrite" @endif @if(@discddb.checked) OPTIONS="$OPTIONS --nocddb" @endif @if(@ripall.checked) RIPOPTS="--rip all" @endif @if(!@String.isEmpty(@tracks)) RIPOPTS="--rip @tracks" @endif echo pacpl $RIPOPTS $OPTIONS --to @ToFmt --noinput pacpl $RIPOPTS $OPTIONS --to @ToFmt --noinput Layout10 10 190 340 29 unnamed 0 6 rip Rip Label1_3 output format clearr &Clear AAC AC3 AIFF APE AU AVR BONK CAF CDR FAP FLA FLAC IRCAM LA LPAC M4A MAT MAT4 MAT5 MMF MP2 MP3 MP4 MPC MPP NIST OFR OFS OGG PAC PAF PVF RA RAW SD2 SF SHN SMP SND SPX TTA VOC W64 WAV WMA Format_2 27 @widgetText ripoptions 10 100 460 70 Layout16 30 10 410 46 unnamed 0 6 overw o&verwrite ripall rip &all discddb &disable cddb promptE prompt for encoder &options dryrunr dr&yrun Layout18 10 10 460 80 unnamed 0 6 Label33 device Label36 output directory tracks @widgetText rip tracks separated by comma (1,3,5,6) device /dev/cdrom @widgetText Label38 rip tracks odir @widgetText Directory tab Ta&g Write Layout26 272 1 180 210 unnamed 0 6 writetags Write T&ags TextEdit4 Supported Write Formats: MP3 OGG FLA FLAC true cleart &Clear Konsole Layout41 1 0 260 28 unnamed 0 6 Label32 File tagFile @widgetText ButtonGroup2 0 30 260 200 unnamed 11 6 Layout25 unnamed 0 6 genre @widgetText title @widgetText Label12_4_5 Year Label12_2_3 Track track @widgetText Label11_3 Artist Label12_6 Title album @widgetText Label12_4_3_2 Genre year @widgetText Label12_3_3 Album comment @widgetText artist @widgetText Label12_4_4_2 Comment Konsole2 true 0 240 480 80 151 151 151 TAGS="" @if(!@String.isEmpty(@comment)) TAGS="--comment \"@comment\"" @endif @if(!@String.isEmpty(@artist)) TAGS="$TAGS --artist \"@artist\"" @endif @if(!@String.isEmpty(@title)) TAGS="$TAGS --title \"@title\"" @endif @if(!@String.isEmpty(@track)) TAGS="$TAGS --track \"@track\"" @endif @if(!@String.isEmpty(@genre)) TAGS="$TAGS --genre \"@genre\"" @endif @if(!@String.isEmpty(@year)) TAGS="$TAGS --year \"@year\"" @endif @if(!@String.isEmpty(@album)) TAGS="$TAGS --album \"@album\"" @endif echo pacpl $TAGS @tagFile pacpl $TAGS @tagFile tab Abo&ut qt_dead_widget_ScriptObject1 106 64 32 32 TextEdit1 20 10 450 300 61 61 61 AutoText Perl Audio Converter Copyright (C) 2005-2008 Philip Lyons (viiron@gmail.com) This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. true 789c7d96476f24470c85effa1503f1b630b8937aba1b860fca394ba360f8c04ecada5d69140dff7793ef49059fdc6f05ec87aae9228ba9bf7feb9dedeff4be7d9f7b9ad9ecbaeed557f6d8fbd63cdfdfbffff9d71f7fcfcd0f26bdf8570e7bc3f9dfe6e60f66bdbab7fbe3a10d903b07e9e3017f8007a1602bc15908ebefe04908bc0bce5d60cbc15dbf1bf07de7c1781dd826e078c845629e9781872ef2183c72c1781b81c7ae117898780c1e80272ed86b7d701e020bd842b06f075c87b07e016e4260dccfa073e1beec2178d80f052b390ca6bf83c4b05f96c078c03fc0a310b8028f5d60853fc3cc057f04fe0f272ef8a3cb8979ff6fe03204de065b08ace02a04de04b721f056f0a81f02df82c721f019380bc1ff5fe0890bf729a7600b81d7c14d08fb5fc1ad8bdc06235c3cef118c0b006f806100f8049c85f07bf8332e4258c7fbc765088c7c1dd721f00cdc86f07b9ed785c02fc1d9c0457b9e13337e5cc70560ff25180ff8093c09819f1333df709f591e025f838b1018f665a58bf787fac99a10d66fc05d087c151ce54796e32f9ed0fe35300a008cfb8679acdf1570ee62fea0de26160277c1f9300486bff9380446fde4755e175c873d791b02c3bfbc0b215f57838bbe8bf6c09f6218c23aeab398b8e0afc29e220f61ff3db874719d6c2eb0a07f145508bc9098f73305d721f01eb8299a92f6207e45e782fd8a7e56f65df40ffda01cb8d85f703ed28d6c89719f8afb29115030e2514e5cf047511f651e026f24663e1f81e130d63713233e8a7a2de321a3de4b73c17fbd4dccfb42ff2a2b17fd43bf2b6b17d76f12335ef4b77371fdfa8b8dfd18fd06ed93f1bb4accfe857cb1b18bfec31fcb4260e417d28dfea15e2d0f8191ff860083dbc4f0d7304fc23db236e078e83fe26b955515e2a398375687c07562fa87fcb13604ae12f33e105feb42880ffa6f357031fe381fed95f50cffaa5108fb0fc1998bf663be56b98bf90afb90be8c3fe65b84ab62fd635e54e110eb0bf554e101a31f57b58bf6f3bc268475dad7bae80fe649d585f0fefa8b6bfaf33331fbdb4170dd77b1bf623ed54317fb09d7472ef6bfc3c4f4773f31e72bf201ed19f6db5e62aea3feeaccc578ed27a6ffb0af9eb878dfc78959dff0a78e06057bed2431e38dfb443b607ee1be23fd3fed9d26a63d987f481fe6db4a62da7f9a98f60ebeb8e1bc584accfb5c4ecc7ec1fb4300c14b5fdc301e8b89393f787e53379f8c7c68fa2ef8abb017e397f5799a98fddb12d31fdc4f3376b17ea789b9ff2131fd5d4b4c7f171233bf90df31be5ace23d8df4c5c8c0fe2d9e42ee627fa7f130d99f9be9e98f98cefcda66cca96df7f6473313e5562c617f980f4673c7712d3deb72f6e79bfe8bf8d3f2dfa9be27ba2699bb665bf42bf69ba10f6a31fb77d17f7bf24663c31fff179c5fc44bf8ecf1f9ea7f8fe68b310789698f1c33cc238657ee2fedaa22d3abe1ff58e76c578e0fe5b7f3afa8b79d0b52ec603f5d2e1093e98fdbf38c3d45c95d6da68ab9d5eea955eeb8ddeea9ddeeb03eb487fea2f7dd4279de9b3bee8abbee9bb7ee8822eea922eb3565cabfeb635d7ba6ee8a66ee9b6eee8aeeee9fee79e033dd4233dd61368ea3ad5333dd70bedeb4099c3231d6ba613cdffa3424b511131611faca591563ab9942be85a6efcef56eee45e1ee4077b87fc924779d24c66f22c2ffef72a6ff22e1fb2208bb2f4b96759566455d6645d366453b6645b96644776654ff63ff71cc8a1fff2488ee5447399face5339f3379dcb85f485df154319c958329948ee66163e92d5cf3eb3985515f7441388392353bbb42bbbb61bbb9552d6edceeebde13fb0ffdb4f0bab5fedd19e6c66cff6e2ff77bbedcdde3ff77cd8822ed8a22dd9b2add8aaadd9ba6dd8a66dd9b6edf02cbdb55ddbb37d3b701dda911ddb894ded5457ecccceed02efe9c754c7a7fc18133ba63426b34fdfdccaf97f7e9ffb171baf4b0e cleart clicked() Konsole2 clear() ripall clicked() tracks clear() clearr clicked() ripkonsoler clear() tracks completionBoxActivated(const QString&) ripall toggle() clearc clicked() Konsole1 clear() convert clicked() Konsole1 execute() writetags clicked() Konsole2 execute() rip clicked() ripkonsoler execute() pacpl-4.0.5/extra/README.extra0000644000000000000000000000074110702073260014441 0ustar rootrootmod-install.sh: this script will attempt to install all the required perl modules for pacpl. For some it may be necessary to actually start the CPAN shell: perl -MCPAN -e 'shell' and from there type: install Module::Name ------------------------------------------------------------------------------- pacpl-gui.kmdr: Kommander interface for pacpl. use: 'kmdr-executor pacpl-gui.kmdr' to run. keep in mind that Kommander must be installed in order to use this interface. pacpl-4.0.5/extra/mod-install.sh0000755000000000000000000000120110744603526015223 0ustar rootroot#!/bin/bash # # Run this script to install the required modules for # the Perl Audio Converter. cpan="perl -MCPAN -e" $cpan 'install Parse::RecDescent' $cpan 'install Carp' $cpan 'install Inline' $cpan 'install Inline::C' $cpan 'install Devel::Symdump' $cpan 'install Switch' $cpan 'install Pod::Coverage' $cpan 'install Test::Pod::Coverage' $cpan 'install MP3::Info' $cpan 'install Audio::Musepack' $cpan 'install Audio::WMA' $cpan 'force install Audio::FLAC::Header' $cpan 'install MP3::Tag' $cpan 'install Ogg::Vorbis::Header' $cpan 'install IO::String' $cpan 'install MP4::Info' $cpan 'install Audio::APETags' $cpan 'install CDDB_get'pacpl-4.0.5/pacpl0000755000000000000000000033570011160576427012363 0ustar rootroot#!/usr/bin/perl # # Perl Audio Converter # # Copyright (C) 2005-2009 Philip Lyons # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see . use strict; use warnings; use Switch; use Getopt::Long; use File::Basename; use File::Find; use File::Spec::Functions qw(rel2abs); # Tagging modules use Ogg::Vorbis::Header; use MP3::Tag; use Audio::FLAC::Header; use MP4::Info; use Audio::WMA; use Audio::Musepack; use Audio::APETags; # CDDB module use CDDB_get qw(get_cddb); # non-encoder/decoder related options my ( $to, $recursive, $preserve, $rip, $help, $longhelp, $verbose, $verinfo, $dryrun, $delete, $keep, $overwrite, $formats, $topdir, $only, $first_run, @file, @dir, %run, %lang, ); my $silent = "> /dev/null 2>&1"; # tagging options my ( $title, $track, $artist, $album, $comment, $year, $genre, $taginfo, ); # name/version information my $name = "Perl Audio Converter"; my $version = "4.0.5"; # If this option is set, messages/errors will be displayed via kdialog my $gui = ''; # Debugging (for internal use only) my $debug = 0; # default configuration. my %config = ( IMPORTM => 0, DEFOPTS => 1, EOPTS => '', DOPTS => '', NOPTS => '', BITRATE => 128, FREQ => 44100, CHANNELS => 2, EFFECT => '', FCOMP => 2, PCOMP => 3, ACOMP => 3000, OGGQUAL => 3, SPXQUAL => 8, AACQUAL => 3, MPCQUAL => 'radio', OFMODE => 'normal', OFOPT => 'fast', BRATIO => 2, BQUANL => 1.0, BPSIZE => 128, USE_CDDB => 1, CDDB_HOST => 'freedb.freedb.org', CDDB_PORT => 8880, CDDB_MODE => 'cddb', CDDB_INPUT => 1, DEVICE => '/dev/cdrom', NSCHEME => '%ar - %ti', KDE_DIR => 1, KDE_OPTS => 1, ); # location of configuration file my $conf_path = "/etc/pacpl"; my $po_dir = "/usr/share/pacpl/locale"; my $mod_dir = "$conf_path/modules"; my $conf_file; # load the appropriate locale file load_lang(); # try to load configuration file in this order... my @conf_locations = ( "$ENV{HOME}/.pacplrc", # Local "$conf_path/pacpl.conf", # Global "$ENV{PWD}/pacpl.conf", # Current Directory ); # try to load conf file from one of the above locations foreach my $i (@conf_locations) { if (not $conf_file and -e $i) { $conf_file = $i; print "$lang{loaded_config} $conf_file\n" if $debug; } } print "$lang{no_config}\n" if not $conf_file; # open config file. if ($conf_file and -e $conf_file) { open(CONF, "$conf_file") or die "$lang{opening_file} $conf_file - $!\n"; my @conf_opts = ; @conf_opts = grep(!/^#|^$/, @conf_opts); close(CONF); # now read config file options and change default values accordingly. foreach (@conf_opts) { chomp; my ($k, $v) = split(/\s+=\s+/); $config{$k} = $v if exists($config{$k}) and $v; print "$lang{debug} $k = $v\n" if $debug and exists($config{$k}); } } my $codecs_conf = "$conf_path/codecs.conf"; # set default encoders/decoders sub load_codecs { open(CODECS, "$codecs_conf") or die "$lang{opening_file} $codecs_conf - $!\n"; my @codecs = ; @codecs = grep(!/^$|^#/, @codecs); close(CODECS); foreach (@codecs) { chomp; my ($k, $v) = split(/\s+=\s+/); my ($e, $d) = split(/,/, $v); $k =~ tr/A-Z/a-z/; $run{$k}{DEFAULT_ENCODER} = $e if (exists($run{$k}{DEFAULT_ENCODER})); $run{$k}{DEFAULT_DECODER} = $d if (exists($run{$k}{DEFAULT_DECODER})); } } # load po file and store in %lang hash sub load_lang { my $po = "$po_dir/$ENV{LANG}.po"; $po =~ s/\.UTF-8//i if $po =~ /UTF-8/i; $po =~ s/\.utf8//i if $po =~ /utf8/i; $po =~ s/_\w+// if not -e $po; $po = "$po_dir/en_US.po" if not -e $po; open(LANG, "< $po") or die "error: could not open - $po\n$!\n"; my @data = ; @data = grep(!/^#|^$/, @data); close(LANG); foreach (@data) { chomp; s/=/__EQ__/; my ($k, $v) = split(/\s+__EQ__\s+/, $_); $lang{$k} = $v; } } my $banner = 1; # print error messages sub perror { my ($key, $msg) = @_; print "$name - $version\n\n"; print "$lang{error}: $lang{$key} $msg" . "\n\n"; system("kdialog --title \"$name\" --error \"$lang{error}: $lang{$key} $msg\" &") if $gui; die "$lang{seek_help}\n"; } # print notices/warnings sub pnotice { my ($key, $msg, $nm) = @_; print "$name - $version\n\n" if $banner == 1; print "$lang{$key} $msg"; print "\n" if $nm == 1; print "\n\n" if $nm == 2; system("kdialog --title \"$name\" --passivepopup \"$lang{$key} $msg\" 10 &") if $gui; $banner = 0; } # defaults for user variables. my $outfile; my $outdir; my $defopts = $config{DEFOPTS}; my $eopts = $config{EOPTS}; my $dopts = $config{DOPTS}; my $nopts = $config{NOPTS}; my $normalize = $config{NOPTS}; my $bitrate = $config{BITRATE}; my $freq = $config{FREQ}; my $channels = $config{CHANNELS}; my $effect = $config{EFFECT}; my $fcomp = $config{FCOMP}; my $pcomp = $config{PCOMP}; my $acomp = $config{ACOMP}; my $oggqual = $config{OGGQUAL}; my $spxqual = $config{SPXQUAL}; my $aacqual = $config{AACQUAL}; my $mpcqual = $config{MPCQUAL}; my $ofmode = $config{OFMODE}; my $ofopt = $config{OFOPT}; my $bratio = $config{BRATIO}; my $bquanl = $config{BQUANL}; my $bpsize = $config{BPSIZE}; my $cdinfo; my $nocddb; my $noinput; my $device = $config{DEVICE}; my $nscheme = $config{NSCHEME}; my $my_encoder; my $my_decoder; my $encoder; my $decoder; # command line options GetOptions ( 't|to=s' => \$to, 'r|recursive' => \$recursive, 'p|preserve' => \$preserve, 'h|help' => \$help, 'l|longhelp' => \$longhelp, 'v|verbose' => \$verbose, 'f|formats' => \$formats, 'o|only=s' => \$only, 'k|keep' => \$keep, 'taginfo' => \$taginfo, 'version' => \$verinfo, 'dryrun' => \$dryrun, 'delete' => \$delete, 'overwrite' => \$overwrite, 'normalize' => \$normalize, 'encoder=s' => \$my_encoder, 'decoder=s' => \$my_decoder, 'title=s' => \$title, 'track=n' => \$track, 'artist=s' => \$artist, 'album=s' => \$album, 'comment=s' => \$comment, 'year=n' => \$year, 'genre=s' => \$genre, 'gui' => \$gui, 'eopts=s' => \$eopts, 'dopts=s' => \$dopts, 'defopts=n' => \$defopts, 'nopts=s' => \$nopts, 'outfile=s' => \$outfile, 'outdir=s' => \$outdir, 'bitrate=n' => \$bitrate, 'freq=n' => \$freq, 'channels=n' => \$channels, 'effect=s' => \$effect, 'fcomp=n' => \$fcomp, 'acomp=n' => \$acomp, 'pcomp=n' => \$pcomp, 'oggqual=n' => \$oggqual, 'spxqual=n' => \$spxqual, 'aacqual=n' => \$aacqual, 'mpcqual=s' => \$mpcqual, 'ofmode=s' => \$ofmode, 'ofopt=s' => \$ofopt, 'bratio=n' => \$bratio, 'bquanl=n' => \$bquanl, 'bpsize=n' => \$bpsize, 'rip=s' => \$rip, 'nocddb' => \$nocddb, 'noinput' => \$noinput, 'device=s' => \$device, 'nscheme=s' => \$nscheme, 'cdinfo' => \$cdinfo, ); $silent = '' if $verbose; my $opts; # conversion options. when adding a new format, # wild card %i = input file and %o = output file %run = ( raw => { DEFAULT_ENCODER => "sox", DEFAULT_DECODER => "sox", ENCODER => { sox => { NAME => "sox", ESTR => sub { $opts = "-r $freq -c $channels" if $defopts == 1; $opts = '' if $defopts == 0; "%i $opts $eopts %o $effect" }, PROMPT => { FREQ => 1, CHANNELS => 1, }, }, }, DECODER => { sox => { NAME => "sox", DSTR => sub { "-w -s -r $freq -c $channels $dopts %i %o" }, }, }, TAGS => { READ => 0, WRITE => 0, MODULE => undef, }, }, ram => { DEFAULT_ENCODER => undef, DEFAULT_DECODER => "ffmpeg", DECODER => { ffmpeg => { NAME => "ffmpeg", DSTR => sub { "$dopts -y -i %i %o" }, PROMPT => { NONE => 0 }, }, }, TAGS => { READ => 0, WRITE => 0, MODULE => undef, }, }, ac3 => { DEFAULT_ENCODER => "ffmpeg", DEFAULT_DECODER => "mplayer", ENCODER => { ffmpeg => { NAME => "ffmpeg", ESTR => sub { $opts = "-ab $bitrate -ar $freq -ac $channels" if $defopts == 1; $opts = '' if $defopts == 0; "$eopts -y -i %i $opts %o" }, PROMPT => { BITRATE => 1, FREQ => 1, CHANNELS => 1, }, }, }, DECODER => { mplayer => { NAME => "mplayer", DSTR => sub { "-vc dummy -vo null -nortc -ao pcm:file=%o %i" }, }, }, TAGS => { READ => 0, WRITE => 0, MODULE => undef, }, }, rm => { DEFAULT_ENCODER => 'ffmpeg', DEFAULT_DECODER => 'mplayer', ENCODER => { ffmpeg => { NAME => 'ffmpeg', ESTR => sub { $opts = "-ar $freq -ac $channels" if $defopts == 1; $opts = '' if $defopts == 0; "$eopts -y -i %i $opts %o" }, PROMPT => { FREQ => 1, CHANNELS => 1, }, }, }, DECODER => { mplayer => { NAME => 'mplayer', DSTR => sub { "-vc dummy -vo null -nortc -ao pcm:file=%o %i" }, }, }, TAGS => { READ => 0, WRITE => 0, MODULE => undef, }, }, mp3 => { DEFAULT_ENCODER => "lame", DEFAULT_DECODER => "lame", ENCODER => { lame => { NAME => "lame", ESTR => sub { $opts = "--resample $freq -b $bitrate -h" if $defopts == 1; $opts = '' if $defopts == 0; "$eopts $opts %i %o" }, PROMPT => { BITRATE => 1, FREQ => 1, }, }, bladeenc => { NAME => "bladeenc", ESTR => sub { $opts = "-br $bitrate" if $defopts == 1; $opts = '' if $defopts == 0; "$eopts $opts %i %o" }, PROMPT => { BITRATE => 1 }, }, gogo => { NAME => "gogo", ESTR => sub { $opts = "-b $bitrate" if $defopts == 1; $opts = '' if $defopts == 0; "$eopts $opts %i %o" }, PROMPT => { BITRATE => 1 }, }, toolame => { NAME => "toolame", ESTR => sub { $opts = "-b $bitrate" if $defopts == 1; $opts = '' if $defopts == 0; "$eopts $opts %i %o" }, PROMPT => { BITRATE => 1 }, }, ffmpeg => { NAME => "ffmpeg", ESTR => sub { $opts = "-ab $bitrate.k -ar $freq -ac $channels" if $defopts == 1; $opts = '' if $defopts == 0; "$eopts -y -i %i $opts %o" }, PROMPT => { BITRATE => 1, FREQ => 1, CHANNELS => 1, }, }, sox => { NAME => "sox", ESTR => sub { $opts = "-r $freq -c $channels" if $defopts == 1; $opts = '' if $defopts == 0; "%i $eopts $opts %o" }, PROMPT => { FREQ => 1, CHANNELS => 1, }, }, }, DECODER => { lame => { NAME => "lame", DSTR => sub { "$dopts --decode %i %o" }, }, ffmpeg => { NAME => "ffmpeg", DSTR => sub { "$dopts -y -i %i %o" }, }, mplayer => { NAME => "mplayer", DSTR => sub { "-vc dummy -vo null -nortc -ao pcm:file=%o %i" }, }, sox => { NAME => "sox", DSTR => sub { "%i $dopts %o" }, }, }, TAGS => { READ => 1, WRITE => 1, MODULE => "MP3::Tag", }, }, ogg => { DEFAULT_ENCODER => "oggenc", DEFAULT_DECODER => "oggdec", ENCODER => { oggenc => { NAME => "oggenc", ESTR => sub { $opts = "--resample $freq -q $oggqual" if $defopts == 1; $opts = '' if $defopts == 0; "$eopts $opts %i -o %o" }, PROMPT => { FREQ => 1, OGGQUAL => 1, }, }, ffmpeg => { NAME => "ffmpeg", ESTR => sub { $opts = "-ab $bitrate.k -ar $freq -ac $channels" if $defopts == 1; $opts = '' if $defopts == 0; "$eopts -y -i %i $opts %o" }, PROMPT => { BITRATE => 1, FREQ => 1, CHANNELS => 1, }, }, sox => { NAME => "sox", ESTR => sub { $opts = "-r $freq -c $channels" if $defopts == 1; $opts = '' if $defopts == 0; "%i $eopts $opts %o" }, PROMPT => { FREQ => 1, CHANNELS => 1, }, }, }, DECODER => { oggdec => { NAME => "oggdec", DSTR => sub { "$dopts %i --output %o" }, }, ffmpeg => { NAME => "ffmpeg", DSTR => sub { "$dopts -y -i %i %o" }, }, mplayer => { NAME => "mplayer", DSTR => sub { "-vc dummy -vo null -nortc -ao pcm:file=%o %i" }, }, sox => { NAME => "sox", DSTR => sub { "%i $dopts %o" }, }, }, TAGS => { READ => 1, WRITE => 1, MODULE => "Ogg::Vorbis::Header", }, }, spx => { DEFAULT_ENCODER => "speexenc", DEFAULT_DECODER => "speexdec", ENCODER => { speexenc => { NAME => "speexenc", ESTR => sub { $opts = "--quality $spxqual" if $defopts == 1; $opts = '' if $defopts == 0; "$eopts $opts %i %o" }, PROMPT => { SPXQUAL => 1 }, }, }, DECODER => { speexdec => { NAME => "speexdec", DSTR => sub { "$dopts %i %o" }, }, }, TAGS => { READ => 1, WRITE => 1, MODULE => undef, }, }, flac => { DEFAULT_ENCODER => "flac", DEFAULT_DECODER => "flac", ENCODER => { flac => { NAME => "flac", ESTR => sub { $opts = "-$fcomp" if $defopts == 1; $opts = '' if $defopts == 0; "$eopts -f $opts %i -o %o" }, PROMPT => { FCOMP => 1 }, }, flake => { NAME => "flake", ESTR => sub { $opts = "-$fcomp" if $defopts == 1; $opts = '' if $defopts == 0; "$eopts $opts %i -o %o" }, PROMPT => { FCOMP => 1 }, }, ffmpeg => { NAME => "ffmpeg", ESTR => sub { $opts = "-ab $bitrate.k -ar $freq -ac $channels" if $defopts == 1; $opts = '' if $defopts == 0; "$eopts -y -i %i $opts %o" }, PROMPT => { BITRATE => 1, FREQ => 1, CHANNELS => 1, }, }, }, DECODER => { flac => { NAME => "flac", DSTR => sub { "$dopts -f -d %i -o %o" }, }, ffmpeg => { NAME => "ffmpeg", DSTR => sub { "$dopts -y -i %i %o" }, }, mplayer => { NAME => "mplayer", DSTR => sub { "-vc dummy -vo null -nortc -ao pcm:file=%o %i" }, }, }, TAGS => { READ => 1, WRITE => 1, MODULE => "Audio::FLAC::Header", }, }, fla => { DEFAULT_ENCODER => "flac", DEFAULT_DECODER => "flac", ENCODER => { flac => { NAME => "flac", ESTR => sub { $opts = "-$fcomp" if $defopts == 1; $opts = '' if $defopts == 0; "$eopts -f $opts %i -o %o" }, PROMPT => { FCOMP => 1 }, }, }, DECODER => { flac => { NAME => "flac", DSTR => sub { "$dopts -f -d %i -o %o" }, }, mplayer => { NAME => "mplayer", DSTR => sub { "-vc dummy -vo null -nortc -ao pcm:file=%o %i" }, }, }, TAGS => { READ => 1, WRITE => 1, MODULE => "Audio::FLAC::Header", }, }, ape => { DEFAULT_ENCODER => "mac", DEFAULT_DECODER => "mac", ENCODER => { mac => { NAME => "mac", ESTR => sub { $opts = "-c$acomp" if $defopts == 1; $opts = '' if $defopts == 0; "%i %o $opts $eopts" }, PROMPT => { ACOMP => 1 }, }, }, DECODER => { mac => { NAME => "mac", DSTR => sub { "%i %o -d $dopts" }, }, }, TAGS => { READ => 0, WRITE => 0, MODULE => undef, }, }, bonk => { DEFAULT_ENCODER => "bonk", DEFAULT_DECODER => "bonk", ENCODER => { bonk => { NAME => "bonk", ESTR => sub { $opts = "-q $bquanl -b $bratio -s $bpsize" if $defopts == 1; $opts = '' if $defopts == 0; "encode $eopts $opts %i -o %o" }, PROMPT => { BQUANL => 1, BRATIO => 1, BPSIZE => 1, }, }, }, DECODER => { bonk => { NAME => "bonk", DSTR => sub { "decode %i -o %o" }, }, }, TAGS => { READ => 0, WRITE => 0, MODULE => undef, }, }, shn => { DEFAULT_ENCODER => "shorten", DEFAULT_DECODER => "shorten", ENCODER => { shorten => { NAME => "shorten", ESTR => sub { $opts = "-c $channels" if $defopts == 1; $opts = '' if $defopts == 0; "$eopts $opts %i %o" }, PROMPT => { CHANNELS => 1 }, }, }, DECODER => { shorten => { NAME => "shorten", DSTR => sub { "-x %i %o" }, }, }, TAGS => { READ => 0, WRITE => 0, MODULE => undef, }, }, aac => { DEFAULT_ENCODER => "faac", DEFAULT_DECODER => "faad", ENCODER => { faac => { NAME => "faac", ESTR => sub { $opts = "-q $aacqual" if $defopts == 1; $opts = '' if $defopts == 0; "$eopts $opts %i -o %o" }, PROMPT => { AACQUAL => 1 }, }, ffmpeg => { NAME => "ffmpeg", ESTR => sub { $opts = "-ab $bitrate.k -ar $freq -ac $channels" if $defopts == 1; $opts = '' if $defopts == 0; "$eopts -y -i %i $opts %o" }, PROMPT => { BITRATE => 1, FREQ => 1, CHANNELS => 1, }, }, }, DECODER => { faad => { NAME => "faad", DSTR => sub { "$dopts -o %i %o" }, }, ffmpeg => { NAME => "ffmpeg", DSTR => sub { "$dopts -y -i %i %o" }, }, mplayer => { NAME => "mplayer", DSTR => sub { "-vc dummy -vo null -nortc -ao pcm:file=%o %i" }, }, }, TAGS => { READ => 0, WRITE => 0, MODULE => undef, }, }, mp4 => { DEFAULT_ENCODER => "faac", DEFAULT_DECODER => "faad", ENCODER => { faac => { NAME => "faac", ESTR => sub { $opts = "-q $aacqual" if $defopts == 1; $opts = '' if $defopts == 0; "$eopts -w $opts %i -o %o" }, PROMPT => { AACQUAL => 1 }, }, ffmpeg => { NAME => "ffmpeg", ESTR => sub { $opts = "-ab $bitrate.k -ar $freq -ac $channels" if $defopts == 1; $opts = '' if $defopts == 0; "$eopts -y -i %i $opts %o" }, PROMPT => { BITRATE => 1, FREQ => 1, CHANNELS => 1, }, }, }, DECODER => { faad => { NAME => "faad", DSTR => sub { "$dopts -o %o %i" }, }, ffmpeg => { NAME => "ffmpeg", DSTR => sub { "$dopts -y -i %i %o" }, }, mplayer => { NAME => "mplayer", DSTR => sub { "-vc dummy -vo null -nortc -ao pcm:file=%o %i" }, }, }, TAGS => { READ => 1, WRITE => 1, MODULE => "MP4::Info", }, }, m4a => { DEFAULT_ENCODER => "faac", DEFAULT_DECODER => "faad", ENCODER => { faac => { NAME => "faac", ESTR => sub { $opts = "-q $aacqual" if $defopts == 1; $opts = '' if $defopts == 0; "$eopts -w $opts %i -o %o" }, PROMPT => { AACQUAL => 1 }, }, ffmpeg => { NAME => "ffmpeg", ESTR => sub { $opts = "-ab $bitrate.k -ar $freq -ac $channels" if $defopts == 1; $opts = '' if $defopts == 0; "$eopts -y -i %i $opts %o" }, PROMPT => { BITRATE => 1, FREQ => 1, CHANNELS => 1, }, }, }, DECODER => { faad => { NAME => "faad", DSTR => sub { "$dopts -o %o %i" }, }, ffmpeg => { NAME => "ffmpeg", DSTR => sub { "$dopts -y -i %i %o" }, }, mplayer => { NAME => "mplayer", DSTR => sub { "-vc dummy -vo null -nortc -ao pcm:file=%o %i" }, }, }, ESTR => sub { "$eopts -w -q $aacqual %i -o %o" }, TAGS => { READ => 1, WRITE => 1, MODULE => "MP4::Info", }, }, m4b => { DEFAULT_ENCODER => "faac", DEFAULT_DECODER => "faad", ENCODER => { faac => { NAME => "faac", ESTR => sub { $opts = "-q $aacqual" if $defopts == 1; $opts = '' if $defopts == 0; "$eopts -w $opts %i -o %o" }, PROMPT => { AACQUAL => 1 }, }, }, DECODER => { faad => { NAME => "faad", DSTR => sub { "$dopts -o %o %i" }, }, mplayer => { NAME => "mplayer", DSTR => sub { "-vc dummy -vo null -nortc -ao pcm:file=%o %i" }, }, }, ESTR => sub { "$eopts -w -q $aacqual %i -o %o" }, TAGS => { READ => 0, WRITE => 1, MODULE => undef, }, }, mpc => { DEFAULT_ENCODER => "mppenc", DEFAULT_DECODER => "mppdec", ENCODER => { mppenc => { NAME => "mppenc", ESTR => sub { $opts = "--$mpcqual" if $defopts == 1; $opts = '' if $defopts == 0; "$eopts --overwrite $opts %i %o" }, PROMPT => { MPCQUAL => 1 }, }, }, DECODER => { mppdec => { NAME => "mppdec", DSTR => sub { "$dopts %i %o" }, }, mplayer => { NAME => "mplayer", DSTR => sub { "-vc dummy -vo null -nortc -ao pcm:file=%o %i" }, }, }, TAGS => { READ => 1, WRITE => 1, MODULE => "Audio::Musepack", }, PROMPT => { MPCQUAL => 1, }, }, mpp => { DEFAULT_ENCODER => "mppenc", DEFAULT_DECODER => "mppdec", ENCODER => { mppenc => { NAME => "mppenc", ESTR => sub { $opts = "--$mpcqual" if $defopts == 1; $opts = '' if $defopts == 0; "$eopts --overwrite $opts %i %o" }, PROMPT => { MPCQUAL => 1 }, }, }, DECODER => { mppdec => { NAME => "mppdec", DSTR => sub { "$dopts %i %o" }, }, mplayer => { NAME => "mplayer", DSTR => sub { "-vc dummy -vo null -nortc -ao pcm:file=%o %i" }, }, }, TAGS => { READ => 1, WRITE => 1, MODULE => "Audio::Musepack", }, }, ofr => { DEFAULT_ENCODER => "ofr", DEFAULT_DECODER => "ofr", ENCODER => { ofr => { NAME => "ofr", ESTR => sub { $opts = "--mode $ofmode --optimize $ofopt" if $defopts == 1; $opts = '' if $defopts == 0; "$eopts --overwrite $opts %i --output %o" }, PROMPT => { OFMODE => 1, OFOPT => 1, }, }, }, DECODER => { ofr => { NAME => "ofr", DSTR => sub { "$dopts --overwrite --decode %i --output %o" }, }, }, TAGS => { READ => 0, WRITE => 0, MODULE => undef, }, }, ofs => { DEFAULT_ENCODER => "ofs", DEFAULT_DECODER => "ofs", ENCODER => { ofs => { NAME => "ofs", ESTR => sub { $opts = "--mode $ofmode --optimize $ofopt" if $defopts == 1; $opts = '' if $defopts == 0; "$eopts --overwrite $opts %i --output %o" }, PROMPT => { OFMODE => 1, OFOPT => 1, }, }, }, DECODER => { ofs => { NAME => "ofs", DSTR => sub { "$dopts --overwrite --decode %i --output %o" }, }, }, TAGS => { READ => 0, WRITE => 0, MODULE => undef, }, }, pac => { DEFAULT_ENCODER => "lpac", DEFAULT_DECODER => "lpac", ENCODER => { lpac => { NAME => "lpac", ESTR => sub { $opts = "-$pcomp" if $defopts == 1; $opts = '' if $defopts == 0; "$eopts -v $opts %i %o" }, PROMPT => { PCOMP => 1 }, }, }, DECODER => { lpac => { NAME => "lpac", DSTR => sub { "$dopts -x %i - > %o" }, }, }, TAGS => { READ => 0, WRITE => 0, MODULE => undef, }, }, lpac => { DEFAULT_ENCODER => "lpac", DEFAULT_DECODER => "lpac", ENCODER => { lpac => { NAME => "lpac", ESTR => sub { $opts = "-$pcomp" if $defopts == 1; $opts = '' if $defopts == 0; "$eopts -v $opts %i %o" }, PROMPT => { PCOMP => 1 }, }, }, DECODER => { lpac => { NAME => "lpac", DSTR => sub { "$dopts -x %i - > %o" }, }, }, TAGS => { READ => 0, WRITE => 0, MODULE => undef, }, }, tta => { DEFAULT_ENCODER => "ttaenc", DEFAULT_DECODER => "ttaenc", ENCODER => { ttaenc => { NAME => "ttaenc", ESTR => sub { "$eopts -e %i -o %o" }, }, }, DECODER => { ttaenc => { NAME => "ttaenc", DSTR => sub { "$dopts -d %i -o %o" }, }, ffmpeg => { NAME => "ffmpeg", DSTR => sub { "$dopts -y -i %i %o" }, }, mplayer => { NAME => "mplayer", DSTR => sub { "-vc dummy -vo null -nortc -ao pcm:file=%o %i" }, }, }, TAGS => { READ => 0, WRITE => 0, MODULE => undef, }, }, la => { DEFAULT_ENCODER => "la", DEFAULT_DECODER => "la", ENCODER => { la => { NAME => "la", ESTR => sub { "-overwrite $eopts %i %o" }, }, }, DECODER => { la => { NAME => "la", ESTR => sub { "-console $dopts %i > %o" }, }, }, TAGS => { READ => 0, WRITE => 0, MODULE => undef, }, }, wv => { DEFAULT_ENCODER => "wavpack", DEFAULT_DECODER => "wvunpack", ENCODER => { wavpack => { NAME => "wavpack", ESTR => sub { "$eopts -y %i -o %o" }, }, }, DECODER => { wvunpack => { NAME => "wvunpack", DSTR => sub { "$dopts -y %i -o %o" }, }, ffmpeg => { NAME => "ffmpeg", DSTR => sub { "$dopts -y -i %i %o" }, }, mplayer => { NAME => "mplayer", DSTR => sub { "-vc dummy -vo null -nortc -ao pcm:file=%o %i" }, }, }, TAGS => { READ => 1, WRITE => 1, MODULE => "Audio::APETags", }, }, wav => { DEFAULT_ENCODER => "mv", DEFAULT_DECODER => "cp", ENCODER => { mv => { NAME => "mv", ESTR => sub { "%i %o" }, }, }, DECODER => { cp => { NAME => "cp", DSTR => sub { "%i %o" }, } }, TAGS => { READ => 0, WRITE => 0, MODULE => undef, }, }, ); # supported ffmpeg formats my @ffmpeg_codecs = ( "ra", "wma", "mp2", "mmf" ); foreach (@ffmpeg_codecs) { $run{$_}{DEFAULT_ENCODER} = "ffmpeg"; $run{$_}{DEFAULT_DECODER} = "ffmpeg"; $run{$_}{ENCODER}{ffmpeg}{NAME} = "ffmpeg"; $run{$_}{DECODER}{ffmpeg}{NAME} = "ffmpeg"; $run{$_}{ENCODER}{ffmpeg}{ESTR} = sub { "$eopts -y -i %i -ab $bitrate.k -ar $freq -ac $channels %o" }; $run{$_}{DECODER}{ffmpeg}{DSTR} = sub { "$dopts -y -i %i %o" }; $run{$_}{TAGS}{READ} = 0; $run{$_}{TAGS}{WRITE} = 0; $run{$_}{TAGS}{MODULE} = undef; $run{$_}{ENCODER}{ffmpeg}{PROMPT}{BITRATE} = 1; $run{$_}{ENCODER}{ffmpeg}{PROMPT}{FREQ} = 1; $run{$_}{ENCODER}{ffmpeg}{PROMPT}{CHANNELS} = 1; } # support reading of WMA tags using the Audio::WMA module $run{wma}{TAGS}{READ} = 1; $run{wma}{TAGS}{MODULE} = "Audio::WMA"; # supported video to audio types my @movie_codecs = ( "rv", "asf", "avi", "divx", "mkv", "mpg", "mpeg", "mov", "ogm", "qt", "vcd", "vob", "wmv", "flv", "svcd", "m4v", "nsv", "nuv", "psp", "smk", ); foreach (@movie_codecs) { $run{$_}{DEFAULT_ENCODER} = undef; $run{$_}{DEFAULT_DECODER} = "mplayer"; $run{$_}{DECODER}{mplayer}{NAME} = "mplayer"; $run{$_}{DECODER}{ffmpeg}{NAME} = "ffmpeg"; $run{$_}{DECODER}{mplayer}{DSTR} = sub { "-vc dummy -vo null -nortc -ao pcm:file=%o %i" }; $run{$_}{DECODER}{ffmpeg}{DSTR} = sub { "$dopts -i %i %o"; }; $run{$_}{TAGS}{READ} = 0; $run{$_}{TAGS}{WRITE} = 0; $run{$_}{TAGS}{MODULE} = undef; } # supported sndfile-convert formats my @sndfile = ( "pvf", "caf", "sf", "paf", "fap", "sd2", "mat4", "mat5", "mat", "ircam", "w64", "nist", ); foreach (@sndfile) { $run{$_}{DEFAULT_ENCODER} = "sndfile-convert"; $run{$_}{DEFAULT_DECODER} = "sndfile-convert"; $run{$_}{ENCODER}{"sndfile-convert"}{NAME} = "sndfile-convert"; $run{$_}{DECODER}{"sndfile-convert"}{NAME} = "sndfile-convert"; $run{$_}{ENCODER}{"sndfile-convert"}{ESTR} = sub { "$eopts %i %o" }; $run{$_}{DECODER}{"sndfile-convert"}{DSTR} = sub { "$dopts %i %o" }; $run{$_}{TAGS}{READ} = 0; $run{$_}{TAGS}{WRITE} = 0; $run{$_}{TAGS}{MODULE} = undef; } # supported sox formats my @sox_codecs = ( "aiff", "aif", "au", "snd", "voc", "smp", "avr", "cdr" ); foreach (@sox_codecs) { $run{$_}{DEFAULT_ENCODER} = "sox"; $run{$_}{DEFAULT_DECODER} = "sox"; $run{$_}{ENCODER}{sox}{NAME} = "sox"; $run{$_}{DECODER}{sox}{NAME} = "sox"; $run{$_}{ENCODER}{sox}{ESTR} = sub { "%i -r $freq -c $channels $eopts %o $effect" }; $run{$_}{DECODER}{sox}{DSTR} = sub { "%i $dopts %o" }; $run{$_}{TAGS}{READ} = 0; $run{$_}{TAGS}{WRITE} = 0; $run{$_}{TAGS}{MODULE} = undef; $run{$_}{ENCODER}{sox}{PROMPT}{FREQ} = 1; $run{$_}{ENCODER}{sox}{PROMPT}{CHANNELS} = 1; } # load codecs.conf file load_codecs() if -e $codecs_conf; my $out_name = $outfile; my $out_dir = $outdir; my $total_converted = 0; my $total_failed = 0; my $first_message = 1; # process all files and directories sub proc_input { $to =~ tr/A-Z/a-z/; perror("bad_input","") unless(exists($run{$to})); # process all files first if (@file) { foreach my $i (sort(@file)) { my ($file, $dir, $ext) = fileparse("$i", qr/\.[^.]*/); $ext =~ s/^\.//; $dir = rel2abs($dir); $outdir = $dir if not defined($out_dir) and not $preserve; $outdir = $out_dir if $preserve; my $if = $ext; $if =~ tr/A-Z/a-z/; $only =~ tr/A-Z/a-z/ if $only; next if $only and $if ne $only; $encoder = $my_encoder if defined($my_encoder); $decoder = $my_decoder if defined($my_decoder); $encoder = $run{$to}{DEFAULT_ENCODER} if not $my_encoder; $decoder = $run{$if}{DEFAULT_DECODER} if not $my_decoder; if (check_input($file,$dir,$if) == 0) { pnotice("unk_encoder","$file.$ext",1), next unless(exists($run{$to}{ENCODER}{$encoder})); pnotice("unk_decoder","$file.$ext",1), next unless(exists($run{$if}{DECODER}{$decoder})); get_visual_opts($to,$outdir) if $gui and not defined($first_run) and `which kdialog 2>/dev/null`; $first_run = 1; perror("multi_out","") if (defined($out_name) and $#file gt 0 or defined($out_name) and @dir); perror("no_outdir","") if (not -e $outdir and not -d $outdir); $outfile = "$file" if not $out_name; if ($keep and $if eq $to) { system("cp -v \"$dir/$file.$ext\" \"$outdir/$outfile.$ext\"") if $outdir ne $dir and not -e "$outdir/$outfile.$ext"; next if $outdir eq $dir; } else { convert("$dir/$file","$outdir/$outfile","$ext","$file","$outfile"); } } } } # now the directories (this includes --recursive and --preserve) if (@dir) { my @tmp_dir = @dir; undef(@dir); $topdir = $tmp_dir[0]; if (not $recursive) { undef(@file); foreach my $d (@tmp_dir) { opendir(DIR, "$d") or perror("opening_dir","$d: $!"); my @dir_files = readdir(DIR); closedir(DIR); perror("empty_dir","$d") if $#dir_files <= 1; foreach my $f (@dir_files) { if (not -d $f and not -d "$d/$f") { push(@file, "$d/$f"); undef($out_name); } } } proc_input(); return 0; } elsif ($recursive) { if (not $preserve) { undef(@file); foreach my $r (@tmp_dir) { $r = rel2abs($r); find ( sub { my $rfile = $File::Find::name; push(@file, $rfile) if not -d $rfile; }, $r ); } proc_input(); return 0; } elsif ($preserve) { $topdir = rel2abs($topdir); find ({wanted => \&preserve_struct, no_chdir => 1, follow => 0}, $topdir); return 0; } } } print "\n$lang{total_converted} $total_converted, $lang{failed} $total_failed\n"; } my $out_copy = $out_dir if defined($out_dir); # preserve directory structure (--recursive --preserve) sub preserve_struct { undef($out_dir) if defined ($out_dir); perror("need_outdir","") if not defined($out_copy); perror("no_outdir","$out_copy") if not -d $out_copy; $out_copy = rel2abs($out_copy); my $find_dir = $File::Find::name; my ($presdir, $odir); if (-d $find_dir and $find_dir ne $topdir) { my $out = $find_dir; $out =~ s/$topdir\///g; $presdir = "$topdir/$out"; $odir = "$out_copy/$out"; $out_dir = "$odir"; if (-d $find_dir and not -d $odir) { mkdir("$odir", 0755); } opendir(IN, "$presdir") or perror("opening_dir","$presdir: $!"); undef(@file); foreach my $i (readdir(IN)) { if (not -d $i and not -d "$presdir/$i") { mkdir("$odir", 0755) if not -d $odir; pnotice("creating_dir","$odir",2) if not -d $odir; push(@file, "$presdir/$i"); } } undef($presdir); undef($odir); closedir(IN); proc_input(); } elsif (-d $find_dir and $find_dir eq $topdir) { $presdir = $topdir; $odir = $out_copy; $out_dir = $odir; undef(@file); opendir(IN, "$presdir") or perror("opening_dir","$presdir: $!"); foreach my $i (readdir(IN)) { if (not -d $i and not -d "$presdir/$i") { push(@file, "$presdir/$i"); } } closedir(IN); proc_input(); } } # convert input to destination format sub convert { my ($inf, $outf, $infmt, $iname, $oname) = @_; my $if = $infmt; $if =~ tr/A-Z/a-z/; clear_tag_hash() if not $rip; if (-e "$outf.$to" and not $overwrite) { pnotice("overwrite","$outf.$to",2); $total_failed++; return 0; } # catch ^C. will have to be pressed repeatedly to exit the process. $SIG{INT} = sub { unlink("$outf.$$.wav"); kill 9, $$; }; # check to see if encoder/decoder exists. if not, see if we have one # that supports the desired input/output formats. check_encoder(); check_decoder($infmt); my $decode_string = $run{$if}{DECODER}{$decoder}{DSTR}->(); $decode_string =~ s/%i/\"$inf.$infmt\"/; $decode_string =~ s/%o/\"$outf.$$.wav\"/; $decode_string =~ s/(\$|\\)/\\$1/g; my $nl = 0; $nl = 2 if $verbose; pnotice("converting"," [$iname.$infmt] -> [$to] ", $nl); pnotice("debug","$run{$if}{DECODER}{$decoder}{NAME} $decode_string", 2) if $dryrun; # decode input file to temporary wav system("$run{$if}{DECODER}{$decoder}{NAME} $decode_string $silent") if not $dryrun; # remove temporary wav file and die if decode fails if ($? > 0) { unlink("$outf.$$.wav") if -e "$outf.$$.wav"; pnotice("decode_failed","$?",2); $total_failed++; return 0; } # normalize wav file before encoding to output format perror("no_app","normalize") if $normalize and not `which normalize 2>/dev/null`; system("normalize $nopts \"$outf.$$.wav\"") if $normalize; # copy meta-data from input file to %tag_name read_tags("$inf.$infmt", "$if") if $run{$if}{TAGS}{READ} == 1 and not $dryrun; my $encode_string = $run{$to}{ENCODER}{$encoder}{ESTR}->(); $encode_string =~ s/%i/\"$outf.$$.wav\"/; $encode_string =~ s/%o/\"$outf.$to\"/; $encode_string =~ s/(\$|\\)/\\$1/g; my $tag_opts = format_tags($to); # tag options for mp4/m4a/m4b/mpc/mpp/bonk/spx/wv # read tag options from command line if present get_user_tags(); pnotice("debug","$run{$to}{ENCODER}{$encoder}{NAME} $tag_opts $encode_string", 2) if $dryrun; # encode temporary WAV to desired output format. system("$run{$to}{ENCODER}{$encoder}{NAME} $tag_opts $encode_string $silent") if not $dryrun; # remove partially encoded output file and temporary wav if encoding fails if ($? > 0) { unlink("$outf.$to") if -e "$outf.$to"; unlink("$outf.$$.wav") if -e "$outf.$$.wav"; pnotice("encode_failed","$?",2); $total_failed++; return 0; } # write meta-data to output file from %tag_name hash write_tags("$outf.$to", "$to") if $run{$to}{TAGS}{WRITE} == 1 and $tag_opts eq '' and not $dryrun; unlink("$outf.$$.wav") if not $dryrun; unlink("$inf.$infmt") if $delete and not $dryrun; pnotice("removed_tmp","$outf.$$.wav","2") if $verbose; pnotice("removed_src","$inf.$infmt", "2") if $delete and $verbose; if (-e "$outf.$to") { pnotice("conv_comp","",1); $total_converted++; } } # if the default encoder does not exist, cycle through the supported # encoders until we find one that does. sub check_encoder { if (not `which $encoder 2>/dev/null`) { my $first_encoder = $encoder; foreach (keys %{$run{$to}{ENCODER}}) { $encoder = $_ and return if `which $_ 2>/dev/null`; } perror("no_encode_app","$to") if $encoder eq $first_encoder; } else { return 0; } } # if the default decoder does not exist, cycle through the supported # decoders until we find one that does. sub check_decoder { my $from = shift; if (not `which $decoder 2>/dev/null`) { my $first_decoder = $decoder; foreach (keys %{$run{$from}{DECODER}}) { $decoder = $_ and return if `which $_ 2>/dev/null`; } perror("no_decode_app","$from") if $decoder eq $first_decoder; } else { return 0; } } # make sure encoding/decoding is supported. sub check_input { my ($f, $d, $s) = @_; perror("no_encoder","$to") unless(defined($run{$to}{ENCODER})); unless(defined($run{$s}{DECODER})) { pnotice("no_decoder","$d/$f.$s",2) if $verbose or not $only; return 1; } return 0; } ############################################################ # kdialog options for Konqueror, Dolphin, & Amarok plugins # ############################################################ my $kdialog = "kdialog --title \"$name - $version\""; sub get_visual_opts { my ($to_fmt,$od) = @_; # escape illegal characters in output directory name $od =~ s/('|\(|\)|"|\\)/\\$1/g; $outdir = `kdialog --getexistingdirectory $od` if $config{KDE_DIR} == 1; chomp($outdir); $out_dir = $outdir; exit(1) if not $outdir; if ($config{KDE_OPTS} == 1) { foreach (keys %{$run{$to_fmt}{ENCODER}{$encoder}{PROMPT}}) { prompt_user($_); } } } sub prompt_user { my $opt = shift; switch ($opt) { case 'BITRATE' { $bitrate = `$kdialog --default $bitrate --combobox \"$lang{kde_bitrate}\" 56 112 128 160 192 256 320`; chomp($bitrate); exit(1) if not $bitrate; } case 'FREQ' { $freq = `$kdialog --default $freq --combobox \"$lang{kde_freq}\" 32000 44100 48000`; chomp($freq); exit(1) if not $freq; } case 'CHANNELS' { $channels = `$kdialog --default $channels --combobox \"$lang{kde_chans}\" 1 2`; chomp($channels); exit(1) if not $channels; } case 'FCOMP' { $fcomp = `$kdialog --default $fcomp --combobox \"$lang{kde_fcomp}\" 0 1 2 3 4 5 6 7 8`; chomp($fcomp); exit(1) if not $fcomp; } case 'PCOMP' { $pcomp = `$kdialog --default $pcomp --combobox \"$lang{kde_pcomp}\" 1 2 3 4 5`; chomp($pcomp); exit(1) if not $pcomp; } case 'ACOMP' { $acomp = `$kdialog --default $acomp --combobox \"$lang{kde_acomp}\" 1000 2000 3000 4000 5000`; chomp($acomp); exit(1) if not $acomp; } case 'OGGQUAL' { $oggqual = `$kdialog --default $oggqual --combobox \"$lang{kde_oggqual}\" 0 1 2 3 4 5 6 7 8 9 10`; chomp($oggqual); exit(1) if not $oggqual; } case 'SPXQUAL' { $spxqual = `$kdialog --default $spxqual --combobox \"$lang{kde_spxqual}\" 0 1 2 3 4 5 6 7 8 9 10`; chomp($spxqual); exit(1) if not $spxqual; } case 'AACQUAL' { $aacqual = `$kdialog --default $aacqual --combobox \"$lang{kde_aacqual}\" 50 75 100 125 150`; chomp($aacqual); exit(1) if not $aacqual; } case 'MPCQUAL' { $mpcqual = `$kdialog --default $mpcqual --combobox \"$lang{kde_mpcqual}\" thumb radio standard xtreme insane braindead`; chomp($mpcqual); exit(1) if not $mpcqual; } case 'OFMODE' { $ofmode = `$kdialog --default $ofmode --combobox \"$lang{kde_ofmode}\" fast normal high extra best highnew extranew bestnew`; chomp($ofmode); exit(1) if not $ofmode; } case 'OFOPT' { $ofopt = `$kdialog --default $ofopt --combobox \"$lang{kde_ofopt}\" none fast normal high best`; chomp($ofopt); exit(1) if not $ofopt; } case 'BRATIO' { $bratio = `$kdialog --default $bratio --combobox \"$lang{kde_bratio}\" 1 2 3 4 5`; chomp($bratio); exit(1) if not $bratio; } case 'BQUANL' { $bquanl = `$kdialog --default $bquanl --combobox \"$lang{kde_bquanl}\" 1.00 1.25 1.50 1.75 2.00`; chomp($bquanl); exit(1) if not $bquanl; } case 'BPSIZE' { $bpsize = `$kdialog --default $bpsize --combobox \"$lang{kde_bpsize}\" 10 128`; chomp($bpsize); exit(1) if not $bpsize; } else { return 0; } } } # all copied tags will be stored here for furture use my %tag_name = ( title => undef, track => undef, artist => undef, album => undef, comment => undef, year => undef, genre => undef, ); # override tags read from input file if any of the tagging # options are specified by the user during conversion. sub get_user_tags { $tag_name{title} = $title if $title; $tag_name{track} = $track if $track; $tag_name{artist} = $artist if $artist; $tag_name{album} = $album if $album; $tag_name{comment} = $comment if $comment; $tag_name{year} = $year if $year; $tag_name{genre} = $genre if $genre; } # the formats MP4/M4A/M4B/MPC/MPP/WV/BONK have no tag writing module. # tags therefore have to be written during encode via various # command line args. sub format_tags { my $type = shift; switch ($type) { case /mp4|m4a|m4b/ { if ($run{$to}{ENCODER}{$encoder}{NAME} eq "ffmpeg") { $tag_name{track} = 0 if not $tag_name{track}; $tag_name{year} = 0 if not $tag_name{year}; return "-title \"$tag_name{title}\" -track \"$tag_name{track}\" -author \"$tag_name{artist}\" -album \"$tag_name{album}\" -comment \"$tag_name{comment}\" -year \"$tag_name{year}\" -genre \"$tag_name{genre}\""; } else { return "--title \"$tag_name{title}\" --track \"$tag_name{track}\" --artist \"$tag_name{artist}\" --album \"$tag_name{album}\" --comment \"$tag_name{comment}\" --year \"$tag_name{year}\" --genre \"$tag_name{genre}\""; } } case /mpc|mpp/ { return "--tag \"Title=$tag_name{title}\" --tag \"Track=$tag_name{track}\" --tag \"Artist=$tag_name{artist}\" --tag \"Album=$tag_name{album}\" --tag \"Comment=$tag_name{comment}\" --tag \"Year=$tag_name{year}\" --tag \"Genre=$tag_name{genre}\""; } case 'wv' { return "-w \"Title=$tag_name{title}\" -w \"Track=$tag_name{track}\" -w \"Artist=$tag_name{artist}\" -w \"Album=$tag_name{album}\" -w \"Comment=$tag_name{comment}\" -w \"Year=$tag_name{year}\" -w \"Genre=$tag_name{genre}\""; } case 'bonk' { return "-t \"$tag_name{title}\" -a \"$tag_name{artist}\" -c \"$tag_name{comment}\""; } case 'spx' { return "--author \"$tag_name{artist}\" --title \"$tag_name{title}\" --comment \"date=$tag_name{year}\" --comment \"track=$tag_name{track}\" --comment \"album=$tag_name{album}\" --comment \"genre=$tag_name{genre}\" --comment \"comment=$tag_name{comment}\""; } else { return ''; } } } # meta-data is read based on input file extension. # all tags which are present will be copied to # the %tag_name hash. sub read_tags { my ($in_file, $in_format) = @_; my $tag_module = $run{$in_format}{TAGS}{MODULE}; switch ($in_format) { case 'mp3' { my $mp3tag = $tag_module->new($in_file); my @tags = $mp3tag->autoinfo(); $tag_name{title} = "$tags[0]" if $tags[0]; $tag_name{track} = "$tags[1]" if $tags[1]; $tag_name{artist} = "$tags[2]" if $tags[2]; $tag_name{album} = "$tags[3]" if $tags[3]; $tag_name{comment} = "$tags[4]" if $tags[4]; $tag_name{year} = "$tags[5]" if $tags[5]; $tag_name{genre} = "$tags[6]" if $tags[6]; return 0; } case 'ogg' { my $ogg_tag = $tag_module->new($in_file); my ($tit, $tra, $art, $alb, $com, $yea, $gen); foreach my $i ($ogg_tag->comment_tags) { if ($i =~ /^title/i) { $tit = \$ogg_tag->comment($i); } if ($i =~ /^track/i) { $tra = \$ogg_tag->comment($i); } if ($i =~ /^artist/i) { $art = \$ogg_tag->comment($i); } if ($i =~ /^album/i) { $alb = \$ogg_tag->comment($i); } if ($i =~ /^comment/i) { $com = \$ogg_tag->comment($i); } if ($i =~ /^date/i) { $yea = \$ogg_tag->comment($i); } if ($i =~ /^genre/i) { $gen = \$ogg_tag->comment($i); } $tag_name{title} = ${$tit} if defined(${$tit}); $tag_name{track} = ${$tra} if defined(${$tra}); $tag_name{artist} = ${$art} if defined(${$art}); $tag_name{album} = ${$alb} if defined(${$alb}); $tag_name{comment} = ${$com} if defined(${$com}); $tag_name{year} = ${$yea} if defined(${$yea}); $tag_name{genre} = ${$gen} if defined(${$gen}); } return 0; } case 'spx' { my $pid = open(SPX, "speexdec \"$in_file\" tmp1-$$.wav 2>&1 |") or perror("opening_file","$in_file"); my @data = ; @data = grep(!/^$|^#/, @data); close(SPX); foreach (@data) { next unless /=/; chomp; my ($k, $v) = split /=/; $k =~ tr/A-Z/a-z/; $tag_name{$k} = $v if exists($tag_name{$k}); $tag_name{artist} = $v if $k =~ /^author/i; } unlink("tmp-$$.wav"); return 0; } case /flac|fla/ { my $flac_tag = $tag_module->new($in_file)->tags(); $tag_name{title} = $flac_tag->{TITLE} if $flac_tag->{TITLE}; $tag_name{track} = $flac_tag->{TRACKNUMBER} if $flac_tag->{TRACKNUMBER}; $tag_name{artist} = $flac_tag->{ARTIST} if $flac_tag->{ARTIST}; $tag_name{album} = $flac_tag->{ALBUM} if $flac_tag->{ALBUM}; $tag_name{comment} = $flac_tag->{DESCRIPTION} if $flac_tag->{DESCRIPTION}; $tag_name{year} = $flac_tag->{DATE} if $flac_tag->{DATE}; $tag_name{genre} = $flac_tag->{GENRE} if $flac_tag->{GENRE}; return 0; } case /mp4|m4a|m4b/ { print "INFILE: $in_file\n"; my $mp4_tag = $tag_module->new($in_file); $tag_name{title} = $mp4_tag->{TITLE} if $mp4_tag->{TITLE}; $tag_name{track} = $mp4_tag->{TRACKNUM} if $mp4_tag->{TRACKNUM}; $tag_name{artist} = $mp4_tag->{ARTIST} if $mp4_tag->{ARTIST}; $tag_name{album} = $mp4_tag->{ALBUM} if $mp4_tag->{ALBUM}; $tag_name{comment} = $mp4_tag->{COMMENT} if $mp4_tag->{COMMENT}; $tag_name{year} = $mp4_tag->{YEAR} if $mp4_tag->{YEAR}; $tag_name{genre} = $mp4_tag->{GENRE} if $mp4_tag->{GENRE}; return 0; } case /mpc|mpp/ { my $mpc_tag = $tag_module->new($in_file)->tags(); $tag_name{title} = $mpc_tag->{TITLE} if $mpc_tag->{TITLE}; $tag_name{track} = $mpc_tag->{TRACK} if $mpc_tag->{TRACK}; $tag_name{artist} = $mpc_tag->{ARTIST} if $mpc_tag->{ARTIST}; $tag_name{album} = $mpc_tag->{ALBUM} if $mpc_tag->{ALBUM}; $tag_name{comment} = $mpc_tag->{COMMENT} if $mpc_tag->{COMMENT}; $tag_name{year} = $mpc_tag->{YEAR} if $mpc_tag->{YEAR}; $tag_name{genre} = $mpc_tag->{GENRE} if $mpc_tag->{GENRE}; return 0; } case 'wv' { my $wv_tag = $tag_module->getTags($in_file)->{'tags'}; $tag_name{title} = $wv_tag->{TITLE} if $wv_tag->{TITLE}; $tag_name{track} = $wv_tag->{TRACK} if $wv_tag->{TRACK}; $tag_name{artist} = $wv_tag->{ARTIST} if $wv_tag->{ARTIST}; $tag_name{album} = $wv_tag->{ALBUM} if $wv_tag->{ALBUM}; $tag_name{comment} = $wv_tag->{COMMENT} if $wv_tag->{COMMENT}; $tag_name{year} = $wv_tag->{YEAR} if $wv_tag->{YEAR}; $tag_name{genre} = $wv_tag->{GENRE} if $wv_tag->{GENRE}; return 0; } case 'wma' { my $wma_tag = Audio::WMA->new($in_file)->tags(); $tag_name{title} = $wma_tag->{TITLE} if $wma_tag->{TITLE}; $tag_name{track} = $wma_tag->{TRACKNUMBER} if $wma_tag->{TRACKNUMBER}; $tag_name{artist} = $wma_tag->{AUTHOR} if $wma_tag->{AUTHOR}; $tag_name{album} = $wma_tag->{ALBUMTITLE} if $wma_tag->{ALBUMTITLE}; $tag_name{comment} = $wma_tag->{DESCRIPTION} if $wma_tag->{DESCRIPTION}; $tag_name{year} = $wma_tag->{YEAR} if $wma_tag->{YEAR}; $tag_name{genre} = $wma_tag->{GENRE} if $wma_tag->{GENRE}; return 0; } else { return 1; } } } # write meta-data stored in %tag_name to output file. sub write_tags { my ($out_file, $out_format) = @_; my $tag_m; switch ($out_format) { case 'mp3' { $tag_m = MP3::Tag->new("$out_file"); # ID3v2 Tags unless(exists($tag_m->{ID3v2})) { $tag_m->new_tag("ID3v2"); } $tag_m->{ID3v2}->add_frame("TIT2", "$tag_name{title}") if defined($tag_name{title}); $tag_m->{ID3v2}->add_frame("TRCK", "$tag_name{track}") if defined($tag_name{track}); $tag_m->{ID3v2}->add_frame("TPE1", "$tag_name{artist}") if defined($tag_name{artist}); $tag_m->{ID3v2}->add_frame("TALB", "$tag_name{album}") if defined($tag_name{album}); $tag_m->{ID3v2}->comment("$tag_name{comment}") if defined($tag_name{comment}); $tag_m->{ID3v2}->add_frame("TYER", "$tag_name{year}") if defined($tag_name{year}); $tag_m->{ID3v2}->add_frame("TCON", "$tag_name{genre}") if defined($tag_name{genre}); $tag_m->{ID3v2}->write_tag; # ID3v1 Tags unless(exists($tag_m->{ID3v1})) { $tag_m->new_tag("ID3v1"); } $tag_m->{ID3v1}->title("$tag_name{title}") if defined($tag_name{title}); $tag_m->{ID3v1}->track("$tag_name{track}") if defined($tag_name{track}); $tag_m->{ID3v1}->artist("$tag_name{artist}") if defined($tag_name{artist}); $tag_m->{ID3v1}->album("$tag_name{album}") if defined($tag_name{album}); $tag_m->{ID3v1}->comment("$tag_name{comment}") if defined($tag_name{comment}); $tag_m->{ID3v1}->year("$tag_name{year}") if defined($tag_name{year}); $tag_m->{ID3v1}->genre("$tag_name{genre}") if defined($tag_name{genre}); $tag_m->{ID3v1}->write_tag; return 0; } case 'ogg' { $tag_m = Ogg::Vorbis::Header->new("$out_file"); # this prevents duplicate tags =) $tag_m->clear_comments(); # write new tags $tag_m->add_comments("TITLE", "$tag_name{title}") if $tag_name{title}; $tag_m->add_comments("TRACKNUMBER", "$tag_name{track}") if $tag_name{track}; $tag_m->add_comments("ARTIST", "$tag_name{artist}") if $tag_name{artist}; $tag_m->add_comments("ALBUM", "$tag_name{album}") if $tag_name{album}; $tag_m->add_comments("COMMENT", "$tag_name{comment}") if $tag_name{comment}; $tag_m->add_comments("DATE", "$tag_name{year}") if $tag_name{year}; $tag_m->add_comments("GENRE", "$tag_name{genre}") if $tag_name{genre}; $tag_m->write_vorbis; return 0; } case /fla|flac/ { $tag_m = Audio::FLAC::Header->new("$out_file"); my $tag_i = $tag_m->tags(); $tag_i->{TITLE} = "$tag_name{title}" if $tag_name{title}; $tag_i->{TRACKNUMBER} = "$tag_name{track}" if $tag_name{track}; $tag_i->{ARTIST} = "$tag_name{artist}" if $tag_name{artist}; $tag_i->{ALBUM} = "$tag_name{album}" if $tag_name{album}; $tag_i->{DESCRIPTION} = "$tag_name{comment}" if $tag_name{comment}; $tag_i->{DATE} = "$tag_name{year}" if $tag_name{year}; $tag_i->{GENRE} = "$tag_name{genre}" if $tag_name{genre}; $tag_m->write(); return 0; } else { perror("no_write_tag","$out_file"); } } } # this is necessary when converting multiple files. # it prevents old tags from the previous file being # copied over to the next file in line. sub clear_tag_hash { foreach (keys(%tag_name)) { $tag_name{$_} = ''; } } # display meta-data for selected file(s) sub show_taginfo { perror("no_input","") if $#file < 0; foreach my $i (@file) { my ($file, $dir, $ext) = fileparse("$i", qr/\.[^.]*/); $ext =~ s/^\.//; my $from = $ext; $from =~ tr/A-Z/a-z/; if ($run{$from}{TAGS}{READ} == 1) { clear_tag_hash(); read_tags("$dir/$file.$ext","$from"); print "\n"; pnotice("tag_info","$file.$ext",2); print " Artist: $tag_name{artist}\n"; print " Title: $tag_name{title}\n"; print " Album: $tag_name{album}\n"; print " Track: $tag_name{track}\n"; print "Comment: $tag_name{comment}\n"; print " Year: $tag_name{year}\n"; print " Genre: $tag_name{genre}\n"; print "\n"; } else { pnotice("no_read_tag","$file.$ext",2); } } } # write tags to file supplied by the user sub write_user_tags { perror("no_input","") if $#file < 0; print "\n$name - $version\n\n"; foreach (@file) { my ($file, $dir, $ext) = fileparse("$_", qr/\.[^.]*/); $ext =~ s/^\.//; my $from = $ext; $from =~ tr/A-Z/a-z/; if ($run{$from}{TAGS}{WRITE} == 1) { clear_tag_hash(); read_tags("$dir/$file.$ext","$from"); $tag_name{title} = $title if $title; $tag_name{track} = $track if $track; $tag_name{artist} = $artist if $artist; $tag_name{album} = $album if $album; $tag_name{comment} = $comment if $comment; $tag_name{year} = $year if $year; $tag_name{genre} = $genre if $genre; write_tags("$dir/$file.$ext","$from"); print "$lang{write_tag_i} $file.$ext\n"; } else { perror("no_write_tag","$file.$ext"); } } print "\n"; } # print out list of supported encode & decode formats sub show_formats { print "\n$name - $version\n\n"; print "EXT E D ENCODER DECODER TAG-READ TAG-WRITE\n"; print "----------------------------------------------------------------------\n"; my $enc_count = 0; my $dec_count = 0; foreach (sort(keys(%run))) { my $e = "N"; $e = "Y" if defined($run{$_}{DEFAULT_ENCODER}); my $d = "N"; $d = "Y" if defined($run{$_}{DEFAULT_DECODER}); my $r = "N"; $r = "Y" if $run{$_}{TAGS}{READ} == 1; my $w = "N"; $w = "Y" if $run{$_}{TAGS}{WRITE} == 1; my $enc = ''; $enc = $run{$_}{DEFAULT_ENCODER} if defined($run{$_}{DEFAULT_ENCODER}); my $dec = ''; $dec = $run{$_}{DEFAULT_DECODER} if defined($run{$_}{DEFAULT_DECODER}); printf("%-9s %-3s %-3s %-15s %-18s %-10s %s\n", $_, $e, $d, $enc, $dec, $r, $w); ++$enc_count if $enc ne ''; ++$dec_count if $dec ne ''; } print "\n$lang{enc_fmts} $enc_count --- $lang{dec_fmts} $dec_count\n\n"; } # show encoders for output format sub show_encoders { print "\n$name - $version\n\n$lang{show_encoders}: $my_encoder\n\n"; foreach (sort(keys %{$run{$my_encoder}{ENCODER}})) { print "$_"; print " (default)" if $_ eq $run{$my_encoder}{DEFAULT_ENCODER}; print "\n"; } print "\n"; } # show decoders for input format sub show_decoders { print "\n$name - $version\n\n$lang{show_decoders}: $my_decoder\n\n"; foreach (sort(keys %{$run{$my_decoder}{DECODER}})) { print "$_"; print " (default)" if $_ eq $run{$my_decoder}{DEFAULT_DECODER}; print "\n"; } print "\n"; } ################# # cd ripping... # ################# # get total number of tracks from cdparanoia query sub get_total_tracks { open(CDINFO, "cdparanoia -Q 2>&1 |") or die "can't fork: $!\n"; my @cdquery = ; close(CDINFO); my $fmt_tracks = $cdquery[-3]; $fmt_tracks =~ s/\s//g; my @ttracks = split(/\./, $fmt_tracks); return "$ttracks[0]"; } my (%cd, %ripconfig, @cdtrack, $track_total); # setup the cddb config sub get_cddb_config { $config{USE_CDDB} = 0 && return if $nocddb; $config{CDDB_INPUT} = 0 if $noinput; $ripconfig{CDDB_HOST} = $config{CDDB_HOST}; $ripconfig{CDDB_PORT} = $config{CDDB_PORT}; $ripconfig{CDDB_MODE} = $config{CDDB_MODE}; $ripconfig{DEVICE} = $device; $ripconfig{CDDB_INPUT} = $config{CDDB_INPUT}; %cd = get_cddb(\%ripconfig); if (not $cd{title}) { pnotice("no_cddb","",2); $config{USE_CDDB} = 0; } else { @cdtrack = @{$cd{track}}; $track_total = $cd{tno}; } } # check to see if a disc is present sub query_disc { system("cdparanoia -q -d $device -Q 1>/dev/null 2>/dev/null"); perror("no_disc","$device") if $? > 0; } # set tag info from cddb sub tag_track { my $tno = shift; $tag_name{artist} = $cd{artist} if $cd{artist}; $tag_name{title} = $cdtrack[$tno-1] if $cdtrack[$tno-1]; $tag_name{genre} = $cd{cat} if $cd{cat}; $tag_name{track} = $tno; $tag_name{album} = $cd{title} if $cd{title}; $tag_name{year} = $cd{year} if $cd{year}; $tag_name{comment} = ''; } # process and convert ripped track sub rip_cd { my ($on, $tno) = @_; $out_dir = "$ENV{HOME}"; $to =~ tr/A-Z/a-z/; get_visual_opts($to,$out_dir) if $gui and not defined($first_run) and `which kdialog 2>/dev/null`; $first_run = 1; pnotice("ripping_track","$tno",2); $on =~ s/\//_/g; print "cdparanoia -d $device $tno $on.wav\n\n" if $dryrun; system("cdparanoia -d $device $tno \"$on.wav\"") if not $dryrun; if ($to !~ /wav/i) { push(@file, "$on.wav"); tag_track($tno); proc_input(); clear_tag_hash(); undef(@file); unlink("$on.wav") if not $dryrun; pnotice("removed_tmp","$on.wav",2) if $verbose; } } # rip selected tracks or all from disc sub proc_cd { perror("no_app","cdparanoia") if not `which cdparanoia 2>/dev/null`; query_disc(); get_cddb_config(); my $total_tracks = get_total_tracks(); if ($rip eq "all") { if ($config{USE_CDDB} ne 1) { for(my $i=1;$i<=$total_tracks;$i++) { rip_cd($i, $i); } } elsif ($config{USE_CDDB} eq 1) { my $n = 1; foreach my $i (@cdtrack) { my $out_string = $nscheme; chomp($cdtrack[$n-1]); $out_string =~ s/%ar/$cd{artist}/; $out_string =~ s/%ti/$cdtrack[$n-1]/; $out_string =~ s/%tr/$n/; $out_string =~ s/%ab/$cd{title}/; $out_string =~ s/%yr/$cd{year}/; rip_cd($out_string, $n); ++$n; } } } else { my @tracks = split(/,/, $rip); foreach my $i (@tracks) { next if $i > $total_tracks or $i < 1; my $out_string = $nscheme; $out_string =~ s/%ar/$cd{artist}/; $out_string =~ s/%ti/$cdtrack[$i-1]/; $out_string =~ s/%tr/$i/; $out_string =~ s/%ab/$cd{title}/; $out_string =~ s/%yr/$cd{year}/; rip_cd($out_string, $i) if $config{USE_CDDB} == 1; rip_cd($i, $i) if $config{USE_CDDB} == 0; } } } # get/print cddb information from disc sub cdinfo { query_disc(); get_cddb_config(); print "$name - $version\n\n"; print "Artist = $cd{artist}\n"; print "Album = $cd{title}\n"; print "Genre = $cd{genre}\n"; print "Tracks = $cd{tno}\n"; print "Year = $cd{year}\n\n"; my $n = 1; foreach (@cdtrack) { print "Track $n: $_"; print "\n"; ++$n; } exit(0); } # version / license information sub version { print " $name - $version Copyright (C) 2005-2009 Philip Lyons This is free software. You may redistribute copies of it under the terms of the GNU General Public License . There is NO WARRANTY, to the extent permitted by law. "; } # help & longhelp menu sub help_menu { print "\n$name - $version\n"; print " -t, --to $lang{to} -r, --recursive $lang{recursive} -p, --preserve $lang{preserve} -f, --formats $lang{formats} -o, --only $lang{only} -k, --keep $lang{keep} -h, --help $lang{help} -l, --longhelp $lang{longhelp} -v, --verbose $lang{verbose} "; print "$lang{user_opts} --defopts $lang{defopts} --eopts $lang{eopts} --dopts $lang{dopts} --nopts $lang{nopts} --outfile $lang{outfile} --outdir $lang{outdir} --dryrun $lang{dryrun} --overwrite $lang{overwrited} --normalize $lang{normalize} --delete $lang{delete} --encoder $lang{encoder} --decoder $lang{decoder} --version $lang{version} $lang{enc_opts} --bitrate $lang{bitrate} --freq $lang{freq} --channels $lang{channels} --effect $lang{effect} --fcomp $lang{fcomp} --pcomp $lang{pcomp} --acomp $lang{acomp} --oggqual $lang{oggqual} --spxqual $lang{spxqual} --aacqual $lang{aacqual} --mpcqual $lang{mpcqual} --ofmode $lang{ofmode} --ofopt $lang{ofopt} --bratio $lang{bratio} --bquanl $lang{bquanl} --bpsize $lang{bpsize} $lang{tag_opts} --artist $lang{artist} --title $lang{title} --track $lang{track} --year $lang{year} --album $lang{album} --genre $lang{genre} --comment $lang{comment} --taginfo $lang{taginfo} $lang{tag_usage} $lang{rip_opts} --rip $lang{rip} --nocddb $lang{nocddb} --noinput $lang{noinput} --nscheme $lang{nscheme} --cdinfo $lang{cdinfo} --device $lang{device} $lang{rip_usage} " if $longhelp; print "$lang{usage}\n\n"; } sub load_module { my ($file) = @_; my $return; unless($return = do $file) { perror("opening_file","$file: $@ $!") if $@ or !defined($return) or not !$return; } } sub import_module { my ($format_ref) = @_; my $format_name=$format_ref->{NAME}; $run{$format_name} = $format_ref; } # load all user modules sub load_user_modules { my @imported_mods; opendir(DIR, "$mod_dir") or perror("opening_dir","$mod_dir: $!"); foreach (readdir(DIR)) { load_module("$mod_dir/$_") if $_ !~ /^\./; push(@imported_mods, $_) if $_ !~ /^\./; } closedir(DIR); print "$lang{imported} @imported_mods\n"; } # place files/directories in their respective arrays if (@ARGV) { foreach my $in (@ARGV) { if (-f $in) { push(@file,$in); } elsif (-d $in) { push(@dir, $in); } else { perror("no_infile","$in"); } } } load_user_modules() if $config{IMPORTM} == 1; if ($to and @ARGV and not $rip) { proc_input(); } elsif ($to and $rip) { proc_cd(); } elsif ($my_encoder and not $to) { show_encoders(); } elsif ($my_decoder and not $to) { show_decoders(); } elsif ($verinfo) { version(); } elsif ($longhelp) { help_menu(); } elsif ($formats) { show_formats(); } elsif ($cdinfo) { cdinfo(); } elsif ($taginfo and not $to) { show_taginfo(); } elsif ($title or $track or $artist or $album or $comment or $year or $genre) { write_user_tags(); } else { help_menu(); } __END__ =head1 NAME pacpl - Perl Audio Converter, a multi purpose converter/ripper/tagger =head1 SYNOPSIS pacpl --to [file(s)/directory(s)] =head1 DESCRIPTION Perl Audio Converter is a tool for converting multiple audio types from one format to another. It supports AAC, AC3, AIFF, APE, AU, AVR, BONK, CAF, CDR, FAP, FLA, FLAC, IRCAM, LA, LPAC, MAT, MAT4, MAT5, M4A, MMF, MP2, MP3, MP4, MPC, MPP, NIST, OFR, OFS, OGG, PAC, PAF, PVF, RA, RAM, RAW, SD2, SF, SHN, SMP, SND, SPX, TTA, VOC, W64, WAV, WMA, and WV. It can also convert audio from the following video extensions: RM, RV, ASF, DivX, MPG, MKV, MPEG, AVI, MOV, OGM, QT, VCD, SVCD, M4V, NSV, NUV, PSP, SMK, VOB, FLV, and WMV. A CD ripping function with CDDB support, batch conversion, tag preservation for most supported formats, independent tag reading/writing, and extensions for Amarok, Dolphin, and Konqueror are also provided. =head1 OPTIONS B<-t, --to> I set encode format for the input file(s) or directory(s). you can see a complete list of supported encode formats by using the B<--formats> option. B<-r, --recursive> recursively scan and convert input folder(s) to desination format. B<-p, --preserve> when recursively converting a directory, preserve the input folders directory structure in the specified output directory. such as: pacpl --to ogg -r -p /home/mp3s --outdir /home/oggs in the example above, let's assume the directory structure was: =over 21 =item /home/mp3s/Alternative =item /home/mp3s/Alternative/New =item /home/mp3s/Rap =item /home/mp3s/Country =item /home/mp3s/Techno/ =back the output directory will now contain: =over 4 =item /home/oggs/Alternative =item /home/oggs/Alternative/New =item /home/oggs/Rap =item /home/oggs/Country =item /home/oggs/Techno =back with all files in each sub-folder converted to ogg. B<-o, --only> I only convert files matching extenstion. this option is useful when you have a directory or batch of files with mixed audio types and only need to convert one specific type. B<-k, --keep> do not re-encode files with extensions matching the destination extension. instead...copy them to the output folder, or skip to the next file. =over 4 =item B<-f, --formats> show a list of supported encode/decode formats. =item B<-h, --help> show the short help menu. =item B<-l, --longhelp> display the complete list of options. =item B<--version> show version and licensing information. =back =head1 USER OPTIONS B<--defopts> I<1/0> to turn off default encoder options use --defopts 0. this option gives you more control when using the --eopts command. defopts is set to 1 by default. you can also toggle this option in /etc/pacpl/pacpl.conf. B<--eopts> I this option allows you to use encoder options not implemented by pacpl. an example would be: pacpl --to mp4 --eopts="-c 44100 -I 1,2" YourFile.mp3 B<--dopts> I this option allows you to use decoder options not implemented by pacpl. an example would be: pacpl --to mpc --dopts="--start 60" YourFile.ogg B<--outfile> I set the output file name to I. B<--outdir> I place all encoded files in I. B<--dryrun> show what would be done without actually converting anything. this is a good way to trouble shoot, or to see what would be done without actually touching your files. B<--overwrite> replace the output file if it already exists. B<--normalize> adjusts volume levels of audio files. B<--nopts> I this allows you to specify normalize options not implemented by pacpl B<--delete> remove source/input file after the conversion process has finished. B<--encoder> I specify an alternate encoder for the selected output file(s) you can see a list of supported encoders by using the following: pacpl --encoder I B<--decoder> I specify an alternate decoder for the selected input file(s) you can see a list of supported decoders by using the following: pacpl --decoder I B<-v, --verbose> show detailed information about the encoding process and what's actually being done. =head1 ENCODER OPTIONS B<--bitrate> I set the bitrate to I. default is 128. this option does not apply to all formats. B<--freq> I set the frequency to I. default is 44100. this option does not apply to all formats. B<--channels> I set the number of audio channels in the output file to I. this option does not apply to all formats. B<--effect> I see B(1). this option only applies to the following: AIFF, AU, SND, RAW, VOC, SMP, AVR, and CDR B<--fcomp> I set flac compression level to I. fastest -0, highest -8, default -2 B<--pcomp> I set lpac/pac compression level to I. =over 4 =item 1 = fast =item 2 = simple =item 3 = medium (default) =item 4 = high =item 5 = extra high, =back B<--acomp> I set ape compression level to I. =over 4 =item 1000 = fast =item 2000 = normal =item 3000 = high (default) =item 4000 = extra high =item 5000 = insane =back B<--oggqual> I set ogg quality level to I. -1, very low and 10 very high, default 3 B<--spxqual> I set speex quality level to I. 0-10, default 8 B<--aacqual> I set aac, mp4, m4a, or m4b quality level to I. default 300 B<--mpcqual> I set mpc/mpp quality level to I. =over 4 =item thumb low quality/internet, (typ. 58... 86 kbps) =item radio medium (MP3) quality, (typ. 112...152 kbps - default) =item standard high quality (dflt), (typ. 142...184 kbps) =item xtreme extreme high quality, (typ. 168...212 kbps) =back B<--ofmode> I set ofr/ofs compression mode to I. normal, extra, and extranew modes are recommended for general use. available options are: =over 4 =item fast =item normal (default) =item high =item extra =item best =item highnew =item extranew =item bestnew =back B<--ofopt> I set ofr/ofs optimization level to I. specify the optimization level in the engine. In order to achieve optimal compression at all sample types, sample rates, and audio content, the core compression engine has the possibility to find the optimal values for its parameters, at the cost of slightly increased compression time only. The default recommended value is fast. do not use normal (or even high or best) for this parameter unless encoding time does not matter and you want to obtain the smallest possible file for a given compression mode. The difference between the optimize levels fast and best (which is up to three times slower than fast) is very small, generally under 0.05%, but may be also larger in some rare cases. Note that the none optimize level is forced by the encoder to fast optimize level for the extra, best, highnew, extranew, and bestnew modes. available options are: =over 4 =item none =item fast (default) =item normal =item high =item best =back B<--bratio> I set bonk down sampling ratio. default 2 B<--bquanl> I set bonk quantanization level. default 1.0 B<--bpsize> I set bonk predictor size. default 128 =head1 TAGGING OPTIONS B tagging outside of the encoding process can only be performed on the following audio types: =over 4 =item MP3 =item OGG =item FLA =item FLAC =back B<--artist> I set artist information to I. B<--title> I set title information to I. B<--track> I set track information to I. B<--year> I set year/date information to I. B<--album> I set album information to I. B<--genre> I set genre information to I. B<--comment> I set comment information to I. B<--taginfo> I show tagging information for I. multiple files can be specified at once. =head1 RIPPING OPTIONS B<--rip> I rip selected tracks separated by comma or all from current disc. =over 4 =item pacpl --rip all --to flac =item pacpl --rip 1,3,9,15 --to flac =back B<--nocddb> disable cddb. use this option if you do not want tagging based on cddb. B<--noinput> disable cddb interactivity. this is enabled by default. B<--nscheme> I set naming scheme to I. default is %ar - %ti available options are: =over 4 =item %ar = artist =item %ti = song title =item %tr = track =item %yr = year =item %ab = album =back B --nscheme="(%tr)-%ti" B<--device> I set device to I. default is /dev/cdrom B<--cdinfo> show cddb information for current disc. =head1 SEE ALSO =over 4 =item B(1) B(1) B(1) B(1) B(1) =item B(1) B(1) B(1) B(1) B(1) =item B(1) B(1) B(1) B(1) =item B(1) B(1) B(1) =back =head1 BUGS Report all bugs to Philip Lyons (viiron@gmail.com). =head1 LICENSING This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see . =head1 AUTHOR Copyright (C) 2005-2009 Philip Lyons (viiron@gmail.com) pacpl-4.0.5/README0000644000000000000000000000501211024605265012174 0ustar rootrootPerl Audio Converter is a tool for converting multiple audio types from one format to another. It supports AAC, AC3, AIFF, APE, AU, AVR, BONK, CAF, CDR, FAP, FLA, FLAC, IRCAM, LA, LPAC, M4A, MAT, MAT4, MAT5, MMF, MP2, MP3, MP4, MPC, MPP, NIST, OFR, OFS, OGG, PAC, PAF, PVF, RA, RAM, RAW, SD2, SF, SHN, SMP, SND, SPX, TTA, VOC, W64, WAV, WMA, and WV. It can also convert audio from the following video extensions: RM, RV, ASF, DivX, MPG, MKV, MPEG, AVI, MOV, OGM, QT, VCD, SVCD, M4V, NSV, NUV, PSP, SMK, VOB, FLV, and WMV. A CD ripping function with CDDB support, batch conversion, tag preservation for most supported formats, independent tag reading/writing, and extensions for Amarok, Dolphin, and Konqueror are also provided. below is a list of supported applications, and the minimum version requirement. app version address ======================================================================== lame 3.96.1 http://lame.sourceforge.net toolame 0.2l http://toolame.sourceforge.net gogo 3.13 http://homepage1.nifty.com/herumi/gogo_e.html bladeenc 0.82 http://www.bladeenc.cjb.net (unknown) flac 1.2.1 http://flac.sourceforge.net mac 3.99 http://supermmx.org/linux/mac shorten 3.5.1 http://www.etree.org/linux.html#reqsoft faac 1.24+ http://www.audiocoding.com faad 2.0 http://www.audiocoding.com cdparanoia 9.8 http://www.xiph.org/paranoia oggenc 1.0.1 http://www.vorbis.com oggdec 1.0 http://www.vorbis.com mplayer 1.0pre7 http://www.mplayerhq.hu speexenc 1.2beta2 http://www.speex.org speexdec 1.2beta2 http://www.speex.org sndfile-convert 1.0.17 http://www.mega-nerd.com/libsndfile/ mppenc 1.15 http://www.musepack.com mppdec 1.95z2 http://www.musepack.com wavpack 4.3.2 http://www.wavpack.com ofr/ofs 4.510 http://www.LosslessAudio.org ttaenc 3.2 http://www.true-audio.com lpac 1.40 http://www.nue.tu-berlin.de/wer/liebchen/lpac.html ffmpeg 0.4.9 http://ffmpeg.sourceforge.net la 0.3d http://www.lossless-audio.com bonk 0.6 http://www.logarithmic.net/pfh/bonk sox 12.17.8 http://sox.sourceforge.net/ For help and more information, see the manual page for pacpl. pacpl-4.0.5/configure0000755000000000000000000037124311160576444013246 0ustar rootroot#! /bin/sh # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.63 for pacpl 4.0.5. # # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. # This configure script is free software; the Free Software Foundation # gives unlimited permission to copy, distribute and modify it. ## --------------------- ## ## M4sh Initialization. ## ## --------------------- ## # Be more Bourne compatible DUALCASE=1; export DUALCASE # for MKS sh if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then emulate sh NULLCMD=: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' setopt NO_GLOB_SUBST else case `(set -o) 2>/dev/null` in *posix*) set -o posix ;; esac fi # PATH needs CR # Avoid depending upon Character Ranges. as_cr_letters='abcdefghijklmnopqrstuvwxyz' as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' as_cr_Letters=$as_cr_letters$as_cr_LETTERS as_cr_digits='0123456789' as_cr_alnum=$as_cr_Letters$as_cr_digits as_nl=' ' export as_nl # Printing a long string crashes Solaris 7 /usr/bin/printf. as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then as_echo='printf %s\n' as_echo_n='printf %s' else if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' as_echo_n='/usr/ucb/echo -n' else as_echo_body='eval expr "X$1" : "X\\(.*\\)"' as_echo_n_body='eval arg=$1; case $arg in *"$as_nl"*) expr "X$arg" : "X\\(.*\\)$as_nl"; arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; esac; expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" ' export as_echo_n_body as_echo_n='sh -c $as_echo_n_body as_echo' fi export as_echo_body as_echo='sh -c $as_echo_body as_echo' fi # The user is always right. if test "${PATH_SEPARATOR+set}" != set; then PATH_SEPARATOR=: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || PATH_SEPARATOR=';' } fi # Support unset when possible. if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then as_unset=unset else as_unset=false fi # IFS # We need space, tab and new line, in precisely that order. Quoting is # there to prevent editors from complaining about space-tab. # (If _AS_PATH_WALK were called with IFS unset, it would disable word # splitting by setting IFS to empty value.) IFS=" "" $as_nl" # Find who we are. Look in the path if we contain no directory separator. case $0 in *[\\/]* ) as_myself=$0 ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break done IFS=$as_save_IFS ;; esac # We did not find ourselves, most probably we were run as `sh COMMAND' # in which case we are not to be found in the path. if test "x$as_myself" = x; then as_myself=$0 fi if test ! -f "$as_myself"; then $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 { (exit 1); exit 1; } fi # Work around bugs in pre-3.0 UWIN ksh. for as_var in ENV MAIL MAILPATH do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var done PS1='$ ' PS2='> ' PS4='+ ' # NLS nuisances. LC_ALL=C export LC_ALL LANGUAGE=C export LANGUAGE # Required to use basename. if expr a : '\(a\)' >/dev/null 2>&1 && test "X`expr 00001 : '.*\(...\)'`" = X001; then as_expr=expr else as_expr=false fi if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then as_basename=basename else as_basename=false fi # Name of the executable. as_me=`$as_basename -- "$0" || $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)' \| . 2>/dev/null || $as_echo X/"$0" | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/ q } /^X\/\(\/\/\)$/{ s//\1/ q } /^X\/\(\/\).*/{ s//\1/ q } s/.*/./; q'` # CDPATH. $as_unset CDPATH if test "x$CONFIG_SHELL" = x; then if (eval ":") 2>/dev/null; then as_have_required=yes else as_have_required=no fi if test $as_have_required = yes && (eval ": (as_func_return () { (exit \$1) } as_func_success () { as_func_return 0 } as_func_failure () { as_func_return 1 } as_func_ret_success () { return 0 } as_func_ret_failure () { return 1 } exitcode=0 if as_func_success; then : else exitcode=1 echo as_func_success failed. fi if as_func_failure; then exitcode=1 echo as_func_failure succeeded. fi if as_func_ret_success; then : else exitcode=1 echo as_func_ret_success failed. fi if as_func_ret_failure; then exitcode=1 echo as_func_ret_failure succeeded. fi if ( set x; as_func_ret_success y && test x = \"\$1\" ); then : else exitcode=1 echo positional parameters were not saved. fi test \$exitcode = 0) || { (exit 1); exit 1; } ( as_lineno_1=\$LINENO as_lineno_2=\$LINENO test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } ") 2> /dev/null; then : else as_candidate_shells= as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. case $as_dir in /*) for as_base in sh bash ksh sh5; do as_candidate_shells="$as_candidate_shells $as_dir/$as_base" done;; esac done IFS=$as_save_IFS for as_shell in $as_candidate_shells $SHELL; do # Try only shells that exist, to save several forks. if { test -f "$as_shell" || test -f "$as_shell.exe"; } && { ("$as_shell") 2> /dev/null <<\_ASEOF if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then emulate sh NULLCMD=: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' setopt NO_GLOB_SUBST else case `(set -o) 2>/dev/null` in *posix*) set -o posix ;; esac fi : _ASEOF }; then CONFIG_SHELL=$as_shell as_have_required=yes if { "$as_shell" 2> /dev/null <<\_ASEOF if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then emulate sh NULLCMD=: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' setopt NO_GLOB_SUBST else case `(set -o) 2>/dev/null` in *posix*) set -o posix ;; esac fi : (as_func_return () { (exit $1) } as_func_success () { as_func_return 0 } as_func_failure () { as_func_return 1 } as_func_ret_success () { return 0 } as_func_ret_failure () { return 1 } exitcode=0 if as_func_success; then : else exitcode=1 echo as_func_success failed. fi if as_func_failure; then exitcode=1 echo as_func_failure succeeded. fi if as_func_ret_success; then : else exitcode=1 echo as_func_ret_success failed. fi if as_func_ret_failure; then exitcode=1 echo as_func_ret_failure succeeded. fi if ( set x; as_func_ret_success y && test x = "$1" ); then : else exitcode=1 echo positional parameters were not saved. fi test $exitcode = 0) || { (exit 1); exit 1; } ( as_lineno_1=$LINENO as_lineno_2=$LINENO test "x$as_lineno_1" != "x$as_lineno_2" && test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } _ASEOF }; then break fi fi done if test "x$CONFIG_SHELL" != x; then for as_var in BASH_ENV ENV do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var done export CONFIG_SHELL exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} fi if test $as_have_required = no; then echo This script requires a shell more modern than all the echo shells that I found on your system. Please install a echo modern shell, or manually run the script under such a echo shell if you do have one. { (exit 1); exit 1; } fi fi fi (eval "as_func_return () { (exit \$1) } as_func_success () { as_func_return 0 } as_func_failure () { as_func_return 1 } as_func_ret_success () { return 0 } as_func_ret_failure () { return 1 } exitcode=0 if as_func_success; then : else exitcode=1 echo as_func_success failed. fi if as_func_failure; then exitcode=1 echo as_func_failure succeeded. fi if as_func_ret_success; then : else exitcode=1 echo as_func_ret_success failed. fi if as_func_ret_failure; then exitcode=1 echo as_func_ret_failure succeeded. fi if ( set x; as_func_ret_success y && test x = \"\$1\" ); then : else exitcode=1 echo positional parameters were not saved. fi test \$exitcode = 0") || { echo No shell found that supports shell functions. echo Please tell bug-autoconf@gnu.org about your system, echo including any error possibly output before this message. echo This can help us improve future autoconf versions. echo Configuration will now proceed without shell functions. } as_lineno_1=$LINENO as_lineno_2=$LINENO test "x$as_lineno_1" != "x$as_lineno_2" && test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { # Create $as_me.lineno as a copy of $as_myself, but with $LINENO # uniformly replaced by the line number. The first 'sed' inserts a # line-number line after each line using $LINENO; the second 'sed' # does the real work. The second script uses 'N' to pair each # line-number line with the line containing $LINENO, and appends # trailing '-' during substitution so that $LINENO is not a special # case at line end. # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the # scripts with optimization help from Paolo Bonzini. Blame Lee # E. McMahon (1931-1989) for sed's syntax. :-) sed -n ' p /[$]LINENO/= ' <$as_myself | sed ' s/[$]LINENO.*/&-/ t lineno b :lineno N :loop s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ t loop s/-\n.*// ' >$as_me.lineno && chmod +x "$as_me.lineno" || { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 { (exit 1); exit 1; }; } # Don't try to exec as it changes $[0], causing all sort of problems # (the dirname of $[0] is not the place where we might find the # original and so on. Autoconf is especially sensitive to this). . "./$as_me.lineno" # Exit status is that of the last command. exit } if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then as_dirname=dirname else as_dirname=false fi ECHO_C= ECHO_N= ECHO_T= case `echo -n x` in -n*) case `echo 'x\c'` in *c*) ECHO_T=' ';; # ECHO_T is single tab character. *) ECHO_C='\c';; esac;; *) ECHO_N='-n';; esac if expr a : '\(a\)' >/dev/null 2>&1 && test "X`expr 00001 : '.*\(...\)'`" = X001; then as_expr=expr else as_expr=false fi rm -f conf$$ conf$$.exe conf$$.file if test -d conf$$.dir; then rm -f conf$$.dir/conf$$.file else rm -f conf$$.dir mkdir conf$$.dir 2>/dev/null fi if (echo >conf$$.file) 2>/dev/null; then if ln -s conf$$.file conf$$ 2>/dev/null; then as_ln_s='ln -s' # ... but there are two gotchas: # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. # In both cases, we have to default to `cp -p'. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || as_ln_s='cp -p' elif ln conf$$.file conf$$ 2>/dev/null; then as_ln_s=ln else as_ln_s='cp -p' fi else as_ln_s='cp -p' fi rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file rmdir conf$$.dir 2>/dev/null if mkdir -p . 2>/dev/null; then as_mkdir_p=: else test -d ./-p && rmdir ./-p as_mkdir_p=false fi if test -x / >/dev/null 2>&1; then as_test_x='test -x' else if ls -dL / >/dev/null 2>&1; then as_ls_L_option=L else as_ls_L_option= fi as_test_x=' eval sh -c '\'' if test -d "$1"; then test -d "$1/."; else case $1 in -*)set "./$1";; esac; case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in ???[sx]*):;;*)false;;esac;fi '\'' sh ' fi as_executable_p=$as_test_x # Sed expression to map a string onto a valid CPP name. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" # Sed expression to map a string onto a valid variable name. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" exec 7<&0 &1 # Name of the host. # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, # so uname gets run too. ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` # # Initializations. # ac_default_prefix=/usr/local ac_clean_files= ac_config_libobj_dir=. LIBOBJS= cross_compiling=no subdirs= MFLAGS= MAKEFLAGS= SHELL=${CONFIG_SHELL-/bin/sh} # Identity of this package. PACKAGE_NAME='pacpl' PACKAGE_TARNAME='pacpl' PACKAGE_VERSION='4.0.5' PACKAGE_STRING='pacpl 4.0.5' PACKAGE_BUGREPORT='' ac_default_prefix=/usr ac_subst_vars='LTLIBOBJS LIBOBJS DESTDIR KDIALOG KONQ D3LP DOLP AMAROK WVUNPACK WAVPACK TTAENC LPAC OFS OFR MPPDEC MPPENC BONK LA MPLAYER FFMPEG FAAD FAAC SOX SHORTEN MAC FLAC SPEEXDEC SPEEXENC OGGDEC OGGENC BLADEENC GOGO TOOLAME LAME GZIP POD2HTML POD2MAN PERL RM INSTALL_DATA INSTALL_SCRIPT INSTALL_PROGRAM KDEDIR INSTALL_D3LP INSTALL_DOLP INSTALL_KONQ INSTALL_AMAROK target_alias host_alias build_alias LIBS ECHO_T ECHO_N ECHO_C DEFS mandir localedir libdir psdir pdfdir dvidir htmldir infodir docdir oldincludedir includedir localstatedir sharedstatedir sysconfdir datadir datarootdir libexecdir sbindir bindir program_transform_name prefix exec_prefix PACKAGE_BUGREPORT PACKAGE_STRING PACKAGE_VERSION PACKAGE_TARNAME PACKAGE_NAME PATH_SEPARATOR SHELL' ac_subst_files='' ac_user_opts=' enable_option_checking with_amarok with_dolphin with_d3lphin with_konq enable_all ' ac_precious_vars='build_alias host_alias target_alias KDEDIR DESTDIR' # Initialize some variables set by options. ac_init_help= ac_init_version=false ac_unrecognized_opts= ac_unrecognized_sep= # The variables have the same names as the options, with # dashes changed to underlines. cache_file=/dev/null exec_prefix=NONE no_create= no_recursion= prefix=NONE program_prefix=NONE program_suffix=NONE program_transform_name=s,x,x, silent= site= srcdir= verbose= x_includes=NONE x_libraries=NONE # Installation directory options. # These are left unexpanded so users can "make install exec_prefix=/foo" # and all the variables that are supposed to be based on exec_prefix # by default will actually change. # Use braces instead of parens because sh, perl, etc. also accept them. # (The list follows the same order as the GNU Coding Standards.) bindir='${exec_prefix}/bin' sbindir='${exec_prefix}/sbin' libexecdir='${exec_prefix}/libexec' datarootdir='${prefix}/share' datadir='${datarootdir}' sysconfdir='${prefix}/etc' sharedstatedir='${prefix}/com' localstatedir='${prefix}/var' includedir='${prefix}/include' oldincludedir='/usr/include' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' infodir='${datarootdir}/info' htmldir='${docdir}' dvidir='${docdir}' pdfdir='${docdir}' psdir='${docdir}' libdir='${exec_prefix}/lib' localedir='${datarootdir}/locale' mandir='${datarootdir}/man' ac_prev= ac_dashdash= for ac_option do # If the previous option needs an argument, assign it. if test -n "$ac_prev"; then eval $ac_prev=\$ac_option ac_prev= continue fi case $ac_option in *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; *) ac_optarg=yes ;; esac # Accept the important Cygnus configure options, so we can diagnose typos. case $ac_dashdash$ac_option in --) ac_dashdash=yes ;; -bindir | --bindir | --bindi | --bind | --bin | --bi) ac_prev=bindir ;; -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) bindir=$ac_optarg ;; -build | --build | --buil | --bui | --bu) ac_prev=build_alias ;; -build=* | --build=* | --buil=* | --bui=* | --bu=*) build_alias=$ac_optarg ;; -cache-file | --cache-file | --cache-fil | --cache-fi \ | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) ac_prev=cache_file ;; -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) cache_file=$ac_optarg ;; --config-cache | -C) cache_file=config.cache ;; -datadir | --datadir | --datadi | --datad) ac_prev=datadir ;; -datadir=* | --datadir=* | --datadi=* | --datad=*) datadir=$ac_optarg ;; -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ | --dataroo | --dataro | --datar) ac_prev=datarootdir ;; -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) datarootdir=$ac_optarg ;; -disable-* | --disable-*) ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 { (exit 1); exit 1; }; } ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "enable_$ac_useropt" "*) ;; *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" ac_unrecognized_sep=', ';; esac eval enable_$ac_useropt=no ;; -docdir | --docdir | --docdi | --doc | --do) ac_prev=docdir ;; -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) docdir=$ac_optarg ;; -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) ac_prev=dvidir ;; -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) dvidir=$ac_optarg ;; -enable-* | --enable-*) ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 { (exit 1); exit 1; }; } ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "enable_$ac_useropt" "*) ;; *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" ac_unrecognized_sep=', ';; esac eval enable_$ac_useropt=\$ac_optarg ;; -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ | --exec | --exe | --ex) ac_prev=exec_prefix ;; -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ | --exec=* | --exe=* | --ex=*) exec_prefix=$ac_optarg ;; -gas | --gas | --ga | --g) # Obsolete; use --with-gas. with_gas=yes ;; -help | --help | --hel | --he | -h) ac_init_help=long ;; -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) ac_init_help=recursive ;; -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) ac_init_help=short ;; -host | --host | --hos | --ho) ac_prev=host_alias ;; -host=* | --host=* | --hos=* | --ho=*) host_alias=$ac_optarg ;; -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) ac_prev=htmldir ;; -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ | --ht=*) htmldir=$ac_optarg ;; -includedir | --includedir | --includedi | --included | --include \ | --includ | --inclu | --incl | --inc) ac_prev=includedir ;; -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ | --includ=* | --inclu=* | --incl=* | --inc=*) includedir=$ac_optarg ;; -infodir | --infodir | --infodi | --infod | --info | --inf) ac_prev=infodir ;; -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) infodir=$ac_optarg ;; -libdir | --libdir | --libdi | --libd) ac_prev=libdir ;; -libdir=* | --libdir=* | --libdi=* | --libd=*) libdir=$ac_optarg ;; -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ | --libexe | --libex | --libe) ac_prev=libexecdir ;; -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ | --libexe=* | --libex=* | --libe=*) libexecdir=$ac_optarg ;; -localedir | --localedir | --localedi | --localed | --locale) ac_prev=localedir ;; -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) localedir=$ac_optarg ;; -localstatedir | --localstatedir | --localstatedi | --localstated \ | --localstate | --localstat | --localsta | --localst | --locals) ac_prev=localstatedir ;; -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) localstatedir=$ac_optarg ;; -mandir | --mandir | --mandi | --mand | --man | --ma | --m) ac_prev=mandir ;; -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) mandir=$ac_optarg ;; -nfp | --nfp | --nf) # Obsolete; use --without-fp. with_fp=no ;; -no-create | --no-create | --no-creat | --no-crea | --no-cre \ | --no-cr | --no-c | -n) no_create=yes ;; -no-recursion | --no-recursion | --no-recursio | --no-recursi \ | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) no_recursion=yes ;; -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ | --oldin | --oldi | --old | --ol | --o) ac_prev=oldincludedir ;; -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) oldincludedir=$ac_optarg ;; -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) ac_prev=prefix ;; -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) prefix=$ac_optarg ;; -program-prefix | --program-prefix | --program-prefi | --program-pref \ | --program-pre | --program-pr | --program-p) ac_prev=program_prefix ;; -program-prefix=* | --program-prefix=* | --program-prefi=* \ | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) program_prefix=$ac_optarg ;; -program-suffix | --program-suffix | --program-suffi | --program-suff \ | --program-suf | --program-su | --program-s) ac_prev=program_suffix ;; -program-suffix=* | --program-suffix=* | --program-suffi=* \ | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) program_suffix=$ac_optarg ;; -program-transform-name | --program-transform-name \ | --program-transform-nam | --program-transform-na \ | --program-transform-n | --program-transform- \ | --program-transform | --program-transfor \ | --program-transfo | --program-transf \ | --program-trans | --program-tran \ | --progr-tra | --program-tr | --program-t) ac_prev=program_transform_name ;; -program-transform-name=* | --program-transform-name=* \ | --program-transform-nam=* | --program-transform-na=* \ | --program-transform-n=* | --program-transform-=* \ | --program-transform=* | --program-transfor=* \ | --program-transfo=* | --program-transf=* \ | --program-trans=* | --program-tran=* \ | --progr-tra=* | --program-tr=* | --program-t=*) program_transform_name=$ac_optarg ;; -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) ac_prev=pdfdir ;; -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) pdfdir=$ac_optarg ;; -psdir | --psdir | --psdi | --psd | --ps) ac_prev=psdir ;; -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) psdir=$ac_optarg ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil) silent=yes ;; -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) ac_prev=sbindir ;; -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ | --sbi=* | --sb=*) sbindir=$ac_optarg ;; -sharedstatedir | --sharedstatedir | --sharedstatedi \ | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ | --sharedst | --shareds | --shared | --share | --shar \ | --sha | --sh) ac_prev=sharedstatedir ;; -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ | --sha=* | --sh=*) sharedstatedir=$ac_optarg ;; -site | --site | --sit) ac_prev=site ;; -site=* | --site=* | --sit=*) site=$ac_optarg ;; -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) ac_prev=srcdir ;; -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) srcdir=$ac_optarg ;; -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ | --syscon | --sysco | --sysc | --sys | --sy) ac_prev=sysconfdir ;; -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) sysconfdir=$ac_optarg ;; -target | --target | --targe | --targ | --tar | --ta | --t) ac_prev=target_alias ;; -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) target_alias=$ac_optarg ;; -v | -verbose | --verbose | --verbos | --verbo | --verb) verbose=yes ;; -version | --version | --versio | --versi | --vers | -V) ac_init_version=: ;; -with-* | --with-*) ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 { (exit 1); exit 1; }; } ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "with_$ac_useropt" "*) ;; *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" ac_unrecognized_sep=', ';; esac eval with_$ac_useropt=\$ac_optarg ;; -without-* | --without-*) ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 { (exit 1); exit 1; }; } ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "with_$ac_useropt" "*) ;; *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" ac_unrecognized_sep=', ';; esac eval with_$ac_useropt=no ;; --x) # Obsolete; use --with-x. with_x=yes ;; -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ | --x-incl | --x-inc | --x-in | --x-i) ac_prev=x_includes ;; -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) x_includes=$ac_optarg ;; -x-libraries | --x-libraries | --x-librarie | --x-librari \ | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) ac_prev=x_libraries ;; -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) x_libraries=$ac_optarg ;; -*) { $as_echo "$as_me: error: unrecognized option: $ac_option Try \`$0 --help' for more information." >&2 { (exit 1); exit 1; }; } ;; *=*) ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` # Reject names that are not valid shell variable names. expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2 { (exit 1); exit 1; }; } eval $ac_envvar=\$ac_optarg export $ac_envvar ;; *) # FIXME: should be removed in autoconf 3.0. $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} ;; esac done if test -n "$ac_prev"; then ac_option=--`echo $ac_prev | sed 's/_/-/g'` { $as_echo "$as_me: error: missing argument to $ac_option" >&2 { (exit 1); exit 1; }; } fi if test -n "$ac_unrecognized_opts"; then case $enable_option_checking in no) ;; fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2 { (exit 1); exit 1; }; } ;; *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; esac fi # Check all directory arguments for consistency. for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ datadir sysconfdir sharedstatedir localstatedir includedir \ oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ libdir localedir mandir do eval ac_val=\$$ac_var # Remove trailing slashes. case $ac_val in */ ) ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` eval $ac_var=\$ac_val;; esac # Be sure to have absolute directory names. case $ac_val in [\\/$]* | ?:[\\/]* ) continue;; NONE | '' ) case $ac_var in *prefix ) continue;; esac;; esac { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 { (exit 1); exit 1; }; } done # There might be people who depend on the old broken behavior: `$host' # used to hold the argument of --host etc. # FIXME: To remove some day. build=$build_alias host=$host_alias target=$target_alias # FIXME: To remove some day. if test "x$host_alias" != x; then if test "x$build_alias" = x; then cross_compiling=maybe $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. If a cross compiler is detected then cross compile mode will be used." >&2 elif test "x$build_alias" != "x$host_alias"; then cross_compiling=yes fi fi ac_tool_prefix= test -n "$host_alias" && ac_tool_prefix=$host_alias- test "$silent" = yes && exec 6>/dev/null ac_pwd=`pwd` && test -n "$ac_pwd" && ac_ls_di=`ls -di .` && ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || { $as_echo "$as_me: error: working directory cannot be determined" >&2 { (exit 1); exit 1; }; } test "X$ac_ls_di" = "X$ac_pwd_ls_di" || { $as_echo "$as_me: error: pwd does not report name of working directory" >&2 { (exit 1); exit 1; }; } # Find the source files, if location was not specified. if test -z "$srcdir"; then ac_srcdir_defaulted=yes # Try the directory containing this script, then the parent directory. ac_confdir=`$as_dirname -- "$as_myself" || $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_myself" : 'X\(//\)[^/]' \| \ X"$as_myself" : 'X\(//\)$' \| \ X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$as_myself" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` srcdir=$ac_confdir if test ! -r "$srcdir/$ac_unique_file"; then srcdir=.. fi else ac_srcdir_defaulted=no fi if test ! -r "$srcdir/$ac_unique_file"; then test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 { (exit 1); exit 1; }; } fi ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" ac_abs_confdir=`( cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2 { (exit 1); exit 1; }; } pwd)` # When building in place, set srcdir=. if test "$ac_abs_confdir" = "$ac_pwd"; then srcdir=. fi # Remove unnecessary trailing slashes from srcdir. # Double slashes in file names in object file debugging info # mess up M-x gdb in Emacs. case $srcdir in */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; esac for ac_var in $ac_precious_vars; do eval ac_env_${ac_var}_set=\${${ac_var}+set} eval ac_env_${ac_var}_value=\$${ac_var} eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} eval ac_cv_env_${ac_var}_value=\$${ac_var} done # # Report the --help message. # if test "$ac_init_help" = "long"; then # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF \`configure' configures pacpl 4.0.5 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... To assign environment variables (e.g., CC, CFLAGS...), specify them as VAR=VALUE. See below for descriptions of some of the useful variables. Defaults for the options are specified in brackets. Configuration: -h, --help display this help and exit --help=short display options specific to this package --help=recursive display the short help of all the included packages -V, --version display version information and exit -q, --quiet, --silent do not print \`checking...' messages --cache-file=FILE cache test results in FILE [disabled] -C, --config-cache alias for \`--cache-file=config.cache' -n, --no-create do not create output files --srcdir=DIR find the sources in DIR [configure dir or \`..'] Installation directories: --prefix=PREFIX install architecture-independent files in PREFIX [$ac_default_prefix] --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX [PREFIX] By default, \`make install' will install all the files in \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify an installation prefix other than \`$ac_default_prefix' using \`--prefix', for instance \`--prefix=\$HOME'. For better control, use the options below. Fine tuning of the installation directories: --bindir=DIR user executables [EPREFIX/bin] --sbindir=DIR system admin executables [EPREFIX/sbin] --libexecdir=DIR program executables [EPREFIX/libexec] --sysconfdir=DIR read-only single-machine data [PREFIX/etc] --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] --localstatedir=DIR modifiable single-machine data [PREFIX/var] --libdir=DIR object code libraries [EPREFIX/lib] --includedir=DIR C header files [PREFIX/include] --oldincludedir=DIR C header files for non-gcc [/usr/include] --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] --datadir=DIR read-only architecture-independent data [DATAROOTDIR] --infodir=DIR info documentation [DATAROOTDIR/info] --localedir=DIR locale-dependent data [DATAROOTDIR/locale] --mandir=DIR man documentation [DATAROOTDIR/man] --docdir=DIR documentation root [DATAROOTDIR/doc/pacpl] --htmldir=DIR html documentation [DOCDIR] --dvidir=DIR dvi documentation [DOCDIR] --pdfdir=DIR pdf documentation [DOCDIR] --psdir=DIR ps documentation [DOCDIR] _ACEOF cat <<\_ACEOF _ACEOF fi if test -n "$ac_init_help"; then case $ac_init_help in short | recursive ) echo "Configuration of pacpl 4.0.5:";; esac cat <<\_ACEOF Optional Features: --disable-option-checking ignore unrecognized --enable/--with options --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) --enable-FEATURE[=ARG] include FEATURE [ARG=yes] --enable-all force installation of all included plugins. This option is intended to help developers installing pacpl in a chroot. Optional Packages: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) --without-amarok disable amarok plugin. --without-dolphin disable dolphin service menu. --without-d3lphin disable d3lphin service menu. --without-konq disable konqueror service menu. Some influential environment variables: KDEDIR root directory of your KDE installation (default /usr) DESTDIR root installation directory (default /) Use these variables to override the choices made by `configure' or to help it to find libraries and programs with nonstandard names/locations. _ACEOF ac_status=$? fi if test "$ac_init_help" = "recursive"; then # If there are subdirs, report their specific --help. for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue test -d "$ac_dir" || { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || continue ac_builddir=. case "$ac_dir" in .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` # A ".." for each directory in $ac_dir_suffix. ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` case $ac_top_builddir_sub in "") ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; esac ;; esac ac_abs_top_builddir=$ac_pwd ac_abs_builddir=$ac_pwd$ac_dir_suffix # for backward compatibility: ac_top_builddir=$ac_top_build_prefix case $srcdir in .) # We are building in place. ac_srcdir=. ac_top_srcdir=$ac_top_builddir_sub ac_abs_top_srcdir=$ac_pwd ;; [\\/]* | ?:[\\/]* ) # Absolute name. ac_srcdir=$srcdir$ac_dir_suffix; ac_top_srcdir=$srcdir ac_abs_top_srcdir=$srcdir ;; *) # Relative name. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix ac_top_srcdir=$ac_top_build_prefix$srcdir ac_abs_top_srcdir=$ac_pwd/$srcdir ;; esac ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix cd "$ac_dir" || { ac_status=$?; continue; } # Check for guested configure. if test -f "$ac_srcdir/configure.gnu"; then echo && $SHELL "$ac_srcdir/configure.gnu" --help=recursive elif test -f "$ac_srcdir/configure"; then echo && $SHELL "$ac_srcdir/configure" --help=recursive else $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 fi || ac_status=$? cd "$ac_pwd" || { ac_status=$?; break; } done fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF pacpl configure 4.0.5 generated by GNU Autoconf 2.63 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. This configure script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it. _ACEOF exit fi cat >config.log <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by pacpl $as_me 4.0.5, which was generated by GNU Autoconf 2.63. Invocation command line was $ $0 $@ _ACEOF exec 5>>config.log { cat <<_ASUNAME ## --------- ## ## Platform. ## ## --------- ## hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` uname -m = `(uname -m) 2>/dev/null || echo unknown` uname -r = `(uname -r) 2>/dev/null || echo unknown` uname -s = `(uname -s) 2>/dev/null || echo unknown` uname -v = `(uname -v) 2>/dev/null || echo unknown` /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` _ASUNAME as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. $as_echo "PATH: $as_dir" done IFS=$as_save_IFS } >&5 cat >&5 <<_ACEOF ## ----------- ## ## Core tests. ## ## ----------- ## _ACEOF # Keep a trace of the command line. # Strip out --no-create and --no-recursion so they do not pile up. # Strip out --silent because we don't want to record it for future runs. # Also quote any args containing shell meta-characters. # Make two passes to allow for proper duplicate-argument suppression. ac_configure_args= ac_configure_args0= ac_configure_args1= ac_must_keep_next=false for ac_pass in 1 2 do for ac_arg do case $ac_arg in -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil) continue ;; *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; esac case $ac_pass in 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 2) ac_configure_args1="$ac_configure_args1 '$ac_arg'" if test $ac_must_keep_next = true; then ac_must_keep_next=false # Got value, back to normal. else case $ac_arg in *=* | --config-cache | -C | -disable-* | --disable-* \ | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ | -with-* | --with-* | -without-* | --without-* | --x) case "$ac_configure_args0 " in "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; esac ;; -* ) ac_must_keep_next=true ;; esac fi ac_configure_args="$ac_configure_args '$ac_arg'" ;; esac done done $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } # When interrupted or exit'd, cleanup temporary files, and complete # config.log. We remove comments because anyway the quotes in there # would cause problems or look ugly. # WARNING: Use '\'' to represent an apostrophe within the trap. # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. trap 'exit_status=$? # Save into config.log some information that might help in debugging. { echo cat <<\_ASBOX ## ---------------- ## ## Cache variables. ## ## ---------------- ## _ASBOX echo # The following way of writing the cache mishandles newlines in values, ( for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do eval ac_val=\$$ac_var case $ac_val in #( *${as_nl}*) case $ac_var in #( *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; esac case $ac_var in #( _ | IFS | as_nl) ;; #( BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( *) $as_unset $ac_var ;; esac ;; esac done (set) 2>&1 | case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( *${as_nl}ac_space=\ *) sed -n \ "s/'\''/'\''\\\\'\'''\''/g; s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" ;; #( *) sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" ;; esac | sort ) echo cat <<\_ASBOX ## ----------------- ## ## Output variables. ## ## ----------------- ## _ASBOX echo for ac_var in $ac_subst_vars do eval ac_val=\$$ac_var case $ac_val in *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; esac $as_echo "$ac_var='\''$ac_val'\''" done | sort echo if test -n "$ac_subst_files"; then cat <<\_ASBOX ## ------------------- ## ## File substitutions. ## ## ------------------- ## _ASBOX echo for ac_var in $ac_subst_files do eval ac_val=\$$ac_var case $ac_val in *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; esac $as_echo "$ac_var='\''$ac_val'\''" done | sort echo fi if test -s confdefs.h; then cat <<\_ASBOX ## ----------- ## ## confdefs.h. ## ## ----------- ## _ASBOX echo cat confdefs.h echo fi test "$ac_signal" != 0 && $as_echo "$as_me: caught signal $ac_signal" $as_echo "$as_me: exit $exit_status" } >&5 rm -f core *.core core.conftest.* && rm -f -r conftest* confdefs* conf$$* $ac_clean_files && exit $exit_status ' 0 for ac_signal in 1 2 13 15; do trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal done ac_signal=0 # confdefs.h avoids OS command line length limits that DEFS can exceed. rm -f -r conftest* confdefs.h # Predefined preprocessor variables. cat >>confdefs.h <<_ACEOF #define PACKAGE_NAME "$PACKAGE_NAME" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_TARNAME "$PACKAGE_TARNAME" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_VERSION "$PACKAGE_VERSION" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_STRING "$PACKAGE_STRING" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" _ACEOF # Let the site file select an alternate cache file if it wants to. # Prefer an explicitly selected file to automatically selected ones. ac_site_file1=NONE ac_site_file2=NONE if test -n "$CONFIG_SITE"; then ac_site_file1=$CONFIG_SITE elif test "x$prefix" != xNONE; then ac_site_file1=$prefix/share/config.site ac_site_file2=$prefix/etc/config.site else ac_site_file1=$ac_default_prefix/share/config.site ac_site_file2=$ac_default_prefix/etc/config.site fi for ac_site_file in "$ac_site_file1" "$ac_site_file2" do test "x$ac_site_file" = xNONE && continue if test -r "$ac_site_file"; then { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 $as_echo "$as_me: loading site script $ac_site_file" >&6;} sed 's/^/| /' "$ac_site_file" >&5 . "$ac_site_file" fi done if test -r "$cache_file"; then # Some versions of bash will fail to source /dev/null (special # files actually), so we avoid doing that. if test -f "$cache_file"; then { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5 $as_echo "$as_me: loading cache $cache_file" >&6;} case $cache_file in [\\/]* | ?:[\\/]* ) . "$cache_file";; *) . "./$cache_file";; esac fi else { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5 $as_echo "$as_me: creating cache $cache_file" >&6;} >$cache_file fi # Check that the precious variables saved in the cache have kept the same # value. ac_cache_corrupted=false for ac_var in $ac_precious_vars; do eval ac_old_set=\$ac_cv_env_${ac_var}_set eval ac_new_set=\$ac_env_${ac_var}_set eval ac_old_val=\$ac_cv_env_${ac_var}_value eval ac_new_val=\$ac_env_${ac_var}_value case $ac_old_set,$ac_new_set in set,) { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} ac_cache_corrupted=: ;; ,set) { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} ac_cache_corrupted=: ;; ,);; *) if test "x$ac_old_val" != "x$ac_new_val"; then # differences in whitespace do not lead to failure. ac_old_val_w=`echo x $ac_old_val` ac_new_val_w=`echo x $ac_new_val` if test "$ac_old_val_w" != "$ac_new_val_w"; then { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} ac_cache_corrupted=: else { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} eval $ac_var=\$ac_old_val fi { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} fi;; esac # Pass precious variables to config.status. if test "$ac_new_set" = set; then case $ac_new_val in *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; *) ac_arg=$ac_var=$ac_new_val ;; esac case " $ac_configure_args " in *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; esac fi done if $ac_cache_corrupted; then { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} { (exit 1); exit 1; }; } fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu ac_aux_dir= for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do if test -f "$ac_dir/install-sh"; then ac_aux_dir=$ac_dir ac_install_sh="$ac_aux_dir/install-sh -c" break elif test -f "$ac_dir/install.sh"; then ac_aux_dir=$ac_dir ac_install_sh="$ac_aux_dir/install.sh -c" break elif test -f "$ac_dir/shtool"; then ac_aux_dir=$ac_dir ac_install_sh="$ac_aux_dir/shtool install -c" break fi done if test -z "$ac_aux_dir"; then { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} { (exit 1); exit 1; }; } fi # These three variables are undocumented and unsupported, # and are intended to be withdrawn in a future Autoconf release. # They can cause serious problems if a builder's source tree is in a directory # whose full name contains unusual characters. ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. # Find a good install program. We prefer a C program (faster), # so one script is as good as another. But avoid the broken or # incompatible versions: # SysV /etc/install, /usr/sbin/install # SunOS /usr/etc/install # IRIX /sbin/install # AIX /bin/install # AmigaOS /C/install, which installs bootblocks on floppy discs # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag # AFS /usr/afsws/bin/install, which mishandles nonexistent args # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" # OS/2's system install, which has a completely different semantic # ./install, which can be erroneously created by make from ./install.sh. # Reject install programs that cannot install multiple files. { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 $as_echo_n "checking for a BSD-compatible install... " >&6; } if test -z "$INSTALL"; then if test "${ac_cv_path_install+set}" = set; then $as_echo_n "(cached) " >&6 else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. # Account for people who put trailing slashes in PATH elements. case $as_dir/ in ./ | .// | /cC/* | \ /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ /usr/ucb/* ) ;; *) # OSF1 and SCO ODT 3.0 have their own names for install. # Don't use installbsd from OSF since it installs stuff as root # by default. for ac_prog in ginstall scoinst install; do for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then if test $ac_prog = install && grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then # AIX install. It has an incompatible calling convention. : elif test $ac_prog = install && grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then # program-specific install script used by HP pwplus--don't use. : else rm -rf conftest.one conftest.two conftest.dir echo one > conftest.one echo two > conftest.two mkdir conftest.dir if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && test -s conftest.one && test -s conftest.two && test -s conftest.dir/conftest.one && test -s conftest.dir/conftest.two then ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" break 3 fi fi fi done done ;; esac done IFS=$as_save_IFS rm -rf conftest.one conftest.two conftest.dir fi if test "${ac_cv_path_install+set}" = set; then INSTALL=$ac_cv_path_install else # As a last resort, use the slow shell script. Don't cache a # value for INSTALL within a source directory, because that will # break other packages using the cache if that directory is # removed, or if the value is a relative name. INSTALL=$ac_install_sh fi fi { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5 $as_echo "$INSTALL" >&6; } # Use test -z because SunOS4 sh mishandles braces in ${var-val}. # It thinks the first close brace ends the variable substitution. test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' # Extract the first word of "rm", so it can be a program name with args. set dummy rm; ac_word=$2 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_path_RM+set}" = set; then $as_echo_n "(cached) " >&6 else case $RM in [\\/]* | ?:[\\/]*) ac_cv_path_RM="$RM" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_RM="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS test -z "$ac_cv_path_RM" && ac_cv_path_RM="rm" ;; esac fi RM=$ac_cv_path_RM if test -n "$RM"; then { $as_echo "$as_me:$LINENO: result: $RM" >&5 $as_echo "$RM" >&6; } else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi # Extract the first word of "perl", so it can be a program name with args. set dummy perl; ac_word=$2 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_path_PERL+set}" = set; then $as_echo_n "(cached) " >&6 else case $PERL in [\\/]* | ?:[\\/]*) ac_cv_path_PERL="$PERL" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS test -z "$ac_cv_path_PERL" && ac_cv_path_PERL="perl" ;; esac fi PERL=$ac_cv_path_PERL if test -n "$PERL"; then { $as_echo "$as_me:$LINENO: result: $PERL" >&5 $as_echo "$PERL" >&6; } else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi # Extract the first word of "pod2man", so it can be a program name with args. set dummy pod2man; ac_word=$2 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_path_POD2MAN+set}" = set; then $as_echo_n "(cached) " >&6 else case $POD2MAN in [\\/]* | ?:[\\/]*) ac_cv_path_POD2MAN="$POD2MAN" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_POD2MAN="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS test -z "$ac_cv_path_POD2MAN" && ac_cv_path_POD2MAN="pod2man" ;; esac fi POD2MAN=$ac_cv_path_POD2MAN if test -n "$POD2MAN"; then { $as_echo "$as_me:$LINENO: result: $POD2MAN" >&5 $as_echo "$POD2MAN" >&6; } else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi # Extract the first word of "pod2html", so it can be a program name with args. set dummy pod2html; ac_word=$2 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_path_POD2HTML+set}" = set; then $as_echo_n "(cached) " >&6 else case $POD2HTML in [\\/]* | ?:[\\/]*) ac_cv_path_POD2HTML="$POD2HTML" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_POD2HTML="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS test -z "$ac_cv_path_POD2HTML" && ac_cv_path_POD2HTML="pod2man" ;; esac fi POD2HTML=$ac_cv_path_POD2HTML if test -n "$POD2HTML"; then { $as_echo "$as_me:$LINENO: result: $POD2HTML" >&5 $as_echo "$POD2HTML" >&6; } else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi # Extract the first word of "gzip", so it can be a program name with args. set dummy gzip; ac_word=$2 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_path_GZIP+set}" = set; then $as_echo_n "(cached) " >&6 else case $GZIP in [\\/]* | ?:[\\/]*) ac_cv_path_GZIP="$GZIP" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_GZIP="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS test -z "$ac_cv_path_GZIP" && ac_cv_path_GZIP="gzip" ;; esac fi GZIP=$ac_cv_path_GZIP if test -n "$GZIP"; then { $as_echo "$as_me:$LINENO: result: $GZIP" >&5 $as_echo "$GZIP" >&6; } else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi ######################################## # check for supported encoder/decoders # ######################################## echo "" # Extract the first word of "lame", so it can be a program name with args. set dummy lame; ac_word=$2 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_LAME+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$LAME"; then ac_cv_prog_LAME="$LAME" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_LAME="yes" $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi LAME=$ac_cv_prog_LAME if test -n "$LAME"; then { $as_echo "$as_me:$LINENO: result: $LAME" >&5 $as_echo "$LAME" >&6; } else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi # Extract the first word of "toolame", so it can be a program name with args. set dummy toolame; ac_word=$2 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_TOOLAME+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$TOOLAME"; then ac_cv_prog_TOOLAME="$TOOLAME" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_TOOLAME="yes" $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi TOOLAME=$ac_cv_prog_TOOLAME if test -n "$TOOLAME"; then { $as_echo "$as_me:$LINENO: result: $TOOLAME" >&5 $as_echo "$TOOLAME" >&6; } else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi # Extract the first word of "gogo", so it can be a program name with args. set dummy gogo; ac_word=$2 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_GOGO+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$GOGO"; then ac_cv_prog_GOGO="$GOGO" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_GOGO="yes" $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi GOGO=$ac_cv_prog_GOGO if test -n "$GOGO"; then { $as_echo "$as_me:$LINENO: result: $GOGO" >&5 $as_echo "$GOGO" >&6; } else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi # Extract the first word of "bladeenc", so it can be a program name with args. set dummy bladeenc; ac_word=$2 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_BLADEENC+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$BLADEENC"; then ac_cv_prog_BLADEENC="$BLADEENC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_BLADEENC="yes" $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi BLADEENC=$ac_cv_prog_BLADEENC if test -n "$BLADEENC"; then { $as_echo "$as_me:$LINENO: result: $BLADEENC" >&5 $as_echo "$BLADEENC" >&6; } else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi # Extract the first word of "oggenc", so it can be a program name with args. set dummy oggenc; ac_word=$2 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_OGGENC+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$OGGENC"; then ac_cv_prog_OGGENC="$OGGENC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_OGGENC="yes" $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi OGGENC=$ac_cv_prog_OGGENC if test -n "$OGGENC"; then { $as_echo "$as_me:$LINENO: result: $OGGENC" >&5 $as_echo "$OGGENC" >&6; } else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi # Extract the first word of "oggdec", so it can be a program name with args. set dummy oggdec; ac_word=$2 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_OGGDEC+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$OGGDEC"; then ac_cv_prog_OGGDEC="$OGGDEC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_OGGDEC="yes" $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi OGGDEC=$ac_cv_prog_OGGDEC if test -n "$OGGDEC"; then { $as_echo "$as_me:$LINENO: result: $OGGDEC" >&5 $as_echo "$OGGDEC" >&6; } else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi # Extract the first word of "speexenc", so it can be a program name with args. set dummy speexenc; ac_word=$2 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_SPEEXENC+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$SPEEXENC"; then ac_cv_prog_SPEEXENC="$SPEEXENC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_SPEEXENC="yes" $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi SPEEXENC=$ac_cv_prog_SPEEXENC if test -n "$SPEEXENC"; then { $as_echo "$as_me:$LINENO: result: $SPEEXENC" >&5 $as_echo "$SPEEXENC" >&6; } else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi # Extract the first word of "speexdec", so it can be a program name with args. set dummy speexdec; ac_word=$2 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_SPEEXDEC+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$SPEEXDEC"; then ac_cv_prog_SPEEXDEC="$SPEEXDEC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_SPEEXDEC="yes" $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi SPEEXDEC=$ac_cv_prog_SPEEXDEC if test -n "$SPEEXDEC"; then { $as_echo "$as_me:$LINENO: result: $SPEEXDEC" >&5 $as_echo "$SPEEXDEC" >&6; } else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi # Extract the first word of "flac", so it can be a program name with args. set dummy flac; ac_word=$2 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_FLAC+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$FLAC"; then ac_cv_prog_FLAC="$FLAC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_FLAC="yes" $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi FLAC=$ac_cv_prog_FLAC if test -n "$FLAC"; then { $as_echo "$as_me:$LINENO: result: $FLAC" >&5 $as_echo "$FLAC" >&6; } else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi # Extract the first word of "mac", so it can be a program name with args. set dummy mac; ac_word=$2 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_MAC+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$MAC"; then ac_cv_prog_MAC="$MAC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_MAC="yes" $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi MAC=$ac_cv_prog_MAC if test -n "$MAC"; then { $as_echo "$as_me:$LINENO: result: $MAC" >&5 $as_echo "$MAC" >&6; } else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi # Extract the first word of "shorten", so it can be a program name with args. set dummy shorten; ac_word=$2 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_SHORTEN+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$SHORTEN"; then ac_cv_prog_SHORTEN="$SHORTEN" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_SHORTEN="yes" $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi SHORTEN=$ac_cv_prog_SHORTEN if test -n "$SHORTEN"; then { $as_echo "$as_me:$LINENO: result: $SHORTEN" >&5 $as_echo "$SHORTEN" >&6; } else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi # Extract the first word of "sox", so it can be a program name with args. set dummy sox; ac_word=$2 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_SOX+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$SOX"; then ac_cv_prog_SOX="$SOX" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_SOX="yes" $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi SOX=$ac_cv_prog_SOX if test -n "$SOX"; then { $as_echo "$as_me:$LINENO: result: $SOX" >&5 $as_echo "$SOX" >&6; } else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi # Extract the first word of "faac", so it can be a program name with args. set dummy faac; ac_word=$2 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_FAAC+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$FAAC"; then ac_cv_prog_FAAC="$FAAC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_FAAC="yes" $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi FAAC=$ac_cv_prog_FAAC if test -n "$FAAC"; then { $as_echo "$as_me:$LINENO: result: $FAAC" >&5 $as_echo "$FAAC" >&6; } else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi # Extract the first word of "faad", so it can be a program name with args. set dummy faad; ac_word=$2 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_FAAD+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$FAAD"; then ac_cv_prog_FAAD="$FAAD" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_FAAD="yes" $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi FAAD=$ac_cv_prog_FAAD if test -n "$FAAD"; then { $as_echo "$as_me:$LINENO: result: $FAAD" >&5 $as_echo "$FAAD" >&6; } else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi # Extract the first word of "ffmpeg", so it can be a program name with args. set dummy ffmpeg; ac_word=$2 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_FFMPEG+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$FFMPEG"; then ac_cv_prog_FFMPEG="$FFMPEG" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_FFMPEG="yes" $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi FFMPEG=$ac_cv_prog_FFMPEG if test -n "$FFMPEG"; then { $as_echo "$as_me:$LINENO: result: $FFMPEG" >&5 $as_echo "$FFMPEG" >&6; } else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi # Extract the first word of "mplayer", so it can be a program name with args. set dummy mplayer; ac_word=$2 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_MPLAYER+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$MPLAYER"; then ac_cv_prog_MPLAYER="$MPLAYER" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_MPLAYER="yes" $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi MPLAYER=$ac_cv_prog_MPLAYER if test -n "$MPLAYER"; then { $as_echo "$as_me:$LINENO: result: $MPLAYER" >&5 $as_echo "$MPLAYER" >&6; } else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi # Extract the first word of "la", so it can be a program name with args. set dummy la; ac_word=$2 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_LA+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$LA"; then ac_cv_prog_LA="$LA" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_LA="yes" $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi LA=$ac_cv_prog_LA if test -n "$LA"; then { $as_echo "$as_me:$LINENO: result: $LA" >&5 $as_echo "$LA" >&6; } else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi # Extract the first word of "bonk", so it can be a program name with args. set dummy bonk; ac_word=$2 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_BONK+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$BONK"; then ac_cv_prog_BONK="$BONK" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_BONK="yes" $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi BONK=$ac_cv_prog_BONK if test -n "$BONK"; then { $as_echo "$as_me:$LINENO: result: $BONK" >&5 $as_echo "$BONK" >&6; } else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi # Extract the first word of "mppenc", so it can be a program name with args. set dummy mppenc; ac_word=$2 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_MPPENC+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$MPPENC"; then ac_cv_prog_MPPENC="$MPPENC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_MPPENC="yes" $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi MPPENC=$ac_cv_prog_MPPENC if test -n "$MPPENC"; then { $as_echo "$as_me:$LINENO: result: $MPPENC" >&5 $as_echo "$MPPENC" >&6; } else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi # Extract the first word of "mppdec", so it can be a program name with args. set dummy mppdec; ac_word=$2 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_MPPDEC+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$MPPDEC"; then ac_cv_prog_MPPDEC="$MPPDEC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_MPPDEC="yes" $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi MPPDEC=$ac_cv_prog_MPPDEC if test -n "$MPPDEC"; then { $as_echo "$as_me:$LINENO: result: $MPPDEC" >&5 $as_echo "$MPPDEC" >&6; } else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi # Extract the first word of "ofr", so it can be a program name with args. set dummy ofr; ac_word=$2 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_OFR+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$OFR"; then ac_cv_prog_OFR="$OFR" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_OFR="yes" $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi OFR=$ac_cv_prog_OFR if test -n "$OFR"; then { $as_echo "$as_me:$LINENO: result: $OFR" >&5 $as_echo "$OFR" >&6; } else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi # Extract the first word of "ofs", so it can be a program name with args. set dummy ofs; ac_word=$2 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_OFS+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$OFS"; then ac_cv_prog_OFS="$OFS" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_OFS="yes" $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi OFS=$ac_cv_prog_OFS if test -n "$OFS"; then { $as_echo "$as_me:$LINENO: result: $OFS" >&5 $as_echo "$OFS" >&6; } else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi # Extract the first word of "lpac", so it can be a program name with args. set dummy lpac; ac_word=$2 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_LPAC+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$LPAC"; then ac_cv_prog_LPAC="$LPAC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_LPAC="yes" $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi LPAC=$ac_cv_prog_LPAC if test -n "$LPAC"; then { $as_echo "$as_me:$LINENO: result: $LPAC" >&5 $as_echo "$LPAC" >&6; } else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi # Extract the first word of "ttaenc", so it can be a program name with args. set dummy ttaenc; ac_word=$2 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_TTAENC+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$TTAENC"; then ac_cv_prog_TTAENC="$TTAENC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_TTAENC="yes" $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi TTAENC=$ac_cv_prog_TTAENC if test -n "$TTAENC"; then { $as_echo "$as_me:$LINENO: result: $TTAENC" >&5 $as_echo "$TTAENC" >&6; } else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi # Extract the first word of "wavpack", so it can be a program name with args. set dummy wavpack; ac_word=$2 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_WAVPACK+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$WAVPACK"; then ac_cv_prog_WAVPACK="$WAVPACK" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_WAVPACK="yes" $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi WAVPACK=$ac_cv_prog_WAVPACK if test -n "$WAVPACK"; then { $as_echo "$as_me:$LINENO: result: $WAVPACK" >&5 $as_echo "$WAVPACK" >&6; } else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi # Extract the first word of "wvunpack", so it can be a program name with args. set dummy wvunpack; ac_word=$2 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_WVUNPACK+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$WVUNPACK"; then ac_cv_prog_WVUNPACK="$WVUNPACK" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_WVUNPACK="yes" $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi WVUNPACK=$ac_cv_prog_WVUNPACK if test -n "$WVUNPACK"; then { $as_echo "$as_me:$LINENO: result: $WVUNPACK" >&5 $as_echo "$WVUNPACK" >&6; } else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi ################################### # Check for required perl modules # ################################### echo "" echo "checking for required perl modules..." echo "" ac_perl_modules="Switch strict warnings Getopt::Long File::Basename File::Find File::Spec::Functions CDDB_get Ogg::Vorbis::Header Audio::Musepack Audio::APETags Audio::WMA MP3::Tag MP4::Info Audio::FLAC::Header" # Make sure we have perl if test -z "$PERL"; then # Extract the first word of "perl", so it can be a program name with args. set dummy perl; ac_word=$2 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_PERL+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$PERL"; then ac_cv_prog_PERL="$PERL" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_PERL="perl" $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi PERL=$ac_cv_prog_PERL if test -n "$PERL"; then { $as_echo "$as_me:$LINENO: result: $PERL" >&5 $as_echo "$PERL" >&6; } else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi fi if test "x$PERL" != x; then ac_perl_modules_failed=0 for ac_perl_module in $ac_perl_modules; do { $as_echo "$as_me:$LINENO: checking for perl module $ac_perl_module" >&5 $as_echo_n "checking for perl module $ac_perl_module... " >&6; } # Would be nice to log result here, but can't rely on autoconf internals $PERL "-M$ac_perl_module" -e exit > /dev/null 2>&1 if test $? -ne 0; then { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; }; ac_perl_modules_failed=1 else { $as_echo "$as_me:$LINENO: result: ok" >&5 $as_echo "ok" >&6; }; fi # Run optional shell commands if test "$ac_perl_modules_failed" = 0; then : else : { { $as_echo "$as_me:$LINENO: error: missing: $ac_perl_module. try running the mod-install.sh script located in the extra directory" >&5 $as_echo "$as_me: error: missing: $ac_perl_module. try running the mod-install.sh script located in the extra directory" >&2;} { (exit or you can install them manually using: perl -MCPAN -e 'install Module::Name'); exit or you can install them manually using: perl -MCPAN -e 'install Module::Name'; }; } fi done else { $as_echo "$as_me:$LINENO: WARNING: could not find perl" >&5 $as_echo "$as_me: WARNING: could not find perl" >&2;} fi echo "" echo "determining which plugins should be installed..." echo "" # Check whether --with-amarok was given. if test "${with_amarok+set}" = set; then withval=$with_amarok; inc_amarok=$withval else inc_amarok=yes fi if test "$inc_amarok" != "no"; then INSTALL_AMAROK="yes" plugins=1 # Extract the first word of "amarok", so it can be a program name with args. set dummy amarok; ac_word=$2 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_AMAROK+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$AMAROK"; then ac_cv_prog_AMAROK="$AMAROK" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_AMAROK="yes" $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi AMAROK=$ac_cv_prog_AMAROK if test -n "$AMAROK"; then { $as_echo "$as_me:$LINENO: result: $AMAROK" >&5 $as_echo "$AMAROK" >&6; } else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi if test x$AMAROK != xyes; then INSTALL_AMAROK="no" plugins=0 fi fi # Check whether --with-dolphin was given. if test "${with_dolphin+set}" = set; then withval=$with_dolphin; inc_dolp=$withval else inc_dolp=yes fi if test "$inc_dolp" != "no"; then INSTALL_DOLP="yes" plugins=1 # Extract the first word of "dolphin", so it can be a program name with args. set dummy dolphin; ac_word=$2 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_DOLP+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$DOLP"; then ac_cv_prog_DOLP="$DOLP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_DOLP="yes" $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi DOLP=$ac_cv_prog_DOLP if test -n "$DOLP"; then { $as_echo "$as_me:$LINENO: result: $DOLP" >&5 $as_echo "$DOLP" >&6; } else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi if test x$DOLP != xyes; then INSTALL_DOLP="no" plugins=0 fi fi # Check whether --with-d3lphin was given. if test "${with_d3lphin+set}" = set; then withval=$with_d3lphin; inc_d3lp=$withval else inc_d3lp=yes fi if test "$inc_d3lp" != "no"; then INSTALL_D3LP="yes" plugins=1 # Extract the first word of "d3lphin", so it can be a program name with args. set dummy d3lphin; ac_word=$2 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_D3LP+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$D3LP"; then ac_cv_prog_D3LP="$D3LP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_D3LP="yes" $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi D3LP=$ac_cv_prog_D3LP if test -n "$D3LP"; then { $as_echo "$as_me:$LINENO: result: $D3LP" >&5 $as_echo "$D3LP" >&6; } else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi if test x$D3LP != xyes; then INSTALL_D3LP="no" plugins=0 fi fi # Check whether --with-konq was given. if test "${with_konq+set}" = set; then withval=$with_konq; inc_konq=$withval else inc_konq=yes fi if test "$inc_konq" != "no"; then INSTALL_KONQ="yes" plugins="1" # Extract the first word of "konqueror", so it can be a program name with args. set dummy konqueror; ac_word=$2 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_KONQ+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$KONQ"; then ac_cv_prog_KONQ="$KONQ" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_KONQ="yes" $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi KONQ=$ac_cv_prog_KONQ if test -n "$KONQ"; then { $as_echo "$as_me:$LINENO: result: $KONQ" >&5 $as_echo "$KONQ" >&6; } else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi if test x$KONQ != xyes; then INSTALL_KONQ="no" plugins=0 fi fi # Check whether --enable-all was given. if test "${enable_all+set}" = set; then enableval=$enable_all; else enable_all=check fi if test x$enable_all = xyes; then echo "" echo "forcing installation of all service menus and plugins." echo "" INSTALL_KONQ="yes" INSTALL_DOLP="yes" INSTALL_D3LP="yes" INSTALL_AMAROK="yes" plugins=1 fi if test "$plugins" = "1"; then # Extract the first word of "kdialog", so it can be a program name with args. set dummy kdialog; ac_word=$2 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_KDIALOG+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$KDIALOG"; then ac_cv_prog_KDIALOG="$KDIALOG" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_KDIALOG="yes" $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi KDIALOG=$ac_cv_prog_KDIALOG if test -n "$KDIALOG"; then { $as_echo "$as_me:$LINENO: result: $KDIALOG" >&5 $as_echo "$KDIALOG" >&6; } else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi if test "$KDIALOG" != "yes"; then echo "" echo "WARNING:" echo "" echo "kdialog could not be found in your PATH." echo "" echo "this application can be found in the kdebase package." echo "service menus and the amarok plugin will not work correctly" echo "without this program." echo "" echo "If you are building pacpl in a chroot environment, or if you" echo "are certain kdialog is installed, you can ignore this warning." echo "" fi fi ac_config_files="$ac_config_files Makefile" cat >confcache <<\_ACEOF # This file is a shell script that caches the results of configure # tests run on this system so they can be shared between configure # scripts and configure runs, see configure's option --config-cache. # It is not useful on other systems. If it contains results you don't # want to keep, you may remove or edit it. # # config.status only pays attention to the cache file if you give it # the --recheck option to rerun configure. # # `ac_cv_env_foo' variables (set or unset) will be overridden when # loading this file, other *unset* `ac_cv_foo' will be assigned the # following values. _ACEOF # The following way of writing the cache mishandles newlines in values, # but we know of no workaround that is simple, portable, and efficient. # So, we kill variables containing newlines. # Ultrix sh set writes to stderr and can't be redirected directly, # and sets the high bit in the cache file unless we assign to the vars. ( for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do eval ac_val=\$$ac_var case $ac_val in #( *${as_nl}*) case $ac_var in #( *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; esac case $ac_var in #( _ | IFS | as_nl) ;; #( BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( *) $as_unset $ac_var ;; esac ;; esac done (set) 2>&1 | case $as_nl`(ac_space=' '; set) 2>&1` in #( *${as_nl}ac_space=\ *) # `set' does not quote correctly, so add quotes (double-quote # substitution turns \\\\ into \\, and sed turns \\ into \). sed -n \ "s/'/'\\\\''/g; s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" ;; #( *) # `set' quotes correctly as required by POSIX, so do not add quotes. sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" ;; esac | sort ) | sed ' /^ac_cv_env_/b end t clear :clear s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ t end s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ :end' >>confcache if diff "$cache_file" confcache >/dev/null 2>&1; then :; else if test -w "$cache_file"; then test "x$cache_file" != "x/dev/null" && { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5 $as_echo "$as_me: updating cache $cache_file" >&6;} cat confcache >$cache_file else { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} fi fi rm -f confcache test "x$prefix" = xNONE && prefix=$ac_default_prefix # Let make expand exec_prefix. test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' # Transform confdefs.h into DEFS. # Protect against shell expansion while executing Makefile rules. # Protect against Makefile macro expansion. # # If the first sed substitution is executed (which looks for macros that # take arguments), then branch to the quote section. Otherwise, # look for a macro that doesn't take arguments. ac_script=' :mline /\\$/{ N s,\\\n,, b mline } t clear :clear s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g t quote s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g t quote b any :quote s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g s/\[/\\&/g s/\]/\\&/g s/\$/$$/g H :any ${ g s/^\n// s/\n/ /g p } ' DEFS=`sed -n "$ac_script" confdefs.h` ac_libobjs= ac_ltlibobjs= for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue # 1. Remove the extension, and $U if already installed. ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' ac_i=`$as_echo "$ac_i" | sed "$ac_script"` # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR # will be set to the directory where LIBOBJS objects are built. ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' done LIBOBJS=$ac_libobjs LTLIBOBJS=$ac_ltlibobjs : ${CONFIG_STATUS=./config.status} ac_write_fail=0 ac_clean_files_save=$ac_clean_files ac_clean_files="$ac_clean_files $CONFIG_STATUS" { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 #! $SHELL # Generated by $as_me. # Run this file to recreate the current configuration. # Compiler output produced by configure, useful for debugging # configure, is in config.log if it exists. debug=false ac_cs_recheck=false ac_cs_silent=false SHELL=\${CONFIG_SHELL-$SHELL} _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 ## --------------------- ## ## M4sh Initialization. ## ## --------------------- ## # Be more Bourne compatible DUALCASE=1; export DUALCASE # for MKS sh if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then emulate sh NULLCMD=: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' setopt NO_GLOB_SUBST else case `(set -o) 2>/dev/null` in *posix*) set -o posix ;; esac fi # PATH needs CR # Avoid depending upon Character Ranges. as_cr_letters='abcdefghijklmnopqrstuvwxyz' as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' as_cr_Letters=$as_cr_letters$as_cr_LETTERS as_cr_digits='0123456789' as_cr_alnum=$as_cr_Letters$as_cr_digits as_nl=' ' export as_nl # Printing a long string crashes Solaris 7 /usr/bin/printf. as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then as_echo='printf %s\n' as_echo_n='printf %s' else if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' as_echo_n='/usr/ucb/echo -n' else as_echo_body='eval expr "X$1" : "X\\(.*\\)"' as_echo_n_body='eval arg=$1; case $arg in *"$as_nl"*) expr "X$arg" : "X\\(.*\\)$as_nl"; arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; esac; expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" ' export as_echo_n_body as_echo_n='sh -c $as_echo_n_body as_echo' fi export as_echo_body as_echo='sh -c $as_echo_body as_echo' fi # The user is always right. if test "${PATH_SEPARATOR+set}" != set; then PATH_SEPARATOR=: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || PATH_SEPARATOR=';' } fi # Support unset when possible. if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then as_unset=unset else as_unset=false fi # IFS # We need space, tab and new line, in precisely that order. Quoting is # there to prevent editors from complaining about space-tab. # (If _AS_PATH_WALK were called with IFS unset, it would disable word # splitting by setting IFS to empty value.) IFS=" "" $as_nl" # Find who we are. Look in the path if we contain no directory separator. case $0 in *[\\/]* ) as_myself=$0 ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break done IFS=$as_save_IFS ;; esac # We did not find ourselves, most probably we were run as `sh COMMAND' # in which case we are not to be found in the path. if test "x$as_myself" = x; then as_myself=$0 fi if test ! -f "$as_myself"; then $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 { (exit 1); exit 1; } fi # Work around bugs in pre-3.0 UWIN ksh. for as_var in ENV MAIL MAILPATH do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var done PS1='$ ' PS2='> ' PS4='+ ' # NLS nuisances. LC_ALL=C export LC_ALL LANGUAGE=C export LANGUAGE # Required to use basename. if expr a : '\(a\)' >/dev/null 2>&1 && test "X`expr 00001 : '.*\(...\)'`" = X001; then as_expr=expr else as_expr=false fi if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then as_basename=basename else as_basename=false fi # Name of the executable. as_me=`$as_basename -- "$0" || $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)' \| . 2>/dev/null || $as_echo X/"$0" | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/ q } /^X\/\(\/\/\)$/{ s//\1/ q } /^X\/\(\/\).*/{ s//\1/ q } s/.*/./; q'` # CDPATH. $as_unset CDPATH as_lineno_1=$LINENO as_lineno_2=$LINENO test "x$as_lineno_1" != "x$as_lineno_2" && test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { # Create $as_me.lineno as a copy of $as_myself, but with $LINENO # uniformly replaced by the line number. The first 'sed' inserts a # line-number line after each line using $LINENO; the second 'sed' # does the real work. The second script uses 'N' to pair each # line-number line with the line containing $LINENO, and appends # trailing '-' during substitution so that $LINENO is not a special # case at line end. # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the # scripts with optimization help from Paolo Bonzini. Blame Lee # E. McMahon (1931-1989) for sed's syntax. :-) sed -n ' p /[$]LINENO/= ' <$as_myself | sed ' s/[$]LINENO.*/&-/ t lineno b :lineno N :loop s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ t loop s/-\n.*// ' >$as_me.lineno && chmod +x "$as_me.lineno" || { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 { (exit 1); exit 1; }; } # Don't try to exec as it changes $[0], causing all sort of problems # (the dirname of $[0] is not the place where we might find the # original and so on. Autoconf is especially sensitive to this). . "./$as_me.lineno" # Exit status is that of the last command. exit } if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then as_dirname=dirname else as_dirname=false fi ECHO_C= ECHO_N= ECHO_T= case `echo -n x` in -n*) case `echo 'x\c'` in *c*) ECHO_T=' ';; # ECHO_T is single tab character. *) ECHO_C='\c';; esac;; *) ECHO_N='-n';; esac if expr a : '\(a\)' >/dev/null 2>&1 && test "X`expr 00001 : '.*\(...\)'`" = X001; then as_expr=expr else as_expr=false fi rm -f conf$$ conf$$.exe conf$$.file if test -d conf$$.dir; then rm -f conf$$.dir/conf$$.file else rm -f conf$$.dir mkdir conf$$.dir 2>/dev/null fi if (echo >conf$$.file) 2>/dev/null; then if ln -s conf$$.file conf$$ 2>/dev/null; then as_ln_s='ln -s' # ... but there are two gotchas: # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. # In both cases, we have to default to `cp -p'. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || as_ln_s='cp -p' elif ln conf$$.file conf$$ 2>/dev/null; then as_ln_s=ln else as_ln_s='cp -p' fi else as_ln_s='cp -p' fi rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file rmdir conf$$.dir 2>/dev/null if mkdir -p . 2>/dev/null; then as_mkdir_p=: else test -d ./-p && rmdir ./-p as_mkdir_p=false fi if test -x / >/dev/null 2>&1; then as_test_x='test -x' else if ls -dL / >/dev/null 2>&1; then as_ls_L_option=L else as_ls_L_option= fi as_test_x=' eval sh -c '\'' if test -d "$1"; then test -d "$1/."; else case $1 in -*)set "./$1";; esac; case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in ???[sx]*):;;*)false;;esac;fi '\'' sh ' fi as_executable_p=$as_test_x # Sed expression to map a string onto a valid CPP name. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" # Sed expression to map a string onto a valid variable name. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" exec 6>&1 # Save the log message, to keep $[0] and so on meaningful, and to # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" This file was extended by pacpl $as_me 4.0.5, which was generated by GNU Autoconf 2.63. Invocation command line was CONFIG_FILES = $CONFIG_FILES CONFIG_HEADERS = $CONFIG_HEADERS CONFIG_LINKS = $CONFIG_LINKS CONFIG_COMMANDS = $CONFIG_COMMANDS $ $0 $@ on `(hostname || uname -n) 2>/dev/null | sed 1q` " _ACEOF case $ac_config_files in *" "*) set x $ac_config_files; shift; ac_config_files=$*;; esac cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 # Files that config.status was made for. config_files="$ac_config_files" _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 ac_cs_usage="\ \`$as_me' instantiates files from templates according to the current configuration. Usage: $0 [OPTION]... [FILE]... -h, --help print this help, then exit -V, --version print version number and configuration settings, then exit -q, --quiet, --silent do not print progress messages -d, --debug don't remove temporary files --recheck update $as_me by reconfiguring in the same conditions --file=FILE[:TEMPLATE] instantiate the configuration file FILE Configuration files: $config_files Report bugs to ." _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_version="\\ pacpl config.status 4.0.5 configured by $0, generated by GNU Autoconf 2.63, with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" Copyright (C) 2008 Free Software Foundation, Inc. This config.status script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it." ac_pwd='$ac_pwd' srcdir='$srcdir' INSTALL='$INSTALL' test -n "\$AWK" || AWK=awk _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # The default lists apply if the user does not specify any file. ac_need_defaults=: while test $# != 0 do case $1 in --*=*) ac_option=`expr "X$1" : 'X\([^=]*\)='` ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` ac_shift=: ;; *) ac_option=$1 ac_optarg=$2 ac_shift=shift ;; esac case $ac_option in # Handling of the options. -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) ac_cs_recheck=: ;; --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) $as_echo "$ac_cs_version"; exit ;; --debug | --debu | --deb | --de | --d | -d ) debug=: ;; --file | --fil | --fi | --f ) $ac_shift case $ac_optarg in *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; esac CONFIG_FILES="$CONFIG_FILES '$ac_optarg'" ac_need_defaults=false;; --he | --h | --help | --hel | -h ) $as_echo "$ac_cs_usage"; exit ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil | --si | --s) ac_cs_silent=: ;; # This is an error. -*) { $as_echo "$as_me: error: unrecognized option: $1 Try \`$0 --help' for more information." >&2 { (exit 1); exit 1; }; } ;; *) ac_config_targets="$ac_config_targets $1" ac_need_defaults=false ;; esac shift done ac_configure_extra_args= if $ac_cs_silent; then exec 6>/dev/null ac_configure_extra_args="$ac_configure_extra_args --silent" fi _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 if \$ac_cs_recheck; then set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion shift \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 CONFIG_SHELL='$SHELL' export CONFIG_SHELL exec "\$@" fi _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 exec 5>>config.log { echo sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX ## Running $as_me. ## _ASBOX $as_echo "$ac_log" } >&5 _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # Handling of arguments. for ac_config_target in $ac_config_targets do case $ac_config_target in "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;} { (exit 1); exit 1; }; };; esac done # If the user did not use the arguments to specify the items to instantiate, # then the envvar interface is used. Set only those that are not. # We use the long form for the default assignment because of an extremely # bizarre bug on SunOS 4.1.3. if $ac_need_defaults; then test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files fi # Have a temporary directory for convenience. Make it in the build tree # simply because there is no reason against having it here, and in addition, # creating and moving files from /tmp can sometimes cause problems. # Hook for its removal unless debugging. # Note that there is a small window in which the directory will not be cleaned: # after its creation but before its name has been assigned to `$tmp'. $debug || { tmp= trap 'exit_status=$? { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status ' 0 trap '{ (exit 1); exit 1; }' 1 2 13 15 } # Create a (secure) tmp directory for tmp files. { tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" } || { tmp=./conf$$-$RANDOM (umask 077 && mkdir "$tmp") } || { $as_echo "$as_me: cannot create a temporary directory in ." >&2 { (exit 1); exit 1; } } # Set up the scripts for CONFIG_FILES section. # No need to generate them if there are no CONFIG_FILES. # This happens for instance with `./config.status config.h'. if test -n "$CONFIG_FILES"; then ac_cr=' ' ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' /dev/null` if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then ac_cs_awk_cr='\\r' else ac_cs_awk_cr=$ac_cr fi echo 'BEGIN {' >"$tmp/subs1.awk" && _ACEOF { echo "cat >conf$$subs.awk <<_ACEOF" && echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && echo "_ACEOF" } >conf$$subs.sh || { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} { (exit 1); exit 1; }; } ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` ac_delim='%!_!# ' for ac_last_try in false false false false false :; do . ./conf$$subs.sh || { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} { (exit 1); exit 1; }; } ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` if test $ac_delim_n = $ac_delim_num; then break elif $ac_last_try; then { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} { (exit 1); exit 1; }; } else ac_delim="$ac_delim!$ac_delim _$ac_delim!! " fi done rm -f conf$$subs.sh cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 cat >>"\$tmp/subs1.awk" <<\\_ACAWK && _ACEOF sed -n ' h s/^/S["/; s/!.*/"]=/ p g s/^[^!]*!// :repl t repl s/'"$ac_delim"'$// t delim :nl h s/\(.\{148\}\).*/\1/ t more1 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ p n b repl :more1 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ p g s/.\{148\}// t nl :delim h s/\(.\{148\}\).*/\1/ t more2 s/["\\]/\\&/g; s/^/"/; s/$/"/ p b :more2 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ p g s/.\{148\}// t delim ' >$CONFIG_STATUS || ac_write_fail=1 rm -f conf$$subs.awk cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 _ACAWK cat >>"\$tmp/subs1.awk" <<_ACAWK && for (key in S) S_is_set[key] = 1 FS = "" } { line = $ 0 nfields = split(line, field, "@") substed = 0 len = length(field[1]) for (i = 2; i < nfields; i++) { key = field[i] keylen = length(key) if (S_is_set[key]) { value = S[key] line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) len += length(value) + length(field[++i]) substed = 1 } else len += 1 + keylen } print line } _ACAWK _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" else cat fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5 $as_echo "$as_me: error: could not setup config files machinery" >&2;} { (exit 1); exit 1; }; } _ACEOF # VPATH may cause trouble with some makes, so we remove $(srcdir), # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and # trailing colons and then remove the whole line if VPATH becomes empty # (actually we leave an empty line to preserve line numbers). if test "x$srcdir" = x.; then ac_vpsub='/^[ ]*VPATH[ ]*=/{ s/:*\$(srcdir):*/:/ s/:*\${srcdir}:*/:/ s/:*@srcdir@:*/:/ s/^\([^=]*=[ ]*\):*/\1/ s/:*$// s/^[^=]*=[ ]*$// }' fi cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 fi # test -n "$CONFIG_FILES" eval set X " :F $CONFIG_FILES " shift for ac_tag do case $ac_tag in :[FHLC]) ac_mode=$ac_tag; continue;; esac case $ac_mode$ac_tag in :[FHL]*:*);; :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;} { (exit 1); exit 1; }; };; :[FH]-) ac_tag=-:-;; :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; esac ac_save_IFS=$IFS IFS=: set x $ac_tag IFS=$ac_save_IFS shift ac_file=$1 shift case $ac_mode in :L) ac_source=$1;; :[FH]) ac_file_inputs= for ac_f do case $ac_f in -) ac_f="$tmp/stdin";; *) # Look for the file first in the build tree, then in the source tree # (if the path is not absolute). The absolute path cannot be DOS-style, # because $ac_f cannot contain `:'. test -f "$ac_f" || case $ac_f in [\\/$]*) false;; *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; esac || { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;} { (exit 1); exit 1; }; };; esac case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac ac_file_inputs="$ac_file_inputs '$ac_f'" done # Let's still pretend it is `configure' which instantiates (i.e., don't # use $as_me), people would be surprised to read: # /* config.h. Generated by config.status. */ configure_input='Generated from '` $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' `' by configure.' if test x"$ac_file" != x-; then configure_input="$ac_file. $configure_input" { $as_echo "$as_me:$LINENO: creating $ac_file" >&5 $as_echo "$as_me: creating $ac_file" >&6;} fi # Neutralize special characters interpreted by sed in replacement strings. case $configure_input in #( *\&* | *\|* | *\\* ) ac_sed_conf_input=`$as_echo "$configure_input" | sed 's/[\\\\&|]/\\\\&/g'`;; #( *) ac_sed_conf_input=$configure_input;; esac case $ac_tag in *:-:* | *:-) cat >"$tmp/stdin" \ || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 $as_echo "$as_me: error: could not create $ac_file" >&2;} { (exit 1); exit 1; }; } ;; esac ;; esac ac_dir=`$as_dirname -- "$ac_file" || $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$ac_file" : 'X\(//\)[^/]' \| \ X"$ac_file" : 'X\(//\)$' \| \ X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$ac_file" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` { as_dir="$ac_dir" case $as_dir in #( -*) as_dir=./$as_dir;; esac test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { as_dirs= while :; do case $as_dir in #( *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( *) as_qdir=$as_dir;; esac as_dirs="'$as_qdir' $as_dirs" as_dir=`$as_dirname -- "$as_dir" || $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` test -d "$as_dir" && break done test -z "$as_dirs" || eval "mkdir $as_dirs" } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;} { (exit 1); exit 1; }; }; } ac_builddir=. case "$ac_dir" in .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` # A ".." for each directory in $ac_dir_suffix. ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` case $ac_top_builddir_sub in "") ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; esac ;; esac ac_abs_top_builddir=$ac_pwd ac_abs_builddir=$ac_pwd$ac_dir_suffix # for backward compatibility: ac_top_builddir=$ac_top_build_prefix case $srcdir in .) # We are building in place. ac_srcdir=. ac_top_srcdir=$ac_top_builddir_sub ac_abs_top_srcdir=$ac_pwd ;; [\\/]* | ?:[\\/]* ) # Absolute name. ac_srcdir=$srcdir$ac_dir_suffix; ac_top_srcdir=$srcdir ac_abs_top_srcdir=$srcdir ;; *) # Relative name. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix ac_top_srcdir=$ac_top_build_prefix$srcdir ac_abs_top_srcdir=$ac_pwd/$srcdir ;; esac ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix case $ac_mode in :F) # # CONFIG_FILE # case $INSTALL in [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; esac _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # If the template does not know about datarootdir, expand it. # FIXME: This hack should be removed a few years after 2.60. ac_datarootdir_hack=; ac_datarootdir_seen= ac_sed_dataroot=' /datarootdir/ { p q } /@datadir@/p /@docdir@/p /@infodir@/p /@localedir@/p /@mandir@/p ' case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in *datarootdir*) ac_datarootdir_seen=yes;; *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_datarootdir_hack=' s&@datadir@&$datadir&g s&@docdir@&$docdir&g s&@infodir@&$infodir&g s&@localedir@&$localedir&g s&@mandir@&$mandir&g s&\\\${datarootdir}&$datarootdir&g' ;; esac _ACEOF # Neutralize VPATH when `$srcdir' = `.'. # Shell code in configure.ac might set extrasub. # FIXME: do we really want to maintain this feature? cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_sed_extra="$ac_vpsub $extrasub _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 :t /@[a-zA-Z_][a-zA-Z_0-9]*@/!b s|@configure_input@|$ac_sed_conf_input|;t t s&@top_builddir@&$ac_top_builddir_sub&;t t s&@top_build_prefix@&$ac_top_build_prefix&;t t s&@srcdir@&$ac_srcdir&;t t s&@abs_srcdir@&$ac_abs_srcdir&;t t s&@top_srcdir@&$ac_top_srcdir&;t t s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t s&@builddir@&$ac_builddir&;t t s&@abs_builddir@&$ac_abs_builddir&;t t s&@abs_top_builddir@&$ac_abs_top_builddir&;t t s&@INSTALL@&$ac_INSTALL&;t t $ac_datarootdir_hack " eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 $as_echo "$as_me: error: could not create $ac_file" >&2;} { (exit 1); exit 1; }; } test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' which seems to be undefined. Please make sure it is defined." >&5 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' which seems to be undefined. Please make sure it is defined." >&2;} rm -f "$tmp/stdin" case $ac_file in -) cat "$tmp/out" && rm -f "$tmp/out";; *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; esac \ || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 $as_echo "$as_me: error: could not create $ac_file" >&2;} { (exit 1); exit 1; }; } ;; esac done # for ac_tag { (exit 0); exit 0; } _ACEOF chmod +x $CONFIG_STATUS ac_clean_files=$ac_clean_files_save test $ac_write_fail = 0 || { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;} { (exit 1); exit 1; }; } # configure is writing to config.log, and then calls config.status. # config.status does its own redirection, appending to config.log. # Unfortunately, on DOS this fails, as config.log is still kept open # by configure, so config.status won't be able to write to it; its # output is simply discarded. So we exec the FD to /dev/null, # effectively closing config.log, so it can be properly (re)opened and # appended to by config.status. When coming back to configure, we # need to make the FD available again. if test "$no_create" != yes; then ac_cs_success=: ac_config_status_args= test "$silent" = yes && ac_config_status_args="$ac_config_status_args --quiet" exec 5>/dev/null $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false exec 5>>config.log # Use ||, not &&, to avoid exiting from the if with $? = 1, which # would make configure fail if this is the last instruction. $ac_cs_success || { (exit 1); exit 1; } fi if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} fi if test x$plugins = x1; then echo "" echo "--------------------" echo "| Included Plugins |" echo "--------------------" echo "" if test x$INSTALL_KONQ = xyes; then echo "- Konqueror service menu" fi if test x$INSTALL_DOLP = xyes; then echo "- Dolphin service menu" fi if test x$INSTALL_D3LP = xyes; then echo "- D3lphin service menu" fi if test x$INSTALL_AMAROK = xyes; then echo "- Amarok plugin" fi fi if test x$plugins = x0; then echo "" echo "----------------------------------" echo "| all plugins have been disabled |" echo "----------------------------------" echo "" fi echo "" echo "Good - your configure finished. Start make now" echo "" pacpl-4.0.5/configure.ac0000644000000000000000000001243411160576441013614 0ustar rootroot# Process this file with autoconf to produce a configure script. # # Copyright (C) 2007-2009 Philip Lyons (viiron@gmail.com) AC_PROG_PERL_VERSION(5.6.0) AC_PREREQ(2.61) AC_INIT(pacpl,4.0.5) AC_SUBST(INSTALL_AMAROK) AC_SUBST(INSTALL_KONQ) AC_SUBST(INSTALL_DOLP) AC_SUBST(INSTALL_D3LP) AC_SUBST(KDEDIR) AC_PREFIX_DEFAULT(/usr) AC_PROG_INSTALL AC_PATH_PROG(RM, rm, rm) AC_PATH_PROG(PERL, perl, perl) AC_PATH_PROG(POD2MAN, pod2man, pod2man) AC_PATH_PROG(POD2HTML, pod2html, pod2man) AC_PATH_PROG(GZIP, gzip, gzip) ######################################## # check for supported encoder/decoders # ######################################## echo "" AC_CHECK_PROG(LAME, lame, yes) AC_CHECK_PROG(TOOLAME, toolame, yes) AC_CHECK_PROG(GOGO, gogo, yes) AC_CHECK_PROG(BLADEENC, bladeenc, yes) AC_CHECK_PROG(OGGENC, oggenc, yes) AC_CHECK_PROG(OGGDEC, oggdec, yes) AC_CHECK_PROG(SPEEXENC, speexenc, yes) AC_CHECK_PROG(SPEEXDEC, speexdec, yes) AC_CHECK_PROG(FLAC, flac, yes) AC_CHECK_PROG(MAC, mac, yes) AC_CHECK_PROG(SHORTEN, shorten, yes) AC_CHECK_PROG(SOX, sox, yes) AC_CHECK_PROG(FAAC, faac, yes) AC_CHECK_PROG(FAAD, faad, yes) AC_CHECK_PROG(FFMPEG, ffmpeg, yes) AC_CHECK_PROG(MPLAYER, mplayer, yes) AC_CHECK_PROG(LA, la, yes) AC_CHECK_PROG(BONK, bonk, yes) AC_CHECK_PROG(MPPENC, mppenc, yes) AC_CHECK_PROG(MPPDEC, mppdec, yes) AC_CHECK_PROG(OFR, ofr, yes) AC_CHECK_PROG(OFS, ofs, yes) AC_CHECK_PROG(LPAC, lpac, yes) AC_CHECK_PROG(TTAENC, ttaenc, yes) AC_CHECK_PROG(WAVPACK, wavpack, yes) AC_CHECK_PROG(WVUNPACK, wvunpack, yes) ################################### # Check for required perl modules # ################################### echo "" echo "checking for required perl modules..." echo "" AC_PROG_PERL_MODULES( Switch strict warnings Getopt::Long File::Basename File::Find File::Spec::Functions CDDB_get Ogg::Vorbis::Header Audio::Musepack Audio::APETags Audio::WMA MP3::Tag MP4::Info Audio::FLAC::Header, , AC_MSG_ERROR(missing: $ac_perl_module. try running the mod-install.sh script located in the extra directory, or you can install them manually using: perl -MCPAN -e 'install Module::Name')) echo "" echo "determining which plugins should be installed..." echo "" AC_ARG_WITH(amarok, AC_HELP_STRING([--without-amarok],[disable amarok plugin.]), [inc_amarok=$withval], [inc_amarok=yes] ) if test "$inc_amarok" != "no"; then INSTALL_AMAROK="yes" plugins=1 AC_CHECK_PROG(AMAROK, amarok, yes) if test x$AMAROK != xyes; then INSTALL_AMAROK="no" plugins=0 fi fi AC_ARG_WITH(dolphin, AC_HELP_STRING([--without-dolphin],[disable dolphin service menu.]), [inc_dolp=$withval], [inc_dolp=yes] ) if test "$inc_dolp" != "no"; then INSTALL_DOLP="yes" plugins=1 AC_CHECK_PROG(DOLP, dolphin, yes) if test x$DOLP != xyes; then INSTALL_DOLP="no" plugins=0 fi fi AC_ARG_WITH(d3lphin, AC_HELP_STRING([--without-d3lphin],[disable d3lphin service menu.]), [inc_d3lp=$withval], [inc_d3lp=yes] ) if test "$inc_d3lp" != "no"; then INSTALL_D3LP="yes" plugins=1 AC_CHECK_PROG(D3LP, d3lphin, yes) if test x$D3LP != xyes; then INSTALL_D3LP="no" plugins=0 fi fi AC_ARG_WITH(konq, AC_HELP_STRING([--without-konq],[disable konqueror service menu.]), [inc_konq=$withval], [inc_konq=yes] ) if test "$inc_konq" != "no"; then INSTALL_KONQ="yes" plugins="1" AC_CHECK_PROG(KONQ, konqueror, yes) if test x$KONQ != xyes; then INSTALL_KONQ="no" plugins=0 fi fi AC_ARG_ENABLE([all], [AS_HELP_STRING([--enable-all],[force installation of all included plugins. This option is intended to help developers installing pacpl in a chroot.])], [], [enable_all=check] ) if test x$enable_all = xyes; then echo "" echo "forcing installation of all service menus and plugins." echo "" INSTALL_KONQ="yes" INSTALL_DOLP="yes" INSTALL_D3LP="yes" INSTALL_AMAROK="yes" plugins=1 fi if test "$plugins" = "1"; then AC_CHECK_PROG(KDIALOG, kdialog, yes) if test "$KDIALOG" != "yes"; then echo "" echo "WARNING:" echo "" echo "kdialog could not be found in your PATH." echo "" echo "this application can be found in the kdebase package." echo "service menus and the amarok plugin will not work correctly" echo "without this program." echo "" echo "If you are building pacpl in a chroot environment, or if you" echo "are certain kdialog is installed, you can ignore this warning." echo "" fi fi AC_ARG_VAR([KDEDIR], [root directory of your KDE installation (default /usr)]) AC_ARG_VAR([DESTDIR], [root installation directory (default /)]) AC_OUTPUT(Makefile) if test x$plugins = x1; then echo "" echo "--------------------" echo "| Included Plugins |" echo "--------------------" echo "" if test x$INSTALL_KONQ = xyes; then echo "- Konqueror service menu" fi if test x$INSTALL_DOLP = xyes; then echo "- Dolphin service menu" fi if test x$INSTALL_D3LP = xyes; then echo "- D3lphin service menu" fi if test x$INSTALL_AMAROK = xyes; then echo "- Amarok plugin" fi fi if test x$plugins = x0; then echo "" echo "----------------------------------" echo "| all plugins have been disabled |" echo "----------------------------------" echo "" fi echo "" echo "Good - your configure finished. Start make now" echo "" pacpl-4.0.5/install-sh0000755000000000000000000002533210661452144013331 0ustar rootroot#!/bin/sh # install - install a program, script, or datafile scriptversion=2005-11-07.23 # This originates from X11R5 (mit/util/scripts/install.sh), which was # later released in X11R6 (xc/config/util/install.sh) with the # following copyright and license. # # Copyright (C) 1994 X Consortium # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to # deal in the Software without restriction, including without limitation the # rights to use, copy, modify, merge, publish, distribute, sublicense, and/or # sell copies of the Software, and to permit persons to whom the Software is # furnished to do so, subject to the following conditions: # # The above copyright notice and this permission notice shall be included in # all copies or substantial portions of the Software. # # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE # X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN # AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC- # TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. # # Except as contained in this notice, the name of the X Consortium shall not # be used in advertising or otherwise to promote the sale, use or other deal- # ings in this Software without prior written authorization from the X Consor- # tium. # # # FSF changes to this file are in the public domain. # # Calling this script install-sh is preferred over install.sh, to prevent # `make' implicit rules from creating a file called install from it # when there is no Makefile. # # This script is compatible with the BSD install script, but was written # from scratch. It can only install one file at a time, a restriction # shared with many OS's install programs. # set DOITPROG to echo to test this script # Don't use :- since 4.3BSD and earlier shells don't like it. doit="${DOITPROG-}" # put in absolute paths if you don't have them in your path; or use env. vars. mvprog="${MVPROG-mv}" cpprog="${CPPROG-cp}" chmodprog="${CHMODPROG-chmod}" chownprog="${CHOWNPROG-chown}" chgrpprog="${CHGRPPROG-chgrp}" stripprog="${STRIPPROG-strip}" rmprog="${RMPROG-rm}" mkdirprog="${MKDIRPROG-mkdir}" posix_glob= posix_mkdir= # Symbolic mode for testing mkdir with directories. # It is the same as 755, but also tests that "u+" works. test_mode=u=rwx,g=rx,o=rx,u+wx # Desired mode of installed file. mode=0755 # Desired mode of newly created intermediate directories. # It is empty if not known yet. intermediate_mode= chmodcmd=$chmodprog chowncmd= chgrpcmd= stripcmd= rmcmd="$rmprog -f" mvcmd="$mvprog" src= dst= dir_arg= dstarg= no_target_directory= usage="Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE or: $0 [OPTION]... SRCFILES... DIRECTORY or: $0 [OPTION]... -t DIRECTORY SRCFILES... or: $0 [OPTION]... -d DIRECTORIES... In the 1st form, copy SRCFILE to DSTFILE. In the 2nd and 3rd, copy all SRCFILES to DIRECTORY. In the 4th, create DIRECTORIES. Options: -c (ignored) -d create directories instead of installing files. -g GROUP $chgrpprog installed files to GROUP. -m MODE $chmodprog installed files to MODE. -o USER $chownprog installed files to USER. -s $stripprog installed files. -t DIRECTORY install into DIRECTORY. -T report an error if DSTFILE is a directory. --help display this help and exit. --version display version info and exit. Environment variables override the default commands: CHGRPPROG CHMODPROG CHOWNPROG CPPROG MKDIRPROG MVPROG RMPROG STRIPPROG " while test -n "$1"; do case $1 in -c) shift continue;; -d) dir_arg=true shift continue;; -g) chgrpcmd="$chgrpprog $2" shift shift continue;; --help) echo "$usage"; exit $?;; -m) mode=$2 shift shift continue;; -o) chowncmd="$chownprog $2" shift shift continue;; -s) stripcmd=$stripprog shift continue;; -t) dstarg=$2 shift shift continue;; -T) no_target_directory=true shift continue;; --version) echo "$0 $scriptversion"; exit $?;; *) # When -d is used, all remaining arguments are directories to create. # When -t is used, the destination is already specified. test -n "$dir_arg$dstarg" && break # Otherwise, the last argument is the destination. Remove it from $@. for arg do if test -n "$dstarg"; then # $@ is not empty: it contains at least $arg. set fnord "$@" "$dstarg" shift # fnord fi shift # arg dstarg=$arg done break;; esac done if test -z "$1"; then if test -z "$dir_arg"; then echo "$0: no input file specified." >&2 exit 1 fi # It's OK to call `install-sh -d' without argument. # This can happen when creating conditional directories. exit 0 fi test -n "$dir_arg" || trap '(exit $?); exit' 1 2 13 15 for src do # Protect names starting with `-'. case $src in -*) src=./$src ;; esac if test -n "$dir_arg"; then dst=$src dstdir=$dst test -d "$dstdir" dstdir_status=$? else # Waiting for this to be detected by the "$cpprog $src $dsttmp" command # might cause directories to be created, which would be especially bad # if $src (and thus $dsttmp) contains '*'. if test ! -f "$src" && test ! -d "$src"; then echo "$0: $src does not exist." >&2 exit 1 fi if test -z "$dstarg"; then echo "$0: no destination specified." >&2 exit 1 fi dst=$dstarg # Protect names starting with `-'. case $dst in -*) dst=./$dst ;; esac # If destination is a directory, append the input filename; won't work # if double slashes aren't ignored. if test -d "$dst"; then if test -n "$no_target_directory"; then echo "$0: $dstarg: Is a directory" >&2 exit 1 fi dstdir=$dst dst=$dstdir/`basename "$src"` dstdir_status=0 else # Prefer dirname, but fall back on a substitute if dirname fails. dstdir=` (dirname "$dst") 2>/dev/null || expr X"$dst" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$dst" : 'X\(//\)[^/]' \| \ X"$dst" : 'X\(//\)$' \| \ X"$dst" : 'X\(/\)' \| \ . : '\(.\)' 2>/dev/null || echo X"$dst" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } /^X\(\/\/\)[^/].*/{ s//\1/; q; } /^X\(\/\/\)$/{ s//\1/; q; } /^X\(\/\).*/{ s//\1/; q; } s/.*/./; q' ` test -d "$dstdir" dstdir_status=$? fi fi obsolete_mkdir_used=false if test $dstdir_status != 0; then case $posix_mkdir in '') posix_mkdir=false if $mkdirprog -m $test_mode -p -- / >/dev/null 2>&1; then posix_mkdir=true else # Remove any dirs left behind by ancient mkdir implementations. rmdir ./-m "$test_mode" ./-p ./-- 2>/dev/null fi ;; esac if $posix_mkdir && { # With -d, create the new directory with the user-specified mode. # Otherwise, create it using the same intermediate mode that # mkdir -p would use when creating intermediate directories. # POSIX says that this mode is "$(umask -S),u+wx", so use that # if umask -S works. if test -n "$dir_arg"; then mkdir_mode=$mode else case $intermediate_mode in '') if umask_S=`(umask -S) 2>/dev/null`; then intermediate_mode=$umask_S,u+wx else intermediate_mode=$test_mode fi ;; esac mkdir_mode=$intermediate_mode fi $mkdirprog -m "$mkdir_mode" -p -- "$dstdir" } then : else # mkdir does not conform to POSIX, or it failed possibly due to # a race condition. Create the directory the slow way, step by # step, checking for races as we go. case $dstdir in /*) pathcomp=/ ;; -*) pathcomp=./ ;; *) pathcomp= ;; esac case $posix_glob in '') if (set -f) 2>/dev/null; then posix_glob=true else posix_glob=false fi ;; esac oIFS=$IFS IFS=/ $posix_glob && set -f set fnord $dstdir shift $posix_glob && set +f IFS=$oIFS for d do test "x$d" = x && continue pathcomp=$pathcomp$d if test ! -d "$pathcomp"; then $mkdirprog "$pathcomp" # Don't fail if two instances are running concurrently. test -d "$pathcomp" || exit 1 fi pathcomp=$pathcomp/ done obsolete_mkdir_used=true fi fi if test -n "$dir_arg"; then { test -z "$chowncmd" || $doit $chowncmd "$dst"; } && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } && { test "$obsolete_mkdir_used$chowncmd$chgrpcmd" = false || test -z "$chmodcmd" || $doit $chmodcmd "$mode" "$dst"; } || exit 1 else # Make a couple of temp file names in the proper directory. dsttmp=$dstdir/_inst.$$_ rmtmp=$dstdir/_rm.$$_ # Trap to clean up those temp files at exit. trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0 # Copy the file name to the temp name. $doit $cpprog "$src" "$dsttmp" && # and set any options; do chmod last to preserve setuid bits. # # If any of these fail, we abort the whole thing. If we want to # ignore errors from any of these, just make sure not to ignore # errors from the above "$doit $cpprog $src $dsttmp" command. # { test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } \ && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } \ && { test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } \ && { test -z "$chmodcmd" || $doit $chmodcmd "$mode" "$dsttmp"; } && # Now rename the file to the real destination. { $doit $mvcmd -f "$dsttmp" "$dst" 2>/dev/null \ || { # The rename failed, perhaps because mv can't rename something else # to itself, or perhaps because mv is so ancient that it does not # support -f. # Now remove or move aside any old file at destination location. # We try this two ways since rm can't unlink itself on some # systems and the destination file might be busy for other # reasons. In this case, the final cleanup might fail but the new # file should still install successfully. { if test -f "$dst"; then $doit $rmcmd -f "$dst" 2>/dev/null \ || { $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null \ && { $doit $rmcmd -f "$rmtmp" 2>/dev/null; :; }; }\ || { echo "$0: cannot unlink or rename $dst" >&2 (exit 1); exit 1 } else : fi } && # Now rename the file to the real destination. $doit $mvcmd "$dsttmp" "$dst" } } || exit 1 trap '' 0 fi done # Local variables: # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-end: "$" # End: pacpl-4.0.5/Makefile.in0000644000000000000000000001057011160606142013362 0ustar rootroot# Perl Audio Converter # # Copyright (C) 2005-2009 Philip Lyons # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see . PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_VERSION = @PACKAGE_VERSION@ INSTALL_AMAROK = @INSTALL_AMAROK@ INSTALL_KONQ = @INSTALL_KONQ@ INSTALL_DOLP = @INSTALL_DOLP@ INSTALL_D3LP = @INSTALL_D3LP@ ACLOCAL_M4 = ./aclocal.m4 # # Modules & Documentation # DOCS = README AUTHORS TODO LANG_MODS = po/ca.po \ po/de.po \ po/en_US.po \ po/es.po \ po/et.po \ po/fr_FR.po \ po/it_IT.po \ po/nl_NL.po \ po/pl.po \ po/pt.po \ po/ro.po \ po/ru_RU.po \ po/tr.po \ po/zh_CN.po EXTRAS = extra/README.extra \ extra/README.module \ extra/pacpl-gui.kmdr \ extra/sample.m # # Plugin directories # AMAROKDIR = plugins/amarok DOLPDIR = plugins/dolphin D3LPDIR = plugins/d3lphin KONQDIR = plugins/konqueror # # Default KDE directory # DESTDIR = KDEDIR = /usr # # Target KDE directories # KONQ_PLUGDIR = $(DESTDIR)$(KDEDIR)/share/kde4/services DOLP_PLUGDIR = $(DESTDIR)$(KDEDIR)/share/kde4/services D3LP_PLUGDIR = $(DESTDIR)$(KDEDIR)/share/apps/d3lphin/servicemenus AMAROK_PLUGDIR = $(DESTDIR)$(KDEDIR)/share/apps/amarok/scripts/pacx # # Compiler tools definitions... # POD2MAN = @POD2MAN@ POD2HTML = @POD2HTML@ GZIP = @GZIP@ RM = @RM@ -f SHELL = /bin/sh INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ # # Configured directories... # prefix = @prefix@ exec_prefix = @exec_prefix@ bindir = @bindir@ datarootdir = @datarootdir@ includedir = @includedir@ libdir = @libdir@ mandir = @mandir@ docdir = @docdir@ # # Configuration files directories and other # CONF_DIR = $(DESTDIR)/etc/$(PACKAGE_NAME) PO_DIR = $(DESTDIR)/usr/share/pacpl/locale MOD_DIR = $(CONF_DIR)/modules DOC_DIR = $(DESTDIR)$(docdir)$(PACKAGE_NAME) MAN_DIR = $(DESTDIR)$(mandir)/man1 DOC_EXTRA_DIR = $(DOC_DIR)/extra # Explicit rules .PHONY: all install uninstall clean distclean all: pacpl.1.gz pacpl.1.gz: pacpl $(POD2MAN) $< | $(GZIP) -9 > $@ touch $@ install: all main install-pacpl-plugins main: $(INSTALL) -d $(DESTDIR)$(bindir) $(INSTALL) -d $(CONF_DIR) $(INSTALL) -d $(PO_DIR) $(INSTALL) -d $(MOD_DIR) $(INSTALL) -d $(MAN_DIR) $(INSTALL) -d $(DOC_DIR) $(INSTALL) -d $(DOC_EXTRA_DIR) $(INSTALL) pacpl -t $(DESTDIR)$(bindir) $(INSTALL_DATA) pacpl.conf codecs.conf -t $(CONF_DIR) $(INSTALL_DATA) $(LANG_MODS) -t $(PO_DIR) $(INSTALL_DATA) extra/sample.m -t $(MOD_DIR) $(INSTALL_DATA) pacpl.1.gz -t $(MAN_DIR) $(INSTALL_DATA) $(DOCS) -t $(DOC_DIR) $(INSTALL_DATA) $(EXTRAS) -t $(DOC_EXTRA_DIR) install-pacpl-plugins: ifeq '$(INSTALL_KONQ)' 'yes' $(INSTALL) -d $(KONQ_PLUGDIR) $(INSTALL_DATA) $(KONQDIR)/pacpl.desktop -t $(KONQ_PLUGDIR) endif ifeq '$(INSTALL_DOLP)' 'yes' $(INSTALL) -d $(DOLP_PLUGDIR) $(INSTALL_DATA) $(DOLPDIR)/pacpl.desktop -t $(DOLP_PLUGDIR) endif ifeq '$(INSTALL_D3LP)' 'yes' $(INSTALL) -d $(D3LP_PLUGDIR) $(INSTALL_DATA) $(D3LPDIR)/pacpl.desktop -t $(D3LP_PLUGDIR) endif ifeq '$(INSTALL_AMAROK)' 'yes' $(INSTALL) -d $(AMAROK_PLUGDIR) $(INSTALL) $(AMAROKDIR)/pacx -t $(AMAROK_PLUGDIR) endif clean: $(RM) pacpl.1.gz distclean: clean $(RM) config.log $(RM) config.status $(RM) Makefile find . -name '*~' -exec $(RM) '{}' \; uninstall: uninstall-pacpl-plugins $(RM) $(DESTDIR)$(bindir)/pacpl $(RM) $(MAN_DIR)/pacpl.1.gz $(RM) -r $(CONF_DIR) $(RM) -r $(DOC_DIR) $(RM) -r $(DESTDIR)/usr/share/pacpl uninstall-pacpl-plugins: ifeq '$(INSTALL_KONQ)' 'yes' $(RM) $(KONQ_PLUGDIR)/pacpl.desktop endif ifeq '$(INSTALL_DOLP)' 'yes' $(RM) $(DOLP_PLUGDIR)/pacpl.desktop endif ifeq '$(INSTALL_D3LP)' 'yes' $(RM) $(D3LP_PLUGDIR)/pacpl.desktop endif ifeq '$(INSTALL_AMAROK)' 'yes' $(RM) -r $(AMAROK_PLUGDIR) endif pacpl-4.0.5/slack-desc0000644000000000000000000000242510715176135013262 0ustar rootroot# HOW TO EDIT THIS FILE: # The "handy ruler" below makes it easier to edit a package description. Line # up the first '|' above the ':' following the base package name, and the '|' # on the right side marks the last column you can put a character in. You must # make exactly 11 lines for the formatting to be correct. It's also # customary to leave one space after the ':'. |-----handy-ruler------------------------------------------------------| pacpl: Perl Audio Converter pacpl: pacpl: Perl Audio Converter is a tool for converting multiple audio types pacpl: from one format to another. It supports AAC, AC3, AIFF, APE, AU,AVR, pacpl: BONK, CAF, CDR, FAP, FLA, FLAC,IRCAM, LA, LPAC, MAT, MAT4, MAT5,M4A, pacpl: MP2, MP3, MP4, MPC, MPP, NIST, OFR, OFS, OGG, PAC, PAF, PVF, RA,RAM, pacpl: RAW, SD2, SF, SHN, SMP, SND, SPX, TTA, VOC, W64, WAV, WMA, and WV. pacpl: It can also convert audio from the following video extensions:RM,RV, pacpl: ASF, DivX, MPG, MKV, MPEG, AVI, MOV, OGM, QT, VCD, SVCD, M4V, NSV, pacpl: NUV, PSP, SMK, VOB, FLV, and WMV. A CD ripping function with CDDB pacpl: support, batch conversion, tag preservation for most supported pacpl: formats, independent tag reading/writing, and extensions for Amarok, pacpl: Dolphin, and Konqueror are also provided. pacpl: pacpl-4.0.5/codecs.conf0000644000000000000000000000154311154537551013436 0ustar rootroot# specify the default encoder/decoder for each file format. # # FORMAT = encoder,decoder <-- must look exactly like this. # encoders: faac, ffmpeg # decoders: faad, ffmpeg, mplayer # AAC = faac,faad # encoders: flac, ffmpeg # decoders: flac, ffmpeg, mplayer # FLAC = flac,flac # encoders: flac, flake # decoders: flac, mplayer # (ffmpeg goes by extension, and will not read .fla) # FLA = flac,flac # encoders: faac, ffmpeg # decoders: faad, ffmpeg, mplayer # M4A = faac,faad MP4 = faac,faad # encoders: lame, bladeenc, gogo, toolame, ffmpeg, sox # decoders: lame, ffmpeg, mplayer, sox # MP3 = lame,lame # encoders: oggenc, ffmpeg, sox # decoders: oggdec, ffmpeg, mplayer, sox # OGG = oggenc,oggdec # encoders: ttaenc # decoders: ttaenc, ffmpeg, mplayer # TTA = ttaenc,ttaenc # encoders: wavpack # decoders: wvunpack, ffmpeg, mplayer # WV = wavpack,wvunpack pacpl-4.0.5/pacpl.conf0000644000000000000000000000746011007227032013264 0ustar rootroot######################################################### # # Perl Audio Converter - Configuration File # ######################################################### ################################################## # Import User Modules # # # # by default this function is tured off. set to # # 1 to enable module loading. # # # # you can find an example in /etc/pacpl/modules # ################################################## IMPORTM = 0 ############################################################ # Default Normalize Options # # e.g.: --peak # # # # see 'man normalize' for a list of options # ############################################################ NOPTS = ########################### # Default Encoder Options # ########################### ##################################### # Audio Bitrate # # Default: 128 # voice = 56kbps/mono # fm/radio/tape = 112kbps # mp3 = 128kbps # hifi = 160kbps # cd = 192kbps # studio = 256kbps # high = 320kbps # BITRATE = 128 #################### # Sampling Frequency # FREQ = 44100 ######################## # Audio Channels # CHANNELS = 2 ############################### # Ogg quality level # # Sets encoding quality to n, between -1 (low) and 10 # (high). This is the default mode of operation, with # a default quality level of 3. Fractional quality # levels such as 2.5 are permitted. Normal quality # range is 0 - 10. # OGGQUAL = 3 ##################### # Speex quality level # # (0-10), default 8 # SPXQUAL = 8 ######################## # FLAC compression level # # 1-8 (0 = fastest & 8 = highest ) # FCOMP = 2 ###################################### # APE compression level # # fast: 1000 # normal: 2000 # high: 3000 # extra high: 4000 # insane: 5000 # ACOMP = 3000 #################################################### # LPAC compression level # # 1 = Fast # 2 = Simple # 3 = Medium # 4 = High # 5 = Extra High, # PCOMP = 3 ########################### # AAC/MP4/M4A quality level # AACQUAL = 100 ################### # MPC/MPP compression level # # thumb low quality/internet, (typ. 58... 86 kbps) # radio medium (MP3) quality, (typ. 112...152 kbps) # standard high quality (dflt), (typ. 142...184 kbps) # xtreme extreme high quality, (typ. 168...212 kbps) # insane extreme high quality, (typ. 232...268 kbps) # braindead extreme high quality, (typ. 232...278 kbps) # MPCQUAL = radio ########################## # OptimFrog (OFR/OFS) mode # OFMODE = normal ################################## # OptimFrog (OFR/OFS) optimization # OFOPT = fast ######################### # BONK downsampling ratio # BRATIO = 2 ######################### # BONK quantization level # BQUANL = 1.0 ##################### # BONK predictor size # BPSIZE = 128 ############################## # Default CD Ripping Options # ############################## # 1: use cddb # 0: disable cddb # USE_CDDB = 1 CDDB_HOST = freedb.freedb.org CDDB_PORT = 8880 # cddb or http CDDB_MODE = cddb # 1: ask user if more than one possibility # 0: no user interaction # CDDB_INPUT = 1 DEVICE = /dev/cdrom #################################################### # KDIALOG options for Amarok, Dolphin, & Konqueror # #################################################### # Output directory # # 1: prompt # 0: use input file directory # KDE_DIR = 1 # Encoder options # # 1: prompt # 0: use default encoder options # KDE_OPTS = 1 ################################### # Use default encoder options 0/1 # ################################### # DEFOPTS = 1pacpl-4.0.5/AUTHORS0000644000000000000000000000004011051714375012363 0ustar rootrootPhilip Lyons (viiron@gmail.com) pacpl-4.0.5/INSTALL0000644000000000000000000000372311051714375012357 0ustar rootroot./configure make make install if you would like to exclude the amarok, dolphin and konqueror plugins you will have to specify this during configure: ./configure --without-amarok --without-dolphin --without-konq the default KDEDIR is /usr. You can change this during installation if necessary by using: make KDEDIR=/opt/kde install use the following to find the correct path: kde-config --prefix perl modules note: pacpl-install has been removed. there is however a script in the extra/ directory called mod-install.sh which will try to install all the required perl modules via CPAN. please keep in mind the following... Ogg::Vorbis::Header needs libogg and libvorbis installed Audio::FLAC::Header needs flac installed (actual package names will vary based on your distribution) (K)Ubuntu users need to make sure the build-essential package is installed before attempting to install the required perl modules or the libraries mentioned above. ####################### # MANUAL INSTALLATION # ####################### cp pacpl /usr/bin mkdir /etc/pacpl mkdir /etc/pacpl/po mkdir /etc/pacpl/modules -- where you copy pacpl.conf all depends on your preference. -- cp pacpl.conf /etc/pacpl (global) cp pacpl.conf ~/.pacplrc (local) cp extra/sample.m /etc/pacpl/modules cp po/* /etc/pacpl/po mkdir /usr/doc/pacpl-4.0.0 (change 4.0.0 to the actual version) cp README COPYING TODO ChangeLog AUTHORS INSTALL /usr/doc/pacpl-4.0.0 cp -R extra/ /usr/doc/pacpl-4.0.0 cd extra/ ./mod-install.sh (this will attempt to install all the required modules) mkdir $KDEDIR/share/apps/amarok/scripts/pacx cp plugins/amarok/pacx $KDEDIR/share/apps/amarok/scripts/pacx cp plugins/dolphin/pacpl.desktop $KDEDIR/share/apps/dolphin/servicemenus cd plugins/konqueror/ cp pacpl.desktop $KDEDIR/share/apps/konqueror/servicemenus/ cp mimes/* $KDEDIR/share/mimelnk/audio/ in the above example, you'll need to replace $KDEDIR with your actual KDE installation directory. on most distributions this is /usr. pacpl-4.0.5/ChangeLog0000644000000000000000000002063711160606660013101 0ustar rootrootv4.0.5: + added support for KDE4 (konqueror/dolphin) service menus - removed all previously included mime types. - removed support for KDE3 (konqueror/dolphin) service menus. the old pacpl.desktop can still be found in the source package under plugins/d3lphin for those that still need it. * the amarok script no longer works in 2.0* due to various changes. a new one is in the works however, and will be included in a future release. % fixed typo in tag string when encoding mp4/m4a using faac. thanks to Steve Harrold for reporting the issue. % fixed FLAC encoders list in codecs.conf. % fixed Makefile.in to include translations from the last release. thanks to Bram Schoenmakers for spotting the fowl-up ------------------------------------------------------------------------ v4.0.4: + added Romanian translation thanks to Sabadac Petru-Gabriel + added Dutch translation thanks to Sander Pientka + added Italian translation thanks to Marco Bignami + added flake to supported FLAC encoders * updated Russian translation * updated Turkish translation thanks to Osman Karagoz * updated mime type names to prevent conflicts % fixed mp4 encoding/tagging via ffmpeg. thanks to Neil Stewart for reporting the changes in the latest ffmpeg. % fixed a few typos/errors in the man page. thanks to Reuben Thomas. ------------------------------------------------------------------------ v4.0.3: + added encode/decode support for m4b (iPod audio book) + added d3lphin to the configure script + added option --defopts. this allows you to turn off/remove all default encoder options set by the program, and allows you to completely customize them via --eopts. * updated po directory (moved to /usr/share/pacpl/locale) % fixed various inconsistencies in Makefile.in and configure.ac thanks to Cristian Greco for the patches, suggestions, and Debian package. % fixed link for ape encoder/decoder (mac) in README file % fixed bug when encoding to mp3 using bladeenc. --eopts was not being read into the command. ------------------------------------------------------------------------ v4.0.2: + added ability to encode to rm * updated Polish translation * updated Estonian translation * updated Russian translation % fixed typo when trying to find normalize. thanks to FErki for spotting it. % fixed WMA tag read bug. thanks to Andrew Neitsch for reporting the issue % fixed other minor issues ------------------------------------------------------------------------ v4.0.1: + added ability to select alternate encoders/decoders for various formats + added codecs.conf to set desired default encoders/decoders + added options --normalize & --nopts + added notice to print total completed/failed conversions + added support for audio format mmf via ffmpeg + added Turkish translation thanks to Cantek Cetin + added Estonian translation thanks to Priit Jert + added Catalan translation thanks to Xavi BS + added Russian translation thanks to Illarion Khapersky + added French translation thanks to Guillaume Loyot * updated man page to include sndfile-convert in the "see also" section * updated application to remove partial files when encoding fails. * updated all translations to include new phrases (att: translators) * updated user modules (new syntax implemented) thanks to Stefano Sabatini * updated -v switch to be used for verbose, not version * updated the pnotice() sub to only print the banner once. thanks to Robert Krawitz for this, and many other suggestions. * updated mod-install.sh to force install Audio::FLAC::Header. this may or may not be necessary depending on your specific distribution and/or installed libraries. % fixed typo in mod-install-kubuntu.sh % fixed a few inconsistencies in the code % fixed parenthesis/forward-slash in directory/filename bug % fixed ac3 decoding (ffmpeg can only encode to ac3, use mplayer to decode) % fixed input file deletion bug (using --delete) when ^C was pressed. - removed inclusion of uneeded Perl module Pod::Usage ------------------------------------------------------------------------ v4.0.0: + added Chinese Simplified translation thanks to Ni Hui + added Spanish translation thanks to Antonio + added --keep option. this option prevents re-encoding of files matching the destination format. + added the following formats from sndfile-convert (part of the libsndfile package): caf, fap, ircam, mat, mat4, mat5, nist, paf, pvf, sd2, sf, w64 * updated en.po (renamed to en_US.po) % fixed typo in extra/README.module % fixed a few typos in the man page % fixed lang sub to handle .uft8/UTF-8 extensions % fixed apostrophe in directory name bug. this affected all GUI service menus and plugins with kdialog using the --getexistingdirectory option. ------------------------------------------------------------------------ v4.0.0-beta3: + added Polish translation thanks to Michal Smoczyk + added Dolphin PACPL-Convert service menu + added --enable-all option to configure script. this should aid package maintainers who install in a chroot. * updated configure script to not exit when plugin apps are not found * updated extra directory contents are now installed along with docs * updated pacpl.desktop service menu to use audio/* and video/* Suggested by William Pfeffer % fixed duplication bug when modifying ogg tags % fixed various directory creations in the Makefile % fixed owner and group on all po files % fixed copying of WMA artist tag to use AUTHOR instead of ALBUMARTIST. thanks to Matthias Meyer for reporting this issue. - removed LANG variable from pacpl.conf. The locale is now set according to the environment variable $LANG. ------------------------------------------------------------------------ v4.0.0-beta2: + added ability to rip audio tracks in Amarok via the right-click menu. + added mod-install in extra/ directory for Kubuntu users. + added German translation thanks to Andreas Lang. * updated kdialog bitrate prompt to include 320kbps * updated user modules to use .m extension rather than .mod * updated mods/ directory in /etc/pacpl (renamed to modules/) % fixed Amarok plugin to close pacpl after adding the supported out formats % fixed bug in taginfo to make it case-insensitive % fixed sub write_user_tags() to print error when tags could not be wrote % fixed bug in write_user_tags() to make it case-insensitive % fixed configure script to check for CDDB_get % fixed bug when converting to .fla. Thanks to Steven Woskow for the report and beta-testing. ------------------------------------------------------------------------ v4.0.0-beta1: major update. the entire application has been re-written from scratch. the new layout allows languages and codecs to be added much easier than prior releases. - removed all --formattoformat options (eg: --mp3toflac) - removed pacpl-install - removed daemon mode (this may be re-implemented in a future release) - removed --playlist option - removed --play function - removed support for kexis (kxs). if anyone was actually using this format I apologize, but the programs inability to specify an output file just wouldn't work with the new system. + added support for speex + added support for user modules. see extra/sample.mod + added ability to alter/add meta-data during conversion via tagging opts + added configure and makefile for installation (replaces pacpl-install) + added --to option. this replaced --ct and the --formattoformat options + added --only option. with this option, only files matching .ext will get converted. (eg: pacpl --to wav --only flac /home/directory/) only converts files ending in .flac to wav + added --dryrun option. this was inspired/suggested by Stefano Sabatini + added --verbose option. useful in conjunction with --dryrun + added language po-like files. translators (as always) are welcome. + added the following video types to the video->audio conversions: svcd, m4v, nsv, nuv, psp, and smk. * update all files are now converted to wav first, then to the desired output format. in the future this will allow normalization, gain, etc. * update slackware package now uses the new kde installation directory /usr * update a large portion of the amarok script has been re-written. % fixed bug with handling dollar signs ($) in file names being treated as regular expressions. thanks to Donald Byrd for the report. % fixed bug when copying ogg tags. only copy tags starting with the tag string (artist, title, etc)...as opposed to any tag containing the string. thanks to Edward Kear for reporting this issue. pacpl-4.0.5/plugins/0000755000000000000000000000000010777665465013025 5ustar rootrootpacpl-4.0.5/plugins/dolphin/0000755000000000000000000000000010701732625014436 5ustar rootrootpacpl-4.0.5/plugins/dolphin/pacpl.desktop0000644000000000000000000000767111160603013017127 0ustar rootroot[Desktop Entry] Type=Service ServiceTypes=KonqPopupMenu/Plugin MimeType=audio/*;video/*;application/x-flash-video;inode/directory; Actions=AAC;AC3;AIF;AIFF;APE;AU;AVR;BONK;CAF;CDR;FAP;FLA;FLAC;IRCAM;LA;LPAC;M4A;M4P;MAT;MAT4;MAT5;MMF;MP2;MP3;MP4;MPC;MPP;NIST;OFR;OFS;OGG;PAC;PAF;PVF;RA;RAW;SD2;SF;SHN;SMP;SND;SPX;TTA;VOC;W64;WAV;WMA;WV; X-KDE-Submenu=PACPL-Convert [Desktop Action AAC] Name=To AAC Icon=sound Exec=pacpl --to AAC --gui %F & [Desktop Action AC3] Name=To AC3 Icon=sound Exec=pacpl --to AC3 --gui %F & [Desktop Action AIF] Name=To AIF Icon=sound Exec=pacpl --to AIF --gui %F & [Desktop Action AIFF] Name=To AIFF Icon=sound Exec=pacpl --to AIFF --gui %F & [Desktop Action APE] Name=To APE Icon=sound Exec=pacpl --to APE --gui %F & [Desktop Action AU] Name=To AU Icon=sound Exec=pacpl --to AU --gui %F & [Desktop Action AVR] Name=To AVR Icon=sound Exec=pacpl --to AVR --gui %F & [Desktop Action BONK] Name=To BONK Icon=sound Exec=pacpl --to BONK --gui %F & [Desktop Action CAF] Name=To CAF Icon=sound Exec=pacpl --to CAF --gui %F & [Desktop Action CDR] Name=To CDR Icon=sound Exec=pacpl --to CDR --gui %F & [Desktop Action FAP] Name=To FAP Icon=sound Exec=pacpl --to FAP --gui %F & [Desktop Action FLA] Name=To FLA Icon=sound Exec=pacpl --to FLA --gui %F & [Desktop Action FLAC] Name=To FLAC Icon=sound Exec=pacpl --to FLAC --gui %F & [Desktop Action IRCAM] Name=To IRCAM Icon=sound Exec=pacpl --to IRCAM --gui %F & [Desktop Action LA] Name=To LA Icon=sound Exec=pacpl --to LA --gui %F & [Desktop Action LPAC] Name=To LPAC Icon=sound Exec=pacpl --to LPAC --gui %F & [Desktop Action M4A] Name=To M4A Icon=sound Exec=pacpl --to M4A --gui %F & [Desktop Action M4P] Name=To M4P Icon=sound Exec=pacpl --to M4P --gui %F & [Desktop Action MAT] Name=To MAT Icon=sound Exec=pacpl --to MAT --gui %F & [Desktop Action MAT4] Name=To MAT4 Icon=sound Exec=pacpl --to MAT4 --gui %F & [Desktop Action MAT5] Name=To MAT5 Icon=sound Exec=pacpl --to MAT5 --gui %F & [Desktop Action MMF] Name=To MMF Icon=sound Exec=pacpl --to MMF --gui %F & [Desktop Action MP2] Name=To MP2 Icon=sound Exec=pacpl --to MP2 --gui %F & [Desktop Action MP3] Name=To MP3 Icon=sound Exec=pacpl --to MP3 --gui %F & [Desktop Action MP4] Name=To MP4 Icon=sound Exec=pacpl --to MP4 --gui %F & [Desktop Action MPC] Name=To MPC Icon=sound Exec=pacpl --to MPC --gui %F & [Desktop Action MPP] Name=To MPP Icon=sound Exec=pacpl --to MPP --gui %F & [Desktop Action NIST] Name=To NIST Icon=sound Exec=pacpl --to NIST --gui %F & [Desktop Action OFR] Name=To OFR Icon=sound Exec=pacpl --to OFR --gui %F & [Desktop Action OFS] Name=To OFS Icon=sound Exec=pacpl --to OFS --gui %F & [Desktop Action OGG] Name=To OGG Icon=sound Exec=pacpl --to OGG --gui %F & [Desktop Action PAC] Name=To PAC Icon=sound Exec=pacpl --to PAC --gui %F & [Desktop Action PAF] Name=To PAF Icon=sound Exec=pacpl --to PAF --gui %F & [Desktop Action PVF] Name=To PVF Icon=sound Exec=pacpl --to PVF --gui %F & [Desktop Action RA] Name=To RA Icon=sound Exec=pacpl --to RA --gui %F & [Desktop Action RAW] Name=To RAW Icon=sound Exec=pacpl --to RAW --gui %F & [Desktop Action SD2] Name=To SD2 Icon=sound Exec=pacpl --to SD2 --gui %F & [Desktop Action SF] Name=To SF Icon=sound Exec=pacpl --to SF --gui %F & [Desktop Action SHN] Name=To SHN Icon=sound Exec=pacpl --to SHN --gui %F & [Desktop Action SMP] Name=To SMP Icon=sound Exec=pacpl --to SMP --gui %F & [Desktop Action SND] Name=To SND Icon=sound Exec=pacpl --to SND --gui %F & [Desktop Action SPX] Name=To SPX Icon=sound Exec=pacpl --to SPX --gui %F & [Desktop Action TTA] Name=To TTA Icon=sound Exec=pacpl --to TTA --gui %F & [Desktop Action VOC] Name=To VOC Icon=sound Exec=pacpl --to VOC --gui %F & [Desktop Action W64] Name=To W64 Icon=sound Exec=pacpl --to W64 --gui %F & [Desktop Action WAV] Name=To WAV Icon=sound Exec=pacpl --to WAV --gui %F & [Desktop Action WMA] Name=To WMA Icon=sound Exec=pacpl --to WMA --gui %F & [Desktop Action WV] Name=To WV Icon=sound Exec=pacpl --to WV --gui %F & pacpl-4.0.5/plugins/d3lphin/0000755000000000000000000000000010777665474014366 5ustar rootrootpacpl-4.0.5/plugins/d3lphin/pacpl.desktop0000644000000000000000000000761511151417062017040 0ustar rootroot[Desktop Entry] ServiceTypes=audio/*,video/*,application/x-flash-video,inode/directory Actions=AAC;AC3;AIF;AIFF;APE;AU;AVR;BONK;CAF;CDR;FAP;FLA;FLAC;IRCAM;LA;LPAC;M4A;M4P;MAT;MAT4;MAT5;MMF;MP2;MP3;MP4;MPC;MPP;NIST;OFR;OFS;OGG;PAC;PAF;PVF;RA;RAW;SD2;SF;SHN;SMP;SND;SPX;TTA;VOC;W64;WAV;WMA;WV; X-KDE-Submenu=PACPL-Convert [Desktop Action AAC] Name=To AAC Icon=sound Exec=pacpl --to AAC --gui %F & [Desktop Action AC3] Name=To AC3 Icon=sound Exec=pacpl --to AC3 --gui %F & [Desktop Action AIF] Name=To AIF Icon=sound Exec=pacpl --to AIF --gui %F & [Desktop Action AIFF] Name=To AIFF Icon=sound Exec=pacpl --to AIFF --gui %F & [Desktop Action APE] Name=To APE Icon=sound Exec=pacpl --to APE --gui %F & [Desktop Action AU] Name=To AU Icon=sound Exec=pacpl --to AU --gui %F & [Desktop Action AVR] Name=To AVR Icon=sound Exec=pacpl --to AVR --gui %F & [Desktop Action BONK] Name=To BONK Icon=sound Exec=pacpl --to BONK --gui %F & [Desktop Action CAF] Name=To CAF Icon=sound Exec=pacpl --to CAF --gui %F & [Desktop Action CDR] Name=To CDR Icon=sound Exec=pacpl --to CDR --gui %F & [Desktop Action FAP] Name=To FAP Icon=sound Exec=pacpl --to FAP --gui %F & [Desktop Action FLA] Name=To FLA Icon=sound Exec=pacpl --to FLA --gui %F & [Desktop Action FLAC] Name=To FLAC Icon=sound Exec=pacpl --to FLAC --gui %F & [Desktop Action IRCAM] Name=To IRCAM Icon=sound Exec=pacpl --to IRCAM --gui %F & [Desktop Action LA] Name=To LA Icon=sound Exec=pacpl --to LA --gui %F & [Desktop Action LPAC] Name=To LPAC Icon=sound Exec=pacpl --to LPAC --gui %F & [Desktop Action M4A] Name=To M4A Icon=sound Exec=pacpl --to M4A --gui %F & [Desktop Action M4P] Name=To M4P Icon=sound Exec=pacpl --to M4P --gui %F & [Desktop Action MAT] Name=To MAT Icon=sound Exec=pacpl --to MAT --gui %F & [Desktop Action MAT4] Name=To MAT4 Icon=sound Exec=pacpl --to MAT4 --gui %F & [Desktop Action MAT5] Name=To MAT5 Icon=sound Exec=pacpl --to MAT5 --gui %F & [Desktop Action MMF] Name=To MMF Icon=sound Exec=pacpl --to MMF --gui %F & [Desktop Action MP2] Name=To MP2 Icon=sound Exec=pacpl --to MP2 --gui %F & [Desktop Action MP3] Name=To MP3 Icon=sound Exec=pacpl --to MP3 --gui %F & [Desktop Action MP4] Name=To MP4 Icon=sound Exec=pacpl --to MP4 --gui %F & [Desktop Action MPC] Name=To MPC Icon=sound Exec=pacpl --to MPC --gui %F & [Desktop Action MPP] Name=To MPP Icon=sound Exec=pacpl --to MPP --gui %F & [Desktop Action NIST] Name=To NIST Icon=sound Exec=pacpl --to NIST --gui %F & [Desktop Action OFR] Name=To OFR Icon=sound Exec=pacpl --to OFR --gui %F & [Desktop Action OFS] Name=To OFS Icon=sound Exec=pacpl --to OFS --gui %F & [Desktop Action OGG] Name=To OGG Icon=sound Exec=pacpl --to OGG --gui %F & [Desktop Action PAC] Name=To PAC Icon=sound Exec=pacpl --to PAC --gui %F & [Desktop Action PAF] Name=To PAF Icon=sound Exec=pacpl --to PAF --gui %F & [Desktop Action PVF] Name=To PVF Icon=sound Exec=pacpl --to PVF --gui %F & [Desktop Action RA] Name=To RA Icon=sound Exec=pacpl --to RA --gui %F & [Desktop Action RAW] Name=To RAW Icon=sound Exec=pacpl --to RAW --gui %F & [Desktop Action SD2] Name=To SD2 Icon=sound Exec=pacpl --to SD2 --gui %F & [Desktop Action SF] Name=To SF Icon=sound Exec=pacpl --to SF --gui %F & [Desktop Action SHN] Name=To SHN Icon=sound Exec=pacpl --to SHN --gui %F & [Desktop Action SMP] Name=To SMP Icon=sound Exec=pacpl --to SMP --gui %F & [Desktop Action SND] Name=To SND Icon=sound Exec=pacpl --to SND --gui %F & [Desktop Action SPX] Name=To SPX Icon=sound Exec=pacpl --to SPX --gui %F & [Desktop Action TTA] Name=To TTA Icon=sound Exec=pacpl --to TTA --gui %F & [Desktop Action VOC] Name=To VOC Icon=sound Exec=pacpl --to VOC --gui %F & [Desktop Action W64] Name=To W64 Icon=sound Exec=pacpl --to W64 --gui %F & [Desktop Action WAV] Name=To WAV Icon=sound Exec=pacpl --to WAV --gui %F & [Desktop Action WMA] Name=To WMA Icon=sound Exec=pacpl --to WMA --gui %F & [Desktop Action WV] Name=To WV Icon=sound Exec=pacpl --to WV --gui %F & pacpl-4.0.5/plugins/amarok/0000755000000000000000000000000011160577463014262 5ustar rootrootpacpl-4.0.5/plugins/amarok/pacx0000755000000000000000000000527311160577462015151 0ustar rootroot#!/usr/bin/perl -w # # Perl Audio Converter - (Amarok Plugin) # # Copyright (C) 2005-2009 Philip Lyons # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA use strict; my $header = "PACPL-Convert"; foreach ("dcop","pacpl") { die "$_: could not be found in your PATH." if not `$_ 2>/dev/null`; } # Setup menu entries sub menu { my $menu_cmd = shift; open(FMTS, "pacpl --formats|") or die "could not fork: $!"; my @line; my @formats = ; @formats = grep(!/^$|^#|^encode|^Perl|^EXT|^-/, @formats); foreach (@formats) { chomp; @line = split(/\s+/,$_); $line[0] =~ tr/a-z/A-Z/; system("dcop amarok script $menu_cmd $header \"To $line[0]\"") if $line[1] eq "Y"; } close(FMTS); } # Clean up menu entries. sub clean_up { menu("removeCustomMenuItem"); } # Format input string and convert to selected audio type. sub convert { my ($file, $format) = @_; chomp($file); if ($file =~ /file:/) { $file =~ s/file:\/\/\//\//; $file =~ s/file:\/\/\//\//g if grep(/file:\/\/\//, $file); system("pacpl --to $format --gui $file"); } elsif ($file =~ /cdda:\//) { $file =~ s/cdda:\///g; $file =~ s/^\s|\s$//g; $file =~ s/\s/,/g; system("pacpl --rip $file --to $format --gui"); } } # Main sub main { menu("addCustomMenuItem"); while () { my $input = $_; # Reinsert spaces & apostrophes $input =~ s/\%20/\\ /g; $input =~ s/\%27/\\'/g; # configuration system("kdesu kwrite /etc/pacpl/pacpl.conf") if $input =~ /configure/; if ($input =~ "customMenuClicked: $header To") { $input =~ s/customMenuClicked: $header To//; my ($nul, $format) = split(/ /, $input); $input =~ s/\s$format\s//; convert($input,$format); } # Remove custom menu entries $SIG{TERM} = \&clean_up; } } main();pacpl-4.0.5/plugins/konqueror/0000755000000000000000000000000011160605633015024 5ustar rootrootpacpl-4.0.5/plugins/konqueror/pacpl.desktop0000644000000000000000000000767111160603006017521 0ustar rootroot[Desktop Entry] Type=Service ServiceTypes=KonqPopupMenu/Plugin MimeType=audio/*;video/*;application/x-flash-video;inode/directory; Actions=AAC;AC3;AIF;AIFF;APE;AU;AVR;BONK;CAF;CDR;FAP;FLA;FLAC;IRCAM;LA;LPAC;M4A;M4P;MAT;MAT4;MAT5;MMF;MP2;MP3;MP4;MPC;MPP;NIST;OFR;OFS;OGG;PAC;PAF;PVF;RA;RAW;SD2;SF;SHN;SMP;SND;SPX;TTA;VOC;W64;WAV;WMA;WV; X-KDE-Submenu=PACPL-Convert [Desktop Action AAC] Name=To AAC Icon=sound Exec=pacpl --to AAC --gui %F & [Desktop Action AC3] Name=To AC3 Icon=sound Exec=pacpl --to AC3 --gui %F & [Desktop Action AIF] Name=To AIF Icon=sound Exec=pacpl --to AIF --gui %F & [Desktop Action AIFF] Name=To AIFF Icon=sound Exec=pacpl --to AIFF --gui %F & [Desktop Action APE] Name=To APE Icon=sound Exec=pacpl --to APE --gui %F & [Desktop Action AU] Name=To AU Icon=sound Exec=pacpl --to AU --gui %F & [Desktop Action AVR] Name=To AVR Icon=sound Exec=pacpl --to AVR --gui %F & [Desktop Action BONK] Name=To BONK Icon=sound Exec=pacpl --to BONK --gui %F & [Desktop Action CAF] Name=To CAF Icon=sound Exec=pacpl --to CAF --gui %F & [Desktop Action CDR] Name=To CDR Icon=sound Exec=pacpl --to CDR --gui %F & [Desktop Action FAP] Name=To FAP Icon=sound Exec=pacpl --to FAP --gui %F & [Desktop Action FLA] Name=To FLA Icon=sound Exec=pacpl --to FLA --gui %F & [Desktop Action FLAC] Name=To FLAC Icon=sound Exec=pacpl --to FLAC --gui %F & [Desktop Action IRCAM] Name=To IRCAM Icon=sound Exec=pacpl --to IRCAM --gui %F & [Desktop Action LA] Name=To LA Icon=sound Exec=pacpl --to LA --gui %F & [Desktop Action LPAC] Name=To LPAC Icon=sound Exec=pacpl --to LPAC --gui %F & [Desktop Action M4A] Name=To M4A Icon=sound Exec=pacpl --to M4A --gui %F & [Desktop Action M4P] Name=To M4P Icon=sound Exec=pacpl --to M4P --gui %F & [Desktop Action MAT] Name=To MAT Icon=sound Exec=pacpl --to MAT --gui %F & [Desktop Action MAT4] Name=To MAT4 Icon=sound Exec=pacpl --to MAT4 --gui %F & [Desktop Action MAT5] Name=To MAT5 Icon=sound Exec=pacpl --to MAT5 --gui %F & [Desktop Action MMF] Name=To MMF Icon=sound Exec=pacpl --to MMF --gui %F & [Desktop Action MP2] Name=To MP2 Icon=sound Exec=pacpl --to MP2 --gui %F & [Desktop Action MP3] Name=To MP3 Icon=sound Exec=pacpl --to MP3 --gui %F & [Desktop Action MP4] Name=To MP4 Icon=sound Exec=pacpl --to MP4 --gui %F & [Desktop Action MPC] Name=To MPC Icon=sound Exec=pacpl --to MPC --gui %F & [Desktop Action MPP] Name=To MPP Icon=sound Exec=pacpl --to MPP --gui %F & [Desktop Action NIST] Name=To NIST Icon=sound Exec=pacpl --to NIST --gui %F & [Desktop Action OFR] Name=To OFR Icon=sound Exec=pacpl --to OFR --gui %F & [Desktop Action OFS] Name=To OFS Icon=sound Exec=pacpl --to OFS --gui %F & [Desktop Action OGG] Name=To OGG Icon=sound Exec=pacpl --to OGG --gui %F & [Desktop Action PAC] Name=To PAC Icon=sound Exec=pacpl --to PAC --gui %F & [Desktop Action PAF] Name=To PAF Icon=sound Exec=pacpl --to PAF --gui %F & [Desktop Action PVF] Name=To PVF Icon=sound Exec=pacpl --to PVF --gui %F & [Desktop Action RA] Name=To RA Icon=sound Exec=pacpl --to RA --gui %F & [Desktop Action RAW] Name=To RAW Icon=sound Exec=pacpl --to RAW --gui %F & [Desktop Action SD2] Name=To SD2 Icon=sound Exec=pacpl --to SD2 --gui %F & [Desktop Action SF] Name=To SF Icon=sound Exec=pacpl --to SF --gui %F & [Desktop Action SHN] Name=To SHN Icon=sound Exec=pacpl --to SHN --gui %F & [Desktop Action SMP] Name=To SMP Icon=sound Exec=pacpl --to SMP --gui %F & [Desktop Action SND] Name=To SND Icon=sound Exec=pacpl --to SND --gui %F & [Desktop Action SPX] Name=To SPX Icon=sound Exec=pacpl --to SPX --gui %F & [Desktop Action TTA] Name=To TTA Icon=sound Exec=pacpl --to TTA --gui %F & [Desktop Action VOC] Name=To VOC Icon=sound Exec=pacpl --to VOC --gui %F & [Desktop Action W64] Name=To W64 Icon=sound Exec=pacpl --to W64 --gui %F & [Desktop Action WAV] Name=To WAV Icon=sound Exec=pacpl --to WAV --gui %F & [Desktop Action WMA] Name=To WMA Icon=sound Exec=pacpl --to WMA --gui %F & [Desktop Action WV] Name=To WV Icon=sound Exec=pacpl --to WV --gui %F & pacpl-4.0.5/COPYING0000644000000000000000000010451310661630365012362 0ustar rootroot GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007 Copyright (C) 2007 Free Software Foundation, Inc. Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. Preamble The GNU General Public License is a free, copyleft license for software and other kinds of works. The licenses for most software and other practical works are designed to take away your freedom to share and change the works. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change all versions of a program--to make sure it remains free software for all its users. We, the Free Software Foundation, use the GNU General Public License for most of our software; it applies also to any other work released this way by its authors. You can apply it to your programs, too. When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for them if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs, and that you know you can do these things. To protect your rights, we need to prevent others from denying you these rights or asking you to surrender the rights. Therefore, you have certain responsibilities if you distribute copies of the software, or if you modify it: responsibilities to respect the freedom of others. For example, if you distribute copies of such a program, whether gratis or for a fee, you must pass on to the recipients the same freedoms that you received. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights. Developers that use the GNU GPL protect your rights with two steps: (1) assert copyright on the software, and (2) offer you this License giving you legal permission to copy, distribute and/or modify it. For the developers' and authors' protection, the GPL clearly explains that there is no warranty for this free software. For both users' and authors' sake, the GPL requires that modified versions be marked as changed, so that their problems will not be attributed erroneously to authors of previous versions. Some devices are designed to deny users access to install or run modified versions of the software inside them, although the manufacturer can do so. This is fundamentally incompatible with the aim of protecting users' freedom to change the software. The systematic pattern of such abuse occurs in the area of products for individuals to use, which is precisely where it is most unacceptable. Therefore, we have designed this version of the GPL to prohibit the practice for those products. If such problems arise substantially in other domains, we stand ready to extend this provision to those domains in future versions of the GPL, as needed to protect the freedom of users. Finally, every program is threatened constantly by software patents. States should not allow patents to restrict development and use of software on general-purpose computers, but in those that do, we wish to avoid the special danger that patents applied to a free program could make it effectively proprietary. To prevent this, the GPL assures that patents cannot be used to render the program non-free. The precise terms and conditions for copying, distribution and modification follow. TERMS AND CONDITIONS 0. Definitions. "This License" refers to version 3 of the GNU General Public License. "Copyright" also means copyright-like laws that apply to other kinds of works, such as semiconductor masks. "The Program" refers to any copyrightable work licensed under this License. Each licensee is addressed as "you". "Licensees" and "recipients" may be individuals or organizations. To "modify" a work means to copy from or adapt all or part of the work in a fashion requiring copyright permission, other than the making of an exact copy. The resulting work is called a "modified version" of the earlier work or a work "based on" the earlier work. A "covered work" means either the unmodified Program or a work based on the Program. To "propagate" a work means to do anything with it that, without permission, would make you directly or secondarily liable for infringement under applicable copyright law, except executing it on a computer or modifying a private copy. Propagation includes copying, distribution (with or without modification), making available to the public, and in some countries other activities as well. To "convey" a work means any kind of propagation that enables other parties to make or receive copies. Mere interaction with a user through a computer network, with no transfer of a copy, is not conveying. An interactive user interface displays "Appropriate Legal Notices" to the extent that it includes a convenient and prominently visible feature that (1) displays an appropriate copyright notice, and (2) tells the user that there is no warranty for the work (except to the extent that warranties are provided), that licensees may convey the work under this License, and how to view a copy of this License. If the interface presents a list of user commands or options, such as a menu, a prominent item in the list meets this criterion. 1. Source Code. The "source code" for a work means the preferred form of the work for making modifications to it. "Object code" means any non-source form of a work. A "Standard Interface" means an interface that either is an official standard defined by a recognized standards body, or, in the case of interfaces specified for a particular programming language, one that is widely used among developers working in that language. The "System Libraries" of an executable work include anything, other than the work as a whole, that (a) is included in the normal form of packaging a Major Component, but which is not part of that Major Component, and (b) serves only to enable use of the work with that Major Component, or to implement a Standard Interface for which an implementation is available to the public in source code form. A "Major Component", in this context, means a major essential component (kernel, window system, and so on) of the specific operating system (if any) on which the executable work runs, or a compiler used to produce the work, or an object code interpreter used to run it. The "Corresponding Source" for a work in object code form means all the source code needed to generate, install, and (for an executable work) run the object code and to modify the work, including scripts to control those activities. However, it does not include the work's System Libraries, or general-purpose tools or generally available free programs which are used unmodified in performing those activities but which are not part of the work. For example, Corresponding Source includes interface definition files associated with source files for the work, and the source code for shared libraries and dynamically linked subprograms that the work is specifically designed to require, such as by intimate data communication or control flow between those subprograms and other parts of the work. The Corresponding Source need not include anything that users can regenerate automatically from other parts of the Corresponding Source. The Corresponding Source for a work in source code form is that same work. 2. Basic Permissions. All rights granted under this License are granted for the term of copyright on the Program, and are irrevocable provided the stated conditions are met. This License explicitly affirms your unlimited permission to run the unmodified Program. The output from running a covered work is covered by this License only if the output, given its content, constitutes a covered work. This License acknowledges your rights of fair use or other equivalent, as provided by copyright law. You may make, run and propagate covered works that you do not convey, without conditions so long as your license otherwise remains in force. You may convey covered works to others for the sole purpose of having them make modifications exclusively for you, or provide you with facilities for running those works, provided that you comply with the terms of this License in conveying all material for which you do not control copyright. Those thus making or running the covered works for you must do so exclusively on your behalf, under your direction and control, on terms that prohibit them from making any copies of your copyrighted material outside their relationship with you. Conveying under any other circumstances is permitted solely under the conditions stated below. Sublicensing is not allowed; section 10 makes it unnecessary. 3. Protecting Users' Legal Rights From Anti-Circumvention Law. No covered work shall be deemed part of an effective technological measure under any applicable law fulfilling obligations under article 11 of the WIPO copyright treaty adopted on 20 December 1996, or similar laws prohibiting or restricting circumvention of such measures. When you convey a covered work, you waive any legal power to forbid circumvention of technological measures to the extent such circumvention is effected by exercising rights under this License with respect to the covered work, and you disclaim any intention to limit operation or modification of the work as a means of enforcing, against the work's users, your or third parties' legal rights to forbid circumvention of technological measures. 4. Conveying Verbatim Copies. You may convey verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice; keep intact all notices stating that this License and any non-permissive terms added in accord with section 7 apply to the code; keep intact all notices of the absence of any warranty; and give all recipients a copy of this License along with the Program. You may charge any price or no price for each copy that you convey, and you may offer support or warranty protection for a fee. 5. Conveying Modified Source Versions. You may convey a work based on the Program, or the modifications to produce it from the Program, in the form of source code under the terms of section 4, provided that you also meet all of these conditions: a) The work must carry prominent notices stating that you modified it, and giving a relevant date. b) The work must carry prominent notices stating that it is released under this License and any conditions added under section 7. This requirement modifies the requirement in section 4 to "keep intact all notices". c) You must license the entire work, as a whole, under this License to anyone who comes into possession of a copy. This License will therefore apply, along with any applicable section 7 additional terms, to the whole of the work, and all its parts, regardless of how they are packaged. This License gives no permission to license the work in any other way, but it does not invalidate such permission if you have separately received it. d) If the work has interactive user interfaces, each must display Appropriate Legal Notices; however, if the Program has interactive interfaces that do not display Appropriate Legal Notices, your work need not make them do so. A compilation of a covered work with other separate and independent works, which are not by their nature extensions of the covered work, and which are not combined with it such as to form a larger program, in or on a volume of a storage or distribution medium, is called an "aggregate" if the compilation and its resulting copyright are not used to limit the access or legal rights of the compilation's users beyond what the individual works permit. Inclusion of a covered work in an aggregate does not cause this License to apply to the other parts of the aggregate. 6. Conveying Non-Source Forms. You may convey a covered work in object code form under the terms of sections 4 and 5, provided that you also convey the machine-readable Corresponding Source under the terms of this License, in one of these ways: a) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by the Corresponding Source fixed on a durable physical medium customarily used for software interchange. b) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by a written offer, valid for at least three years and valid for as long as you offer spare parts or customer support for that product model, to give anyone who possesses the object code either (1) a copy of the Corresponding Source for all the software in the product that is covered by this License, on a durable physical medium customarily used for software interchange, for a price no more than your reasonable cost of physically performing this conveying of source, or (2) access to copy the Corresponding Source from a network server at no charge. c) Convey individual copies of the object code with a copy of the written offer to provide the Corresponding Source. This alternative is allowed only occasionally and noncommercially, and only if you received the object code with such an offer, in accord with subsection 6b. d) Convey the object code by offering access from a designated place (gratis or for a charge), and offer equivalent access to the Corresponding Source in the same way through the same place at no further charge. You need not require recipients to copy the Corresponding Source along with the object code. If the place to copy the object code is a network server, the Corresponding Source may be on a different server (operated by you or a third party) that supports equivalent copying facilities, provided you maintain clear directions next to the object code saying where to find the Corresponding Source. Regardless of what server hosts the Corresponding Source, you remain obligated to ensure that it is available for as long as needed to satisfy these requirements. e) Convey the object code using peer-to-peer transmission, provided you inform other peers where the object code and Corresponding Source of the work are being offered to the general public at no charge under subsection 6d. A separable portion of the object code, whose source code is excluded from the Corresponding Source as a System Library, need not be included in conveying the object code work. A "User Product" is either (1) a "consumer product", which means any tangible personal property which is normally used for personal, family, or household purposes, or (2) anything designed or sold for incorporation into a dwelling. In determining whether a product is a consumer product, doubtful cases shall be resolved in favor of coverage. For a particular product received by a particular user, "normally used" refers to a typical or common use of that class of product, regardless of the status of the particular user or of the way in which the particular user actually uses, or expects or is expected to use, the product. A product is a consumer product regardless of whether the product has substantial commercial, industrial or non-consumer uses, unless such uses represent the only significant mode of use of the product. "Installation Information" for a User Product means any methods, procedures, authorization keys, or other information required to install and execute modified versions of a covered work in that User Product from a modified version of its Corresponding Source. The information must suffice to ensure that the continued functioning of the modified object code is in no case prevented or interfered with solely because modification has been made. If you convey an object code work under this section in, or with, or specifically for use in, a User Product, and the conveying occurs as part of a transaction in which the right of possession and use of the User Product is transferred to the recipient in perpetuity or for a fixed term (regardless of how the transaction is characterized), the Corresponding Source conveyed under this section must be accompanied by the Installation Information. But this requirement does not apply if neither you nor any third party retains the ability to install modified object code on the User Product (for example, the work has been installed in ROM). The requirement to provide Installation Information does not include a requirement to continue to provide support service, warranty, or updates for a work that has been modified or installed by the recipient, or for the User Product in which it has been modified or installed. Access to a network may be denied when the modification itself materially and adversely affects the operation of the network or violates the rules and protocols for communication across the network. Corresponding Source conveyed, and Installation Information provided, in accord with this section must be in a format that is publicly documented (and with an implementation available to the public in source code form), and must require no special password or key for unpacking, reading or copying. 7. Additional Terms. "Additional permissions" are terms that supplement the terms of this License by making exceptions from one or more of its conditions. Additional permissions that are applicable to the entire Program shall be treated as though they were included in this License, to the extent that they are valid under applicable law. If additional permissions apply only to part of the Program, that part may be used separately under those permissions, but the entire Program remains governed by this License without regard to the additional permissions. When you convey a copy of a covered work, you may at your option remove any additional permissions from that copy, or from any part of it. (Additional permissions may be written to require their own removal in certain cases when you modify the work.) You may place additional permissions on material, added by you to a covered work, for which you have or can give appropriate copyright permission. Notwithstanding any other provision of this License, for material you add to a covered work, you may (if authorized by the copyright holders of that material) supplement the terms of this License with terms: a) Disclaiming warranty or limiting liability differently from the terms of sections 15 and 16 of this License; or b) Requiring preservation of specified reasonable legal notices or author attributions in that material or in the Appropriate Legal Notices displayed by works containing it; or c) Prohibiting misrepresentation of the origin of that material, or requiring that modified versions of such material be marked in reasonable ways as different from the original version; or d) Limiting the use for publicity purposes of names of licensors or authors of the material; or e) Declining to grant rights under trademark law for use of some trade names, trademarks, or service marks; or f) Requiring indemnification of licensors and authors of that material by anyone who conveys the material (or modified versions of it) with contractual assumptions of liability to the recipient, for any liability that these contractual assumptions directly impose on those licensors and authors. All other non-permissive additional terms are considered "further restrictions" within the meaning of section 10. If the Program as you received it, or any part of it, contains a notice stating that it is governed by this License along with a term that is a further restriction, you may remove that term. If a license document contains a further restriction but permits relicensing or conveying under this License, you may add to a covered work material governed by the terms of that license document, provided that the further restriction does not survive such relicensing or conveying. If you add terms to a covered work in accord with this section, you must place, in the relevant source files, a statement of the additional terms that apply to those files, or a notice indicating where to find the applicable terms. Additional terms, permissive or non-permissive, may be stated in the form of a separately written license, or stated as exceptions; the above requirements apply either way. 8. Termination. You may not propagate or modify a covered work except as expressly provided under this License. Any attempt otherwise to propagate or modify it is void, and will automatically terminate your rights under this License (including any patent licenses granted under the third paragraph of section 11). However, if you cease all violation of this License, then your license from a particular copyright holder is reinstated (a) provisionally, unless and until the copyright holder explicitly and finally terminates your license, and (b) permanently, if the copyright holder fails to notify you of the violation by some reasonable means prior to 60 days after the cessation. Moreover, your license from a particular copyright holder is reinstated permanently if the copyright holder notifies you of the violation by some reasonable means, this is the first time you have received notice of violation of this License (for any work) from that copyright holder, and you cure the violation prior to 30 days after your receipt of the notice. Termination of your rights under this section does not terminate the licenses of parties who have received copies or rights from you under this License. If your rights have been terminated and not permanently reinstated, you do not qualify to receive new licenses for the same material under section 10. 9. Acceptance Not Required for Having Copies. You are not required to accept this License in order to receive or run a copy of the Program. Ancillary propagation of a covered work occurring solely as a consequence of using peer-to-peer transmission to receive a copy likewise does not require acceptance. However, nothing other than this License grants you permission to propagate or modify any covered work. These actions infringe copyright if you do not accept this License. Therefore, by modifying or propagating a covered work, you indicate your acceptance of this License to do so. 10. Automatic Licensing of Downstream Recipients. Each time you convey a covered work, the recipient automatically receives a license from the original licensors, to run, modify and propagate that work, subject to this License. You are not responsible for enforcing compliance by third parties with this License. An "entity transaction" is a transaction transferring control of an organization, or substantially all assets of one, or subdividing an organization, or merging organizations. If propagation of a covered work results from an entity transaction, each party to that transaction who receives a copy of the work also receives whatever licenses to the work the party's predecessor in interest had or could give under the previous paragraph, plus a right to possession of the Corresponding Source of the work from the predecessor in interest, if the predecessor has it or can get it with reasonable efforts. You may not impose any further restrictions on the exercise of the rights granted or affirmed under this License. For example, you may not impose a license fee, royalty, or other charge for exercise of rights granted under this License, and you may not initiate litigation (including a cross-claim or counterclaim in a lawsuit) alleging that any patent claim is infringed by making, using, selling, offering for sale, or importing the Program or any portion of it. 11. Patents. A "contributor" is a copyright holder who authorizes use under this License of the Program or a work on which the Program is based. The work thus licensed is called the contributor's "contributor version". A contributor's "essential patent claims" are all patent claims owned or controlled by the contributor, whether already acquired or hereafter acquired, that would be infringed by some manner, permitted by this License, of making, using, or selling its contributor version, but do not include claims that would be infringed only as a consequence of further modification of the contributor version. For purposes of this definition, "control" includes the right to grant patent sublicenses in a manner consistent with the requirements of this License. Each contributor grants you a non-exclusive, worldwide, royalty-free patent license under the contributor's essential patent claims, to make, use, sell, offer for sale, import and otherwise run, modify and propagate the contents of its contributor version. In the following three paragraphs, a "patent license" is any express agreement or commitment, however denominated, not to enforce a patent (such as an express permission to practice a patent or covenant not to sue for patent infringement). To "grant" such a patent license to a party means to make such an agreement or commitment not to enforce a patent against the party. If you convey a covered work, knowingly relying on a patent license, and the Corresponding Source of the work is not available for anyone to copy, free of charge and under the terms of this License, through a publicly available network server or other readily accessible means, then you must either (1) cause the Corresponding Source to be so available, or (2) arrange to deprive yourself of the benefit of the patent license for this particular work, or (3) arrange, in a manner consistent with the requirements of this License, to extend the patent license to downstream recipients. "Knowingly relying" means you have actual knowledge that, but for the patent license, your conveying the covered work in a country, or your recipient's use of the covered work in a country, would infringe one or more identifiable patents in that country that you have reason to believe are valid. If, pursuant to or in connection with a single transaction or arrangement, you convey, or propagate by procuring conveyance of, a covered work, and grant a patent license to some of the parties receiving the covered work authorizing them to use, propagate, modify or convey a specific copy of the covered work, then the patent license you grant is automatically extended to all recipients of the covered work and works based on it. A patent license is "discriminatory" if it does not include within the scope of its coverage, prohibits the exercise of, or is conditioned on the non-exercise of one or more of the rights that are specifically granted under this License. You may not convey a covered work if you are a party to an arrangement with a third party that is in the business of distributing software, under which you make payment to the third party based on the extent of your activity of conveying the work, and under which the third party grants, to any of the parties who would receive the covered work from you, a discriminatory patent license (a) in connection with copies of the covered work conveyed by you (or copies made from those copies), or (b) primarily for and in connection with specific products or compilations that contain the covered work, unless you entered into that arrangement, or that patent license was granted, prior to 28 March 2007. Nothing in this License shall be construed as excluding or limiting any implied license or other defenses to infringement that may otherwise be available to you under applicable patent law. 12. No Surrender of Others' Freedom. If conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot convey a covered work so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not convey it at all. For example, if you agree to terms that obligate you to collect a royalty for further conveying from those to whom you convey the Program, the only way you could satisfy both those terms and this License would be to refrain entirely from conveying the Program. 13. Use with the GNU Affero General Public License. Notwithstanding any other provision of this License, you have permission to link or combine any covered work with a work licensed under version 3 of the GNU Affero General Public License into a single combined work, and to convey the resulting work. The terms of this License will continue to apply to the part which is the covered work, but the special requirements of the GNU Affero General Public License, section 13, concerning interaction through a network will apply to the combination as such. 14. Revised Versions of this License. The Free Software Foundation may publish revised and/or new versions of the GNU General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. Each version is given a distinguishing version number. If the Program specifies that a certain numbered version of the GNU General Public License "or any later version" applies to it, you have the option of following the terms and conditions either of that numbered version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of the GNU General Public License, you may choose any version ever published by the Free Software Foundation. If the Program specifies that a proxy can decide which future versions of the GNU General Public License can be used, that proxy's public statement of acceptance of a version permanently authorizes you to choose that version for the Program. Later license versions may give you additional or different permissions. However, no additional obligations are imposed on any author or copyright holder as a result of your choosing to follow a later version. 15. Disclaimer of Warranty. THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 16. Limitation of Liability. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. 17. Interpretation of Sections 15 and 16. If the disclaimer of warranty and limitation of liability provided above cannot be given local legal effect according to their terms, reviewing courts shall apply local law that most closely approximates an absolute waiver of all civil liability in connection with the Program, unless a warranty or assumption of liability accompanies a copy of the Program in return for a fee. END OF TERMS AND CONDITIONS How to Apply These Terms to Your New Programs If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms. To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively state the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. Copyright (C) This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see . Also add information on how to contact you by electronic and paper mail. If the program does terminal interaction, make it output a short notice like this when it starts in an interactive mode: Copyright (C) This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details. The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, your program's commands might be different; for a GUI interface, you would use an "about box". You should also get your employer (if you work as a programmer) or school, if any, to sign a "copyright disclaimer" for the program, if necessary. For more information on this, and how to apply and follow the GNU GPL, see . The GNU General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Lesser General Public License instead of this License. But first, please read .