X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org This patch fixes the issue without the use of external tools like xfvb-run or whatever, by taking the code that does --help and quits moving it before the initialization of the Gtk stuff, which seems to work.
Incidentally, this is one thing that is keeping tootle from building reproducibly, so this is a reproducibility bug.
makes it no longer check for xorg BEFORE --help --- a/src/Application.vala +++ b/src/Application.vala @@ -41,8 +41,7 @@ } public static int main (string[] args) { - Gtk.init (ref args); - + try { var opt_context = new OptionContext ("- Options"); opt_context.add_main_entries (app_options, null); @@ -51,12 +50,16 @@ catch (GLib.OptionError e) { warning (e.message); } + + Gtk.init (ref args); + app = new Application (); return app.run (args); } protected override void startup () { + base.startup (); Granite.Services.Logger.DisplayLevel = Granite.Services.LogLevel.INFO;