As you may probably know, any serious packaging tool doesn't runs on the
computer of an user but probably in a server, pretty sure in a chroot
environment and probably that machine doesn't even has the xorg packages
installed because it don't needs to run an X at all

In the past I needed to add some dbus daemon binding/hacking in the chroot
in order to make it able to generate the thumbnails for the docs, but
actually it dont runs anymore gettings stuck in the previews generator
process

As cedric pointed me:

<cedric> Thanatermesis, it is likely an issue in your setup
<cedric> for example if you have SCIM support
<cedric> that require an X server to be running
<cedric> or it will deadlock

I tried then to use the xvfb-run tool which run things in a virtualized X
environment headless, which stops the server when the process when the run
command has finished, this would improve the docs packaging by not
requiring an X11 running and connected and so being just "another building
dependency" for packaging.

So I tried to change the doc/Makefile.am to something like this:


                echo "Generating widget preview image" $${SS} "for widget"
$${DIR}; \
                xvfb-run -a -n 31 --server-args="-screen 0 $${X}x$${Y}x24"
$(top_srcdir)/doc/shot.sh $(top_builddir)/doc/html/img/widget/$${DIR}
$${SS} $(top_builddir)/doc/widgets/$${BIN} $${X} $${Y} ; \

But it stills having the preview process stuck
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to