File parole-add-uri-scheme-handler-support.patch of Package parole
Index: parole-0.5.0/data/desktop/desktop.sh
===================================================================
--- parole-0.5.0.orig/data/desktop/desktop.sh
+++ parole-0.5.0/data/desktop/desktop.sh
@@ -10,6 +10,13 @@ for i in $MIMETYPES ; do
echo_mime;
done
+# URI scheme handlers
+SCHEMES="pnm mms net rtp rtsp mmsh uvox icy icyx"
+
+for i in $SCHEMES ; do
+ printf "x-scheme-handler/$i;"
+done
+
echo ""
echo ""
echo "Actions=Play;Previous;Next;"
Index: parole-0.5.0/data/mime/mime-type-include.sh
===================================================================
--- parole-0.5.0.orig/data/mime/mime-type-include.sh
+++ parole-0.5.0/data/mime/mime-type-include.sh
@@ -6,7 +6,7 @@ echo_mime () {
echo "\"$i\","
}
-MIMETYPES=`grep -v ^# $1 | grep -v x-content/`
+MIMETYPES=`grep -v '^#' $1 | grep -v x-content/ | grep -v x-scheme-handler/`
echo "/* generated with mime-types-include.sh, don't edit */"