Hi,
it is possible to replace the gtk_init() function with gtk_init_check() (
https://developer.gnome.org/gtk3/stable/gtk3-General.html#gtk-init-check),
this should work better.
Regards,
Martin
2014-07-30 16:58 GMT+02:00 Tobias Ellinghaus <[email protected]>:
> Am Mittwoch, 30. Juli 2014, 16:30:28 schrieb Tobias Ellinghaus:
> > Am Mittwoch, 30. Juli 2014, 15:12:01 schrieb Matt Kitcat:
> > > Hello all.
> > > I am a bit new to darktable and am really only interested in the
> command
> > > line version for now. But in order to run it one has to do it in an X
> > > windows session with an X terminal. Is there a really good reson for
> this
> > > because it doesn’t make sense to me to have a command line application
> > > that
> > > requires a display, rather than just a terminal.
> > >
> > > It makes it rather complicated to script.
> > >
> > > Any thoughts on this?
> >
> > There is no real reason, besides that it shares code with core darktable
> and
> > inherits the dependency on GTK+ and therefore X11. A long term goal is to
> > split that in the core so it no longer needs that.
>
> If you compile dt yourself and don't mind a ton of warnings while running
> darktable-cli (it seems to still export the images) you can comment out the
> gtk_init() in src/cli/main.c – you still need all the libraries installed,
> but
> it should at least _run_ without X. Mind though, that is untested,
> unsupported
> and might break.
>
> > Tobias
>
>
> ------------------------------------------------------------------------------
> Infragistics Professional
> Build stunning WinForms apps today!
> Reboot your WinForms applications with our WinForms controls.
> Build a bridge from your legacy apps to the future.
>
> http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
> _______________________________________________
> Darktable-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/darktable-users
>
>
------------------------------------------------------------------------------
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls.
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
_______________________________________________
Darktable-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/darktable-users