Compare commits
No commits in common. "c8" and "c9-beta" have entirely different histories.
3
.gitignore
vendored
3
.gitignore
vendored
@ -1 +1,2 @@
|
||||
SOURCES/shared-mime-info-1.9.tar.xz
|
||||
SOURCES/shared-mime-info-2.1.tar.xz
|
||||
SOURCES/xdgmime-de283fc430460b9b3a7e61432a6d273cd64cb102.tar.bz2
|
||||
|
@ -1 +1,2 @@
|
||||
aae41d8a93c665d25bae704f732fdb1c1551cb5c SOURCES/shared-mime-info-1.9.tar.xz
|
||||
a251ffcc61de487d123407d414e5f83ae19d055d SOURCES/shared-mime-info-2.1.tar.xz
|
||||
60fd4be706163c4f9f17425b089d2b6a0d3434e5 SOURCES/xdgmime-de283fc430460b9b3a7e61432a6d273cd64cb102.tar.bz2
|
||||
|
@ -1,265 +1,265 @@
|
||||
From 7bd867808aad05d691456a8301c8737ded9fd64b Mon Sep 17 00:00:00 2001
|
||||
From dc15dd50b198b0b2a135abd16151206dd9acca75 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 1c17b8d..ad464e1 100644
|
||||
--- a/data/freedesktop.org.xml.in
|
||||
+++ b/data/freedesktop.org.xml.in
|
||||
@@ -877,7 +877,6 @@ command to generate the output files.
|
||||
</mime-type>
|
||||
<mime-type type="application/vnd.sun.xml.calc">
|
||||
<_comment>OpenOffice Calc spreadsheet</_comment>
|
||||
<comment>OpenOffice 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.
|
||||
@@ -890,7 +889,6 @@ command to generate the output files.
|
||||
</mime-type>
|
||||
<mime-type type="application/vnd.sun.xml.calc.template">
|
||||
<_comment>OpenOffice Calc template</_comment>
|
||||
<comment>OpenOffice 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.
|
||||
@@ -903,7 +901,6 @@ command to generate the output files.
|
||||
</mime-type>
|
||||
<mime-type type="application/vnd.sun.xml.draw">
|
||||
<_comment>OpenOffice Draw drawing</_comment>
|
||||
<comment>OpenOffice 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.
|
||||
@@ -916,7 +913,6 @@ command to generate the output files.
|
||||
</mime-type>
|
||||
<mime-type type="application/vnd.sun.xml.draw.template">
|
||||
<_comment>OpenOffice Draw template</_comment>
|
||||
<comment>OpenOffice 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.
|
||||
@@ -929,7 +925,6 @@ command to generate the output files.
|
||||
</mime-type>
|
||||
<mime-type type="application/vnd.sun.xml.impress">
|
||||
<_comment>OpenOffice Impress presentation</_comment>
|
||||
<comment>OpenOffice 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.
|
||||
@@ -942,7 +937,6 @@ command to generate the output files.
|
||||
</mime-type>
|
||||
<mime-type type="application/vnd.sun.xml.impress.template">
|
||||
<_comment>OpenOffice Impress template</_comment>
|
||||
<comment>OpenOffice 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.
|
||||
@@ -955,7 +949,6 @@ command to generate the output files.
|
||||
</mime-type>
|
||||
<mime-type type="application/vnd.sun.xml.math">
|
||||
<_comment>OpenOffice Math formula</_comment>
|
||||
<comment>OpenOffice 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.
|
||||
@@ -968,7 +961,6 @@ command to generate the output files.
|
||||
</mime-type>
|
||||
<mime-type type="application/vnd.sun.xml.writer">
|
||||
<_comment>OpenOffice Writer document</_comment>
|
||||
<comment>OpenOffice 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.
|
||||
@@ -981,7 +973,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>OpenOffice 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.
|
||||
@@ -994,7 +985,6 @@ command to generate the output files.
|
||||
</mime-type>
|
||||
<mime-type type="application/vnd.sun.xml.writer.template">
|
||||
<_comment>OpenOffice Writer template</_comment>
|
||||
<comment>OpenOffice 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>
|
||||
@@ -1009,7 +999,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>
|
||||
@@ -1024,7 +1013,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>
|
||||
@@ -1032,7 +1020,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>
|
||||
@@ -1047,7 +1034,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>
|
||||
@@ -1062,7 +1048,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>
|
||||
@@ -1077,7 +1062,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>
|
||||
@@ -1092,7 +1076,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>
|
||||
@@ -1100,7 +1083,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>
|
||||
@@ -1115,7 +1097,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>
|
||||
@@ -1130,7 +1111,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>
|
||||
@@ -1138,7 +1118,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>
|
||||
@@ -1153,7 +1132,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>
|
||||
@@ -1168,7 +1146,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>
|
||||
@@ -1176,7 +1153,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>
|
||||
@@ -1191,7 +1167,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>
|
||||
@@ -1206,7 +1181,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>
|
||||
@@ -1221,7 +1195,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>
|
||||
@@ -1236,7 +1209,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>
|
||||
@@ -1251,7 +1223,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>
|
||||
@@ -1267,7 +1238,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.
|
||||
@@ -1280,7 +1250,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.26.2
|
||||
|
||||
|
@ -0,0 +1,28 @@
|
||||
From 136cb8f1d3bedc79343cad51ed744d69f5508adf Mon Sep 17 00:00:00 2001
|
||||
From: orbea <orbea@riseup.net>
|
||||
Date: Fri, 1 Oct 2021 14:57:47 -0700
|
||||
Subject: [PATCH] freedesktop_generate.sh: Don't hardcode ninja
|
||||
|
||||
Another ninja implementation that works is samurai
|
||||
|
||||
https://github.com/michaelforney/samurai
|
||||
---
|
||||
data/freedesktop_generate.sh | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/data/freedesktop_generate.sh b/data/freedesktop_generate.sh
|
||||
index ff13e75..62ccffa 100755
|
||||
--- a/data/freedesktop_generate.sh
|
||||
+++ b/data/freedesktop_generate.sh
|
||||
@@ -3,7 +3,7 @@
|
||||
src_root="$1"
|
||||
build_root="$2"
|
||||
|
||||
-ninja -C "${build_root}" shared-mime-info-gmo
|
||||
+${NINJA:-ninja} -C "${build_root}" shared-mime-info-gmo
|
||||
|
||||
itstool \
|
||||
--its "${src_root}/data/its/shared-mime-info.its" \
|
||||
--
|
||||
2.37.3
|
||||
|
@ -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>
|
@ -0,0 +1,58 @@
|
||||
From 6148b0ced86e37aa461eb4a399a6573e2bc687fd Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Ville=20Skytt=C3=A4?= <ville.skytta@iki.fi>
|
||||
Date: Sun, 24 Jan 2021 11:45:52 +0200
|
||||
Subject: [PATCH] meson: make xmlto optional, build spec only if found
|
||||
|
||||
Refs https://gitlab.freedesktop.org/xdg/shared-mime-info/-/issues/150
|
||||
---
|
||||
data/meson.build | 22 ++++++++++++----------
|
||||
meson.build | 2 +-
|
||||
2 files changed, 13 insertions(+), 11 deletions(-)
|
||||
|
||||
diff --git a/data/meson.build b/data/meson.build
|
||||
index 263567d..24361c9 100644
|
||||
--- a/data/meson.build
|
||||
+++ b/data/meson.build
|
||||
@@ -22,14 +22,16 @@ install_data(
|
||||
install_dir : get_option('datadir') / 'gettext/its'
|
||||
)
|
||||
|
||||
-custom_target('shared-mime-info-spec-html',
|
||||
- input : 'shared-mime-info-spec.xml',
|
||||
- output: 'shared-mime-info-spec-html',
|
||||
- command: [
|
||||
- xmlto,
|
||||
- '-o', '@OUTPUT@',
|
||||
- 'html-nochunks',
|
||||
- '@INPUT@',
|
||||
- ],
|
||||
- build_by_default: true,
|
||||
+if xmlto.found()
|
||||
+ custom_target('shared-mime-info-spec-html',
|
||||
+ input : 'shared-mime-info-spec.xml',
|
||||
+ output: 'shared-mime-info-spec-html',
|
||||
+ command: [
|
||||
+ xmlto,
|
||||
+ '-o', '@OUTPUT@',
|
||||
+ 'html-nochunks',
|
||||
+ '@INPUT@',
|
||||
+ ],
|
||||
+ build_by_default: true,
|
||||
)
|
||||
+endif
|
||||
diff --git a/meson.build b/meson.build
|
||||
index 9a28573..0d08c8a 100644
|
||||
--- a/meson.build
|
||||
+++ b/meson.build
|
||||
@@ -22,7 +22,7 @@ config.set_quoted('VERSION', meson.project_version())
|
||||
|
||||
itstool = find_program('itstool')
|
||||
xmllint = find_program('xmllint')
|
||||
-xmlto = find_program('xmlto')
|
||||
+xmlto = find_program('xmlto', required: false)
|
||||
|
||||
###############################################################################
|
||||
# Find xdgmime
|
||||
--
|
||||
2.37.3
|
||||
|
@ -0,0 +1,112 @@
|
||||
From 5a406b06792e26a83c7346b3c2443c0bd8d4cdb2 Mon Sep 17 00:00:00 2001
|
||||
From: Eli Schwartz <eschwartz@archlinux.org>
|
||||
Date: Mon, 8 Nov 2021 18:22:47 -0500
|
||||
Subject: [PATCH] migrate from custom itstool to builtin msgfmt for creating
|
||||
translated XML
|
||||
|
||||
gettext upstream has supported this for a very long time (since 0.19.7
|
||||
via commit b3c2a5a242c36fbbaa0c5b17f975d6c638598a23, released in 2015),
|
||||
and itstool is (mostly) a legacy of the time before gettext had proper
|
||||
support for these sorts of use cases.
|
||||
|
||||
This is similar to the state of intltool, which is described at
|
||||
https://wiki.gnome.org/MigratingFromIntltoolToGettext
|
||||
|
||||
During the port from autotools to meson, the legacy use of itstool was
|
||||
faithfully translated to meson in the only way possible: by jumping
|
||||
through hoops to run ninja inside ninja in order to generate the .mo
|
||||
files for itstool, because meson's i18n module used a flawed design and
|
||||
there was no "real" target to create those files, only a .PHONY
|
||||
run_target which other rules cannot depend on.
|
||||
|
||||
Although meson 0.60.0 added support for real targets for the built .mo
|
||||
files, this changed the rules for output filenames, breaking the script.
|
||||
|
||||
But msgfmt does not care, and anyways comes with builtin meson functions
|
||||
for convenient use with XML files. So let's take this opportunity to
|
||||
drop legacy dependencies and use the modern, builtin tooling, which
|
||||
fixes this bug as a side effect.
|
||||
|
||||
Fixes #170
|
||||
---
|
||||
README.md | 2 +-
|
||||
data/freedesktop_generate.sh | 12 ------------
|
||||
data/meson.build | 16 +++++-----------
|
||||
meson.build | 1 -
|
||||
5 files changed, 6 insertions(+), 27 deletions(-)
|
||||
delete mode 100755 data/freedesktop_generate.sh
|
||||
|
||||
diff --git a/README.md b/README.md
|
||||
index c23d9d5..b2fb0ac 100644
|
||||
--- a/README.md
|
||||
+++ b/README.md
|
||||
@@ -19,7 +19,7 @@ $ ninja -v -C _build install
|
||||
```
|
||||
|
||||
It requires the glib development package to be installed as well as
|
||||
-gettext and itstool.
|
||||
+gettext.
|
||||
This database is translated at Transifex.
|
||||
|
||||
|
||||
diff --git a/data/freedesktop_generate.sh b/data/freedesktop_generate.sh
|
||||
deleted file mode 100755
|
||||
index 62ccffa..0000000
|
||||
--- a/data/freedesktop_generate.sh
|
||||
+++ /dev/null
|
||||
@@ -1,12 +0,0 @@
|
||||
-#!/bin/sh -e
|
||||
-
|
||||
-src_root="$1"
|
||||
-build_root="$2"
|
||||
-
|
||||
-${NINJA:-ninja} -C "${build_root}" shared-mime-info-gmo
|
||||
-
|
||||
-itstool \
|
||||
- --its "${src_root}/data/its/shared-mime-info.its" \
|
||||
- --join "${src_root}/data/freedesktop.org.xml.in" \
|
||||
- -o "${build_root}/data/freedesktop.org.xml" \
|
||||
- "${build_root}/po/"*".gmo"
|
||||
diff --git a/data/meson.build b/data/meson.build
|
||||
index 24361c9..09ed7a9 100644
|
||||
--- a/data/meson.build
|
||||
+++ b/data/meson.build
|
||||
@@ -1,18 +1,12 @@
|
||||
|
||||
install_man('update-mime-database.1')
|
||||
|
||||
-freedesktop_org_xml = custom_target('freedesktop.org.xml',
|
||||
- input : files(
|
||||
- 'freedesktop.org.xml.in',
|
||||
- 'its/shared-mime-info.its',
|
||||
- 'its/shared-mime-info.loc',
|
||||
- ),
|
||||
+freedesktop_org_xml = i18n.merge_file(
|
||||
+ input: 'freedesktop.org.xml.in',
|
||||
output: 'freedesktop.org.xml',
|
||||
- command: [
|
||||
- find_program('freedesktop_generate.sh'),
|
||||
- meson.source_root(),
|
||||
- meson.build_root()
|
||||
- ],
|
||||
+ data_dirs: '.',
|
||||
+ po_dir: '../po',
|
||||
+ type: 'xml',
|
||||
install: true,
|
||||
install_dir: get_option('datadir') / 'mime' / 'packages',
|
||||
)
|
||||
diff --git a/meson.build b/meson.build
|
||||
index 0d08c8a..60f17ae 100644
|
||||
--- a/meson.build
|
||||
+++ b/meson.build
|
||||
@@ -20,7 +20,6 @@ config.set_quoted('VERSION', meson.project_version())
|
||||
###############################################################################
|
||||
# Find tools
|
||||
|
||||
-itstool = find_program('itstool')
|
||||
xmllint = find_program('xmllint')
|
||||
xmlto = find_program('xmlto', required: false)
|
||||
|
||||
--
|
||||
2.37.3
|
||||
|
@ -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
|
343
SOURCES/mimeapps.list
Normal file
343
SOURCES/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=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/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
|
||||
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;
|
@ -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,37 +1,33 @@
|
||||
Summary: Shared MIME information database
|
||||
Name: shared-mime-info
|
||||
Version: 1.9
|
||||
Release: 4%{?dist}
|
||||
Version: 2.1
|
||||
Release: 5%{?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
|
||||
Source0: https://gitlab.freedesktop.org/xdg/shared-mime-info/uploads/0ee50652091363ab0d17e335e5e74fbe/shared-mime-info-2.1.tar.xz
|
||||
|
||||
Source1: mimeapps.list
|
||||
|
||||
%global xdgmime_commit de283fc430460b9b3a7e61432a6d273cd64cb102
|
||||
# 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
|
||||
|
||||
# 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 meson 0.60+
|
||||
Patch1: 0001-freedesktop_generate.sh-Don-t-hardcode-ninja.patch
|
||||
Patch2: 0002-meson-make-xmlto-optional-build-spec-only-if-found.patch
|
||||
Patch3: 0003-migrate-from-custom-itstool-to-builtin-msgfmt-for-cr.patch
|
||||
|
||||
# https://issues.redhat.com/browse/RHEL-5727
|
||||
Patch1: 0002-Fix-detection-of-executable-files.patch
|
||||
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
BuildRequires: gcc
|
||||
BuildRequires: libxml2-devel
|
||||
BuildRequires: xmlto
|
||||
BuildRequires: glib2-devel
|
||||
BuildRequires: gettext
|
||||
# For intltool:
|
||||
BuildRequires: perl(XML::Parser) intltool
|
||||
|
||||
Requires(post): glib2
|
||||
Requires(post): coreutils
|
||||
BuildRequires: itstool
|
||||
BuildRequires: make
|
||||
BuildRequires: meson
|
||||
BuildRequires: git-core
|
||||
|
||||
# Disable pkgconfig autodep
|
||||
%global __requires_exclude ^/usr/bin/pkg-config$
|
||||
@ -45,39 +41,38 @@ 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 gendiff
|
||||
%autosetup -S git_am
|
||||
tar xjf %SOURCE6
|
||||
mv xdgmime-%{xdgmime_commit}/ xdgmime/
|
||||
|
||||
%build
|
||||
%configure --disable-silent-rules --disable-update-mimedb
|
||||
# not smp safe, pretty small package anyway
|
||||
make
|
||||
%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 -Dxdg-mime-path=./xdgmime/
|
||||
%meson_build
|
||||
|
||||
%install
|
||||
# speed build a bit
|
||||
PKGSYSTEM_ENABLE_FSYNC=0 \
|
||||
make install DESTDIR=$RPM_BUILD_ROOT
|
||||
%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
|
||||
|
||||
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
|
||||
|
||||
# Support fallback/generic mimeapps.list (currently based on gnome-mimeapps.list), see
|
||||
# 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
|
||||
cp $RPM_BUILD_ROOT%{_datadir}/applications/gnome-mimeapps.list \
|
||||
$RPM_BUILD_ROOT%{_datadir}/applications/mimeapps.list
|
||||
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 ||:
|
||||
@ -89,21 +84,115 @@ update-mime-database -n %{_datadir}/mime &> /dev/null ||:
|
||||
update-mime-database -n %{_datadir}/mime &> /dev/null ||:
|
||||
|
||||
%files -f %{name}.files
|
||||
%{!?_licensedir:%global license %%doc}
|
||||
%license COPYING
|
||||
%doc README NEWS HACKING shared-mime-info-spec.xml
|
||||
%{_bindir}/*
|
||||
%doc README.md NEWS HACKING.md data/shared-mime-info-spec.xml
|
||||
%{_bindir}/update-mime-database
|
||||
%{_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*/*
|
||||
%{_mandir}/man*/update-mime-database.*
|
||||
%{_datadir}/gettext/its/shared-mime-info.its
|
||||
%{_datadir}/gettext/its/shared-mime-info.loc
|
||||
|
||||
%changelog
|
||||
* Fri Dec 08 2023 Milan Crha <mcrha@redhat.com> - 1.9-4
|
||||
- Resolves: RHEL-5727 (Fix detection of executable files)
|
||||
* Mon Nov 07 2022 Tomas Popela <tpopela@redhat.com> - 2.1-5
|
||||
- Fix build with a newer Meson (that we might rebase to)
|
||||
- Resolves: rhbz#2140541
|
||||
|
||||
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 2.1-4
|
||||
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
||||
Related: rhbz#1991688
|
||||
|
||||
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 2.1-3
|
||||
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
||||
|
||||
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.1-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||
|
||||
* Mon Jan 04 2021 Miro Hrončok <mhroncok@redhat.com> - 2.1-1
|
||||
- Update to 2.1
|
||||
- Fixes: rhbz#1911850
|
||||
|
||||
* Sun Nov 8 2020 Miro Hrončok <mhroncok@redhat.com> - 2.0-5
|
||||
- Own the generated files (as %%ghosts)
|
||||
- Fixes: rhbz#1486468
|
||||
|
||||
* 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
|
||||
|
||||
* 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
|
||||
|
||||
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Wed May 06 2020 Bastien Nocera <bnocera@redhat.com> - 2.0-1
|
||||
+ shared-mime-info-2.0-1
|
||||
- Update to 2.0
|
||||
|
||||
* 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
|
||||
|
||||
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.15-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
* Tue Nov 05 2019 Bastien Nocera <bnocera@redhat.com> - 1.15-1
|
||||
+ shared-mime-info-1.15-1
|
||||
- Update to 1.15
|
||||
|
||||
* 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
|
||||
|
||||
* 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
|
||||
|
||||
* 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
|
||||
|
Loading…
Reference in New Issue
Block a user