From c2458fbd661783145139d31d5d32b43e6d850b7f Mon Sep 17 00:00:00 2001 From: Bastien Nocera Date: Fri, 20 Sep 2019 16:20:50 +0200 Subject: [PATCH] Update totem-defaults.list --- shared-mime-info.spec | 2 +- totem-defaults.list | 60 ++++++++++++++++++++++++++++++------------- 2 files changed, 43 insertions(+), 19 deletions(-) diff --git a/shared-mime-info.spec b/shared-mime-info.spec index 7c96692..d0bff2f 100644 --- a/shared-mime-info.spec +++ b/shared-mime-info.spec @@ -7,7 +7,7 @@ URL: http://freedesktop.org/Software/shared-mime-info Source0: https://gitlab.freedesktop.org/xdg/shared-mime-info/uploads/5349e18c86eb96eee258a5c1f19122d0/shared-mime-info-1.13.1.tar.xz Source1: gnome-mimeapps.list # Generated with: -# for i in `cat /home/hadess/Projects/jhbuild/totem/data/mime-type-list.txt | grep -v audio/flac | grep -v ^#` ; do if grep MimeType /home/hadess/Projects/jhbuild/rhythmbox/data/rhythmbox.desktop.in.in | grep -q "$i;" ; then echo "$i=rhythmbox.desktop;org.gnome.Totem.desktop;" >> totem-defaults.list ; else echo "$i=org.gnome.Totem.desktop;" >> totem-defaults.list ; fi ; done ; for i in `cat /home/hadess/Projects/jhbuild/totem/data/uri-schemes-list.txt | grep -v ^#` ; do echo "x-scheme-handler/$i=org.gnome.Totem.desktop;" >> totem-defaults.list ; done +# for i in `cat /home/hadess/Projects/jhbuild/totem/data/mime-type-list.txt | grep -v audio/flac | grep -v ^#` ; do if grep MimeType /home/hadess/Projects/jhbuild/rhythmbox/data/rhythmbox.desktop.in.in | grep -q "$i;" ; then echo "$i=org.gnome.Rhythmbox3.desktop;rhythmbox.desktop;org.gnome.Totem.desktop;" >> totem-defaults.list ; else echo "$i=org.gnome.Totem.desktop;" >> totem-defaults.list ; fi ; done ; for i in `cat /home/hadess/Projects/jhbuild/totem/data/uri-schemes-list.txt | grep -v ^#` ; do echo "x-scheme-handler/$i=org.gnome.Totem.desktop;" >> totem-defaults.list ; done Source2: totem-defaults.list # Generated with: # for i in `grep MimeType= /usr/share/applications/org.gnome.FileRoller.desktop | sed 's/MimeType=//' | sed 's/;/ /g'` application/x-source-rpm ; do if grep MimeType /usr/share/applications/org.gnome.Nautilus.desktop | grep -q "$i;" ; then echo "$i=org.gnome.Nautilus.desktop;org.gnome.FileRoller.desktop;" >> file-roller-defaults.list ; elif ! `grep -q $i gnome-mimeapps.list` ; then echo $i=org.gnome.FileRoller.desktop\; >> file-roller-defaults.list ; fi ; done && for i in `grep MimeType= /usr/share/applications/org.gnome.Nautilus.desktop | sed 's/MimeType=//' | sed 's/;/ /g'` ; do if ! `grep -q $i file-roller-defaults.list || grep -q $i gnome-mimeapps.list` ; then echo "missing handler $i" ; fi ; done diff --git a/totem-defaults.list b/totem-defaults.list index bf94b74..c2c3ccd 100644 --- a/totem-defaults.list +++ b/totem-defaults.list @@ -1,53 +1,73 @@ application/mxf=org.gnome.Totem.desktop; -application/ogg=rhythmbox.desktop;org.gnome.Totem.desktop; +application/ogg=org.gnome.Rhythmbox3.desktop;rhythmbox.desktop;org.gnome.Totem.desktop; application/ram=org.gnome.Totem.desktop; application/sdp=org.gnome.Totem.desktop; application/smil=org.gnome.Totem.desktop; application/smil+xml=org.gnome.Totem.desktop; application/vnd.apple.mpegurl=org.gnome.Totem.desktop; +application/vnd.ms-asf=org.gnome.Totem.desktop; application/vnd.ms-wpl=org.gnome.Totem.desktop; application/vnd.rn-realmedia=org.gnome.Totem.desktop; +application/vnd.rn-realmedia-vbr=org.gnome.Totem.desktop; application/x-extension-m4a=org.gnome.Totem.desktop; application/x-extension-mp4=org.gnome.Totem.desktop; application/x-flac=org.gnome.Totem.desktop; application/x-flash-video=org.gnome.Totem.desktop; application/x-matroska=org.gnome.Totem.desktop; application/x-netshow-channel=org.gnome.Totem.desktop; -application/x-ogg=rhythmbox.desktop;org.gnome.Totem.desktop; +application/x-ogg=org.gnome.Rhythmbox3.desktop;rhythmbox.desktop;org.gnome.Totem.desktop; application/x-quicktime-media-link=org.gnome.Totem.desktop; application/x-quicktimeplayer=org.gnome.Totem.desktop; application/x-shorten=org.gnome.Totem.desktop; application/x-smil=org.gnome.Totem.desktop; application/xspf+xml=org.gnome.Totem.desktop; audio/3gpp=org.gnome.Totem.desktop; +audio/3gpp2=org.gnome.Totem.desktop; +audio/aac=org.gnome.Totem.desktop; audio/ac3=org.gnome.Totem.desktop; audio/AMR=org.gnome.Totem.desktop; audio/AMR-WB=org.gnome.Totem.desktop; audio/basic=org.gnome.Totem.desktop; +audio/dv=org.gnome.Totem.desktop; +audio/eac3=org.gnome.Totem.desktop; +audio/m4a=org.gnome.Totem.desktop; audio/midi=org.gnome.Totem.desktop; +audio/mp1=org.gnome.Totem.desktop; audio/mp2=org.gnome.Totem.desktop; -audio/mp4=rhythmbox.desktop;org.gnome.Totem.desktop; -audio/mpeg=rhythmbox.desktop;org.gnome.Totem.desktop; +audio/mp3=org.gnome.Totem.desktop; +audio/mp4=org.gnome.Rhythmbox3.desktop;rhythmbox.desktop;org.gnome.Totem.desktop; +audio/mpeg=org.gnome.Rhythmbox3.desktop;rhythmbox.desktop;org.gnome.Totem.desktop; audio/mpegurl=org.gnome.Totem.desktop; +audio/mpg=org.gnome.Totem.desktop; audio/ogg=org.gnome.Totem.desktop; +audio/opus=org.gnome.Totem.desktop; audio/prs.sid=org.gnome.Totem.desktop; +audio/scpls=org.gnome.Totem.desktop; audio/vnd.rn-realaudio=org.gnome.Totem.desktop; +audio/wav=org.gnome.Totem.desktop; +audio/webm=org.gnome.Totem.desktop; +audio/x-aac=org.gnome.Totem.desktop; audio/x-aiff=org.gnome.Totem.desktop; audio/x-ape=org.gnome.Totem.desktop; -audio/x-flac=rhythmbox.desktop;org.gnome.Totem.desktop; +audio/x-flac=org.gnome.Rhythmbox3.desktop;rhythmbox.desktop;org.gnome.Totem.desktop; audio/x-gsm=org.gnome.Totem.desktop; -audio/x-it=org.gnome.Totem.desktop; +audio/x-it=org.gnome.Rhythmbox3.desktop;rhythmbox.desktop;org.gnome.Totem.desktop; audio/x-m4a=org.gnome.Totem.desktop; +audio/x-m4b=org.gnome.Totem.desktop; audio/x-matroska=org.gnome.Totem.desktop; -audio/x-mod=org.gnome.Totem.desktop; -audio/x-mp3=rhythmbox.desktop;org.gnome.Totem.desktop; -audio/x-mpeg=rhythmbox.desktop;org.gnome.Totem.desktop; -audio/x-mpegurl=rhythmbox.desktop;org.gnome.Totem.desktop; +audio/x-mod=org.gnome.Rhythmbox3.desktop;rhythmbox.desktop;org.gnome.Totem.desktop; +audio/x-mp1=org.gnome.Totem.desktop; +audio/x-mp2=org.gnome.Totem.desktop; +audio/x-mp3=org.gnome.Rhythmbox3.desktop;rhythmbox.desktop;org.gnome.Totem.desktop; +audio/x-mpg=org.gnome.Totem.desktop; +audio/x-mpeg=org.gnome.Rhythmbox3.desktop;rhythmbox.desktop;org.gnome.Totem.desktop; +audio/x-mpegurl=org.gnome.Rhythmbox3.desktop;rhythmbox.desktop;org.gnome.Totem.desktop; audio/x-ms-asf=org.gnome.Totem.desktop; audio/x-ms-asx=org.gnome.Totem.desktop; audio/x-ms-wax=org.gnome.Totem.desktop; audio/x-ms-wma=org.gnome.Totem.desktop; audio/x-musepack=org.gnome.Totem.desktop; +audio/x-opus+ogg=org.gnome.Totem.desktop; audio/x-pn-aiff=org.gnome.Totem.desktop; audio/x-pn-au=org.gnome.Totem.desktop; audio/x-pn-realaudio=org.gnome.Totem.desktop; @@ -56,17 +76,18 @@ audio/x-pn-wav=org.gnome.Totem.desktop; audio/x-pn-windows-acm=org.gnome.Totem.desktop; audio/x-realaudio=org.gnome.Totem.desktop; audio/x-real-audio=org.gnome.Totem.desktop; -audio/x-s3m=org.gnome.Totem.desktop; +audio/x-s3m=org.gnome.Rhythmbox3.desktop;rhythmbox.desktop;org.gnome.Totem.desktop; audio/x-sbc=org.gnome.Totem.desktop; -audio/x-scpls=rhythmbox.desktop;org.gnome.Totem.desktop; +audio/x-scpls=org.gnome.Rhythmbox3.desktop;rhythmbox.desktop;org.gnome.Totem.desktop; +audio/x-shorten=org.gnome.Totem.desktop; audio/x-speex=org.gnome.Totem.desktop; -audio/x-stm=org.gnome.Totem.desktop; +audio/x-stm=org.gnome.Rhythmbox3.desktop;rhythmbox.desktop;org.gnome.Totem.desktop; audio/x-tta=org.gnome.Totem.desktop; audio/x-wav=org.gnome.Totem.desktop; audio/x-wavpack=org.gnome.Totem.desktop; -audio/x-vorbis=rhythmbox.desktop;org.gnome.Totem.desktop; -audio/x-vorbis+ogg=rhythmbox.desktop;org.gnome.Totem.desktop; -audio/x-xm=org.gnome.Totem.desktop; +audio/x-vorbis=org.gnome.Rhythmbox3.desktop;rhythmbox.desktop;org.gnome.Totem.desktop; +audio/x-vorbis+ogg=org.gnome.Rhythmbox3.desktop;rhythmbox.desktop;org.gnome.Totem.desktop; +audio/x-xm=org.gnome.Rhythmbox3.desktop;rhythmbox.desktop;org.gnome.Totem.desktop; image/vnd.rn-realpix=org.gnome.Totem.desktop; image/x-pict=org.gnome.Totem.desktop; misc/ultravox=org.gnome.Totem.desktop; @@ -74,6 +95,7 @@ text/google-video-pointer=org.gnome.Totem.desktop; text/x-google-video-pointer=org.gnome.Totem.desktop; video/3gp=org.gnome.Totem.desktop; video/3gpp=org.gnome.Totem.desktop; +video/3gpp2=org.gnome.Totem.desktop; video/dv=org.gnome.Totem.desktop; video/divx=org.gnome.Totem.desktop; video/fli=org.gnome.Totem.desktop; @@ -82,6 +104,7 @@ video/mp2t=org.gnome.Totem.desktop; video/mp4=org.gnome.Totem.desktop; video/mp4v-es=org.gnome.Totem.desktop; video/mpeg=org.gnome.Totem.desktop; +video/mpeg-system=org.gnome.Totem.desktop; video/msvideo=org.gnome.Totem.desktop; video/ogg=org.gnome.Totem.desktop; video/quicktime=org.gnome.Totem.desktop; @@ -99,9 +122,11 @@ video/x-flic=org.gnome.Totem.desktop; video/x-flv=org.gnome.Totem.desktop; video/x-m4v=org.gnome.Totem.desktop; video/x-matroska=org.gnome.Totem.desktop; +video/x-mjpeg=org.gnome.Totem.desktop; video/x-mpeg=org.gnome.Totem.desktop; video/x-mpeg2=org.gnome.Totem.desktop; video/x-ms-asf=org.gnome.Totem.desktop; +video/x-ms-asf-plugin=org.gnome.Totem.desktop; video/x-ms-asx=org.gnome.Totem.desktop; video/x-msvideo=org.gnome.Totem.desktop; video/x-ms-wm=org.gnome.Totem.desktop; @@ -110,11 +135,10 @@ video/x-ms-wmx=org.gnome.Totem.desktop; video/x-ms-wvx=org.gnome.Totem.desktop; video/x-nsv=org.gnome.Totem.desktop; video/x-ogm+ogg=org.gnome.Totem.desktop; +video/x-theora=org.gnome.Totem.desktop; video/x-theora+ogg=org.gnome.Totem.desktop; video/x-totem-stream=org.gnome.Totem.desktop; x-content/video-dvd=org.gnome.Totem.desktop; -x-content/video-vcd=org.gnome.Totem.desktop; -x-content/video-svcd=org.gnome.Totem.desktop; x-scheme-handler/pnm=org.gnome.Totem.desktop; x-scheme-handler/mms=org.gnome.Totem.desktop; x-scheme-handler/net=org.gnome.Totem.desktop;