maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   add some application on my Deb ? (https://talk.maemo.org/showthread.php?t=74576)

artron 2011-07-03 01:23

add some application on my Deb ?
 
i was create some application and need some application (unzip)

Code:

apt-get install unzip
i want the user does'nt need download that app (unzip) again, i want that application include into my install (my deb file).

can i include it ?


thanks

Reffyyyy 2011-07-03 01:26

Re: add some application on my Deb ?
 
I think your best bet is to add it as a dependancy.

artron 2011-07-03 02:54

Re: add some application on my Deb ?
 
if i add to dependancy, so i need make subproject? so i need the sourcecode of unzip? that is true?

Reffyyyy 2011-07-03 02:56

Re: add some application on my Deb ?
 
By adding it as a dependency, "unzip" will be automatically downloaded and installed when your application is installed.

The user likely will not notice that much.

artron 2011-07-03 03:23

Re: add some application on my Deb ?
 
i want add this packed :

http://maemo.org/packages/view/unzip/

that on extra-devel ?

if i put my app on OVI Store, on newbie user of N900 will not have a Catalog of Extra-Devel. is user still can download it?

Reffyyyy 2011-07-03 03:25

Re: add some application on my Deb ?
 
I don't think the Ovi Store allows the dependency of applications/libs from extras devel. So no, the user can't download it (I believe).

This also means that your application is not viable for the store.

artron 2011-07-03 03:32

Re: add some application on my Deb ?
 
is possible i can make silent install?

Code:

QString cmdcpy="";
cmdcpy=cmdcpy.append("dpkd -i /opt/ArtronTrans-Maemo/bin/unzip_5.52-14-maemo6_i386.deb");
system(cmdcpy.toLatin1());

you have idea ? command dpkg for silent install ?

Reffyyyy 2011-07-03 03:40

Re: add some application on my Deb ?
 
Quote:

Originally Posted by artron (Post 1043668)
is possible i can make silent install?

Code:

QString cmdcpy="";
cmdcpy=cmdcpy.append("dpkd -i /opt/ArtronTrans-Maemo/bin/unzip_5.52-14-maemo6_i386.deb").append(pathdb);
system(cmdcpy.toLatin1());

you have idea ? command dpkg for silent install ?

You need to ensure that unzip doesn't depend on libraries from devel. I'm sorry but I don't think there is a silent install option (or am not aware).

Also, I'm not certain if that would be allowed on the store. Some verification would be helpful.

artron 2011-07-03 08:49

Re: add some application on my Deb ?
 
i was try put the unzip application on my app bin folder, the output is error :P :D

Code:

d:\nokiaqtsdk\maemo\4.6.2\madbin\dpkg-shlibdeps: failure: couldn't find library libc.so.6 needed by debian/artrontrans-maemo/opt/ArtronTrans-Maemo/bin/unzip (its RPATH is '').

artron 2011-07-03 09:47

Re: add some application on my Deb ?
 
Quote:

Originally Posted by Reffyyyy (Post 1043635)
I think your best bet is to add it as a dependancy.

how i can add "unzip" to dependencies, there are not button at project>dependencies


All times are GMT. The time now is 16:58.

vBulletin® Version 3.8.8