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