Projects
Multimedia
audacious-plugins
Sign Up
Log In
Username
Password
We truncated the diff of some files because they were too big. If you want to see the full diff for every file,
click here
.
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 33
View file
audacious-plugins.changes
Changed
@@ -1,4 +1,9 @@ ------------------------------------------------------------------- +Sat Aug 13 00:00:00 UTC 2011 - detlef@links2linux.de + +- new upstream version <3.0.1> + +------------------------------------------------------------------- Sat Jul 02 00:00:00 UTC 2011 - detlef@links2linux.de - new upstream version <2.5.3>
View file
audacious-plugins.spec
Changed
@@ -3,7 +3,7 @@ %define grp Productivity/Multimedia/Sound/Players Name: audacious-plugins -Version: 3.0 +Version: 3.0.1 Release: 1 Summary: Plugins for Audacious
View file
audacious-plugins-3.0.tar.gz/configure -> audacious-plugins-3.0.1.tar.gz/configure
Changed
@@ -11449,7 +11449,7 @@ if test "x$enable_hotkey" = "xyes"; then - have_hotkey="yes" + if test $enable_gtk3 = yes ; then pkg_failed=no { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GDKX11" >&5 @@ -11459,12 +11459,12 @@ pkg_cv_GDKX11_CFLAGS="$GDKX11_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gdk-x11-2.0 >= 2.6.0\""; } >&5 - ($PKG_CONFIG --exists --print-errors "gdk-x11-2.0 >= 2.6.0") 2>&5 + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gdk-x11-3.0\""; } >&5 + ($PKG_CONFIG --exists --print-errors "gdk-x11-3.0") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then - pkg_cv_GDKX11_CFLAGS=`$PKG_CONFIG --cflags "gdk-x11-2.0 >= 2.6.0" 2>/dev/null` + pkg_cv_GDKX11_CFLAGS=`$PKG_CONFIG --cflags "gdk-x11-3.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes @@ -11476,12 +11476,12 @@ pkg_cv_GDKX11_LIBS="$GDKX11_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gdk-x11-2.0 >= 2.6.0\""; } >&5 - ($PKG_CONFIG --exists --print-errors "gdk-x11-2.0 >= 2.6.0") 2>&5 + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gdk-x11-3.0\""; } >&5 + ($PKG_CONFIG --exists --print-errors "gdk-x11-3.0") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then - pkg_cv_GDKX11_LIBS=`$PKG_CONFIG --libs "gdk-x11-2.0 >= 2.6.0" 2>/dev/null` + pkg_cv_GDKX11_LIBS=`$PKG_CONFIG --libs "gdk-x11-3.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes @@ -11502,9 +11502,9 @@ _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then - GDKX11_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gdk-x11-2.0 >= 2.6.0" 2>&1` + GDKX11_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gdk-x11-3.0" 2>&1` else - GDKX11_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gdk-x11-2.0 >= 2.6.0" 2>&1` + GDKX11_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gdk-x11-3.0" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$GDKX11_PKG_ERRORS" >&5 @@ -11519,8 +11519,81 @@ GDKX11_LIBS=$pkg_cv_GDKX11_LIBS { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } + have_hotkey="yes" +fi + else + +pkg_failed=no +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GDKX11" >&5 +$as_echo_n "checking for GDKX11... " >&6; } +if test -n "$GDKX11_CFLAGS"; then + pkg_cv_GDKX11_CFLAGS="$GDKX11_CFLAGS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gdk-x11-2.0\""; } >&5 + ($PKG_CONFIG --exists --print-errors "gdk-x11-2.0") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_GDKX11_CFLAGS=`$PKG_CONFIG --cflags "gdk-x11-2.0" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi +if test -n "$GDKX11_LIBS"; then + pkg_cv_GDKX11_LIBS="$GDKX11_LIBS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gdk-x11-2.0\""; } >&5 + ($PKG_CONFIG --exists --print-errors "gdk-x11-2.0") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_GDKX11_LIBS=`$PKG_CONFIG --libs "gdk-x11-2.0" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi + + + +if test $pkg_failed = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + +if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then + _pkg_short_errors_supported=yes +else + _pkg_short_errors_supported=no +fi + if test $_pkg_short_errors_supported = yes; then + GDKX11_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gdk-x11-2.0" 2>&1` + else + GDKX11_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gdk-x11-2.0" 2>&1` + fi + # Put the nasty error message in config.log where it belongs + echo "$GDKX11_PKG_ERRORS" >&5 + + have_hotkey="no" +elif test $pkg_failed = untried; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + have_hotkey="no" +else + GDKX11_CFLAGS=$pkg_cv_GDKX11_CFLAGS + GDKX11_LIBS=$pkg_cv_GDKX11_LIBS + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + have_hotkey="yes" fi + fi else { $as_echo "$as_me:${as_lineno-$LINENO}: result: *** X11 Global Hotkey plugin disabled per user request ***" >&5 $as_echo "*** X11 Global Hotkey plugin disabled per user request ***" >&6; }
View file
audacious-plugins-3.0.tar.gz/configure.ac -> audacious-plugins-3.0.1.tar.gz/configure.ac
Changed
@@ -451,8 +451,11 @@ ) if test "x$enable_hotkey" = "xyes"; then - have_hotkey="yes" - PKG_CHECK_MODULES(GDKX11,[gdk-x11-2.0 >= 2.6.0],,[have_hotkey="no"]) + if test $enable_gtk3 = yes ; then + PKG_CHECK_MODULES(GDKX11, [gdk-x11-3.0], [have_hotkey="yes"], [have_hotkey="no"]) + else + PKG_CHECK_MODULES(GDKX11, [gdk-x11-2.0], [have_hotkey="yes"], [have_hotkey="no"]) + fi else AC_MSG_RESULT([*** X11 Global Hotkey plugin disabled per user request ***]) have_hotkey="no"
View file
audacious-plugins-3.0.tar.gz/po/Makefile -> audacious-plugins-3.0.1.tar.gz/po/Makefile
Changed
@@ -18,12 +18,14 @@ hu.po \ ja.po \ lv.po \ + lt.po \ pl.po \ ro.po \ ru.po \ sk.po \ tr.po \ - zh_CN.po + zh_CN.po \ + zh_TW.po include ../extra.mk include ../buildsys.mk
View file
audacious-plugins-3.0.1.tar.gz/po/lt.po
Added
@@ -0,0 +1,3943 @@ +# Copyright (C) gymka 2011 +# This file is distributed under the same license as the PACKAGE package. +# gymka <gymka@mail.ru>, 2011. +# +msgid "" +msgstr "" +"Project-Id-Version: audacious plugins 3.0\n" +"Report-Msgid-Bugs-To: http://jira.atheme.org/\n" +"POT-Creation-Date: 2011-07-17 18:49-0400\n" +"PO-Revision-Date: 2011-07-24 19:20+0300\n" +"Last-Translator: gymka <gymka@mail.ru>\n" +"Language-Team: Lietuvių <>\n" +"Language: lt\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bits\n" +"Plural-Forms: nplurals=2; plural=(n!=1);\n" + +#: src/aac/libmp4.c:256 +#, c-format +msgid "" +"Using libfaad2-%s for decoding.\n" +"FAAD2 AAC/HE-AAC/HE-AACv2/DRM decoder (c) Nero AG, www.nero.com\n" +"Copyright (c) 2005-2006 Audacious team" +msgstr "" +"Dekodavimui naudojamas libfaad2-%s.\n" +"FAAD2 AAC/HE-AAC/HE-AACv2/DRM dekoderis (c) Nero AG, www.nero.com\n" +"Copyright (c) 2005-2006 Audacious team" + +#: src/aac/libmp4.c:261 +msgid "About MP4 AAC decoder plugin" +msgstr "Apie MP4 AAC decoder plugin" + +#: src/alsa/config.c:210 +msgid "Default PCM device" +msgstr "Numatytasis PCM įrenginys" + +#: src/alsa/config.c:235 +msgid "Default mixer device" +msgstr "Numatytasis mikseris" + +#: src/alsa/config.c:447 +msgid "ALSA Output Plugin Preferences" +msgstr "ALSA išvesties įskiepio nustatymai" + +#: src/alsa/config.c:454 +msgid "PCM device:" +msgstr "PCM įrenginys:" + +#: src/alsa/config.c:456 src/OSS/configure.c:246 +msgid "Mixer device:" +msgstr "Mikseris:" + +#: src/alsa/config.c:458 +msgid "Mixer element:" +msgstr "Mikserio elementas:" + +#: src/alsa/config.c:461 +msgid "Work around drain hangup" +msgstr "Work around drain hangup" + +#: src/alsa/plugin.c:59 +msgid "About ALSA Output Plugin" +msgstr "Apie ALSA išvesties įskiepį" + +#: src/alsa/plugin.c:81 +msgid "ALSA error" +msgstr "ALSA klaida" + +#: src/amidi-plug/amidi-plug.c:335 +msgid "" +"You have not selected any sequencer ports for MIDI playback. You can do so " +"in the MIDI plugin preferences." +msgstr "" +"Nepasrinkti joki MIDI atkūrimo prievadai. Pasirinkt gali MIDI įskiepio " +"nustatymuose." + +#: src/amidi-plug/backend-alsa/b-alsa.c:35 +msgid "ALSA Backend " +msgstr "ALSA posistemė" + +#: src/amidi-plug/backend-alsa/b-alsa.c:37 +msgid "" +"This backend sends MIDI events to a group of user-chosen ALSA sequencer " +"ports. The ALSA sequencer interface is very versatile, it can provide ports " +"for audio cards hardware synthesizers (i.e. emu10k1) but also for software " +"synths, external devices, etc.\n" +"This backend does not produce audio, MIDI events are handled directly from " +"devices/programs behind the ALSA ports; in example, MIDI events sent to the " +"hardware synth will be directly played.\n" +"Backend written by Giacomo Lozito." +msgstr "" +"This backend sends MIDI events to a group of user-chosen ALSA sequencer " +"ports. The ALSA sequencer interface is very versatile, it can provide ports " +"for audio cards hardware synthesizers (i.e. emu10k1) but also for software " +"synths, external devices, etc.\n" +"This backend does not produce audio, MIDI events are handled directly from " +"devices/programs behind the ALSA ports; in example, MIDI events sent to the " +"hardware synth will be directly played.\n" +"Backend written by Giacomo Lozito." + +#: src/amidi-plug/backend-fluidsynth/b-fluidsynth.c:38 +msgid "FluidSynth Backend " +msgstr "FluidSynth Backend " + +#: src/amidi-plug/backend-fluidsynth/b-fluidsynth.c:40 +msgid "" +"This backend produces audio by sending MIDI events to FluidSynth, a real-" +"time software synthesizer based on the SoundFont2 specification (www." +"fluidsynth.org).\n" +"Produced audio can be manipulated via player effect plugins and is processed " +"by chosen ouput plugin.\n" +"Backend written by Giacomo Lozito." +msgstr "" +"This backend produces audio by sending MIDI events to FluidSynth, a real-" +"time software synthesizer based on the SoundFont2 specification (www." +"fluidsynth.org).\n" +"Produced audio can be manipulated via player effect plugins and is processed " +"by chosen ouput plugin.\n" +"Backend written by Giacomo Lozito." + +#: src/amidi-plug/i_configure-alsa.c:228 +msgid "ALSA BACKEND CONFIGURATION" +msgstr "ALSA POSISTEMĖS KONFIGŪRAVIMAS" + +#: src/amidi-plug/i_configure-alsa.c:331 +msgid "Port" +msgstr "Prievadas" + +#: src/amidi-plug/i_configure-alsa.c:333 +msgid "Client name" +msgstr "Vardas" + +#: src/amidi-plug/i_configure-alsa.c:335 +msgid "Port name" +msgstr "Prievado vardas" + +#: src/amidi-plug/i_configure-alsa.c:346 +msgid "ALSA output ports" +msgstr "ALSA išvesties prievadai" + +#: src/amidi-plug/i_configure-alsa.c:399 +msgid "Soundcard: " +msgstr "Garso plokštė:" + +#: src/amidi-plug/i_configure-alsa.c:401 +msgid "Mixer control: " +msgstr "Mikserio valdymas:" + +#: src/amidi-plug/i_configure-alsa.c:413 +msgid "Mixer settings" +msgstr "Mikserio nustatymai" + +#: src/amidi-plug/i_configure-alsa.c:429 +msgid "ALSA Backend not loaded or not available" +msgstr "ALSA posistemė neužkrauta arba neprieinama" + +#: src/amidi-plug/i_configure-alsa.c:448 +msgid "" +"<span size=\"smaller\">ALSA\n" +"backend</span>" +msgstr "" +"<span size=\"smaller\">ALSA\n" +"posistemė</span>" + +#: src/amidi-plug/i_configure-ap.c:59 +msgid "AMIDI-Plug - backend information" +msgstr "AMIDI-Plug - positemės informacija" + +#: src/amidi-plug/i_configure-ap.c:196 +msgid "AMIDI-PLUG PREFERENCES" +msgstr "AMIDI-PLUG NUSTATYMAI" + +#: src/amidi-plug/i_configure-ap.c:223 +msgid "Backend selection" +msgstr "Posistemės pasirinkimas" + +#: src/amidi-plug/i_configure-ap.c:227 +msgid "Available backends" +msgstr "Prieinamos posistemės" + +#: src/amidi-plug/i_configure-ap.c:257 +msgid "Playback settings" +msgstr "Atkūrimo nustatymai" + +#: src/amidi-plug/i_configure-ap.c:262 +msgid "Transpose: " +msgstr "Perkelti:" + +#: src/amidi-plug/i_configure-ap.c:271 +msgid "Drum shift: " +msgstr "Drum shift: " + +#: src/amidi-plug/i_configure-ap.c:289 +msgid "Advanced settings" +msgstr "Papildomi nustatymai" + +#: src/amidi-plug/i_configure-ap.c:293 +msgid "pre-calculate length of MIDI files in playlist"
View file
audacious-plugins-3.0.1.tar.gz/po/zh_TW.po
Added
@@ -0,0 +1,3784 @@ +# Chinese translations for audacious-plugins package. +# Copyright (C) 2011 THE audacious-plugins'S COPYRIGHT HOLDER +# This file is distributed under the same license as the audacious-plugins package. +# Ruei-Yuan Lu <RueiYuan.Lu@gmail.com>, 2011. +# +msgid "" +msgstr "" +"Project-Id-Version: audacious-plugins 3.0\n" +"Report-Msgid-Bugs-To: http://jira.atheme.org/\n" +"POT-Creation-Date: 2011-07-17 18:49-0400\n" +"PO-Revision-Date: 2011-07-27 10:39+0800\n" +"Last-Translator: Ruei-Yuan Lu <RueiYuan.Lu@gmail.com>\n" +"Language-Team: Chinese (traditional)\n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +#"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n" + +#: src/aac/libmp4.c:256 +#, c-format +msgid "" +"Using libfaad2-%s for decoding.\n" +"FAAD2 AAC/HE-AAC/HE-AACv2/DRM decoder (c) Nero AG, www.nero.com\n" +"Copyright (c) 2005-2006 Audacious team" +msgstr "" +"使用 libfaad2-%s 進行解碼。\n" +"FAAD2 AAC/HE-AAC/HE-AACv2/DRM decoder (c) Nero AG, www.nero.com\n" +"Copyright (c) 2005-2006 Audacious team" + + +#: src/aac/libmp4.c:261 +msgid "About MP4 AAC decoder plugin" +msgstr "關於 MP4 AAC 解碼器外掛" + +#: src/alsa/config.c:210 +msgid "Default PCM device" +msgstr "預設 PCM 裝置" + +#: src/alsa/config.c:235 +msgid "Default mixer device" +msgstr "預設混音器裝置" + +#: src/alsa/config.c:447 +msgid "ALSA Output Plugin Preferences" +msgstr "ALSA 輸出外掛偏好設定" + +#: src/alsa/config.c:454 +msgid "PCM device:" +msgstr "PCM 裝置:" + +#: src/alsa/config.c:456 src/OSS/configure.c:246 +msgid "Mixer device:" +msgstr "混音器裝置:" + +#: src/alsa/config.c:458 +msgid "Mixer element:" +msgstr "混音器元件:" + +#: src/alsa/config.c:461 +msgid "Work around drain hangup" +msgstr "處理欠載鎖死" + +#: src/alsa/plugin.c:59 +msgid "About ALSA Output Plugin" +msgstr "關於 ALSA 輸出外掛" + +#: src/alsa/plugin.c:81 +msgid "ALSA error" +msgstr "ALSA 錯誤" + +#: src/amidi-plug/amidi-plug.c:335 +msgid "" +"You have not selected any sequencer ports for MIDI playback. You can do so " +"in the MIDI plugin preferences." +msgstr "您尚未選擇任何用於播放 MIDI 的編曲機連接埠。請到 MIDI 外掛偏好設定中設定。" + +#: src/amidi-plug/backend-alsa/b-alsa.c:35 +msgid "ALSA Backend " +msgstr "ALSA 後端" + +#: src/amidi-plug/backend-alsa/b-alsa.c:37 +msgid "" +"This backend sends MIDI events to a group of user-chosen ALSA sequencer " +"ports. The ALSA sequencer interface is very versatile, it can provide ports " +"for audio cards hardware synthesizers (i.e. emu10k1) but also for software " +"synths, external devices, etc.\n" +"This backend does not produce audio, MIDI events are handled directly from " +"devices/programs behind the ALSA ports; in example, MIDI events sent to the " +"hardware synth will be directly played.\n" +"Backend written by Giacomo Lozito." +msgstr "" +"這個後端會傳送 MIDI 事件到一組由使用者指定的 ALSA 編曲機連接埠。" +"ALSA 編曲機介面有很多功能,它不但可以提供連接埠給音效卡上的硬體編曲機 (如" +" emu10k1) 還可以給軟體合成器與外接裝置等。\n\n" +"這個後端本身並不產生音效,MIDI 事件直接由 ALSA 連接埠後的裝置或程式來處理;" +"舉例來說,MIDI 事件被送到硬體合成器以後將會被直接播放。\n\n" +"作者:Giacomo Lozito" + +#: src/amidi-plug/backend-fluidsynth/b-fluidsynth.c:38 +msgid "FluidSynth Backend " +msgstr "FluidSynth 後端" + +#: src/amidi-plug/backend-fluidsynth/b-fluidsynth.c:40 +msgid "" +"This backend produces audio by sending MIDI events to FluidSynth, a real-" +"time software synthesizer based on the SoundFont2 specification (www." +"fluidsynth.org).\n" +"Produced audio can be manipulated via player effect plugins and is processed " +"by chosen ouput plugin.\n" +"Backend written by Giacomo Lozito." +msgstr "" +"這個後端會將 MIDI 事件傳送給 FluidSynth 並產生音效,FluidSynth 是一個基於 SoundFont2" +" 規格 (www.fluidsynth.org) 的即時軟體合成器。\n\n" +"產生的音效會被播放器的特效外掛與輸出外掛影響。\n\n" +"作者:Giacomo Lozito" + +#: src/amidi-plug/i_configure-alsa.c:228 +msgid "ALSA BACKEND CONFIGURATION" +msgstr "ALSA 後端設定" + +#: src/amidi-plug/i_configure-alsa.c:331 +msgid "Port" +msgstr "連接埠" + +#: src/amidi-plug/i_configure-alsa.c:333 +msgid "Client name" +msgstr "客戶端名稱" + +#: src/amidi-plug/i_configure-alsa.c:335 +msgid "Port name" +msgstr "連接埠名稱" + +#: src/amidi-plug/i_configure-alsa.c:346 +msgid "ALSA output ports" +msgstr "ALSA 輸出埠" + +#: src/amidi-plug/i_configure-alsa.c:399 +msgid "Soundcard: " +msgstr "音效卡:" + +#: src/amidi-plug/i_configure-alsa.c:401 +msgid "Mixer control: " +msgstr "混音器控制器:" + +#: src/amidi-plug/i_configure-alsa.c:413 +msgid "Mixer settings" +msgstr "混音器設定" + +#: src/amidi-plug/i_configure-alsa.c:429 +msgid "ALSA Backend not loaded or not available" +msgstr "ALSA 後端未載入或不存在" + +#: src/amidi-plug/i_configure-alsa.c:448 +msgid "" +"<span size=\"smaller\">ALSA\n" +"backend</span>" +msgstr "" +"<span size=\"smaller\">ALSA\n" +"後端</span>" + + +#: src/amidi-plug/i_configure-ap.c:59 +msgid "AMIDI-Plug - backend information" +msgstr "AMIDI-Plug - 後端資訊" + +#: src/amidi-plug/i_configure-ap.c:196 +msgid "AMIDI-PLUG PREFERENCES" +msgstr "AMIDI-PLUG 偏好設定" + +#: src/amidi-plug/i_configure-ap.c:223 +msgid "Backend selection" +msgstr "選擇後端" + +#: src/amidi-plug/i_configure-ap.c:227 +msgid "Available backends" +msgstr "可用的後端" + +#: src/amidi-plug/i_configure-ap.c:257 +msgid "Playback settings" +msgstr "播放設定" + +#: src/amidi-plug/i_configure-ap.c:262 +msgid "Transpose: " +msgstr "移調: " + +#: src/amidi-plug/i_configure-ap.c:271 +msgid "Drum shift: " +msgstr "鼓移: " + +#: src/amidi-plug/i_configure-ap.c:289 +msgid "Advanced settings" +msgstr "進階設定" + +#: src/amidi-plug/i_configure-ap.c:293 +msgid "pre-calculate length of MIDI files in playlist" +msgstr "事先計算在播放清單中 MIDI 檔的長度" + +#: src/amidi-plug/i_configure-ap.c:298
View file
audacious-plugins-3.0.tar.gz/src/xspf/xspf.c -> audacious-plugins-3.0.1.tar.gz/src/xspf/xspf.c
Changed
@@ -245,6 +245,71 @@ } +#define IS_VALID_CHAR(c) (((c) >= 0x20 && (c) <= 0xd7ff) || \ + ((c) == 0x9) || \ + ((c) == 0xa) || \ + ((c) == 0xd) || \ + ((c) >= 0xe000 && (c) <= 0xfffd) || \ + ((c) >= 0x10000 && (c) <= 0x10ffff)) + +/* check for characters that are invalid in XML */ +static gboolean is_valid_string (const gchar * s, gchar * * subst) +{ + if (! g_utf8_validate (s, -1, NULL)) + goto NOT_VALID; + + const gchar * p = s; + while (* p) + { + gunichar c = g_utf8_get_char (p); + + if (IS_VALID_CHAR (c)) + p = g_utf8_next_char (p); + else + goto NOT_VALID; + } + + return TRUE; + +NOT_VALID:; + gint len = 0; + + p = s; + while (* p) + { + gunichar c = g_utf8_get_char_validated (p, -1); + + if (IS_VALID_CHAR (c)) + { + len += g_unichar_to_utf8 (c, NULL); + p = g_utf8_next_char (p); + } + else + p ++; + } + + * subst = g_malloc (len + 1); + gchar * w = * subst; + + p = s; + while (* p) + { + gunichar c = g_utf8_get_char_validated (p, -1); + + if (IS_VALID_CHAR (c)) + { + w += g_unichar_to_utf8 (c, w); + p = g_utf8_next_char (p); + } + else + p ++; + } + + * w = 0; + return FALSE; +} + + static void xspf_add_node(xmlNodePtr node, TupleValueType type, gboolean isMeta, const gchar *xspfName, const gchar *strVal, const gint intVal) @@ -259,8 +324,15 @@ tmp = xmlNewNode(NULL, (xmlChar *) xspfName); switch (type) { - case TUPLE_STRING: - xmlAddChild(tmp, xmlNewText((xmlChar *) strVal)); + case TUPLE_STRING:; + gchar * subst; + if (is_valid_string (strVal, & subst)) + xmlAddChild (tmp, xmlNewText ((xmlChar *) strVal)); + else + { + xmlAddChild (tmp, xmlNewText ((xmlChar *) subst)); + g_free (subst); + } break; case TUPLE_INT:
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.