The current gai-pager-0.2 ebuild doesn't compile the program with the correct flags. The -DIMAGE_PATH flag used during the compilation gives the path to the background image directory. With the 0.2 ebuild, it has the value "${PREFIX}/share/pixmaps/gai-pager/", ie "${D}/share/pixmaps/gai-pager/", whereas it should be something like "/usr/share/pixmaps/gai-pager/". Otherwise, the program won't start properly because it cannot find the background image (searches in a wrong, inexistant directory). Reproducible: Always Steps to Reproduce: 1. Emerge gai-pager-0.2 (masked by default) 2. Run gai-pager Actual Results: A window pops and vanishes in a few microseconds. Expected Results: The program should have started correctly.
Created attachment 28692 [details, diff] Fixes the problem + typo correction This patch solves the problem by changing the IMAGE_PATH in the Makefile before the compilation. The regexp is a bit hardcore (slash orgia), but it works just fine. However, it assumes that the general PREFIX is /usr. Maybe there is a way to make it more generic, but I have not found an ebuild variable that would give me the general PREFIX value. The patch also fixes a typo in the doc installation ("README.gaiTODO" that should be "README.gai TODO").
it's in portage as -r1