Statically linking Digikam 5.2

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Statically linking Digikam 5.2

Guy Rutenberg
Hi,

I'm trying to get Digikam 5.2 working on Debian Jessie. However, due to large number of libraries that are not available in the correct version, I decided to try to compile it on Debian Stretch wit static linking so (hopefully) I can remove most of the problematic runtime dependencies.

However, it seems that whatever I do to get it statically linked, the build process fails for one reason or another. Did anyone succeed in building statically linked Digikam and care to share how he did it?

Thanks,
Guy
Reply | Threaded
Open this post in threaded view
|

Re: Statically linking Digikam 5.2

Gilles Caulier-4
Hi, 

Static linking will be very problematic. I never tried a lots in this direction...

There is another alternative that i currently finalize : AppImage.

This taken a lots of time to complete. I'm actually at 90% to bundle the full application, but some feature are not yet here.

If you is interested, i can share with you a beta bundle to test.

Best

Gilles Caulier

2016-10-15 7:42 GMT+02:00 Guy Rutenberg <[hidden email]>:
Hi,

I'm trying to get Digikam 5.2 working on Debian Jessie. However, due to large number of libraries that are not available in the correct version, I decided to try to compile it on Debian Stretch wit static linking so (hopefully) I can remove most of the problematic runtime dependencies.

However, it seems that whatever I do to get it statically linked, the build process fails for one reason or another. Did anyone succeed in building statically linked Digikam and care to share how he did it?

Thanks,
Guy

Reply | Threaded
Open this post in threaded view
|

Re: Statically linking Digikam 5.2

Guy Rutenberg
In reply to this post by Guy Rutenberg

On 15 October 2016 at  08:44, Gilles Caulier <[hidden email]> wrote:
Hi,

Static linking will be very problematic. I never tried a lots in this
direction...

There is another alternative that i currently finalize : AppImage.

Sounds promising.
 

This taken a lots of time to complete. I'm actually at 90% to bundle the
full application, but some feature are not yet here.

If you is interested, i can share with you a beta bundle to test.

Yeah, sure. I would be glad to help testing.

Thanks,
Guy

Best

Gilles Caulier


Reply | Threaded
Open this post in threaded view
|

Re: Statically linking Digikam 5.2

Gilles Caulier-4
The first beta AppImage is here :


Do not use yet in production. Use a dedicated account plus a test collection. I'm sure that some features will not work yet. Be careful...

Gilles Caulier


2016-10-15 21:18 GMT+02:00 Guy Rutenberg <[hidden email]>:

On 15 October 2016 at  08:44, Gilles Caulier <[hidden email]> wrote:
Hi,

Static linking will be very problematic. I never tried a lots in this
direction...

There is another alternative that i currently finalize : AppImage.

Sounds promising.
 

This taken a lots of time to complete. I'm actually at 90% to bundle the
full application, but some feature are not yet here.

If you is interested, i can share with you a beta bundle to test.

Yeah, sure. I would be glad to help testing.

Thanks,
Guy

Best

Gilles Caulier



Reply | Threaded
Open this post in threaded view
|

Re: Statically linking Digikam 5.2

Guy Rutenberg
In reply to this post by Guy Rutenberg
Hi,

On 16 October 2016 at 10:09, <[hidden email]> wrote:

The first beta AppImage is here :

https://drive.google.com/open?id=0BzeiVr-byqt5SUZRMGtWa3VCUDg

Do not use yet in production. Use a dedicated account plus a test
collection. I'm sure that some features will not work yet. Be careful...

Gilles Caulier


Thanks, I manged to get it running without a problem on Debian Jessie. One issue I did encounter was (I'm not sure it if digikam 5 in general or the AppImage) that Digikam would not update albums names if renamed in the file manager. The new names would be picked up only after restarting the app.

Currently, I'm testing it on a VM. Can it co-exist on the same machine with Digikam 4?

Thanks,
Guy
Reply | Threaded
Open this post in threaded view
|

Re: Statically linking Digikam 5.2

Gilles Caulier-4


2016-10-17 17:18 GMT+02:00 Guy Rutenberg <[hidden email]>:
Hi,

On 16 October 2016 at 10:09, <[hidden email]> wrote:

The first beta AppImage is here :

https://drive.google.com/open?id=0BzeiVr-byqt5SUZRMGtWa3VCUDg

Do not use yet in production. Use a dedicated account plus a test
collection. I'm sure that some features will not work yet. Be careful...

Gilles Caulier


Thanks, I manged to get it running without a problem on Debian Jessie. One issue I did encounter was (I'm not sure it if digikam 5 in general or the AppImage) that Digikam would not update albums names if renamed in the file manager. The new names would be picked up only after restarting the app.

Well it must typically.

What's the trace on the console when you rename an album ?


Currently, I'm testing it on a VM. Can it co-exist on the same machine with Digikam 4?

Yes, without problem. This is an advantage.
Just take a care to not mix database files. Be sure to not use 4.x database and 5.x database. 

Gilles Caulier