maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   [HOWTO REQUEST] Build packages update (https://talk.maemo.org/showthread.php?t=99319)

Amaranth 2017-04-24 10:41

[HOWTO REQUEST] Build packages update
 
Hello!

I'am newbie in Maemo, but I have a small experience in Linux. And I want to update some packages in extras-repo.

I compiled new htop, curl, wget, zsh, make and some other apps on my n900 and they works great. Compilation on n900 very slow, need free space and I moved to cross-compilation.

Firstly, I installed and configured crosstool-ng, package for cross-compilation. It easy to use and using modern compilators and libs. But so much modern - many apps was need modern glibc or ncurses, for example. I built it, move to my N900, reboot and never boot up :)

Secondly, I tried to install scratchbox: find Debian Lenny distro, install, find needs repos archive, install and configure. But updated apps need updated libs - in scratchbox its outdated. I successfully compiled new Busybox-power, but can't make package - dpkg-buildpackage crash with "getopt not found". Getopt installed. I try to update perl and getopt for it, but this not resolve problem. I tried to google, google and google, but can't find answer. I spened on trying to build two weeks already and do not know what to do next.

Can advanced user make how-to or step-by-step example of packages update, please?

p.s. Sorry for my english :)

uvatbc 2017-05-03 05:16

Re: [HOWTO REQUEST] Build packages update
 
Quote:

Originally Posted by Amaranth (Post 1527261)
Hello!

I'am newbie in Maemo, but I have a small experience in Linux. And I want to update some packages in extras-repo.

I compiled new htop, curl, wget, zsh, make and some other apps on my n900 and they works great. Compilation on n900 very slow, need free space and I moved to cross-compilation.

Firstly, I installed and configured crosstool-ng, package for cross-compilation. It easy to use and using modern compilators and libs. But so much modern - many apps was need modern glibc or ncurses, for example. I built it, move to my N900, reboot and never boot up :)

Secondly, I tried to install scratchbox: find Debian Lenny distro, install, find needs repos archive, install and configure. But updated apps need updated libs - in scratchbox its outdated. I successfully compiled new Busybox-power, but can't make package - dpkg-buildpackage crash with "getopt not found". Getopt installed. I try to update perl and getopt for it, but this not resolve problem. I tried to google, google and google, but can't find answer. I spened on trying to build two weeks already and do not know what to do next.

Can advanced user make how-to or step-by-step example of packages update, please?

p.s. Sorry for my english :)

Are you trying to compile packages for Maemo?
Can you try the Docker images I've created?
Here's the thread and the post with the example: https://talk.maemo.org/showpost.php?...10&postcount=3

Halftux 2017-05-03 12:07

Re: [HOWTO REQUEST] Build packages update
 
Quote:

Originally Posted by Amaranth (Post 1527261)
Can advanced user make how-to or step-by-step example of packages update, please?

Different packages make different problems also need different solutions. Some packages can't be updated if they need newer glib or build tools.

For some packages you need newer gcc look for AapoRantalainen contributions he did a very good job in updating some important bits. For using a newer gcc you need to make a new target in scratchbox.

Also marmistrz was updating for example autoconf. If you want to use newer build tools as provided by the sdk you need to set the SBOX_REDIRECT_IGNORE variable which you also need to use newer perl.
You could also set a new scratchbox target for the CSSU repositority which has also some newer packages than the standard sdk.

To update to latest stuff we need to free maemo to have a new kernel and newer glibc. Then we can have latest build tools and gcc. So Android_808 and freemangordon do a great job removing closed blobs.

You could upload your source codes and I can have a look into it and try to compile deb packages from it.


All times are GMT. The time now is 09:56.

vBulletin® Version 3.8.8