summaryrefslogtreecommitdiff
path: root/gnu/packages/freedesktop.scm
diff options
context:
space:
mode:
authorDanny Milosavljevic <dannym@scratchpost.org>2017-06-05 21:22:01 +0200
committerDanny Milosavljevic <dannym@scratchpost.org>2017-06-15 09:53:27 +0200
commit324b0040f4ac493ef11f82712db2c9abcc6b92ca (patch)
tree32e656d3efd2adb495d7067fe9357253b91f4718 /gnu/packages/freedesktop.scm
parentd1e7ca2df8c0e0dd601079c77f67ba6828cec08a (diff)
gnu: Move desktop-file-utils to (gnu packages freedesktop).
* gnu/packages/gnome.scm (desktop-file-utils): Move from here ... * gnu/packages/freedesktop.scm (desktop-file-utils): ... to here. * gnu/packages/engineering.scm: Import (gnu packages freedesktop). * gnu/packages/game-development.scm: Import (gnu packages freedesktop). * gnu/packages/xfce.scm: Import (gnu packages freedesktop).
Diffstat (limited to 'gnu/packages/freedesktop.scm')
-rw-r--r--gnu/packages/freedesktop.scm32
1 files changed, 32 insertions, 0 deletions
diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm
index e4b773078f..a9a7e08da1 100644
--- a/gnu/packages/freedesktop.scm
+++ b/gnu/packages/freedesktop.scm
@@ -968,3 +968,35 @@ library to access fingerprint readers, over the D-Bus interprocess
communication bus. This daemon layer above libfprint solves problems related
to applications simultaneously competing for fingerprint readers.")
(license license:gpl2+)))
+
+(define-public desktop-file-utils
+ (package
+ (name "desktop-file-utils")
+ (version "0.23")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "https://www.freedesktop.org/software/" name
+ "/releases/" name "-" version ".tar.xz"))
+ (sha256
+ (base32
+ "119kj2w0rrxkhg4f9cf5waa55jz1hj8933vh47vcjipcplql02bc"))))
+ (build-system gnu-build-system)
+ (native-inputs
+ `(("pkg-config" ,pkg-config)))
+ (inputs
+ `(("glib" ,glib)))
+ (home-page "http://www.freedesktop.org/wiki/Software/desktop-file-utils/")
+ (synopsis "Utilities for working with desktop entries")
+ (description
+ "This package contains a few command line utilities for working with
+desktop entries:
+
+desktop-file-validate: validates a desktop file and prints warnings/errors
+ about desktop entry specification violations.
+
+desktop-file-install: installs a desktop file to the applications directory,
+ optionally munging it a bit in transit.
+
+update-desktop-database: updates the database containing a cache of MIME types
+ handled by desktop files.")
+ (license license:gpl2+)))