Debian Packager

Discussion related to the development of specific applications with Lazarus
sysrpl
Posts: 108
Joined: Thu Feb 05, 2015 6:31 pm

Debian Packager

Postby sysrpl » Mon Nov 09, 2015 11:43 pm

If you're interested in the Debian Packager application and have suggestions or would like to discuss it, please use this thread to do so.

Image

sysrpl
Posts: 108
Joined: Thu Feb 05, 2015 6:31 pm

Re: Debian Packager

Postby sysrpl » Tue Nov 10, 2015 4:28 am

Update 1.0.3

Summary: I've created a more robust dependency resolver and posted it to version 1.0.3

Background information:

JuuS from the lazarus mailing lists pointed out a problem with dependency linking. I had been using the "ldd" command to find dynamic libraries associated with your programs.

From Wikipedida:

ldd (List Dynamic Dependencies) is a *nix utility that prints the shared libraries required by each program or shared library specified on the command line.[1]

After considering the problem JuuS described I did a little research. What I found was that ldd actually executes your program, suspends it, then checks for attached shared objects. This can cause a problem as some libraries may load arbitrary objects based on the current system configuration.

I'm happy to report I've come up with a much better solution to resolving dependencies which doesn't involve using ldd. The new dependency logic is much faster, results in fewer depends entries, and works cross architecture even if you don't have a cross build environment configured.

The source code to Debian Packager is hosted on github if you're curious about these changes.

JuuS
Posts: 2
Joined: Tue Nov 10, 2015 7:44 am

Re: Debian Packager

Postby JuuS » Tue Nov 10, 2015 7:46 am

Thanks Anthony, I will find time in the next few days to try it again.

JuuS
Posts: 2
Joined: Tue Nov 10, 2015 7:44 am

Re: Debian Packager

Postby JuuS » Tue Nov 10, 2015 4:20 pm

Yes. Works great. Multiple machines / VM's, 32/64 bit, qt & gtk2. Excellent.


Return to “Applications”

Who is online

Users browsing this forum: No registered users and 4 guests