[debian-edu-commits] debian-edu/ 02/02: Give '.hc' and '.tc' mimetypes, and associate them with VeraCrypt.

Unit 193 unit193-guest at moszumanska.debian.org
Thu Feb 9 08:42:59 UTC 2017


This is an automated email from the git hooks/post-receive script.

unit193-guest pushed a commit to branch master
in repository veracrypt.

commit a153e9c8a1ed0e904e624d1866f8fc6b0d39b4f9
Author: Unit 193 <unit193 at ubuntu.com>
Date:   Thu Feb 9 03:42:06 2017 -0500

    Give '.hc' and '.tc' mimetypes, and associate them with VeraCrypt.
---
 debian/veracrypt.desktop |  2 +-
 debian/veracrypt.install |  5 +++--
 debian/veracrypt.xml     | 11 +++++++++++
 3 files changed, 15 insertions(+), 3 deletions(-)

diff --git a/debian/veracrypt.desktop b/debian/veracrypt.desktop
index f8e0d62..11edbdb 100644
--- a/debian/veracrypt.desktop
+++ b/debian/veracrypt.desktop
@@ -9,6 +9,7 @@ Categories=Security;Utility;Filesystem
 Keywords=encryption,filesystem
 Terminal=false
 X-Ayatana-Desktop-Shortcuts=MountFavorites;DismountAll
+MimeType=application/x-veracrypt-volume;application/x-truecrypt-volume;
 
 [MountFavorites Shortcut Group]
 Name=Mount All Favorite Volumes
@@ -19,4 +20,3 @@ TargetEnvironment=Unity
 Name=Dismount All Mounted Volumes
 Exec=/usr/bin/veracrypt --dismount
 TargetEnvironment=Unity
-
diff --git a/debian/veracrypt.install b/debian/veracrypt.install
index 5654e04..dbcf2d6 100644
--- a/debian/veracrypt.install
+++ b/debian/veracrypt.install
@@ -1,3 +1,4 @@
-src/Main/veracrypt               usr/bin
-debian/veracrypt.desktop         usr/share/applications
+src/Main/veracrypt               usr/bin/
+debian/veracrypt.desktop         usr/share/applications/
+debian/veracrypt.xml             usr/share/mime/packages/
 veracrypt.xpm                    usr/share/pixmaps/
diff --git a/debian/veracrypt.xml b/debian/veracrypt.xml
new file mode 100644
index 0000000..4fc73b9
--- /dev/null
+++ b/debian/veracrypt.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<mime-info xmlns='http://www.freedesktop.org/standards/shared-mime-info'>
+	<mime-type type="application/x-veracrypt-volume">
+		<comment>VeraCrypt Volume</comment>
+		<glob pattern="*.hc"/>
+	</mime-type>
+	<mime-type type="application/x-truecrypt-volume">
+		<comment>TrueCrypt Volume</comment>
+		<glob pattern="*.tc"/>
+	</mime-type>
+</mime-info>

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-edu/pkg-team/veracrypt.git



More information about the debian-edu-commits mailing list