Bug 377011

Summary: A list of dependencies for setting up development environment
Product: [Applications] digikam Reporter: Himanshu Shekhar <himanshushekharb16>
Component: Portability-RuntimeAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: wishlist CC: caulier.gilles
Priority: NOR    
Version: 5.4.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In: 5.5.0
Attachments: apt-setup script
libkf5* dependencies
standard dependencies

Description Himanshu Shekhar 2017-02-28 11:05:52 UTC
Created attachment 104270 [details]
apt-setup script

I was not able to find a list of dependencies required for building digikam (something similar to python's requirement.txt), because of which I had to run cmake again and again unless all missing headers errors were resolved.

To ease up things for development, I managed to create a list of packages which I installed and wish to have scripts to just setup the stage. I created one sample script for my distro.

This is just a proof of concept kind of thing.
* list of packages except libkf5* : https://paste.ubuntu.com/24083619/
* list of libkf5 related dependencies : https://paste.ubuntu.com/24083623/
* setup script for apt : attached

I would like to have suggestions on whether I should take this further and how this can be improved (with version numbers, as apt doesn't have such feature).

Also,  how can I push commits for review on cgit.kde.org.
Comment 1 Himanshu Shekhar 2017-02-28 11:07:21 UTC
Created attachment 104271 [details]
libkf5* dependencies
Comment 2 Himanshu Shekhar 2017-02-28 11:07:42 UTC
Created attachment 104272 [details]
standard dependencies
Comment 3 caulier.gilles 2017-02-28 11:49:46 UTC
The list of updated dependencies already exist on git repository. All are commented and maintained.

https://cgit.kde.org/digikam-software-compilation.git/tree/DEPENDENCIES

Gilles Caulier