|
|
2010-12-10
, 05:55
|
|
|
Posts: 3,404 |
Thanked: 4,474 times |
Joined on Oct 2005
@ Germany
|
#112
|
Not true.
The main problem is that they don't obey their own rules. Download a while/light theme and see the calendar app. It remains black... (there are other examples as well)
| The Following User Says Thank You to pycage For This Useful Post: | ||
|
|
2010-12-10
, 09:03
|
|
Posts: 2,102 |
Thanked: 1,309 times |
Joined on Sep 2006
|
#113
|
So the question, then, is... why isn't Nokia writing open-source applications from the start (or writing new, or getting open-sourced apps and using them) on these devices, so as to avoid the whole problem altogether? Why does Nokia feel the need to obligate users to use closed-source software, even the ones written by Nokia themselves, on a platform being sold on the benefits of being "open-source"?
| The Following 4 Users Say Thank You to lardman For This Useful Post: | ||
|
|
2010-12-10
, 10:35
|
|
|
Posts: 2,351 |
Thanked: 5,243 times |
Joined on Jan 2009
@ Barcelona
|
#114
|
This is not meant to be disparaging to Nokia, far from it. They do contribute a lot, but RH are in a different league altogether.
| The Following User Says Thank You to javispedro For This Useful Post: | ||
|
|
2010-12-10
, 11:02
|
|
Posts: 235 |
Thanked: 339 times |
Joined on Nov 2010
|
#115
|
|
|
2010-12-10
, 17:12
|
|
|
Posts: 11,700 |
Thanked: 10,045 times |
Joined on Jun 2006
@ North Texas, USA
|
#116
|
| The Following User Says Thank You to Texrat For This Useful Post: | ||
|
|
2010-12-11
, 11:17
|
|
Posts: 2,802 |
Thanked: 4,490 times |
Joined on Nov 2007
|
#117
|
|
|
2010-12-11
, 12:26
|
|
Posts: 235 |
Thanked: 339 times |
Joined on Nov 2010
|
#118
|
These headers consist entirely of /usr/include/cal.h, which just declares some function prototypes. That's completely useless if you want to, for example, retrieve the factory-installed WLAN MAC address of an N810.
| The Following User Says Thank You to jstokes For This Useful Post: | ||
|
|
2010-12-11
, 12:35
|
|
Posts: 2,802 |
Thanked: 4,490 times |
Joined on Nov 2007
|
#119
|
http://git.slonopotamus.org/?p=opend...3f;hb=HEAD#l70 built using the header from Fremantle's libcal-dev works with the libcal already present on an N800.
| The Following User Says Thank You to lma For This Useful Post: | ||
|
|
2010-12-11
, 12:38
|
|
Posts: 235 |
Thanked: 339 times |
Joined on Nov 2010
|
#120
|
That's an independent implementation (many thanks to the author btw), and doesn't #include Nokia's cal.h anywhere.
#include <assert.h>
#include <unistd.h>
#include <stdint.h>
#include <cal.h>
int main (void)
{
struct cal *cal_s;
cal_init (&cal_s);
const size_t mac_len = 6;
char mac[mac_len];
uint32_t *data;
unsigned long len;
if (cal_read_block(cal_s, "wlan-mac", (void **)&data, &len, 0) == 0) {
assert(len == (mac_len + 1) * sizeof(uint32_t));
size_t i;
for (i = 0; i < mac_len; ++i) {
mac[i] = (char)data[i + 1];
}
printf(" [%02x:%02x:%02x:%02x:%02x:%02x] ",
mac[0], mac[1], mac[2], mac[3], mac[4], mac[5]);
}
free (data);
cal_finish (cal_s);
return 0;
}
Also, there's no libcal present on an N800, the functionality was hardwired into dsme before Fremantle.
Nokia-N800-43-7:~# ls -l /usr/lib/libcal*
-rw-r--r-- 1 root root 7760 Feb 11 2008 /usr/lib/libcal.so.0.3.0
Nokia-N800-43-7:~# ls -l /mnt/initfs/usr/lib/libcal.so*
lrwxrwxrwx 1 root root 15 Oct 21 2008 /mnt/initfs/usr/lib/libcal.so -> libcal.so.0.3.0
-rwxr-xr-x 1 root root 6496 Oct 21 2008 /mnt/initfs/usr/lib/libcal.so.0.3.0
| The Following 2 Users Say Thank You to jstokes For This Useful Post: | ||
This is not meant to be disparaging to Nokia, far from it. They do contribute a lot, but RH are in a different league altogether.