Making Debian Packages from inside the 770
Hi, folks: I need your help. I want to make deb packages for some apps that I didn't find at the repos. The problem is that I am a bit nostalgic and do not want to do anything outside the tablet. I mean, I only use my PC to reflash the device, but everything else I want to do it from inside the tablet, just to show that it is self-dependent... My first question is: is it possible to build a package with the 770 tools? If so... what would be the process? Salut, Sebas. ___ maemo-users mailing list maemo-users@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-users
Re: Making Debian Packages from inside the 770
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi! sebastian maemo schrieb: The problem is that I am a bit nostalgic and do not want to do anything outside the tablet. I mean, I only use my PC to reflash the device, but everything else I want to do it from inside the tablet, just to show that it is self-dependent... I don't think that it is self-dependent, neither is it meant to be. Also, I think this might be a good opportunity to familiarise yourself with a cross-development environment. My first question is: is it possible to build a package with the 770 tools? If so... what would be the process? You'd have to build or find a native compiler toolchain and install all the necessary library development packages (headers, static libs and such). This would take up /much/ memory on the device and take quite some time. I just can't recommend it. Rather I'd recommend to use the prepared development kit. Probably the easiest way to get started with that is to use the Maemo SDK VMWare Appliance, version 0.1 from http://maemovmware.garage.maemo.org/ Regards, Tilman -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iD8DBQFHgSxR9ZPu6Yae8lkRArKuAJ4r+aY7sS3nvg1XPz5eFKQYbMmvlgCcCrvN kpPftlxa17yPFGzTjd1HZBk= =24Mb -END PGP SIGNATURE- ___ maemo-users mailing list maemo-users@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-users
Re: Making Debian Packages from inside the 770
2008/1/6, Tilman Vogel [EMAIL PROTECTED]: Also, I think this might be a good opportunity to familiarise yourself with a cross-development environment. It's definitely true. You'd have to build or find a native compiler toolchain and install all the necessary library development packages (headers, static libs and such). This would take up /much/ memory on the device and take quite some time. Well, I've just done it. Or I think so. I've got gcc, g++, make, dh_builddeb, dh_gencontrol, dh_install, dh_makeshlibs, dh_shlibdeps, dpkg-shlibdeps, dpkg-deb, dpkg-buildpackage, dpkg-gencontrol, pkg-config, and others... but my problem is that almost all the howtos depend on deb-make and dh_make, and I don't have these functions... I was very excited running a simple C program compiled directly over my osso-xterm, just typing: gcc example.c I suppose that I'll need to do things in the old-fashioned way (like installing packages without apt)... I just can't recommend it. Rather I'd recommend to use the prepared development kit. Probably the easiest way to get started with that is to use the Maemo SDK VMWare Appliance, version 0.1 Given that my PC is Debian, I suppose that it would be easier for me the use of Scratchbox, but I still think I could do it only with the little 770... Salut, Sebas. ___ maemo-users mailing list maemo-users@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-users
Re: making Debian Packages from inside the 770
Well, I've just done it. Or I think so. I've got gcc, g++, make, dh_builddeb, dh_gencontrol, dh_install, dh_makeshlibs, dh_shlibdeps, dpkg-shlibdeps, dpkg-deb, dpkg-buildpackage, dpkg-gencontrol, pkg-config, and others... but my problem is that almost all the howtos depend on deb-make and dh_make, and I don't have these functions... Memory in 770 is not the strenght of it. The more you could unload from it, the better. Command line apps do not take resources as graphical ones and C files are less consuming than C++ ... I suppose that I'll need to do things in the old-fashioned way (like installing packages without apt)... Apt is fine to get files from repositories.It is debian way. Would be interesting to port netbsd on 770. It could be smaller and more prone to under-the-surface digging. Given that my PC is Debian, I suppose that it would be easier for me the use of Scratchbox, but I still think I could do it only with the little 770... No diff, if you think in general. The final binary is the same. You just use an option, that gives you more power and less headache. Zoran ___ maemo-users mailing list maemo-users@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-users