maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   Run Time Dependcies (https://talk.maemo.org/showthread.php?t=56161)

waelfarouk0 2010-06-14 12:41

Run Time Dependcies
 
Hello,
How to include run time dependencies to be installed in dep file
by example
if my application depends on maemo-cplusplus-device-env
how do i include this library to be installed if it is not found on the device?


Kindly Advice
Regards
Wael

Rob1n 2010-06-14 12:48

Re: Run Time Dependcies
 
Quote:

Originally Posted by waelfarouk0 (Post 714371)
Hello,
How to include run time dependencies to be installed in dep file
by example
if my application depends on maemo-cplusplus-device-env
how do i include this library to be installed if it is not found on the device?

Just add it to the "depends" line in the debian/control file.

waelfarouk0 2010-06-16 17:54

Re: Run Time Dependcies
 
Quote:

Originally Posted by Rob1n (Post 714383)
Just add it to the "depends" line in the debian/control file.

Thanks i will test this,
but will solution this force it to be downloaded and installed

another question
can i include it in my deb file?

Thanks

Rob1n 2010-06-16 23:50

Re: Run Time Dependcies
 
Quote:

Originally Posted by waelfarouk0 (Post 717900)
Thanks i will test this,
but will solution this force it to be downloaded and installed

another question
can i include it in my deb file?

Thanks

Adding it to the depends line will set it as a dependency for the built .deb file. It will then automatically get installed if the .deb file is installed using App Manager (or apt-get) - if it's available in the repositories anyway.


All times are GMT. The time now is 05:07.

vBulletin® Version 3.8.8