×

Discussion Board

Results 1 to 11 of 11
  1. #1
    Registered User
    Join Date
    Jun 2010
    Posts
    19

    How to add dependencies in debian/control file while creating my package for maemo

    Hi all,

    I'm create debian package for Maemo device which has dependency libqtm-location.
    In the debian/control file where could i add dependencies? there are two locations where we can add dependencies.

    1. Build-Depends: libqtm-location (or)
    2. Depends: libqtm-location

    Which is correct?

    I tried in both location.
    After creating the package, it does not installing the dependent package...

    What is the correct way of approach?

    I'd appreciate if any one could help me out on this ..

    Regards
    Rajini

  2. #2
    Super Contributor
    Join Date
    Oct 2009
    Posts
    4,326

    Re: How to add dependencies in debian/control file while creating my package for maem

    Quote Originally Posted by g.rkreddy6 View Post
    In the debian/control file where could i add dependencies? there are two locations where we can add dependencies.

    1. Build-Depends: libqtm-location (or)
    2. Depends: libqtm-location

    Which is correct?
    Code:
    Build-Depends: libqtm-dev
    Depends: ${shlibs:Depends}
    Quote Originally Posted by g.rkreddy6 View Post
    I tried in both location. After creating the package, it does not installing the dependent package...
    dpkg-buildpackage?
    Last edited by divanov; 2010-06-04 at 08:40. Reason: Fixing mistake in Build-depends field

  3. #3
    Registered User
    Join Date
    Jun 2010
    Posts
    19

    Re: How to add dependencies in debian/control file while creating my package for maem

    dpkg-buildpackage -sa -rfakeroot

    The above command I\m using

  4. #4
    Registered User
    Join Date
    Jun 2010
    Posts
    19

    Re: How to add dependencies in debian/control file while creating my package for maem

    Hi Daniil,

    While installing on the target its saying..

    dpkg: dependency problems prevent configuration of ariadne:
    ariadne depends on libqtm-location; however:
    Package libqtm-location is not installed.

    How to make a package which installs all dependencies?

    Regards
    Rajini

  5. #5
    Super Contributor
    Join Date
    Oct 2009
    Posts
    4,326

    Re: How to add dependencies in debian/control file while creating my package for maem

    Quote Originally Posted by g.rkreddy6 View Post
    dpkg: dependency problems prevent configuration of ariadne:
    ariadne depends on libqtm-location; however:
    Package libqtm-location is not installed.

    How to make a package which installs all dependencies?
    This is the way dpkg works. If you want to get automatic dependency resolution you should be using tools like apt or aptitude.

  6. #6
    Super Contributor
    Join Date
    Oct 2009
    Posts
    4,326

    Re: How to add dependencies in debian/control file while creating my package for maem

    Sorry, I've made a mistake replying to a previous question, of course you should place development package into build dependencies:
    Code:
    Build-Depends: libqtm-dev

  7. #7
    Registered User
    Join Date
    Jun 2010
    Posts
    19

    Re: How to add dependencies in debian/control file while creating my package for maem

    How to upload my package to apt server, are there any links to follow?
    I wanted to install my package with one click (including all dependencies).

    Regards
    Rajini

  8. #8
    Regular Contributor
    Join Date
    Feb 2009
    Posts
    54

    Re: How to add dependencies in debian/control file while creating my package for maem

    I think information on how to do that can be found here:

    http://wiki.maemo.org/Extras-devel

    Although I cannot see how to generate an install file...

  9. #9
    Super Contributor
    Join Date
    Oct 2009
    Posts
    4,326

    Re: How to add dependencies in debian/control file while creating my package for maem

    Quote Originally Posted by g.rkreddy6 View Post
    How to upload my package to apt server, are there any links to follow?
    Do you have an idea to which Debian repository you want to upload your package?

  10. #10
    Registered User
    Join Date
    Jun 2010
    Posts
    19

    Re: How to add dependencies in debian/control file while creating my package for maem

    No idea in particular, I'm very new to debian. But i wanted to upload extras-devel repository.
    Do you have any suggestion?

    Regards
    Rajini

  11. #11
    Super Contributor
    Join Date
    Oct 2009
    Posts
    4,326

    Re: How to add dependencies in debian/control file while creating my package for maem

    Quote Originally Posted by gurmukh View Post
    I think information on how to do that can be found here:

    http://wiki.maemo.org/Extras-devel

    Although I cannot see how to generate an install file...
    You can find couple of sample install files here:
    http://repository.maemo.org/extras-d...antle/install/
    they are automatically generated by autobuilder.

Similar Threads

  1. Regarding BMCONV
    By sanah007 in forum Symbian
    Replies: 2
    Last Post: 2009-05-26, 12:47
  2. MBM image is not found
    By tamhanna in forum Symbian
    Replies: 14
    Last Post: 2009-04-20, 12:44
  3. [split] mbm build error
    By mando222 in forum Symbian Tools & SDKs
    Replies: 1
    Last Post: 2009-03-29, 12:32
  4. problem when importing from carbide c++ to vs 2003!
    By misfit.physics in forum Symbian Tools & SDKs
    Replies: 12
    Last Post: 2008-02-19, 09:45
  5. Nokia Image Converter
    By davidpurdie in forum General Development Questions
    Replies: 0
    Last Post: 2004-02-18, 15:31

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×