xref: /freebsd/contrib/file/magic/Magdir/gnome (revision 43a5ec4eb41567cc92586503212743d89686d78f)
1b6cee71dSXin LI
2b6cee71dSXin LI#------------------------------------------------------------------------------
3*43a5ec4eSXin LI# $File: gnome,v 1.7 2020/06/23 16:17:08 christos Exp $
4b6cee71dSXin LI# GNOME related files
5b6cee71dSXin LI
6b6cee71dSXin LI# Contributed by Josh Triplett
7b6cee71dSXin LI# FIXME: Could be simplified if pstring supported two-byte counts
8b6cee71dSXin LI0         string   GnomeKeyring\n\r\0\n GNOME keyring
9b6cee71dSXin LI>&0       ubyte    0                    \b, major version 0
10b6cee71dSXin LI>>&0      ubyte    0                    \b, minor version 0
11b6cee71dSXin LI>>>&0     ubyte    0                    \b, crypto type 0 (AES)
12b6cee71dSXin LI>>>&0     ubyte    >0                   \b, crypto type %u (unknown)
13b6cee71dSXin LI>>>&1     ubyte    0                    \b, hash type 0 (MD5)
14b6cee71dSXin LI>>>&1     ubyte    >0                   \b, hash type %u (unknown)
15b6cee71dSXin LI>>>&2     ubelong  0xFFFFFFFF           \b, name NULL
16b6cee71dSXin LI>>>&2     ubelong  !0xFFFFFFFF
17b6cee71dSXin LI>>>>&-4   ubelong  >255                 \b, name too long for file's pstring type
18b6cee71dSXin LI>>>>&-4   ubelong  <256
19b6cee71dSXin LI>>>>>&-1  pstring  x                    \b, name "%s"
20b6cee71dSXin LI>>>>>>&0  ubeqdate x                    \b, last modified %s
21b6cee71dSXin LI>>>>>>&8  ubeqdate x                    \b, created %s
22b6cee71dSXin LI>>>>>>&16 ubelong  &1
23b6cee71dSXin LI>>>>>>>&0 ubelong  x                    \b, locked if idle for %u seconds
24b6cee71dSXin LI>>>>>>&16 ubelong  ^1                   \b, not locked if idle
25b6cee71dSXin LI>>>>>>&24 ubelong  x                    \b, hash iterations %u
26b6cee71dSXin LI>>>>>>&28 ubequad  x                    \b, salt %llu
27b6cee71dSXin LI>>>>>>&52 ubelong  x                    \b, %u item(s)
28b6cee71dSXin LI
29b6cee71dSXin LI# From: Alex Beregszaszi <alex@fsn.hu>
30b6cee71dSXin LI4	string	gtktalog		GNOME Catalogue (gtktalog)
31b6cee71dSXin LI>13	string	>\0			version %s
32b6cee71dSXin LI
33b6cee71dSXin LI# Summary: GStreamer binary registry
34b6cee71dSXin LI# Extension: .bin
35b6cee71dSXin LI# Submitted by: Josh Triplett <josh@joshtriplett.org>
36b6cee71dSXin LI0	belong	0xc0def00d		GStreamer binary registry
37b6cee71dSXin LI>4	string	x			\b, version %s
38b6cee71dSXin LI
39b6cee71dSXin LI# GVariant Database file
40b6cee71dSXin LI# By Elan Ruusamae <glen@delfi.ee>
41b6cee71dSXin LI# https://github.com/GNOME/gvdb/blob/master/gvdb-format.h
42b6cee71dSXin LI# It's always "GVariant", it's byte swapped on incompatible archs
43b6cee71dSXin LI# See https://github.com/GNOME/gvdb/blob/master/gvdb-builder.c
44b6cee71dSXin LI# file_builder_serialise()
4548c779cdSXin LI# https://developer.gnome.org/glib/2.34/glib-GVariant.html#GVariant
46b6cee71dSXin LI0	string	GVariant	GVariant Database file,
47b6cee71dSXin LI# version is never filled. probably future extension
48b6cee71dSXin LI>8	lelong	x		version %d
49b6cee71dSXin LI# not sure are these usable, so commented out
50b6cee71dSXin LI#>>16	lelong	x		start %d,
51b6cee71dSXin LI#>>>20	lelong	x		end %d
52b6cee71dSXin LI
53b6cee71dSXin LI# G-IR database made by gobject-introspect toolset,
5448c779cdSXin LI# https://live.gnome.org/GObjectIntrospection
55b6cee71dSXin LI0	string		GOBJ\nMETADATA\r\n\032	G-IR binary database
56b6cee71dSXin LI>16	byte		x			\b, v%d
57b6cee71dSXin LI>17	byte		x			\b.%d
58*43a5ec4eSXin LI>20	short		x			\b, %d entries
59*43a5ec4eSXin LI>22	short		x			\b/%d local
60