From 6418cdfab1fd226f038d381bcfa7b54640544b77 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Aug 01 2017 03:45:25 +0000 Subject: import shared-mime-info-1.8-3.el7 --- diff --git a/.gitignore b/.gitignore index db8fceb..e630ab4 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -SOURCES/shared-mime-info-1.1.tar.xz +SOURCES/shared-mime-info-1.8.tar.xz diff --git a/.shared-mime-info.metadata b/.shared-mime-info.metadata index 3d46c9f..366c1a6 100644 --- a/.shared-mime-info.metadata +++ b/.shared-mime-info.metadata @@ -1 +1 @@ -752668b0cc5729433c99cbad00f21241ec4797ef SOURCES/shared-mime-info-1.1.tar.xz +d7ea6a4e7537065de5d0766148be804eb4729cb7 SOURCES/shared-mime-info-1.8.tar.xz diff --git a/SOURCES/0001-Add-MIME-types-for-raw-disk-images.patch b/SOURCES/0001-Add-MIME-types-for-raw-disk-images.patch deleted file mode 100644 index e8e8249..0000000 --- a/SOURCES/0001-Add-MIME-types-for-raw-disk-images.patch +++ /dev/null @@ -1,34 +0,0 @@ -From 33bce05a5fed6ca8d85ff4c7e0205c9a1ed32e25 Mon Sep 17 00:00:00 2001 -From: David Zeuthen -Date: Fri, 26 Jul 2013 12:51:17 -0700 -Subject: [PATCH] Add MIME types for raw disk images - -https://bugs.freedesktop.org/show_bug.cgi?id=64845 ---- - freedesktop.org.xml.in | 12 ++++++++++++ - -diff --git a/freedesktop.org.xml.in b/freedesktop.org.xml.in -index 5e85d90..9dcb6e6 100644 ---- a/freedesktop.org.xml.in -+++ b/freedesktop.org.xml.in -@@ -1481,8 +1481,20 @@ command to generate the output files. - <_comment>Apple disk image - - -+ -+ <_comment>Raw disk image -+ -+ -+ -+ -+ <_comment>Raw disk image (XZ-compressed) -+ -+ -+ -+ - - <_comment>raw CD image -+ - - - diff --git a/SOURCES/0001-Remove-sub-classing-from-OO.o-mime-types.patch b/SOURCES/0001-Remove-sub-classing-from-OO.o-mime-types.patch index d73e07b..3ffca1d 100644 --- a/SOURCES/0001-Remove-sub-classing-from-OO.o-mime-types.patch +++ b/SOURCES/0001-Remove-sub-classing-from-OO.o-mime-types.patch @@ -1,106 +1,106 @@ -From b78ba0148a6d53248d72778b088ba8c8780ff79e Mon Sep 17 00:00:00 2001 +From 7bd867808aad05d691456a8301c8737ded9fd64b Mon Sep 17 00:00:00 2001 From: Bastien Nocera Date: Thu, 25 Aug 2011 10:54:47 +0100 Subject: [PATCH] Remove sub-classing from OO.o mime-types https://bugs.freedesktop.org/show_bug.cgi?id=40354 --- - freedesktop.org.xml.in | 31 ------------------------------- - 1 files changed, 0 insertions(+), 31 deletions(-) + freedesktop.org.xml.in | 31 ------------------------------- + 1 file changed, 31 deletions(-) diff --git a/freedesktop.org.xml.in b/freedesktop.org.xml.in -index e08ce53..5794e99 100644 +index 29ed9ef..542f1f7 100644 --- a/freedesktop.org.xml.in +++ b/freedesktop.org.xml.in -@@ -714,7 +714,6 @@ command to generate the output files. +@@ -845,7 +845,6 @@ command to generate the output files. <_comment>OpenOffice Calc spreadsheet - - + -@@ -727,7 +726,6 @@ command to generate the output files. +@@ -858,7 +857,6 @@ command to generate the output files. <_comment>OpenOffice Calc template - - + -@@ -740,7 +738,6 @@ command to generate the output files. +@@ -871,7 +869,6 @@ command to generate the output files. <_comment>OpenOffice Draw drawing - - + -@@ -753,7 +750,6 @@ command to generate the output files. +@@ -884,7 +881,6 @@ command to generate the output files. <_comment>OpenOffice Draw template - - + -@@ -766,7 +762,6 @@ command to generate the output files. +@@ -897,7 +893,6 @@ command to generate the output files. <_comment>OpenOffice Impress presentation - - + -@@ -779,7 +774,6 @@ command to generate the output files. +@@ -910,7 +905,6 @@ command to generate the output files. <_comment>OpenOffice Impress template - - + -@@ -792,7 +786,6 @@ command to generate the output files. +@@ -923,7 +917,6 @@ command to generate the output files. <_comment>OpenOffice Math formula - - + -@@ -805,7 +798,6 @@ command to generate the output files. +@@ -936,7 +929,6 @@ command to generate the output files. <_comment>OpenOffice Writer document - - + -@@ -818,7 +810,6 @@ command to generate the output files. +@@ -949,7 +941,6 @@ command to generate the output files. <_comment>OpenOffice Writer global document - - + -@@ -831,7 +822,6 @@ command to generate the output files. +@@ -962,7 +953,6 @@ command to generate the output files. <_comment>OpenOffice Writer template - - + -@@ -846,7 +836,6 @@ command to generate the output files. +@@ -977,7 +967,6 @@ command to generate the output files. <_comment>ODT document ODT OpenDocument Text - - + -@@ -861,7 +850,6 @@ command to generate the output files. +@@ -992,7 +981,6 @@ command to generate the output files. <_comment>ODT document (Flat XML) FODT OpenDocument Text (Flat XML) @@ -108,39 +108,39 @@ index e08ce53..5794e99 100644 -@@ -869,7 +857,6 @@ command to generate the output files. +@@ -1000,7 +988,6 @@ command to generate the output files. <_comment>ODT template ODT OpenDocument Text - - + -@@ -884,7 +871,6 @@ command to generate the output files. +@@ -1015,7 +1002,6 @@ command to generate the output files. <_comment>OTH template OTH OpenDocument HTML - - + -@@ -899,7 +885,6 @@ command to generate the output files. +@@ -1030,7 +1016,6 @@ command to generate the output files. <_comment>ODM document ODM OpenDocument Master - - + -@@ -914,7 +899,6 @@ command to generate the output files. +@@ -1045,7 +1030,6 @@ command to generate the output files. <_comment>ODG drawing ODG OpenDocument Drawing - - + -@@ -929,7 +913,6 @@ command to generate the output files. +@@ -1060,7 +1044,6 @@ command to generate the output files. <_comment>ODG drawing (Flat XML) FODG OpenDocument Drawing (Flat XML) @@ -148,23 +148,23 @@ index e08ce53..5794e99 100644 -@@ -937,7 +920,6 @@ command to generate the output files. +@@ -1068,7 +1051,6 @@ command to generate the output files. <_comment>ODG template ODG OpenDocument Drawing - - + -@@ -952,7 +934,6 @@ command to generate the output files. +@@ -1083,7 +1065,6 @@ command to generate the output files. <_comment>ODP presentation ODP OpenDocument Presentation - - + -@@ -967,7 +948,6 @@ command to generate the output files. +@@ -1098,7 +1079,6 @@ command to generate the output files. <_comment>ODP presentation (Flat XML) FODP OpenDocument Presentation (Flat XML) @@ -172,23 +172,23 @@ index e08ce53..5794e99 100644 -@@ -975,7 +955,6 @@ command to generate the output files. +@@ -1106,7 +1086,6 @@ command to generate the output files. <_comment>ODP template ODP OpenDocument Presentation - - + -@@ -990,7 +969,6 @@ command to generate the output files. +@@ -1121,7 +1100,6 @@ command to generate the output files. <_comment>ODS spreadsheet ODS OpenDocument Spreadsheet - - + -@@ -1005,7 +983,6 @@ command to generate the output files. +@@ -1136,7 +1114,6 @@ command to generate the output files. <_comment>ODS spreadsheet (Flat XML) FODS OpenDocument Spreadsheet (Flat XML) @@ -196,63 +196,63 @@ index e08ce53..5794e99 100644 -@@ -1013,7 +990,6 @@ command to generate the output files. +@@ -1144,7 +1121,6 @@ command to generate the output files. <_comment>ODS template ODS OpenDocument Spreadsheet - - + -@@ -1028,7 +1004,6 @@ command to generate the output files. +@@ -1159,7 +1135,6 @@ command to generate the output files. <_comment>ODC chart ODC OpenDocument Chart - - + -@@ -1043,7 +1018,6 @@ command to generate the output files. +@@ -1174,7 +1149,6 @@ command to generate the output files. <_comment>ODC template ODC OpenDocument Chart - - + -@@ -1058,7 +1032,6 @@ command to generate the output files. +@@ -1189,7 +1163,6 @@ command to generate the output files. <_comment>ODF formula ODF OpenDocument Formula - - + -@@ -1073,7 +1046,6 @@ command to generate the output files. +@@ -1204,7 +1177,6 @@ command to generate the output files. <_comment>ODF template ODF OpenDocument Formula - - + -@@ -1088,7 +1060,6 @@ command to generate the output files. +@@ -1219,7 +1191,6 @@ command to generate the output files. <_comment>ODB database ODB OpenDocument Database - - - -@@ -1096,7 +1067,6 @@ command to generate the output files. + + +@@ -1235,7 +1206,6 @@ command to generate the output files. <_comment>ODI image ODI OpenDocument Image - - + -@@ -1109,7 +1079,6 @@ command to generate the output files. +@@ -1248,7 +1218,6 @@ command to generate the output files. <_comment>OpenOffice.org extension @@ -261,5 +261,5 @@ index e08ce53..5794e99 100644 -- -1.7.6 +2.7.4 diff --git a/SOURCES/defaults.list b/SOURCES/defaults.list deleted file mode 100644 index 4342913..0000000 --- a/SOURCES/defaults.list +++ /dev/null @@ -1,95 +0,0 @@ -[Default Applications] -application/x-dia-diagram=dia.desktop -text/x-vcard=evolution.desktop -text/directory=evolution.desktop -text/calendar=evolution.desktop -application/x-cd-image=gnome-disk-image-mounter.desktop -image/x-compressed-xcf=gimp.desktop -image/x-xcf=gimp.desktop -image/x-psd=gimp.desktop -image/x-fits=gimp.desktop -image/bmp=eog.desktop;gthumb.desktop; -image/gif=eog.desktop;gthumb.desktop; -image/x-icb=eog.desktop;gthumb.desktop; -image/x-ico=eog.desktop;gthumb.desktop; -image/x-pcx=eog.desktop;gthumb.desktop; -image/x-portable-anymap=eog.desktop;gthumb.desktop; -image/x-portable-bitmap=eog.desktop;gthumb.desktop; -image/x-portable-graymap=eog.desktop;gthumb.desktop; -image/x-portable-pixmap=eog.desktop;gthumb.desktop; -image/x-xbitmap=eog.desktop;gthumb.desktop; -image/x-xpixmap=eog.desktop;gthumb.desktop; -image/x-xwindowdump=eog.desktop;gthumb.desktop; -image/svg+xml=eog.desktop;gthumb.desktop; -application/vnd.ms-word=libreoffice-writer.desktop -application/vnd.wordperfect=libreoffice-writer.desktop -application/vnd.sun.xml.writer=libreoffice-writer.desktop -application/vnd.sun.xml.writer.global=libreoffice-writer.desktop -application/vnd.sun.xml.writer.template=libreoffice-writer.desktop -application/vnd.stardivision.writer=libreoffice-writer.desktop -application/vnd.oasis.opendocument.text=libreoffice-writer.desktop -application/vnd.oasis.opendocument.text-template=libreoffice-writer.desktop -application/vnd.oasis.opendocument.text-web=libreoffice-writer.desktop -application/vnd.oasis.opendocument.text-master=libreoffice-writer.desktop -application/vnd.openxmlformats-officedocument.wordprocessingml.document=libreoffice-writer.desktop -application/vnd.openxmlformats-officedocument.wordprocessingml.template=libreoffice-writer.desktop -application/vnd.ms-excel=libreoffice-calc.desktop -application/vnd.stardivision.calc=libreoffice-calc.desktop -application/vnd.sun.xml.calc=libreoffice-calc.desktop -application/vnd.sun.xml.calc.template=libreoffice-calc.desktop -application/vnd.openxmlformats-officedocument.spreadsheetml.sheet=libreoffice-calc.desktop -application/vnd.openxmlformats-officedocument.spreadsheetml.template=libreoffice-calc.desktop -application/vnd.oasis.opendocument.spreadsheet=libreoffice-calc.desktop -application/vnd.oasis.opendocument.spreadsheet-template=libreoffice-calc.desktop -application/vnd.ms-powerpoint=libreoffice-impress.desktop -application/vnd.stardivision.impress=libreoffice-impress.desktop -application/vnd.sun.xml.impress=libreoffice-impress.desktop -application/vnd.sun.xml.impress.template=libreoffice-impress.desktop -application/vnd.oasis.opendocument.presentation=libreoffice-impress.desktop -application/vnd.oasis.opendocument.presentation-template=libreoffice-impress.desktop -application/vnd.openxmlformats-officedocument.presentationml.presentation=libreoffice-impress.desktop -application/vnd.openxmlformats-officedocument.presentationml.template=libreoffice-impress.desktop -application/vnd.stardivision.draw=libreoffice-draw.desktop -application/vnd.sun.xml.draw=libreoffice-draw.desktop -application/vnd.sun.xml.draw.template=libreoffice-draw.desktop -application/vnd.oasis.opendocument.graphics=libreoffice-draw.desktop -application/vnd.oasis.opendocument.graphics-template=libreoffice-draw.desktop -application/vnd.oasis.opendocument.formula=libreoffice-math.desktop -application/vnd.sun.xml.math=libreoffice-math.desktop -application/vnd.stardivision.math=libreoffice-math.desktop -application/vnd.oasis.opendocument.database=libreoffice-base.desktop -application/vnd.sun.xml.base=libreoffice-base.desktop -application/pdf=evince.desktop -application/postscript=evince.desktop -application/x-qw=gnome-gnucash.desktop -application/x-gnucash=gnome-gnucash.desktop -application/vnd.lotus-1-2-3=gnumeric.desktop -application/x-oleo=gnumeric.desktop -application/x-gnumeric=gnumeric.desktop -application/x-xbase=gnumeric.desktop -application/x-abiword=abiword.desktop -application/x-dvi=evince.desktop -application/x-catalog=gpk-install-catalog.desktop -application/x-rpm=gpk-install-local-file.desktop -text/plain=org.gnome.gedit.desktop;gedit.desktop; -text/html=firefox.desktop -application/xhtml+xml=firefox.desktop -inode/directory=org.gnome.Nautilus.desktop;nautilus.desktop; -x-content/blank-cd=brasero-org.gnome.Nautilus.desktop;nautilus.desktop; -x-content/blank-dvd=brasero-org.gnome.Nautilus.desktop;nautilus.desktop; -x-content/blank-bd=brasero-org.gnome.Nautilus.desktop;nautilus.desktop; -x-content/blank-hddvd=brasero-org.gnome.Nautilus.desktop;nautilus.desktop; -x-content/video-dvd=org.gnome.Totem.desktop;totem.desktop; -x-content/video-vcd=org.gnome.Totem.desktop;totem.desktop; -x-content/video-svcd=org.gnome.Totem.desktop;totem.desktop; -#x-content/video-bluray=org.gnome.Totem.desktop;totem.desktop; -#x-content/video-hddvd=org.gnome.Totem.desktop;totem.desktop; -x-content/audio-cdda=rhythmbox.desktop -x-content/audio-dvd=rhythmbox.desktop -x-content/audio-player=rhythmbox.desktop -x-content/image-dcf=shotwell.desktop -x-content/image-picturecd=shotwell.desktop -# URI scheme handlers -x-scheme-handler/mailto=evolution.desktop -x-scheme-handler/http=firefox.desktop -x-scheme-handler/https=firefox.desktop diff --git a/SOURCES/eog-defaults.list b/SOURCES/eog-defaults.list new file mode 100644 index 0000000..91c67bf --- /dev/null +++ b/SOURCES/eog-defaults.list @@ -0,0 +1,22 @@ +image/bmp=eog.desktop; +image/gif=eog.desktop; +image/jpeg=eog.desktop; +image/jpg=eog.desktop; +image/pjpeg=eog.desktop; +image/png=eog.desktop; +image/tiff=eog.desktop; +image/x-bmp=eog.desktop; +image/x-gray=eog.desktop; +image/x-icb=eog.desktop; +image/x-ico=eog.desktop; +image/x-png=eog.desktop; +image/x-portable-anymap=eog.desktop; +image/x-portable-bitmap=eog.desktop; +image/x-portable-graymap=eog.desktop; +image/x-portable-pixmap=eog.desktop; +image/x-xbitmap=eog.desktop; +image/x-xpixmap=eog.desktop; +image/x-pcx=eog.desktop; +image/svg+xml=eog.desktop; +image/svg+xml-compressed=eog.desktop; +image/vnd.wap.wbmp=eog.desktop; diff --git a/SOURCES/file-roller-defaults.list b/SOURCES/file-roller-defaults.list index db47efc..e872ba9 100644 --- a/SOURCES/file-roller-defaults.list +++ b/SOURCES/file-roller-defaults.list @@ -1,50 +1,48 @@ -application/x-7z-compressed=org.gnome.FileRoller.desktop;file-roller.desktop; -application/x-7z-compressed-tar=org.gnome.FileRoller.desktop;file-roller.desktop; -application/x-ace=org.gnome.FileRoller.desktop;file-roller.desktop; -application/x-alz=org.gnome.FileRoller.desktop;file-roller.desktop; -application/x-ar=org.gnome.FileRoller.desktop;file-roller.desktop; -application/x-arj=org.gnome.FileRoller.desktop;file-roller.desktop; -application/x-bzip=org.gnome.FileRoller.desktop;file-roller.desktop; -application/x-bzip-compressed-tar=org.gnome.FileRoller.desktop;file-roller.desktop; -application/x-bzip1=org.gnome.FileRoller.desktop;file-roller.desktop; -application/x-bzip1-compressed-tar=org.gnome.FileRoller.desktop;file-roller.desktop; -application/x-cabinet=org.gnome.FileRoller.desktop;file-roller.desktop; -application/x-cbr=org.gnome.FileRoller.desktop;file-roller.desktop; -application/x-cbz=org.gnome.FileRoller.desktop;file-roller.desktop; -application/x-compress=org.gnome.FileRoller.desktop;file-roller.desktop; -application/x-compressed-tar=org.gnome.FileRoller.desktop;file-roller.desktop; -application/x-cpio=org.gnome.FileRoller.desktop;file-roller.desktop; -application/x-deb=org.gnome.FileRoller.desktop;file-roller.desktop; -application/x-ear=org.gnome.FileRoller.desktop;file-roller.desktop; -application/x-ms-dos-executable=org.gnome.FileRoller.desktop;file-roller.desktop; -application/x-gtar=org.gnome.FileRoller.desktop;file-roller.desktop; -application/x-gzip=org.gnome.FileRoller.desktop;file-roller.desktop; -application/x-gzpostscript=org.gnome.FileRoller.desktop;file-roller.desktop; -application/x-java-archive=org.gnome.FileRoller.desktop;file-roller.desktop; -application/x-lha=org.gnome.FileRoller.desktop;file-roller.desktop; -application/x-lhz=org.gnome.FileRoller.desktop;file-roller.desktop; -application/x-lrzip=org.gnome.FileRoller.desktop;file-roller.desktop; -application/x-lrzip-compressed-tar=org.gnome.FileRoller.desktop;file-roller.desktop; -application/x-lzip=org.gnome.FileRoller.desktop;file-roller.desktop; -application/x-lzip-compressed-tar=org.gnome.FileRoller.desktop;file-roller.desktop; -application/x-lzma=org.gnome.FileRoller.desktop;file-roller.desktop; -application/x-lzma-compressed-tar=org.gnome.FileRoller.desktop;file-roller.desktop; -application/x-lzop=org.gnome.FileRoller.desktop;file-roller.desktop; -application/x-lzop-compressed-tar=org.gnome.FileRoller.desktop;file-roller.desktop; -application/x-ms-wim=org.gnome.FileRoller.desktop;file-roller.desktop; -application/x-rar=org.gnome.FileRoller.desktop;file-roller.desktop; -application/x-rar-compressed=org.gnome.FileRoller.desktop;file-roller.desktop; -application/x-rzip=org.gnome.FileRoller.desktop;file-roller.desktop; -application/x-tar=org.gnome.FileRoller.desktop;file-roller.desktop; -application/x-tarz=org.gnome.FileRoller.desktop;file-roller.desktop; -application/x-stuffit=org.gnome.FileRoller.desktop;file-roller.desktop; -application/x-war=org.gnome.FileRoller.desktop;file-roller.desktop; -application/x-xz=org.gnome.FileRoller.desktop;file-roller.desktop; -application/x-xz-compressed-tar=org.gnome.FileRoller.desktop;file-roller.desktop; -application/x-zip=org.gnome.FileRoller.desktop;file-roller.desktop; -application/x-zip-compressed=org.gnome.FileRoller.desktop;file-roller.desktop; -application/x-zoo=org.gnome.FileRoller.desktop;file-roller.desktop; -application/zip=org.gnome.FileRoller.desktop;file-roller.desktop; -application/x-archive=org.gnome.FileRoller.desktop;file-roller.desktop; -application/vnd.ms-cab-compressed=org.gnome.FileRoller.desktop;file-roller.desktop; -application/x-source-rpm=org.gnome.FileRoller.desktop;file-roller.desktop; +application/x-7z-compressed=org.gnome.FileRoller.desktop; +application/x-7z-compressed-tar=org.gnome.FileRoller.desktop; +application/x-ace=org.gnome.FileRoller.desktop; +application/x-alz=org.gnome.FileRoller.desktop; +application/x-ar=org.gnome.FileRoller.desktop; +application/x-arj=org.gnome.FileRoller.desktop; +application/x-bzip=org.gnome.FileRoller.desktop; +application/x-bzip-compressed-tar=org.gnome.FileRoller.desktop; +application/x-bzip1=org.gnome.FileRoller.desktop; +application/x-bzip1-compressed-tar=org.gnome.FileRoller.desktop; +application/x-cabinet=org.gnome.FileRoller.desktop; +application/x-compress=org.gnome.FileRoller.desktop; +application/x-compressed-tar=org.gnome.FileRoller.desktop; +application/x-cpio=org.gnome.FileRoller.desktop; +application/x-deb=org.gnome.FileRoller.desktop; +application/x-ear=org.gnome.FileRoller.desktop; +application/x-ms-dos-executable=org.gnome.FileRoller.desktop; +application/x-gtar=org.gnome.FileRoller.desktop; +application/x-gzip=org.gnome.FileRoller.desktop; +application/x-gzpostscript=org.gnome.FileRoller.desktop; +application/x-java-archive=org.gnome.FileRoller.desktop; +application/x-lha=org.gnome.FileRoller.desktop; +application/x-lhz=org.gnome.FileRoller.desktop; +application/x-lrzip=org.gnome.FileRoller.desktop; +application/x-lrzip-compressed-tar=org.gnome.FileRoller.desktop; +application/x-lzip=org.gnome.FileRoller.desktop; +application/x-lzip-compressed-tar=org.gnome.FileRoller.desktop; +application/x-lzma=org.gnome.FileRoller.desktop; +application/x-lzma-compressed-tar=org.gnome.FileRoller.desktop; +application/x-lzop=org.gnome.FileRoller.desktop; +application/x-lzop-compressed-tar=org.gnome.FileRoller.desktop; +application/x-ms-wim=org.gnome.FileRoller.desktop; +application/x-rar=org.gnome.FileRoller.desktop; +application/x-rar-compressed=org.gnome.FileRoller.desktop; +application/x-rzip=org.gnome.FileRoller.desktop; +application/x-tar=org.gnome.FileRoller.desktop; +application/x-tarz=org.gnome.FileRoller.desktop; +application/x-stuffit=org.gnome.FileRoller.desktop; +application/x-war=org.gnome.FileRoller.desktop; +application/x-xz=org.gnome.FileRoller.desktop; +application/x-xz-compressed-tar=org.gnome.FileRoller.desktop; +application/x-zip=org.gnome.FileRoller.desktop; +application/x-zip-compressed=org.gnome.FileRoller.desktop; +application/x-zoo=org.gnome.FileRoller.desktop; +application/zip=org.gnome.FileRoller.desktop; +application/x-archive=org.gnome.FileRoller.desktop; +application/vnd.ms-cab-compressed=org.gnome.FileRoller.desktop; +application/x-source-rpm=org.gnome.FileRoller.desktop; diff --git a/SOURCES/gnome-mimeapps.list b/SOURCES/gnome-mimeapps.list new file mode 100644 index 0000000..ae9153c --- /dev/null +++ b/SOURCES/gnome-mimeapps.list @@ -0,0 +1,97 @@ +[Default Applications] +application/x-dia-diagram=dia.desktop +text/x-vcard=evolution.desktop +text/directory=evolution.desktop +text/calendar=evolution.desktop +application/x-cd-image=gnome-disk-image-mounter.desktop +application/x-raw-disk-image=gnome-disk-image-writer.desktop +application/x-raw-disk-image-xz-compressed=gnome-disk-image-writer.desktop +image/x-compressed-xcf=gimp.desktop +image/x-xcf=gimp.desktop +image/x-psd=gimp.desktop +image/x-fits=gimp.desktop +image/bmp=eog.desktop;gthumb.desktop; +image/gif=eog.desktop;gthumb.desktop; +image/x-icb=eog.desktop;gthumb.desktop; +image/x-ico=eog.desktop;gthumb.desktop; +image/x-pcx=eog.desktop;gthumb.desktop; +image/x-portable-anymap=eog.desktop;gthumb.desktop; +image/x-portable-bitmap=eog.desktop;gthumb.desktop; +image/x-portable-graymap=eog.desktop;gthumb.desktop; +image/x-portable-pixmap=eog.desktop;gthumb.desktop; +image/x-xbitmap=eog.desktop;gthumb.desktop; +image/x-xpixmap=eog.desktop;gthumb.desktop; +image/svg+xml=eog.desktop;gthumb.desktop; +application/vnd.ms-word=libreoffice-writer.desktop +application/vnd.wordperfect=libreoffice-writer.desktop +application/vnd.sun.xml.writer=libreoffice-writer.desktop +application/vnd.sun.xml.writer.global=libreoffice-writer.desktop +application/vnd.sun.xml.writer.template=libreoffice-writer.desktop +application/vnd.stardivision.writer=libreoffice-writer.desktop +application/vnd.oasis.opendocument.text=libreoffice-writer.desktop +application/vnd.oasis.opendocument.text-template=libreoffice-writer.desktop +application/vnd.oasis.opendocument.text-web=libreoffice-writer.desktop +application/vnd.oasis.opendocument.text-master=libreoffice-writer.desktop +application/vnd.openxmlformats-officedocument.wordprocessingml.document=libreoffice-writer.desktop +application/vnd.openxmlformats-officedocument.wordprocessingml.template=libreoffice-writer.desktop +application/vnd.ms-excel=libreoffice-calc.desktop +application/vnd.stardivision.calc=libreoffice-calc.desktop +application/vnd.sun.xml.calc=libreoffice-calc.desktop +application/vnd.sun.xml.calc.template=libreoffice-calc.desktop +application/vnd.openxmlformats-officedocument.spreadsheetml.sheet=libreoffice-calc.desktop +application/vnd.openxmlformats-officedocument.spreadsheetml.template=libreoffice-calc.desktop +application/vnd.oasis.opendocument.spreadsheet=libreoffice-calc.desktop +application/vnd.oasis.opendocument.spreadsheet-template=libreoffice-calc.desktop +application/vnd.ms-powerpoint=libreoffice-impress.desktop +application/vnd.stardivision.impress=libreoffice-impress.desktop +application/vnd.sun.xml.impress=libreoffice-impress.desktop +application/vnd.sun.xml.impress.template=libreoffice-impress.desktop +application/vnd.oasis.opendocument.presentation=libreoffice-impress.desktop +application/vnd.oasis.opendocument.presentation-template=libreoffice-impress.desktop +application/vnd.openxmlformats-officedocument.presentationml.presentation=libreoffice-impress.desktop +application/vnd.openxmlformats-officedocument.presentationml.template=libreoffice-impress.desktop +application/vnd.stardivision.draw=libreoffice-draw.desktop +application/vnd.sun.xml.draw=libreoffice-draw.desktop +application/vnd.sun.xml.draw.template=libreoffice-draw.desktop +application/vnd.oasis.opendocument.graphics=libreoffice-draw.desktop +application/vnd.oasis.opendocument.graphics-template=libreoffice-draw.desktop +application/vnd.oasis.opendocument.formula=libreoffice-math.desktop +application/vnd.sun.xml.math=libreoffice-math.desktop +application/vnd.stardivision.math=libreoffice-math.desktop +application/vnd.oasis.opendocument.database=libreoffice-base.desktop +application/vnd.sun.xml.base=libreoffice-base.desktop +application/pdf=evince.desktop +application/postscript=evince.desktop +application/x-qw=gnome-gnucash.desktop +application/x-gnucash=gnome-gnucash.desktop +application/vnd.lotus-1-2-3=gnumeric.desktop +application/x-oleo=gnumeric.desktop +application/x-gnumeric=gnumeric.desktop +application/x-xbase=gnumeric.desktop +application/x-abiword=abiword.desktop +application/x-dvi=evince.desktop +application/x-catalog=gpk-install-catalog.desktop +application/x-rpm=gpk-install-local-file.desktop +text/csv=libreoffice-math.desktop +text/plain=org.gnome.gedit.desktop +text/html=firefox.desktop +application/xhtml+xml=firefox.desktop +inode/directory=org.gnome.Nautilus.desktop +x-content/blank-cd=brasero-nautilus.desktop +x-content/blank-dvd=brasero-nautilus.desktop +x-content/blank-bd=brasero-nautilus.desktop +x-content/blank-hddvd=brasero-nautilus.desktop +x-content/video-dvd=totem.desktop +x-content/video-vcd=totem.desktop +x-content/video-svcd=totem.desktop +#x-content/video-bluray=totem.desktop +#x-content/video-hddvd=totem.desktop +x-content/audio-cdda=rhythmbox.desktop +x-content/audio-dvd=rhythmbox.desktop +x-content/audio-player=rhythmbox.desktop +x-content/image-dcf=shotwell.desktop +x-content/image-picturecd=shotwell.desktop +# URI scheme handlers +x-scheme-handler/mailto=evolution.desktop +x-scheme-handler/http=firefox.desktop +x-scheme-handler/https=firefox.desktop diff --git a/SOURCES/shotwell-viewer-defaults.list b/SOURCES/shotwell-viewer-defaults.list deleted file mode 100644 index e354157..0000000 --- a/SOURCES/shotwell-viewer-defaults.list +++ /dev/null @@ -1,52 +0,0 @@ -image/jpeg=shotwell-viewer.desktop; -image/png=shotwell-viewer.desktop; -image/x-canon-cr2=shotwell-viewer.desktop; -image/x-canon-crw=shotwell-viewer.desktop; -image/x-fuji-raf=shotwell-viewer.desktop; -image/x-adobe-dng=shotwell-viewer.desktop; -image/x-panasonic-raw=shotwell-viewer.desktop; -image/x-minolta-mrw=shotwell-viewer.desktop; -image/x-nikon-nef=shotwell-viewer.desktop; -image/x-olympus-orf=shotwell-viewer.desktop; -image/x-pentax-pef=shotwell-viewer.desktop; -image/x-sony-arw=shotwell-viewer.desktop; -image/x-sony-srf=shotwell-viewer.desktop; -image/x-sony-sr2=shotwell-viewer.desktop; -image/x-sigma-x3f=shotwell-viewer.desktop; -image/x-dcraw=shotwell-viewer.desktop; -image/x-3fr=shotwell-viewer.desktop; -image/x-arw=shotwell-viewer.desktop; -image/x-srf=shotwell-viewer.desktop; -image/x-sr2=shotwell-viewer.desktop; -image/x-bay=shotwell-viewer.desktop; -image/x-crw=shotwell-viewer.desktop; -image/x-cr2=shotwell-viewer.desktop; -image/x-cap=shotwell-viewer.desktop; -image/x-iiq=shotwell-viewer.desktop; -image/x-eip=shotwell-viewer.desktop; -image/x-dcs=shotwell-viewer.desktop; -image/x-dcr=shotwell-viewer.desktop; -image/x-drf=shotwell-viewer.desktop; -image/x-k25=shotwell-viewer.desktop; -image/x-kdc=shotwell-viewer.desktop; -image/x-dng=shotwell-viewer.desktop; -image/x-erf=shotwell-viewer.desktop; -image/x-fff=shotwell-viewer.desktop; -image/x-mef=shotwell-viewer.desktop; -image/x-mos=shotwell-viewer.desktop; -image/x-mrw=shotwell-viewer.desktop; -image/x-nef=shotwell-viewer.desktop; -image/x-nrw=shotwell-viewer.desktop; -image/x-orf=shotwell-viewer.desktop; -image/x-ptx=shotwell-viewer.desktop; -image/x-pef=shotwell-viewer.desktop; -image/x-pxn=shotwell-viewer.desktop; -image/x-r3d=shotwell-viewer.desktop; -image/x-raf=shotwell-viewer.desktop; -image/x-raw=shotwell-viewer.desktop; -image/x-rw2=shotwell-viewer.desktop; -image/x-raw=shotwell-viewer.desktop; -image/x-rwl=shotwell-viewer.desktop; -image/x-rwz=shotwell-viewer.desktop; -image/x-x3f=shotwell-viewer.desktop; -image/tiff=shotwell-viewer.desktop; diff --git a/SOURCES/totem-defaults.list b/SOURCES/totem-defaults.list index 63f1362..bf94b74 100644 --- a/SOURCES/totem-defaults.list +++ b/SOURCES/totem-defaults.list @@ -1,118 +1,127 @@ -application/mxf=org.gnome.Totem;totem.desktop; -application/ogg=rhythmbox.desktop;org.gnome.Totem;totem.desktop; -application/ram=org.gnome.Totem;totem.desktop; -application/sdp=org.gnome.Totem;totem.desktop; -application/smil=org.gnome.Totem;totem.desktop; -application/smil+xml=org.gnome.Totem;totem.desktop; -application/vnd.apple.mpegurl=org.gnome.Totem;totem.desktop; -application/vnd.ms-wpl=org.gnome.Totem;totem.desktop; -application/x-extension-m4a=org.gnome.Totem;totem.desktop; -application/x-extension-mp4=org.gnome.Totem;totem.desktop; -application/x-flac=org.gnome.Totem;totem.desktop; -application/x-flash-video=org.gnome.Totem;totem.desktop; -application/x-matroska=org.gnome.Totem;totem.desktop; -application/x-netshow-channel=org.gnome.Totem;totem.desktop; -application/x-ogg=rhythmbox.desktop;org.gnome.Totem;totem.desktop; -application/x-quicktime-media-link=org.gnome.Totem;totem.desktop; -application/x-quicktimeplayer=org.gnome.Totem;totem.desktop; -application/x-shorten=org.gnome.Totem;totem.desktop; -application/x-smil=org.gnome.Totem;totem.desktop; -application/xspf+xml=org.gnome.Totem;totem.desktop; -audio/3gpp=org.gnome.Totem;totem.desktop; -audio/ac3=org.gnome.Totem;totem.desktop; -audio/AMR=org.gnome.Totem;totem.desktop; -audio/AMR-WB=org.gnome.Totem;totem.desktop; -audio/basic=org.gnome.Totem;totem.desktop; -audio/midi=org.gnome.Totem;totem.desktop; -audio/mp2=org.gnome.Totem;totem.desktop; -audio/mp4=org.gnome.Totem;totem.desktop; -audio/mpeg=rhythmbox.desktop;org.gnome.Totem;totem.desktop; -audio/mpegurl=org.gnome.Totem;totem.desktop; -audio/ogg=org.gnome.Totem;totem.desktop; -audio/prs.sid=org.gnome.Totem;totem.desktop; -audio/x-aiff=org.gnome.Totem;totem.desktop; -audio/x-ape=org.gnome.Totem;totem.desktop; -audio/x-flac=rhythmbox.desktop;org.gnome.Totem;totem.desktop; -audio/x-gsm=org.gnome.Totem;totem.desktop; -audio/x-it=org.gnome.Totem;totem.desktop; -audio/x-m4a=org.gnome.Totem;totem.desktop; -audio/x-matroska=org.gnome.Totem;totem.desktop; -audio/x-mod=org.gnome.Totem;totem.desktop; -audio/x-mp3=rhythmbox.desktop;org.gnome.Totem;totem.desktop; -audio/x-mpeg=rhythmbox.desktop;org.gnome.Totem;totem.desktop; -audio/x-mpegurl=rhythmbox.desktop;org.gnome.Totem;totem.desktop; -audio/x-ms-asf=org.gnome.Totem;totem.desktop; -audio/x-ms-asx=org.gnome.Totem;totem.desktop; -audio/x-ms-wax=org.gnome.Totem;totem.desktop; -audio/x-ms-wma=org.gnome.Totem;totem.desktop; -audio/x-musepack=org.gnome.Totem;totem.desktop; -audio/x-pn-aiff=org.gnome.Totem;totem.desktop; -audio/x-pn-au=org.gnome.Totem;totem.desktop; -audio/x-pn-wav=org.gnome.Totem;totem.desktop; -audio/x-pn-windows-acm=org.gnome.Totem;totem.desktop; -audio/x-s3m=org.gnome.Totem;totem.desktop; -audio/x-sbc=org.gnome.Totem;totem.desktop; -audio/x-scpls=rhythmbox.desktop;org.gnome.Totem;totem.desktop; -audio/x-speex=org.gnome.Totem;totem.desktop; -audio/x-stm=org.gnome.Totem;totem.desktop; -audio/x-tta=org.gnome.Totem;totem.desktop; -audio/x-wav=org.gnome.Totem;totem.desktop; -audio/x-wavpack=org.gnome.Totem;totem.desktop; -audio/x-vorbis=org.gnome.Totem;totem.desktop; -audio/x-vorbis+ogg=rhythmbox.desktop;org.gnome.Totem;totem.desktop; -audio/x-xm=org.gnome.Totem;totem.desktop; -image/x-pict=org.gnome.Totem;totem.desktop; -misc/ultravox=org.gnome.Totem;totem.desktop; -text/google-video-pointer=org.gnome.Totem;totem.desktop; -text/x-google-video-pointer=org.gnome.Totem;totem.desktop; -video/3gp=org.gnome.Totem;totem.desktop; -video/3gpp=org.gnome.Totem;totem.desktop; -video/dv=org.gnome.Totem;totem.desktop; -video/divx=org.gnome.Totem;totem.desktop; -video/fli=org.gnome.Totem;totem.desktop; -video/flv=org.gnome.Totem;totem.desktop; -video/mp2t=org.gnome.Totem;totem.desktop; -video/mp4=org.gnome.Totem;totem.desktop; -video/mp4v-es=org.gnome.Totem;totem.desktop; -video/mpeg=org.gnome.Totem;totem.desktop; -video/msvideo=org.gnome.Totem;totem.desktop; -video/ogg=org.gnome.Totem;totem.desktop; -video/quicktime=org.gnome.Totem;totem.desktop; -video/vivo=org.gnome.Totem;totem.desktop; -video/vnd.divx=org.gnome.Totem;totem.desktop; -video/vnd.mpegurl=org.gnome.Totem;totem.desktop; -video/vnd.vivo=org.gnome.Totem;totem.desktop; -video/webm=org.gnome.Totem;totem.desktop; -video/x-anim=org.gnome.Totem;totem.desktop; -video/x-avi=org.gnome.Totem;totem.desktop; -video/x-flc=org.gnome.Totem;totem.desktop; -video/x-fli=org.gnome.Totem;totem.desktop; -video/x-flic=org.gnome.Totem;totem.desktop; -video/x-flv=org.gnome.Totem;totem.desktop; -video/x-m4v=org.gnome.Totem;totem.desktop; -video/x-matroska=org.gnome.Totem;totem.desktop; -video/x-mpeg=org.gnome.Totem;totem.desktop; -video/x-mpeg2=org.gnome.Totem;totem.desktop; -video/x-ms-asf=org.gnome.Totem;totem.desktop; -video/x-ms-asx=org.gnome.Totem;totem.desktop; -video/x-msvideo=org.gnome.Totem;totem.desktop; -video/x-ms-wm=org.gnome.Totem;totem.desktop; -video/x-ms-wmv=org.gnome.Totem;totem.desktop; -video/x-ms-wmx=org.gnome.Totem;totem.desktop; -video/x-ms-wvx=org.gnome.Totem;totem.desktop; -video/x-nsv=org.gnome.Totem;totem.desktop; -video/x-ogm+ogg=org.gnome.Totem;totem.desktop; -video/x-theora+ogg=org.gnome.Totem;totem.desktop; -video/x-totem-stream=org.gnome.Totem;totem.desktop; -x-content/video-dvd=org.gnome.Totem;totem.desktop; -x-content/video-vcd=org.gnome.Totem;totem.desktop; -x-content/video-svcd=org.gnome.Totem;totem.desktop; -x-scheme-handler/pnm=org.gnome.Totem;totem.desktop; -x-scheme-handler/mms=org.gnome.Totem;totem.desktop; -x-scheme-handler/net=org.gnome.Totem;totem.desktop; -x-scheme-handler/rtp=org.gnome.Totem;totem.desktop; -x-scheme-handler/rtsp=org.gnome.Totem;totem.desktop; -x-scheme-handler/mmsh=org.gnome.Totem;totem.desktop; -x-scheme-handler/uvox=org.gnome.Totem;totem.desktop; -x-scheme-handler/icy=org.gnome.Totem;totem.desktop; -x-scheme-handler/icyx=org.gnome.Totem;totem.desktop; +application/mxf=org.gnome.Totem.desktop; +application/ogg=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-wpl=org.gnome.Totem.desktop; +application/vnd.rn-realmedia=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-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/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/midi=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/mpegurl=org.gnome.Totem.desktop; +audio/ogg=org.gnome.Totem.desktop; +audio/prs.sid=org.gnome.Totem.desktop; +audio/vnd.rn-realaudio=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-gsm=org.gnome.Totem.desktop; +audio/x-it=org.gnome.Totem.desktop; +audio/x-m4a=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-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-pn-aiff=org.gnome.Totem.desktop; +audio/x-pn-au=org.gnome.Totem.desktop; +audio/x-pn-realaudio=org.gnome.Totem.desktop; +audio/x-pn-realaudio-plugin=org.gnome.Totem.desktop; +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-sbc=org.gnome.Totem.desktop; +audio/x-scpls=rhythmbox.desktop;org.gnome.Totem.desktop; +audio/x-speex=org.gnome.Totem.desktop; +audio/x-stm=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; +image/vnd.rn-realpix=org.gnome.Totem.desktop; +image/x-pict=org.gnome.Totem.desktop; +misc/ultravox=org.gnome.Totem.desktop; +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/dv=org.gnome.Totem.desktop; +video/divx=org.gnome.Totem.desktop; +video/fli=org.gnome.Totem.desktop; +video/flv=org.gnome.Totem.desktop; +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/msvideo=org.gnome.Totem.desktop; +video/ogg=org.gnome.Totem.desktop; +video/quicktime=org.gnome.Totem.desktop; +video/vivo=org.gnome.Totem.desktop; +video/vnd.divx=org.gnome.Totem.desktop; +video/vnd.mpegurl=org.gnome.Totem.desktop; +video/vnd.rn-realvideo=org.gnome.Totem.desktop; +video/vnd.vivo=org.gnome.Totem.desktop; +video/webm=org.gnome.Totem.desktop; +video/x-anim=org.gnome.Totem.desktop; +video/x-avi=org.gnome.Totem.desktop; +video/x-flc=org.gnome.Totem.desktop; +video/x-fli=org.gnome.Totem.desktop; +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-mpeg=org.gnome.Totem.desktop; +video/x-mpeg2=org.gnome.Totem.desktop; +video/x-ms-asf=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; +video/x-ms-wmv=org.gnome.Totem.desktop; +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+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; +x-scheme-handler/rtp=org.gnome.Totem.desktop; +x-scheme-handler/rtmp=org.gnome.Totem.desktop; +x-scheme-handler/rtsp=org.gnome.Totem.desktop; +x-scheme-handler/mmsh=org.gnome.Totem.desktop; +x-scheme-handler/uvox=org.gnome.Totem.desktop; +x-scheme-handler/icy=org.gnome.Totem.desktop; +x-scheme-handler/icyx=org.gnome.Totem.desktop; diff --git a/SPECS/shared-mime-info.spec b/SPECS/shared-mime-info.spec index ead4ea2..eebb4c9 100644 --- a/SPECS/shared-mime-info.spec +++ b/SPECS/shared-mime-info.spec @@ -1,26 +1,24 @@ Summary: Shared MIME information database Name: shared-mime-info -Version: 1.1 -Release: 9%{?dist} +Version: 1.8 +Release: 3%{?dist} License: GPLv2+ Group: System Environment/Base URL: http://freedesktop.org/Software/shared-mime-info Source0: http://people.freedesktop.org/~hadess/%{name}-%{version}.tar.xz -Source1: defaults.list +Source1: gnome-mimeapps.list # Generated with: -# for i in `cat /home/hadess/Projects/jhbuild/totem/data/mime-type-list.txt | grep -v real | grep -v ^#` ; do if grep MimeType /home/hadess/Projects/jhbuild/rhythmbox/data/rhythmbox.desktop.in.in | grep -q "$i;" ; then echo "$i=rhythmbox.desktop;totem.desktop;" >> totem-defaults.list ; else echo "$i=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=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=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/file-roller.desktop | sed 's/MimeType=//' | sed 's/;/ /g'` application/x-source-rpm ; do if ! `grep -q $i defaults.list` ; then echo $i=file-roller.desktop\; >> file-roller-defaults.list ; fi ; done +# 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 -q $i defaults.list` ; then echo $i=org.gnome.FileRoller.desktop\; >> file-roller-defaults.list ; fi ; done Source3: file-roller-defaults.list # Generated with: -# for i in `grep MimeType= /usr/share/applications/shotwell-viewer.desktop | sed 's/MimeType=//' | sed 's/;/ /g'` ; do echo $i=shotwell-viewer.desktop\; >> shotwell-viewer-defaults.list ; done -Source4: shotwell-viewer-defaults.list +# for i in `grep MimeType= /usr/share/applications/eog.desktop | sed 's/MimeType=//' | sed 's/;/ /g'` ; do echo $i=eog.desktop\; >> eog-defaults.list ; done +Source4: eog-defaults.list # Work-around for https://bugs.freedesktop.org/show_bug.cgi?id=40354 Patch0: 0001-Remove-sub-classing-from-OO.o-mime-types.patch -# Support for raw disk images (from upstream) -Patch1: 0001-Add-MIME-types-for-raw-disk-images.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: libxml2-devel @@ -30,6 +28,10 @@ BuildRequires: gettext BuildRequires: perl(XML::Parser) intltool Requires(post): glib2 +Requires(post): coreutils + +# Disable pkgconfig autodep +%global __requires_exclude ^/usr/bin/pkg-config$ %description This is the freedesktop.org shared MIME info database. @@ -40,17 +42,16 @@ a file. This is generally done by examining the file's name or contents, and looking up the correct MIME type in a database. %prep -%setup -q -%patch0 -p1 -b .ooo-zip -%patch1 -p1 -b .raw +%autosetup %build - -%configure -# make %{?_smp_mflags} +%configure --disable-silent-rules --disable-update-mimedb +# not smp safe, pretty small package anyway make %install +# speed build a bit +PKGSYSTEM_ENABLE_FSYNC=0 \ make install DESTDIR=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT%{_datadir}/mime -type d \ @@ -59,37 +60,52 @@ find $RPM_BUILD_ROOT%{_datadir}/mime -type f -not -path "*/packages/*" \ | sed -e "s|^$RPM_BUILD_ROOT|%%ghost |" >> %{name}.files mkdir -p $RPM_BUILD_ROOT/%{_datadir}/applications -install -m 644 %SOURCE1 $RPM_BUILD_ROOT/%{_datadir}/applications/defaults.list -cat %SOURCE2 >> $RPM_BUILD_ROOT/%{_datadir}/applications/defaults.list -cat %SOURCE3 >> $RPM_BUILD_ROOT/%{_datadir}/applications/defaults.list -cat %SOURCE4 >> $RPM_BUILD_ROOT/%{_datadir}/applications/defaults.list +install -m 644 %SOURCE1 $RPM_BUILD_ROOT/%{_datadir}/applications/gnome-mimeapps.list +cat %SOURCE2 >> $RPM_BUILD_ROOT/%{_datadir}/applications/gnome-mimeapps.list +cat %SOURCE3 >> $RPM_BUILD_ROOT/%{_datadir}/applications/gnome-mimeapps.list +cat %SOURCE4 >> $RPM_BUILD_ROOT/%{_datadir}/applications/gnome-mimeapps.list + +# Support fallback/generic mimeapps.list (currently based on gnome-mimeapps.list), see +# https://lists.fedoraproject.org/pipermail/devel/2015-July/212403.html +# https://bugzilla.redhat.com/show_bug.cgi?id=1243049 +cp $RPM_BUILD_ROOT%{_datadir}/applications/gnome-mimeapps.list \ + $RPM_BUILD_ROOT%{_datadir}/applications/mimeapps.list ## remove bogus translation files ## translations are already in the xml file installed rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/* -%if 0%{?fedora} < 17 -# f17+ mozilla-firefox.desktop renamed to firefox.desktop (#736558) -# defaults.list fixed, handle this exceptional case separately, if at all -%endif - %post -# Should fail, as it would mean a problem in the mime database -%{_bindir}/update-mime-database %{_datadir}/mime &> /dev/null +/bin/touch --no-create %{_datadir}/mime/packages &>/dev/null ||: + +%posttrans +%{_bindir}/update-mime-database %{?fedora:-n} %{_datadir}/mime &> /dev/null ||: %files -f %{name}.files -%defattr(-,root,root,-) -%doc README NEWS HACKING COPYING shared-mime-info-spec.xml +%{!?_licensedir:%global license %%doc} +%license COPYING +%doc README NEWS HACKING shared-mime-info-spec.xml %{_bindir}/* %{_datadir}/mime/packages/* -%{_datadir}/applications/defaults.list -# better to co-own the directory than pull in pkgconfig +%{_datadir}/applications/mimeapps.list +%{_datadir}/applications/gnome-mimeapps.list +# better to co-own this dir than to pull in pkgconfig %dir %{_datadir}/pkgconfig %{_datadir}/pkgconfig/shared-mime-info.pc %{_mandir}/man*/* %changelog +* Wed Mar 22 2017 Bastien Nocera - 1.8-3 ++ shared-mime-info-1.8-3 +- Remove triggers, they're not supported in RHEL 7.4's RPM +Resolves: #1433916 + +* Wed Mar 01 2017 Bastien Nocera - 1.8-2 ++ shared-mime-info-1.8-2 +- Rebase to 1.8 +Resolves: #1387045 + * Fri Jul 17 2015 Matthias Clasen 1.1-9 - Add support for raw disk images Related: #1211198