PersianGulf
PersianGulf

Reputation: 2935

GVariant , decompile or not

I have a GVariant file, But i don't any information about GVarinat and the given file.I have been started to reading devhelp, (GVariant section)
My information of file are:

mohsen@debian:~$file gschemas.compiled
gschemas.compiled: GVariant Database file, version 0
mohsen@debian:~$file -ib gschemas.compiled
application/octet-stream; charset=binary

Questions is: Does GVariant format need to compile? Do i need to decompile it? If true, How can i decompile it?

Upvotes: 1

Views: 1091

Answers (1)

nemequ
nemequ

Reputation: 17492

GVariant Database is the binary format used by gvdb. That file is compiled from XML files using glib-compile-schemas.

I'm having trouble thinking of a situation where decompiling would be useful, which explains why I don't think anyone has written a tool to do it (if that is possible). Without knowing what you're trying to do it's hard to know if you need to decompile it, but my guess is that you don't since you should already have the XML files, and GSettings uses the binary format.

Upvotes: 2

Related Questions