From 6c668868e95fafb730552fd7567a0a6e3786c368 Mon Sep 17 00:00:00 2001 From: David Adam Date: Sun, 19 Jul 2015 21:04:24 +0800 Subject: death of mimedb: remove mimedb from the tree --- doc_src/faq.hdr | 2 +- doc_src/license.hdr | 4 +--- doc_src/mimedb.txt | 28 ---------------------------- 3 files changed, 2 insertions(+), 32 deletions(-) delete mode 100644 doc_src/mimedb.txt (limited to 'doc_src') diff --git a/doc_src/faq.hdr b/doc_src/faq.hdr index 75e4bb74..03d1983f 100644 --- a/doc_src/faq.hdr +++ b/doc_src/faq.hdr @@ -212,7 +212,7 @@ Next, do the following (assuming fish was installed to /usr/local): rm -Rf /usr/local/etc/fish /usr/local/share/fish ~/.config/fish rm /usr/local/share/man/man1/fish*.1 cd /usr/local/bin -rm -f fish mimedb fish_indent +rm -f fish fish_indent \endfish \htmlonly[block] diff --git a/doc_src/license.hdr b/doc_src/license.hdr index fff8084e..b9d5fc8c 100644 --- a/doc_src/license.hdr +++ b/doc_src/license.hdr @@ -129,9 +129,7 @@ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH RE ---- -## License for xdgmime and glibc - -The xdgmime library, written and copyrighted by Red Hat, Inc, is used by the mimedb command, which is a part of fish. It is released under the LGPL, version 2 or later, or under the Academic Free License, version 2. Version 2 of the LGPL license agreement is included below. +## License for glibc Fish contains code from the glibc library, namely the wcstok function. This code is licensed under the LGPL, version 2 or later. Version 2 of the LPGL license agreement is included below. diff --git a/doc_src/mimedb.txt b/doc_src/mimedb.txt deleted file mode 100644 index 19747444..00000000 --- a/doc_src/mimedb.txt +++ /dev/null @@ -1,28 +0,0 @@ -\section mimedb mimedb - lookup file information via the mime database - -\subsection mimedb-synopsis Synopsis -\fish{synopsis} -mimedb [OPTIONS] FILES... -\endfish - -\subsection mimedb-description Description - -`mimedb` queries the MIME type database and the `.desktop` files installed on the system in order to find information on the files listed in `FILES`. The information that `mimedb` can retrieve includes the MIME type for a file, a description of the type, and the default action that can be performed on the file. `mimedb` can also be used to launch the default action for this file. - -The following options are available: - -- `-t`, `--input-file-data` determines the files' type both by their filename and by their contents (default behaviour). - -- `-f`, `--input-filename` determines the files' type by their filename. - -- `-i`, `--input-mime` specifies that the arguments are not files, but MIME types. - -- `-m`, `--output-mime` outputs the MIME type of each file (default behaviour). - -- `-f`, `--output-description` outputs the description of each MIME type. - -- `-a`, `--output-action` outputs the default action of each MIME type. - -- `-l`, `--launch` launches the default action for the specified files. - -- `-v`, `--version` displays the version number and exits. -- cgit v1.2.3