summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Henrie <alexhenrie24@gmail.com>2024-04-18 21:44:34 -0600
committerDavid Faure <faure@kde.org>2024-04-20 08:30:42 +0000
commit8536b77ce01783d15c371d5c089b626a77a3ddb5 (patch)
tree361e349deb12788443eaa8fbb0c5b6872376ccf7
parent4b42055cdebc3e2405832961f408714599538ba7 (diff)
Add application/x-sony-bbeb
https://web.archive.org/web/20110809071744/http://www.sven.de/librie/Librie/LrfFormat https://cgit.freedesktop.org/libreoffice/core/tree/filter/source/config/fragments/types/writer_BroadBand_eBook.xcu?h=libreoffice-24.2.3.1
-rw-r--r--data/freedesktop.org.xml.in8
-rw-r--r--tests/mime-detection/blank.lrfbin0 -> 2623 bytes
-rw-r--r--tests/mime-detection/list2
3 files changed, 10 insertions, 0 deletions
diff --git a/data/freedesktop.org.xml.in b/data/freedesktop.org.xml.in
index 5727c16..6526ad4 100644
--- a/data/freedesktop.org.xml.in
+++ b/data/freedesktop.org.xml.in
@@ -5770,6 +5770,14 @@ command to generate the output files.
<sub-class-of type="image/tiff"/>
<glob pattern="*.arw"/>
</mime-type>
+ <mime-type type="application/x-sony-bbeb">
+ <comment>BroadBand eBook</comment>
+ <generic-icon name="x-office-document"/>
+ <magic>
+ <match type="string" value="L\0R\0F\0\0\0" offset="0"/>
+ </magic>
+ <glob pattern="*.lrf"/>
+ </mime-type>
<mime-type type="image/png">
<comment>PNG image</comment>
<acronym>PNG</acronym>
diff --git a/tests/mime-detection/blank.lrf b/tests/mime-detection/blank.lrf
new file mode 100644
index 0000000..2682430
--- /dev/null
+++ b/tests/mime-detection/blank.lrf
Binary files differ
diff --git a/tests/mime-detection/list b/tests/mime-detection/list
index b9b2aa6..3b48713 100644
--- a/tests/mime-detection/list
+++ b/tests/mime-detection/list
@@ -207,6 +207,8 @@ test-template.dot application/msword xox
ocf10-20060911.epub application/epub+zip
# Copied from https://standardebooks.org/ebooks/elizabeth-barrett-browning/sonnets-from-the-portuguese
elizabeth-barrett-browning_sonnets-from-the-portuguese.azw3 application/vnd.amazon.mobi8-ebook ox
+# Created with BBeBinder
+blank.lrf application/x-sony-bbeb
# Copied from http://libwps.svn.sourceforge.net/viewvc/libwps/trunk/reference/
test.wps application/vnd.ms-works
# Copied from https://bugs.freedesktop.org/show_bug.cgi?id=45922