Reply
Thread Tools
Posts: 2,102 | Thanked: 1,309 times | Joined on Sep 2006
#11
Originally Posted by baidongxu View Post
I read from internet that i could get sorce code of maemo from nokia if I write a letter,the reason I want to compile it is that I need to compile a module into it.but I wander if it is possible to compile maemo onto n900
If you want to compile a kernel module then grab the kernel source, alter the defconfig and compile it. Then copy the module across.

If it's an external module, then grab the kernel headers and compile your module.

Exactly the same as compiling kernel modules for a desktop box.
 
pelago's Avatar
Posts: 2,121 | Thanked: 1,540 times | Joined on Mar 2008 @ Oxford, UK
#12
I don't believe there is any source code that you can get from writing to Nokia that isn't already downloadable already.
 
Posts: 3,617 | Thanked: 2,412 times | Joined on Nov 2009 @ Cambridge, UK
#13
Originally Posted by pelago View Post
I don't believe there is any source code that you can get from writing to Nokia that isn't already downloadable already.
No - he's presumably just read the GPL, which mentions this, though it's more of a last-resort option in cases where the source code isn't supplied or available online.
 
Captwheeto's Avatar
Posts: 302 | Thanked: 193 times | Joined on Oct 2008 @ England
#14
He knows how to write a kernel module but doesn't know how the linux kernel works? Does something sound odd?
 
Posts: 1,341 | Thanked: 708 times | Joined on Feb 2010
#15
For example, if one would want to change the behavior of the screen unlock, so sliding the keyboard would not unlock it, one would want to replace /usr/lib/systemui/libsystemuiplugin_tklock.so with ones own version.

To do that, source code for this libsystemuiplugin_tklock.so has to be found first.

After adding (guessed) source repositories to /etc/apt/sources.list.d/src-hildon-application-manager.list just by replacing every "deb" with "deb-src" in the copy of hildon-application-manager.list,
and doing 'apt-get update':


Code:
Nokia-N900:~# apt-file search /usr/lib/systemui/libsystemuiplugin_tklock.so
bash: apt-file: command not found
Nokia-N900:~# dpkg -L osso-systemui-tklock # lets guess it is there
...
/usr/lib/systemui/libsystemuiplugin_tklock.so
Nokia-N900:~# apt-cache showpkg osso-systemui-tklock
Package: osso-systemui-tklock
Versions: 
0.2.2.21+0m5 (/var/lib/apt/lists/downloads.maemo.nokia.com_fremantle_ssu_mr0_._Packages) (/var/lib/dpkg/status)
 Description Language: 
                 File: /var/lib/apt/lists/downloads.maemo.nokia.com_fremantle_ssu_mr0_._Packages
                  MD5: 93a5c33ab4431776f5c0fa58f6d8cbb4


Reverse Depends: 
  mce,osso-systemui-tklock 0.1.8.12
  mp-fremantle-generic-pr,osso-systemui-tklock 0.2.2.21+0m5
  osso-systemui,osso-systemui-tklock 0.1.6.7
Dependencies: 
0.2.2.21+0m5 - osso-system-lock-l10n-mr0 (16 (null)) osso-system-lock-l10n-mr (0 (null)) libatk1.0-0 (2 1.24.0) libc6 (2 2.5.0-1) libcairo2 (0 (null)) libfontconfig1 (2 2.6.0) libfreetype6 (2 2.3.9) libglib2.0-0 (2 2.20.0) libgtk2.0-0 (2 2:2.12.9-0osso1) libhildon1 (2 2.2.21) libpango1.0-0 (0 (null)) libsqlite3-0 (2 3.6.14) libtime0 (0 (null)) osso-systemui (2 0.2.0.13) 
Provides: 
0.2.2.21+0m5 - 
Reverse Provides: 
Nokia-N900:~# apt-cache showsrc osso-systemui-tklock
E: Could not open file /var/lib/apt/lists/downloads.maemo.nokia.com_fremantle_ssu_apps_._Sources - open (2 No such file or directory)
Nokia-N900:~# apt-get --download-only source osso-systemui-tklock
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Could not open file /var/lib/apt/lists/downloads.maemo.nokia.com_fremantle_ssu_apps_._Sources - open (2 No such file or directory)


So, should one assume that source code is not open, or, it is not found from repositories with apt, or repositories for the source files are something totally different what where binary packages are?

Last edited by zimon; 2011-01-11 at 13:44.
 

The Following User Says Thank You to zimon For This Useful Post:
ysss's Avatar
Posts: 4,384 | Thanked: 5,524 times | Joined on Jul 2007 @ ˙ǝɹǝɥʍou
#16
Does anyone think it may be slapped to some n900 clone somewhere...
__________________
Class .. : Power User
Humor .. : [#####-----] | Alignment: Pragmatist
Patience : [###-------] | Weapon(s): Galaxy Note + BB Bold Touch 9900
Agro ... : [###-------] | Relic(s) : iPhone 4S, Atrix, Milestone, N900, N800, N95, HTC G1, Treos, Zauri, BB 9000, BB 9700, etc

Follow the MeeGo Coding Competition!
 

The Following User Says Thank You to ysss For This Useful Post:
Posts: 1,341 | Thanked: 708 times | Joined on Feb 2010
#17
Originally Posted by ysss View Post
Does anyone think it may be slapped to some n900 clone somewhere...
Hopefully, as Nokia has stopped to make great N900!
 
Posts: 1,522 | Thanked: 391 times | Joined on Jul 2010 @ São Paulo, Brazil
#18
Wasn't that part of the goal with opening up Maemo?
 

The Following User Says Thank You to TiagoTiago For This Useful Post:
Posts: 11 | Thanked: 0 times | Joined on Jan 2011
#19
thank you for the articles ! they are quite helpful
 
Reply

Tags
because nokia, cares 'n stuff, just shoot me, when it comes, z2 money

Thread Tools

 
Forum Jump


All times are GMT. The time now is 03:24.