Compare commits
No commits in common. "c8" and "c10s" have entirely different histories.
1
.fmf/version
Normal file
1
.fmf/version
Normal file
@ -0,0 +1 @@
|
||||
1
|
5
.gitignore
vendored
5
.gitignore
vendored
@ -1 +1,4 @@
|
||||
SOURCES/shared-mime-info-1.9.tar.xz
|
||||
/shared-mime-info-*.tar.bz2
|
||||
/shared-mime-info-*.tar.xz
|
||||
/shared-mime-info-*/
|
||||
/xdgmime-*.tar.bz2
|
||||
|
@ -1 +0,0 @@
|
||||
aae41d8a93c665d25bae704f732fdb1c1551cb5c SOURCES/shared-mime-info-1.9.tar.xz
|
@ -1,265 +1,265 @@
|
||||
From 7bd867808aad05d691456a8301c8737ded9fd64b Mon Sep 17 00:00:00 2001
|
||||
From da0e63ccd86ead63e6b29828286897fb1236eb81 Mon Sep 17 00:00:00 2001
|
||||
From: Bastien Nocera <hadess@hadess.net>
|
||||
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 -------------------------------
|
||||
data/freedesktop.org.xml.in | 31 -------------------------------
|
||||
1 file changed, 31 deletions(-)
|
||||
|
||||
diff --git a/freedesktop.org.xml.in b/freedesktop.org.xml.in
|
||||
index 29ed9ef..542f1f7 100644
|
||||
--- a/freedesktop.org.xml.in
|
||||
+++ b/freedesktop.org.xml.in
|
||||
@@ -845,7 +845,6 @@ command to generate the output files.
|
||||
diff --git a/data/freedesktop.org.xml.in b/data/freedesktop.org.xml.in
|
||||
index 8020b13..00e8d90 100644
|
||||
--- a/data/freedesktop.org.xml.in
|
||||
+++ b/data/freedesktop.org.xml.in
|
||||
@@ -941,7 +941,6 @@ command to generate the output files.
|
||||
</mime-type>
|
||||
<mime-type type="application/vnd.sun.xml.calc">
|
||||
<_comment>OpenOffice Calc spreadsheet</_comment>
|
||||
<comment>LibreOffice Calc spreadsheet</comment>
|
||||
- <sub-class-of type="application/zip"/>
|
||||
<generic-icon name="x-office-spreadsheet"/>
|
||||
<magic priority="70">
|
||||
<match type="string" value="PK\003\004" offset="0">
|
||||
@@ -858,7 +857,6 @@ command to generate the output files.
|
||||
@@ -954,7 +953,6 @@ command to generate the output files.
|
||||
</mime-type>
|
||||
<mime-type type="application/vnd.sun.xml.calc.template">
|
||||
<_comment>OpenOffice Calc template</_comment>
|
||||
<comment>LibreOffice Calc template</comment>
|
||||
- <sub-class-of type="application/zip"/>
|
||||
<generic-icon name="x-office-spreadsheet"/>
|
||||
<magic priority="70">
|
||||
<match type="string" value="PK\003\004" offset="0">
|
||||
@@ -871,7 +869,6 @@ command to generate the output files.
|
||||
@@ -967,7 +965,6 @@ command to generate the output files.
|
||||
</mime-type>
|
||||
<mime-type type="application/vnd.sun.xml.draw">
|
||||
<_comment>OpenOffice Draw drawing</_comment>
|
||||
<comment>LibreOffice Draw drawing</comment>
|
||||
- <sub-class-of type="application/zip"/>
|
||||
<generic-icon name="image-x-generic"/>
|
||||
<magic priority="70">
|
||||
<match type="string" value="PK\003\004" offset="0">
|
||||
@@ -884,7 +881,6 @@ command to generate the output files.
|
||||
@@ -980,7 +977,6 @@ command to generate the output files.
|
||||
</mime-type>
|
||||
<mime-type type="application/vnd.sun.xml.draw.template">
|
||||
<_comment>OpenOffice Draw template</_comment>
|
||||
<comment>LibreOffice Draw template</comment>
|
||||
- <sub-class-of type="application/zip"/>
|
||||
<generic-icon name="image-x-generic"/>
|
||||
<magic priority="70">
|
||||
<match type="string" value="PK\003\004" offset="0">
|
||||
@@ -897,7 +893,6 @@ command to generate the output files.
|
||||
@@ -993,7 +989,6 @@ command to generate the output files.
|
||||
</mime-type>
|
||||
<mime-type type="application/vnd.sun.xml.impress">
|
||||
<_comment>OpenOffice Impress presentation</_comment>
|
||||
<comment>LibreOffice Impress presentation</comment>
|
||||
- <sub-class-of type="application/zip"/>
|
||||
<generic-icon name="x-office-presentation"/>
|
||||
<magic priority="70">
|
||||
<match type="string" value="PK\003\004" offset="0">
|
||||
@@ -910,7 +905,6 @@ command to generate the output files.
|
||||
@@ -1006,7 +1001,6 @@ command to generate the output files.
|
||||
</mime-type>
|
||||
<mime-type type="application/vnd.sun.xml.impress.template">
|
||||
<_comment>OpenOffice Impress template</_comment>
|
||||
<comment>LibreOffice Impress template</comment>
|
||||
- <sub-class-of type="application/zip"/>
|
||||
<generic-icon name="x-office-presentation"/>
|
||||
<magic priority="70">
|
||||
<match type="string" value="PK\003\004" offset="0">
|
||||
@@ -923,7 +917,6 @@ command to generate the output files.
|
||||
@@ -1019,7 +1013,6 @@ command to generate the output files.
|
||||
</mime-type>
|
||||
<mime-type type="application/vnd.sun.xml.math">
|
||||
<_comment>OpenOffice Math formula</_comment>
|
||||
<comment>LibreOffice Math formula</comment>
|
||||
- <sub-class-of type="application/zip"/>
|
||||
<generic-icon name="x-office-document"/>
|
||||
<magic priority="70">
|
||||
<match type="string" value="PK\003\004" offset="0">
|
||||
@@ -936,7 +929,6 @@ command to generate the output files.
|
||||
@@ -1032,7 +1025,6 @@ command to generate the output files.
|
||||
</mime-type>
|
||||
<mime-type type="application/vnd.sun.xml.writer">
|
||||
<_comment>OpenOffice Writer document</_comment>
|
||||
<comment>LibreOffice Writer document</comment>
|
||||
- <sub-class-of type="application/zip"/>
|
||||
<generic-icon name="x-office-document"/>
|
||||
<magic priority="70">
|
||||
<match type="string" value="PK\003\004" offset="0">
|
||||
@@ -949,7 +941,6 @@ command to generate the output files.
|
||||
@@ -1045,7 +1037,6 @@ command to generate the output files.
|
||||
</mime-type>
|
||||
<mime-type type="application/vnd.sun.xml.writer.global">
|
||||
<_comment>OpenOffice Writer global document</_comment>
|
||||
<comment>LibreOffice Writer global document</comment>
|
||||
- <sub-class-of type="application/zip"/>
|
||||
<generic-icon name="x-office-document"/>
|
||||
<magic priority="70">
|
||||
<match type="string" value="PK\003\004" offset="0">
|
||||
@@ -962,7 +953,6 @@ command to generate the output files.
|
||||
@@ -1058,7 +1049,6 @@ command to generate the output files.
|
||||
</mime-type>
|
||||
<mime-type type="application/vnd.sun.xml.writer.template">
|
||||
<_comment>OpenOffice Writer template</_comment>
|
||||
<comment>LibreOffice Writer template</comment>
|
||||
- <sub-class-of type="application/zip"/>
|
||||
<generic-icon name="x-office-document"/>
|
||||
<magic priority="70">
|
||||
<match type="string" value="PK\003\004" offset="0">
|
||||
@@ -977,7 +967,6 @@ command to generate the output files.
|
||||
<_comment>ODT document</_comment>
|
||||
@@ -1073,7 +1063,6 @@ command to generate the output files.
|
||||
<comment>ODT document</comment>
|
||||
<acronym>ODT</acronym>
|
||||
<expanded-acronym>OpenDocument Text</expanded-acronym>
|
||||
- <sub-class-of type="application/zip"/>
|
||||
<generic-icon name="x-office-document"/>
|
||||
<magic priority="70">
|
||||
<match type="string" value="PK\003\004" offset="0">
|
||||
@@ -992,7 +981,6 @@ command to generate the output files.
|
||||
<_comment>ODT document (Flat XML)</_comment>
|
||||
@@ -1088,7 +1077,6 @@ command to generate the output files.
|
||||
<comment>ODT document (Flat XML)</comment>
|
||||
<acronym>FODT</acronym>
|
||||
<expanded-acronym>OpenDocument Text (Flat XML)</expanded-acronym>
|
||||
- <sub-class-of type="application/xml"/>
|
||||
<generic-icon name="x-office-document"/>
|
||||
<glob pattern="*.fodt"/>
|
||||
</mime-type>
|
||||
@@ -1000,7 +988,6 @@ command to generate the output files.
|
||||
<_comment>ODT template</_comment>
|
||||
@@ -1096,7 +1084,6 @@ command to generate the output files.
|
||||
<comment>ODT template</comment>
|
||||
<acronym>ODT</acronym>
|
||||
<expanded-acronym>OpenDocument Text</expanded-acronym>
|
||||
- <sub-class-of type="application/zip"/>
|
||||
<generic-icon name="x-office-document"/>
|
||||
<magic priority="70">
|
||||
<match type="string" value="PK\003\004" offset="0">
|
||||
@@ -1015,7 +1002,6 @@ command to generate the output files.
|
||||
<_comment>OTH template</_comment>
|
||||
@@ -1111,7 +1098,6 @@ command to generate the output files.
|
||||
<comment>OTH template</comment>
|
||||
<acronym>OTH</acronym>
|
||||
<expanded-acronym>OpenDocument HTML</expanded-acronym>
|
||||
- <sub-class-of type="application/zip"/>
|
||||
<generic-icon name="text-html"/>
|
||||
<magic priority="70">
|
||||
<match type="string" value="PK\003\004" offset="0">
|
||||
@@ -1030,7 +1016,6 @@ command to generate the output files.
|
||||
<_comment>ODM document</_comment>
|
||||
@@ -1126,7 +1112,6 @@ command to generate the output files.
|
||||
<comment>ODM document</comment>
|
||||
<acronym>ODM</acronym>
|
||||
<expanded-acronym>OpenDocument Master</expanded-acronym>
|
||||
- <sub-class-of type="application/zip"/>
|
||||
<generic-icon name="x-office-document"/>
|
||||
<magic priority="70">
|
||||
<match type="string" value="PK\003\004" offset="0">
|
||||
@@ -1045,7 +1030,6 @@ command to generate the output files.
|
||||
<_comment>ODG drawing</_comment>
|
||||
@@ -1141,7 +1126,6 @@ command to generate the output files.
|
||||
<comment>ODG drawing</comment>
|
||||
<acronym>ODG</acronym>
|
||||
<expanded-acronym>OpenDocument Drawing</expanded-acronym>
|
||||
- <sub-class-of type="application/zip"/>
|
||||
<generic-icon name="image-x-generic"/>
|
||||
<magic priority="70">
|
||||
<match type="string" value="PK\003\004" offset="0">
|
||||
@@ -1060,7 +1044,6 @@ command to generate the output files.
|
||||
<_comment>ODG drawing (Flat XML)</_comment>
|
||||
@@ -1156,7 +1140,6 @@ command to generate the output files.
|
||||
<comment>ODG drawing (Flat XML)</comment>
|
||||
<acronym>FODG</acronym>
|
||||
<expanded-acronym>OpenDocument Drawing (Flat XML)</expanded-acronym>
|
||||
- <sub-class-of type="application/xml"/>
|
||||
<generic-icon name="image-x-generic"/>
|
||||
<glob pattern="*.fodg"/>
|
||||
</mime-type>
|
||||
@@ -1068,7 +1051,6 @@ command to generate the output files.
|
||||
<_comment>ODG template</_comment>
|
||||
@@ -1164,7 +1147,6 @@ command to generate the output files.
|
||||
<comment>ODG template</comment>
|
||||
<acronym>ODG</acronym>
|
||||
<expanded-acronym>OpenDocument Drawing</expanded-acronym>
|
||||
- <sub-class-of type="application/zip"/>
|
||||
<generic-icon name="image-x-generic"/>
|
||||
<magic priority="70">
|
||||
<match type="string" value="PK\003\004" offset="0">
|
||||
@@ -1083,7 +1065,6 @@ command to generate the output files.
|
||||
<_comment>ODP presentation</_comment>
|
||||
@@ -1179,7 +1161,6 @@ command to generate the output files.
|
||||
<comment>ODP presentation</comment>
|
||||
<acronym>ODP</acronym>
|
||||
<expanded-acronym>OpenDocument Presentation</expanded-acronym>
|
||||
- <sub-class-of type="application/zip"/>
|
||||
<generic-icon name="x-office-presentation"/>
|
||||
<magic priority="70">
|
||||
<match type="string" value="PK\003\004" offset="0">
|
||||
@@ -1098,7 +1079,6 @@ command to generate the output files.
|
||||
<_comment>ODP presentation (Flat XML)</_comment>
|
||||
@@ -1194,7 +1175,6 @@ command to generate the output files.
|
||||
<comment>ODP presentation (Flat XML)</comment>
|
||||
<acronym>FODP</acronym>
|
||||
<expanded-acronym>OpenDocument Presentation (Flat XML)</expanded-acronym>
|
||||
- <sub-class-of type="application/xml"/>
|
||||
<generic-icon name="x-office-presentation"/>
|
||||
<glob pattern="*.fodp"/>
|
||||
</mime-type>
|
||||
@@ -1106,7 +1086,6 @@ command to generate the output files.
|
||||
<_comment>ODP template</_comment>
|
||||
@@ -1202,7 +1182,6 @@ command to generate the output files.
|
||||
<comment>ODP template</comment>
|
||||
<acronym>ODP</acronym>
|
||||
<expanded-acronym>OpenDocument Presentation</expanded-acronym>
|
||||
- <sub-class-of type="application/zip"/>
|
||||
<generic-icon name="x-office-presentation"/>
|
||||
<magic priority="70">
|
||||
<match type="string" value="PK\003\004" offset="0">
|
||||
@@ -1121,7 +1100,6 @@ command to generate the output files.
|
||||
<_comment>ODS spreadsheet</_comment>
|
||||
@@ -1217,7 +1196,6 @@ command to generate the output files.
|
||||
<comment>ODS spreadsheet</comment>
|
||||
<acronym>ODS</acronym>
|
||||
<expanded-acronym>OpenDocument Spreadsheet</expanded-acronym>
|
||||
- <sub-class-of type="application/zip"/>
|
||||
<generic-icon name="x-office-spreadsheet"/>
|
||||
<magic priority="70">
|
||||
<match type="string" value="PK\003\004" offset="0">
|
||||
@@ -1136,7 +1114,6 @@ command to generate the output files.
|
||||
<_comment>ODS spreadsheet (Flat XML)</_comment>
|
||||
@@ -1232,7 +1210,6 @@ command to generate the output files.
|
||||
<comment>ODS spreadsheet (Flat XML)</comment>
|
||||
<acronym>FODS</acronym>
|
||||
<expanded-acronym>OpenDocument Spreadsheet (Flat XML)</expanded-acronym>
|
||||
- <sub-class-of type="application/xml"/>
|
||||
<generic-icon name="x-office-spreadsheet"/>
|
||||
<glob pattern="*.fods"/>
|
||||
</mime-type>
|
||||
@@ -1144,7 +1121,6 @@ command to generate the output files.
|
||||
<_comment>ODS template</_comment>
|
||||
@@ -1240,7 +1217,6 @@ command to generate the output files.
|
||||
<comment>ODS template</comment>
|
||||
<acronym>ODS</acronym>
|
||||
<expanded-acronym>OpenDocument Spreadsheet</expanded-acronym>
|
||||
- <sub-class-of type="application/zip"/>
|
||||
<generic-icon name="x-office-spreadsheet"/>
|
||||
<magic priority="70">
|
||||
<match type="string" value="PK\003\004" offset="0">
|
||||
@@ -1159,7 +1135,6 @@ command to generate the output files.
|
||||
<_comment>ODC chart</_comment>
|
||||
@@ -1255,7 +1231,6 @@ command to generate the output files.
|
||||
<comment>ODC chart</comment>
|
||||
<acronym>ODC</acronym>
|
||||
<expanded-acronym>OpenDocument Chart</expanded-acronym>
|
||||
- <sub-class-of type="application/zip"/>
|
||||
<generic-icon name="x-office-spreadsheet"/>
|
||||
<magic priority="70">
|
||||
<match type="string" value="PK\003\004" offset="0">
|
||||
@@ -1174,7 +1149,6 @@ command to generate the output files.
|
||||
<_comment>ODC template</_comment>
|
||||
@@ -1270,7 +1245,6 @@ command to generate the output files.
|
||||
<comment>ODC template</comment>
|
||||
<acronym>ODC</acronym>
|
||||
<expanded-acronym>OpenDocument Chart</expanded-acronym>
|
||||
- <sub-class-of type="application/zip"/>
|
||||
<generic-icon name="x-office-spreadsheet"/>
|
||||
<magic priority="70">
|
||||
<match type="string" value="PK\003\004" offset="0">
|
||||
@@ -1189,7 +1163,6 @@ command to generate the output files.
|
||||
<_comment>ODF formula</_comment>
|
||||
@@ -1285,7 +1259,6 @@ command to generate the output files.
|
||||
<comment>ODF formula</comment>
|
||||
<acronym>ODF</acronym>
|
||||
<expanded-acronym>OpenDocument Formula</expanded-acronym>
|
||||
- <sub-class-of type="application/zip"/>
|
||||
<generic-icon name="x-office-document"/>
|
||||
<magic priority="70">
|
||||
<match type="string" value="PK\003\004" offset="0">
|
||||
@@ -1204,7 +1177,6 @@ command to generate the output files.
|
||||
<_comment>ODF template</_comment>
|
||||
@@ -1300,7 +1273,6 @@ command to generate the output files.
|
||||
<comment>ODF template</comment>
|
||||
<acronym>ODF</acronym>
|
||||
<expanded-acronym>OpenDocument Formula</expanded-acronym>
|
||||
- <sub-class-of type="application/zip"/>
|
||||
<generic-icon name="x-office-document"/>
|
||||
<magic priority="70">
|
||||
<match type="string" value="PK\003\004" offset="0">
|
||||
@@ -1219,7 +1191,6 @@ command to generate the output files.
|
||||
<_comment>ODB database</_comment>
|
||||
@@ -1315,7 +1287,6 @@ command to generate the output files.
|
||||
<comment>ODB database</comment>
|
||||
<acronym>ODB</acronym>
|
||||
<expanded-acronym>OpenDocument Database</expanded-acronym>
|
||||
- <sub-class-of type="application/zip"/>
|
||||
<generic-icon name="x-office-document"/>
|
||||
<magic priority="70">
|
||||
<match type="string" value="PK\003\004" offset="0">
|
||||
@@ -1235,7 +1206,6 @@ command to generate the output files.
|
||||
<_comment>ODI image</_comment>
|
||||
@@ -1331,7 +1302,6 @@ command to generate the output files.
|
||||
<comment>ODI image</comment>
|
||||
<acronym>ODI</acronym>
|
||||
<expanded-acronym>OpenDocument Image</expanded-acronym>
|
||||
- <sub-class-of type="application/zip"/>
|
||||
<generic-icon name="image-x-generic"/>
|
||||
<magic priority="70">
|
||||
<match type="string" value="PK\003\004" offset="0">
|
||||
@@ -1248,7 +1218,6 @@ command to generate the output files.
|
||||
@@ -1344,7 +1314,6 @@ command to generate the output files.
|
||||
</mime-type>
|
||||
<mime-type type="application/vnd.openofficeorg.extension">
|
||||
<_comment>OpenOffice.org extension</_comment>
|
||||
<comment>OpenOffice.org extension</comment>
|
||||
- <sub-class-of type="application/zip"/>
|
||||
<generic-icon name="x-office-document"/>
|
||||
<glob pattern="*.oxt" />
|
||||
</mime-type>
|
||||
--
|
||||
2.7.4
|
||||
2.41.0
|
||||
|
23
0002-Fix-build-with-libxml2-2.12.0.patch
Normal file
23
0002-Fix-build-with-libxml2-2.12.0.patch
Normal file
@ -0,0 +1,23 @@
|
||||
From c918fe77e255150938e83a6aec259f153d303573 Mon Sep 17 00:00:00 2001
|
||||
From: David Faure <faure@kde.org>
|
||||
Date: Sun, 19 Nov 2023 11:18:11 +0100
|
||||
Subject: [PATCH] Fix build with libxml2-2.12.0 and clang-17
|
||||
|
||||
Fixes #219
|
||||
---
|
||||
src/test-subclassing.c | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/src/test-subclassing.c b/src/test-subclassing.c
|
||||
index dd099e44..0758164f 100644
|
||||
--- a/src/test-subclassing.c
|
||||
+++ b/src/test-subclassing.c
|
||||
@@ -1,4 +1,5 @@
|
||||
#include <libxml/tree.h>
|
||||
+#include <libxml/parser.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
--
|
||||
GitLab
|
||||
|
@ -1,41 +0,0 @@
|
||||
diff -up shared-mime-info-1.9/freedesktop.org.xml.in.2 shared-mime-info-1.9/freedesktop.org.xml.in
|
||||
--- shared-mime-info-1.9/freedesktop.org.xml.in.2 2023-12-08 10:47:31.309147409 +0100
|
||||
+++ shared-mime-info-1.9/freedesktop.org.xml.in 2023-12-08 10:47:34.293185260 +0100
|
||||
@@ -1919,14 +1919,10 @@ command to generate the output files.
|
||||
<generic-icon name="application-x-executable"/>
|
||||
<magic priority="40">
|
||||
<match type="string" value="\177ELF" offset="0">
|
||||
- <match type="byte" value="1" offset="5">
|
||||
- <match type="little16" value="2" offset="16"/>
|
||||
- </match>
|
||||
+ <match type="byte" value="1" offset="5"/>
|
||||
</match>
|
||||
<match type="string" value="\177ELF" offset="0">
|
||||
- <match type="byte" value="2" offset="5">
|
||||
- <match type="big16" value="2" offset="16"/>
|
||||
- </match>
|
||||
+ <match type="byte" value="2" offset="5"/>
|
||||
</match>
|
||||
<match type="string" value="MZ" offset="0"/>
|
||||
<match type="little16" value="0x521c" offset="0"/>
|
||||
@@ -3459,20 +3455,9 @@ command to generate the output files.
|
||||
<mime-type type="application/x-sharedlib">
|
||||
<_comment>shared library</_comment>
|
||||
<magic priority="50">
|
||||
- <match type="string" value="\177ELF" offset="0">
|
||||
- <match type="byte" value="1" offset="5">
|
||||
- <match type="little16" value="3" offset="16"/>
|
||||
- </match>
|
||||
- </match>
|
||||
- <match type="string" value="\177ELF" offset="0">
|
||||
- <match type="byte" value="2" offset="5">
|
||||
- <match type="big16" value="3" offset="16"/>
|
||||
- </match>
|
||||
- </match>
|
||||
<match type="little16" value="0603" offset="0">
|
||||
<match type="little16" mask="030000" value="020000" offset="22"/>
|
||||
</match>
|
||||
- <match type="string" mask="0xffffffff000000000000000000000000ff" value="\177ELF \003" offset="0"/>
|
||||
</magic>
|
||||
<glob pattern="*.so"/>
|
||||
</mime-type>
|
@ -1,22 +0,0 @@
|
||||
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;
|
@ -1,54 +0,0 @@
|
||||
application/x-7z-compressed=org.gnome.Nautilus.desktop;org.gnome.FileRoller.desktop;
|
||||
application/x-7z-compressed-tar=org.gnome.Nautilus.desktop;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.Nautilus.desktop;org.gnome.FileRoller.desktop;
|
||||
application/x-bzip-compressed-tar=org.gnome.Nautilus.desktop;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.Nautilus.desktop;org.gnome.FileRoller.desktop;
|
||||
application/x-compressed-tar=org.gnome.Nautilus.desktop;org.gnome.FileRoller.desktop;
|
||||
application/x-cpio=org.gnome.Nautilus.desktop;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.Nautilus.desktop;org.gnome.FileRoller.desktop;
|
||||
application/x-gzpostscript=org.gnome.FileRoller.desktop;
|
||||
application/x-java-archive=org.gnome.FileRoller.desktop;
|
||||
application/x-lha=org.gnome.Nautilus.desktop;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-lz4=org.gnome.FileRoller.desktop;
|
||||
application/x-lzip=org.gnome.Nautilus.desktop;org.gnome.FileRoller.desktop;
|
||||
application/x-lzip-compressed-tar=org.gnome.Nautilus.desktop;org.gnome.FileRoller.desktop;
|
||||
application/x-lzma=org.gnome.Nautilus.desktop;org.gnome.FileRoller.desktop;
|
||||
application/x-lzma-compressed-tar=org.gnome.Nautilus.desktop;org.gnome.FileRoller.desktop;
|
||||
application/x-lzop=org.gnome.FileRoller.desktop;
|
||||
application/x-lz4-compressed-tar=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-source-rpm=org.gnome.FileRoller.desktop;
|
||||
application/x-rzip=org.gnome.FileRoller.desktop;
|
||||
application/x-rzip-compressed-tar=org.gnome.FileRoller.desktop;
|
||||
application/x-tar=org.gnome.Nautilus.desktop;org.gnome.FileRoller.desktop;
|
||||
application/x-tarz=org.gnome.Nautilus.desktop;org.gnome.FileRoller.desktop;
|
||||
application/x-stuffit=org.gnome.FileRoller.desktop;
|
||||
application/x-war=org.gnome.FileRoller.desktop;
|
||||
application/x-xz=org.gnome.Nautilus.desktop;org.gnome.FileRoller.desktop;
|
||||
application/x-xz-compressed-tar=org.gnome.Nautilus.desktop;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.Nautilus.desktop;org.gnome.FileRoller.desktop;
|
||||
application/x-archive=org.gnome.FileRoller.desktop;
|
||||
application/vnd.ms-cab-compressed=org.gnome.FileRoller.desktop;
|
||||
application/vnd.debian.binary-package=org.gnome.FileRoller.desktop;
|
||||
application/gzip=org.gnome.Nautilus.desktop;org.gnome.FileRoller.desktop;
|
||||
application/x-source-rpm=org.gnome.FileRoller.desktop;
|
@ -1,97 +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
|
||||
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-calc.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
|
@ -1,127 +0,0 @@
|
||||
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;
|
@ -1,109 +1,112 @@
|
||||
Summary: Shared MIME information database
|
||||
Name: shared-mime-info
|
||||
Version: 1.9
|
||||
Release: 4%{?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: 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
|
||||
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
|
||||
Source3: file-roller-defaults.list
|
||||
# Generated with:
|
||||
# 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
|
||||
* Sat Jul 22 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.2-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||
|
||||
# Work-around for https://bugs.freedesktop.org/show_bug.cgi?id=40354
|
||||
Patch0: 0001-Remove-sub-classing-from-OO.o-mime-types.patch
|
||||
* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.2-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||
|
||||
# https://issues.redhat.com/browse/RHEL-5727
|
||||
Patch1: 0002-Fix-detection-of-executable-files.patch
|
||||
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.2-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
BuildRequires: libxml2-devel
|
||||
BuildRequires: glib2-devel
|
||||
BuildRequires: gettext
|
||||
# For intltool:
|
||||
BuildRequires: perl(XML::Parser) intltool
|
||||
* Sat Apr 23 2022 Miro Hrončok <mhroncok@redhat.com> - 2.2-1
|
||||
- Update to 2.2
|
||||
- Fixes: rhbz#2068902
|
||||
- Fixes: rhbz#2047009
|
||||
|
||||
Requires(post): glib2
|
||||
Requires(post): coreutils
|
||||
* Wed Feb 02 2022 Rex Dieter <rdieter@fedoraproject.org> - 2.1-5
|
||||
- shared-mime-info FTBFS (#2047009)
|
||||
- make xdgmime build use rpm build flags
|
||||
|
||||
# Disable pkgconfig autodep
|
||||
%global __requires_exclude ^/usr/bin/pkg-config$
|
||||
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.1-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||
|
||||
%description
|
||||
This is the freedesktop.org shared MIME info database.
|
||||
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.1-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||
|
||||
Many programs and desktops use the MIME system to represent the types of
|
||||
files. Frequently, it is necessary to work out the correct MIME type for
|
||||
a file. This is generally done by examining the file's name or contents,
|
||||
and looking up the correct MIME type in a database.
|
||||
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.1-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||
|
||||
%prep
|
||||
%autosetup -S gendiff
|
||||
* Mon Jan 04 2021 Miro Hrončok <mhroncok@redhat.com> - 2.1-1
|
||||
- Update to 2.1
|
||||
- Fixes: rhbz#1911850
|
||||
|
||||
%build
|
||||
%configure --disable-silent-rules --disable-update-mimedb
|
||||
# not smp safe, pretty small package anyway
|
||||
make
|
||||
* Sun Nov 8 2020 Miro Hrončok <mhroncok@redhat.com> - 2.0-5
|
||||
- Own the generated files (as %%ghosts)
|
||||
- Fixes: rhbz#1486468
|
||||
|
||||
%install
|
||||
# speed build a bit
|
||||
PKGSYSTEM_ENABLE_FSYNC=0 \
|
||||
make install DESTDIR=$RPM_BUILD_ROOT
|
||||
* Tue Aug 25 2020 Bastien Nocera <bnocera@redhat.com> - 2.0-4
|
||||
+ shared-mime-info-2.0-4
|
||||
- Remove GNOME specific defaults apps list, move to gnome-desktop3
|
||||
|
||||
find $RPM_BUILD_ROOT%{_datadir}/mime -type d \
|
||||
| sed -e "s|^$RPM_BUILD_ROOT|%%dir |" > %{name}.files
|
||||
find $RPM_BUILD_ROOT%{_datadir}/mime -type f -not -path "*/packages/*" \
|
||||
| sed -e "s|^$RPM_BUILD_ROOT|%%ghost |" >> %{name}.files
|
||||
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.0-3
|
||||
- Second attempt - Rebuilt for
|
||||
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/applications
|
||||
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
|
||||
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
# 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
|
||||
* Wed May 06 2020 Bastien Nocera <bnocera@redhat.com> - 2.0-1
|
||||
+ shared-mime-info-2.0-1
|
||||
- Update to 2.0
|
||||
|
||||
## remove bogus translation files
|
||||
## translations are already in the xml file installed
|
||||
rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*
|
||||
* Tue May 05 2020 Bastien Nocera <bnocera@redhat.com> - 1.15-4
|
||||
+ shared-mime-info-1.15-4
|
||||
- Update mime defaults (eog, totem, evince, file-roller)
|
||||
|
||||
* Sun Mar 08 2020 Bastien Nocera <bnocera@redhat.com> - 1.15-3
|
||||
+ shared-mime-info-1.15-3
|
||||
- Update eog's defaults
|
||||
|
||||
%post
|
||||
/bin/touch --no-create %{_datadir}/mime/packages &>/dev/null ||:
|
||||
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.15-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
%transfiletriggerin -- %{_datadir}/mime
|
||||
update-mime-database -n %{_datadir}/mime &> /dev/null ||:
|
||||
* Tue Nov 05 2019 Bastien Nocera <bnocera@redhat.com> - 1.15-1
|
||||
+ shared-mime-info-1.15-1
|
||||
- Update to 1.15
|
||||
|
||||
%transfiletriggerpostun -- %{_datadir}/mime
|
||||
update-mime-database -n %{_datadir}/mime &> /dev/null ||:
|
||||
* Fri Sep 20 2019 Bastien Nocera <bnocera@redhat.com> - 1.14-1
|
||||
+ shared-mime-info-1.14-1
|
||||
- Update to 1.14
|
||||
- Update defaults.list
|
||||
|
||||
%files -f %{name}.files
|
||||
%{!?_licensedir:%global license %%doc}
|
||||
%license COPYING
|
||||
%doc README NEWS HACKING shared-mime-info-spec.xml
|
||||
%{_bindir}/*
|
||||
%{_datadir}/mime/packages/*
|
||||
%{_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*/*
|
||||
* Wed Sep 11 2019 Bastien Nocera <bnocera@redhat.com> - 1.13.1-1
|
||||
+ shared-mime-info-1.13.1-1
|
||||
- Update to 1.13.1
|
||||
|
||||
%changelog
|
||||
* Fri Dec 08 2023 Milan Crha <mcrha@redhat.com> - 1.9-4
|
||||
- Resolves: RHEL-5727 (Fix detection of executable files)
|
||||
* Wed Sep 11 2019 Bastien Nocera <bnocera@redhat.com> - 1.13-1
|
||||
+ shared-mime-info-1.13-1
|
||||
- Update to 1.13
|
||||
|
||||
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.12-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.12-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
* Thu Jan 17 2019 Bastien Nocera <bnocera@redhat.com> - 1.12-1
|
||||
+ shared-mime-info-1.12-1
|
||||
- Update to 1.12
|
||||
|
||||
* Thu Jan 17 2019 Bastien Nocera <bnocera@redhat.com> - 1.11-1
|
||||
+ shared-mime-info-1.11-1
|
||||
- Update to 1.11
|
||||
|
||||
* Wed Dec 12 2018 Bastien Nocera <bnocera@redhat.com> - 1.10-4
|
||||
+ shared-mime-info-1.10-4
|
||||
- Add GNOME defaults for Evince
|
||||
|
||||
* Thu Oct 04 2018 Bastien Nocera <bnocera@redhat.com> - 1.10-3
|
||||
+ shared-mime-info-1.10-3
|
||||
- Update evince's desktop filename
|
||||
|
||||
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.10-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
* Thu Jun 28 2018 Bastien Nocera <bnocera@redhat.com> - 1.10-1
|
||||
+ shared-mime-info-1.10-1
|
||||
- Update to 1.10
|
||||
|
||||
* Wed Mar 07 2018 Rex Dieter <rdieter@fedoraproject.org> - 1.9-4
|
||||
- BR: gcc, .spec cosmetics/cleanup
|
||||
|
||||
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.9-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
@ -268,11 +271,11 @@ update-mime-database -n %{_datadir}/mime &> /dev/null ||:
|
||||
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
||||
|
||||
* Tue May 22 2012 Rex Dieter <rdieter@fedoraproject.org>
|
||||
* Tue May 22 2012 Rex Dieter <rdieter@fedoraproject.org>
|
||||
- 1.0-4
|
||||
- defaults.list: s/mozilla-firefox/firefox/ (see #736558)
|
||||
- defaults.list: s/gpk-install-file/gpk-install-local-file/
|
||||
- defaults.list: application/x-catalog=gpk-install-catalog.desktop (#770019)
|
||||
- defaults.list: application/x-catalog=gpk-install-catalog.desktop (#770019)
|
||||
|
||||
* Fri May 11 2012 Bastien Nocera <bnocera@redhat.com> 1.0-3
|
||||
- Use gnome-disk-image-mounter from gnome-disk-utility to handle
|
||||
@ -505,7 +508,7 @@ update-mime-database -n %{_datadir}/mime &> /dev/null ||:
|
||||
- rebuilt for new gcc4.1 snapshot and glibc changes
|
||||
|
||||
* Mon Jan 30 2006 Caolan McNamara <caolanm@redhat.com> - 0.16.cvs20051219-2
|
||||
- rh#179138# add openoffice.org as preferred app for oasis formats
|
||||
- rh#179138# add openoffice.org as preferred app for oasis formats
|
||||
|
||||
* Mon Dec 19 2005 Matthias Clasen <mclasen@redhat.com> - 0.16.cvs20051219-1
|
||||
- Newer cvs snapshot
|
||||
@ -557,7 +560,7 @@ update-mime-database -n %{_datadir}/mime &> /dev/null ||:
|
||||
- Handle XUL files. #134122
|
||||
|
||||
* Wed Oct 13 2004 Colin Walters <walters@redhat.com> - 0.15-7
|
||||
- Make helix default for ogg and mp3, will switch wav/flac too
|
||||
- Make helix default for ogg and mp3, will switch wav/flac too
|
||||
when support is added
|
||||
|
||||
* Wed Oct 6 2004 Alexander Larsson <alexl@redhat.com> - 0.15-6
|
6
gating.yaml
Normal file
6
gating.yaml
Normal file
@ -0,0 +1,6 @@
|
||||
--- !Policy
|
||||
product_versions:
|
||||
- rhel-10
|
||||
decision_context: osci_compose_gate
|
||||
rules:
|
||||
- !PassingTestCaseRule {test_case_name: desktop-qe.desktop-ci.tier1-gating.functional}
|
11
main.fmf
Normal file
11
main.fmf
Normal file
@ -0,0 +1,11 @@
|
||||
summary: Run internal shared-mime-info tests
|
||||
discover:
|
||||
- name: Internal shared-mime-info gating tests
|
||||
how: fmf
|
||||
url: https://gitlab.cee.redhat.com/desktopqe/shared-mime-info.git
|
||||
path: /
|
||||
ref: rhel-9
|
||||
filter: 'tag:gate'
|
||||
execute:
|
||||
how: tmt
|
||||
|
343
mimeapps.list
Normal file
343
mimeapps.list
Normal file
@ -0,0 +1,343 @@
|
||||
[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
|
||||
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/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-catalog=gpk-install-catalog.desktop
|
||||
application/x-rpm=gpk-install-local-file.desktop
|
||||
text/csv=libreoffice-calc.desktop
|
||||
text/plain=org.gnome.gedit.desktop
|
||||
text/html=org.mozilla.firefox.desktop
|
||||
application/xhtml+xml=org.mozilla.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/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=org.mozilla.firefox.desktop
|
||||
x-scheme-handler/https=org.mozilla.firefox.desktop
|
||||
application/mxf=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=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/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=org.gnome.Rhythmbox3.desktop;rhythmbox.desktop;org.gnome.Totem.desktop;
|
||||
audio/x-gsm=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.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;
|
||||
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.Rhythmbox3.desktop;rhythmbox.desktop;org.gnome.Totem.desktop;
|
||||
audio/x-sbc=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.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=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;
|
||||
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;
|
||||
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/mpeg-system=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-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;
|
||||
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=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-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;
|
||||
application/bzip2=org.gnome.Nautilus.desktop;org.gnome.FileRoller.desktop;
|
||||
application/gzip=org.gnome.Nautilus.desktop;org.gnome.FileRoller.desktop;
|
||||
application/vnd.android.package-archive=org.gnome.FileRoller.desktop;
|
||||
application/vnd.ms-cab-compressed=org.gnome.FileRoller.desktop;
|
||||
application/vnd.debian.binary-package=org.gnome.FileRoller.desktop;
|
||||
application/x-7z-compressed=org.gnome.Nautilus.desktop;org.gnome.FileRoller.desktop;
|
||||
application/x-7z-compressed-tar=org.gnome.Nautilus.desktop;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-archive=org.gnome.FileRoller.desktop;
|
||||
application/x-arj=org.gnome.FileRoller.desktop;
|
||||
application/x-brotli=org.gnome.FileRoller.desktop;
|
||||
application/x-bzip-brotli-tar=org.gnome.FileRoller.desktop;
|
||||
application/x-bzip=org.gnome.Nautilus.desktop;org.gnome.FileRoller.desktop;
|
||||
application/x-bzip-compressed-tar=org.gnome.Nautilus.desktop;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.Nautilus.desktop;org.gnome.FileRoller.desktop;
|
||||
application/x-compressed-tar=org.gnome.Nautilus.desktop;org.gnome.FileRoller.desktop;
|
||||
application/x-cpio=org.gnome.Nautilus.desktop;org.gnome.FileRoller.desktop;
|
||||
application/x-chrome-extension=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.Nautilus.desktop;org.gnome.FileRoller.desktop;
|
||||
application/x-java-archive=org.gnome.FileRoller.desktop;
|
||||
application/x-lha=org.gnome.Nautilus.desktop;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-lz4=org.gnome.FileRoller.desktop;
|
||||
application/x-lzip=org.gnome.Nautilus.desktop;org.gnome.FileRoller.desktop;
|
||||
application/x-lzip-compressed-tar=org.gnome.Nautilus.desktop;org.gnome.FileRoller.desktop;
|
||||
application/x-lzma=org.gnome.Nautilus.desktop;org.gnome.FileRoller.desktop;
|
||||
application/x-lzma-compressed-tar=org.gnome.Nautilus.desktop;org.gnome.FileRoller.desktop;
|
||||
application/x-lzop=org.gnome.FileRoller.desktop;
|
||||
application/x-lz4-compressed-tar=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-source-rpm=org.gnome.FileRoller.desktop;
|
||||
application/x-rzip=org.gnome.FileRoller.desktop;
|
||||
application/x-rzip-compressed-tar=org.gnome.FileRoller.desktop;
|
||||
application/x-tar=org.gnome.Nautilus.desktop;org.gnome.FileRoller.desktop;
|
||||
application/x-tarz=org.gnome.Nautilus.desktop;org.gnome.FileRoller.desktop;
|
||||
application/x-stuffit=org.gnome.FileRoller.desktop;
|
||||
application/x-war=org.gnome.FileRoller.desktop;
|
||||
application/x-xar=org.gnome.Nautilus.desktop;org.gnome.FileRoller.desktop;
|
||||
application/x-xz=org.gnome.Nautilus.desktop;org.gnome.FileRoller.desktop;
|
||||
application/x-xz-compressed-tar=org.gnome.Nautilus.desktop;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.Nautilus.desktop;org.gnome.FileRoller.desktop;
|
||||
image/bmp=org.gnome.eog.desktop;
|
||||
image/gif=org.gnome.eog.desktop;
|
||||
image/jpeg=org.gnome.eog.desktop;
|
||||
image/jpg=org.gnome.eog.desktop;
|
||||
image/pjpeg=org.gnome.eog.desktop;
|
||||
image/png=org.gnome.eog.desktop;
|
||||
image/tiff=org.gnome.eog.desktop;
|
||||
image/x-bmp=org.gnome.eog.desktop;
|
||||
image/x-gray=org.gnome.eog.desktop;
|
||||
image/x-icb=org.gnome.eog.desktop;
|
||||
image/x-ico=org.gnome.eog.desktop;
|
||||
image/x-png=org.gnome.eog.desktop;
|
||||
image/x-portable-anymap=org.gnome.eog.desktop;
|
||||
image/x-portable-bitmap=org.gnome.eog.desktop;
|
||||
image/x-portable-graymap=org.gnome.eog.desktop;
|
||||
image/x-portable-pixmap=org.gnome.eog.desktop;
|
||||
image/x-xbitmap=org.gnome.eog.desktop;
|
||||
image/x-xpixmap=org.gnome.eog.desktop;
|
||||
image/x-pcx=org.gnome.eog.desktop;
|
||||
image/svg+xml=org.gnome.eog.desktop;
|
||||
image/svg+xml-compressed=org.gnome.eog.desktop;
|
||||
image/vnd.wap.wbmp=org.gnome.eog.desktop;
|
||||
image/x-icns=org.gnome.eog.desktop;
|
||||
application/pdf=org.gnome.Evince.desktop;
|
||||
application/x-bzpdf=org.gnome.Evince.desktop;
|
||||
application/x-gzpdf=org.gnome.Evince.desktop;
|
||||
application/x-xzpdf=org.gnome.Evince.desktop;
|
||||
application/x-ext-pdf=org.gnome.Evince.desktop;
|
||||
application/postscript=org.gnome.Evince.desktop;
|
||||
application/x-bzpostscript=org.gnome.Evince.desktop;
|
||||
application/x-gzpostscript=org.gnome.Evince.desktop;
|
||||
image/x-eps=org.gnome.Evince.desktop;
|
||||
image/x-bzeps=org.gnome.Evince.desktop;
|
||||
image/x-gzeps=org.gnome.Evince.desktop;
|
||||
application/x-ext-ps=org.gnome.Evince.desktop;
|
||||
application/x-ext-eps=org.gnome.Evince.desktop;
|
||||
application/illustrator=org.gnome.Evince.desktop;
|
||||
application/x-dvi=org.gnome.Evince.desktop;
|
||||
application/x-bzdvi=org.gnome.Evince.desktop;
|
||||
application/x-gzdvi=org.gnome.Evince.desktop;
|
||||
application/x-ext-dvi=org.gnome.Evince.desktop;
|
||||
image/vnd.djvu+multipage=org.gnome.Evince.desktop;
|
||||
application/x-ext-djv=org.gnome.Evince.desktop;
|
||||
application/x-ext-djvu=org.gnome.Evince.desktop;
|
||||
image/tiff=org.gnome.Evince.desktop;
|
||||
application/x-cbr=org.gnome.Evince.desktop;
|
||||
application/x-cbz=org.gnome.Evince.desktop;
|
||||
application/x-cb7=org.gnome.Evince.desktop;
|
||||
application/x-cbt=org.gnome.Evince.desktop;
|
||||
application/x-ext-cbr=org.gnome.Evince.desktop;
|
||||
application/x-ext-cbz=org.gnome.Evince.desktop;
|
||||
application/x-ext-cb7=org.gnome.Evince.desktop;
|
||||
application/x-ext-cbt=org.gnome.Evince.desktop;
|
||||
application/vnd.comicbook+zip=org.gnome.Evince.desktop;
|
||||
application/vnd.comicbook-rar=org.gnome.Evince.desktop;
|
||||
application/oxps=org.gnome.Evince.desktop;
|
||||
application/vnd.ms-xpsdocument=org.gnome.Evince.desktop;
|
13
shared-mime-info-2.1-CFLAGS.patch
Normal file
13
shared-mime-info-2.1-CFLAGS.patch
Normal file
@ -0,0 +1,13 @@
|
||||
diff -up shared-mime-info-2.1/xdgmime/Makefile.CFLAGS shared-mime-info-2.1/xdgmime/Makefile
|
||||
diff -up shared-mime-info-2.1/xdgmime/src/Makefile.CFLAGS shared-mime-info-2.1/xdgmime/src/Makefile
|
||||
--- shared-mime-info-2.1/xdgmime/src/Makefile.CFLAGS 2020-12-30 03:24:55.000000000 -0600
|
||||
+++ shared-mime-info-2.1/xdgmime/src/Makefile 2022-02-02 09:37:38.529264264 -0600
|
||||
@@ -2,7 +2,7 @@
|
||||
.PHONY: all clean
|
||||
|
||||
C_STD = -std=c99 -D_POSIX_C_SOURCE=200809L
|
||||
-ALL_CFLAGS = $(C_STD) -c -g -DXDG_PREFIX=xdg_test -DHAVE_MMAP -Wall -Wmissing-prototypes -Wno-sign-compare $(CFLAGS)
|
||||
+ALL_CFLAGS = $(C_STD) -c -g -DXDG_PREFIX=xdg_test -DHAVE_MMAP $(RPM_OPT_FLAGS) -Wall -Wmissing-prototypes -Wno-sign-compare $(CFLAGS)
|
||||
|
||||
.c.o:
|
||||
$(CC) $(ALL_CFLAGS) -o $@ $<
|
107
shared-mime-info.spec
Normal file
107
shared-mime-info.spec
Normal file
@ -0,0 +1,107 @@
|
||||
Summary: Shared MIME information database
|
||||
Name: shared-mime-info
|
||||
Version: 2.3
|
||||
Release: %autorelease
|
||||
License: GPL-2.0-or-later
|
||||
URL: http://freedesktop.org/Software/shared-mime-info
|
||||
Source0: https://gitlab.freedesktop.org/xdg/shared-mime-info/-/archive/%{version}/shared-mime-info-%{version}.tar.bz2
|
||||
|
||||
Source1: mimeapps.list
|
||||
|
||||
%global xdgmime_commit 179296748e92bd91bf531656632a1056307fb7b7
|
||||
# Tarball for https://gitlab.freedesktop.org/xdg/xdgmime/-/tree/%%{xdgmime_commit}
|
||||
Source6: https://gitlab.freedesktop.org/xdg/xdgmime/-/archive/%{xdgmime_commit}/xdgmime-%{xdgmime_commit}.tar.bz2
|
||||
# HACK in use of RPM_OPT_FLAGS into xdgmime build
|
||||
Source7: shared-mime-info-2.1-CFLAGS.patch
|
||||
|
||||
# Work-around for https://bugs.freedesktop.org/show_bug.cgi?id=40354
|
||||
Patch0: 0001-Remove-sub-classing-from-OO.o-mime-types.patch
|
||||
# Fix build with libxml2 2.12.0
|
||||
# https://gitlab.freedesktop.org/xdg/shared-mime-info/-/issues/219
|
||||
Patch1: 0002-Fix-build-with-libxml2-2.12.0.patch
|
||||
|
||||
BuildRequires: gcc
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: libxml2-devel
|
||||
BuildRequires: xmlto
|
||||
BuildRequires: glib2-devel
|
||||
BuildRequires: gettext
|
||||
BuildRequires: itstool
|
||||
BuildRequires: make
|
||||
BuildRequires: meson
|
||||
BuildRequires: git-core
|
||||
|
||||
# Disable pkgconfig autodep
|
||||
%global __requires_exclude ^/usr/bin/pkg-config$
|
||||
|
||||
%description
|
||||
This is the freedesktop.org shared MIME info database.
|
||||
|
||||
Many programs and desktops use the MIME system to represent the types of
|
||||
files. Frequently, it is necessary to work out the correct MIME type for
|
||||
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
|
||||
%autosetup -S git_am
|
||||
rmdir xdgmime
|
||||
tar xjf %SOURCE6
|
||||
mv xdgmime-%{xdgmime_commit}/ xdgmime/
|
||||
patch -p1 < %SOURCE7
|
||||
|
||||
%build
|
||||
%make_build -C xdgmime
|
||||
# the updated mimedb is later owned as %%ghost to ensure proper file-ownership
|
||||
# it also asserts it is possible to build it
|
||||
%meson -Dupdate-mimedb=true
|
||||
%meson_build
|
||||
|
||||
%install
|
||||
%meson_install
|
||||
|
||||
find $RPM_BUILD_ROOT%{_datadir}/mime -type d \
|
||||
| sed -e "s|^$RPM_BUILD_ROOT|%%dir |" > %{name}.files
|
||||
find $RPM_BUILD_ROOT%{_datadir}/mime -type f -not -path "*/packages/*" \
|
||||
| sed -e "s|^$RPM_BUILD_ROOT|%%ghost |" >> %{name}.files
|
||||
|
||||
# Support fallback/generic mimeapps.list (currently based on an old version of
|
||||
# gnome-mimeapps.list), see:
|
||||
# https://lists.fedoraproject.org/pipermail/devel/2015-July/212403.html
|
||||
# https://bugzilla.redhat.com/show_bug.cgi?id=1243049
|
||||
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/applications
|
||||
install -m 644 %SOURCE1 $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/*
|
||||
|
||||
%check
|
||||
%meson_test
|
||||
|
||||
%post
|
||||
/bin/touch --no-create %{_datadir}/mime/packages &>/dev/null ||:
|
||||
|
||||
%transfiletriggerin -- %{_datadir}/mime
|
||||
update-mime-database -n %{_datadir}/mime &> /dev/null ||:
|
||||
|
||||
%transfiletriggerpostun -- %{_datadir}/mime
|
||||
update-mime-database -n %{_datadir}/mime &> /dev/null ||:
|
||||
|
||||
%files -f %{name}.files
|
||||
%license COPYING
|
||||
%doc README.md NEWS HACKING.md data/shared-mime-info-spec.xml
|
||||
%{_bindir}/update-mime-database
|
||||
%{_datadir}/mime/packages/*
|
||||
%{_datadir}/applications/mimeapps.list
|
||||
# better to co-own this dir than to pull in pkgconfig
|
||||
%dir %{_datadir}/pkgconfig
|
||||
%{_datadir}/pkgconfig/shared-mime-info.pc
|
||||
%{_mandir}/man*/update-mime-database.*
|
||||
# also co-own the gettext dirs, we don't require it
|
||||
%dir %{_datadir}/gettext
|
||||
%dir %{_datadir}/gettext/its
|
||||
%{_datadir}/gettext/its/shared-mime-info.its
|
||||
%{_datadir}/gettext/its/shared-mime-info.loc
|
||||
|
||||
%changelog
|
||||
%autochangelog
|
2
sources
Normal file
2
sources
Normal file
@ -0,0 +1,2 @@
|
||||
SHA512 (xdgmime-179296748e92bd91bf531656632a1056307fb7b7.tar.bz2) = efccff2672efb3ff0e44e83cfbaf6e2b926146e4a9d6132b14e2d7a88d602af340b3948793306ce5f720ac8b09e5d37d3b356a0cc269e8240b382558c9a3cf10
|
||||
SHA512 (shared-mime-info-2.3.tar.bz2) = f1959933e93373ee6939b289d0c3c35d527ce6803865558e4a8bcb5a0183df2fc1148bbf58bfe9a97342e7125f2e0e39ac5dd3bae998510396d9b6c96a330762
|
Loading…
Reference in New Issue
Block a user