View Single Post
Posts: 839 | Thanked: 3,386 times | Joined on Mar 2009
#34
I started own thread about libc: http://talk.maemo.org/showthread.php?p=1329134

I have postponed optification issue, maybe it is worth of own thread.

-----
I reread what I know about gcc-4.7 and thumb, and realized that gcc-4.7 is not producing thumb-code as default, so there are no reason to use gcc-4.2 (unless some specific package is really needing it).


I have started to build packages from squeeze, ready packages goes to my repository (link in first post). There are not many for the device.

I have learned that Debian is not ready for fully built from scratch, e.g. there are circular build-dependencies, read more: http://wiki.debian.org/DebianBootstrap

So some packages can't be built with sbdmock, but they need to tuned and compiled manually, without some of the dependencies. Typically documenting tools cause harm as they are used by many package, but compiling them need other packages.

----
Some details for sbdmock
*create own local repository containing e.g. newer dpkg-dev and other libraries.
Creating local repository:
Code:
sudo apt-get install dpkg-dev
mkdir -p /tmp/ownrepo
cp *.deb /tmp/ownrepo
cd /tmp/ownrepo 
dpkg-scanpackages . /dev/null | gzip -9c > Packages.gz
And row to the /etc/apt/sources.list (or sbdmock-conf)
Code:
deb file:/tmp/ownrepo ./
And then use apt-get source PACKAGE_NAME

*there are packages that are not listed in debian/control, but still needed to build package, e.g. man-db, fakeroot and (working) gettext. Unpack them to the rootstrap-file.

Code:
#unpack rootstrap
tar zxf maemo-sdk-rootstrap_5.0_armel.tgz
#unpack needed packages
ar x /tmp/man-db.deb
tar xf data.tar.gz
#pack rootstrap again
tar czf maemo-sdk-rootstrap_5.0_armel.tgz bin  boot  cdrom  etc  floppy  home  initrd  lib    media  mnt  opt  proc  root  sbin  srv  sys  tmp  usr  var .dev
*Downloading squeeze source packages.
On host, disable other deb-src on /etc/apt/sources.list and use only:
Code:
deb-src http://ftp.fi.debian.org/debian squeeze main
(use server near to you).

----
Not using wheezy, is because it needs newer debhelper and debhelper comes from scratchbox (devkits: debian-squeeze). Current situation of scratchbox is not good (e.g. check: scratchbox.org hint:dead).

--------
[EDIT there was false information before]
I separated Maemo5 open packages, there are 199 packages which is also in Debian Squeeze. And 1188 packages only for Maemo. This does not count renamed packages:
http://paste.ubuntu.com/5617449/
[/EDIT]

Last edited by AapoRantalainen; 2013-03-15 at 19:24.
 

The Following 19 Users Say Thank You to AapoRantalainen For This Useful Post: