site  contact  subhomenews

xine-ui, inkscapelite imported into OE

November 02, 2017 — BarryK

Two more this afternoon.

xine-ui

This is an xlib-based GUI media player, using xine-lib. I had already compiled xine-lib in OE, but the player was compiled as a PET in a running Quirky Pyro64. Now imported into OE:

https://github.com/bkauler/oe-qky-src/commit/6b93ae8ac55af6b1404e64036d3669f070e8b2a9

inkscapelite

Wow, this one is a major achievement! Very cross-compiler unfriendly. I had attempted to compile in OE a few times, took up the challenge again this afternoon, this time, success.

One hurdle is that it compiles a binary executable, src/libnr/gen_nr_config, which is then run to test the sizes of variables, and creates src/libnr/nr_config.h

However, this is a cross-compiler environment, so the above is a no-no. OE does have an official way to handle this situation, which is to create another package "inkscapelite-native", which compiles in the host environment, and only needs to compile that gen_nr_config. Then inkscapelite-native can be used as a dependency for the inkscapelite package.

The problem is, I have not yet grasped the implementation details. It is poorly documented, and my nice big OE reference book doesn't even mention the topic. If you are reading this, and do now how to do it, I would greatly appreciate a walk-through on how -- kindly send me an email via the Contact link at top of this page.

Anyway, I came up with a workaround, a hack solution. Committed:

https://github.com/bkauler/oe-qky-src/commit/2c9ac39e3d08379b293ed8d28761823237388692

Celebration was short-lived however, as testing the executable in a running Pyro64, crash at startup. Same thing for inkscapelite compiled in a running Pyro64, as reported by the guys on the Puppy Forum who are testing Quirky Pyro64 0.5.

It could be traced, and the place where the crash happens can be found. However, maybe the time has come to retire inkscapelite. I am fond of it, as it is so small, and quite a useful app. However, Pyro64 has the Draw module of LibreOffice, so SVG editing is covered.

Tags: oe