Hello,
my Name is Christian, Im from Germany/Munich.
i work on a embedded Plattform with Freescales iMX28 (arm).
Since some days i tried to get NetSurf working on this Plattform.
And with some small changes now i have first nsfb bin which is runable ;-)
Im not firm with your bugtracking systems...
so i send my suggestions here in hope to find the right person who can
handle this Info,
or just stick my nose to the right place for it ;-)
We use framebuffer with SDL-1.2
Found Hints/Probs/Bugs in Make Process:
1. in $(TARGET_WORKSPACE)/netsurf/Makefile Line 140
Change
STRIP=strip
To
STRIP?=strip
Makes it possible to use the strip from my (external) Toolchain;
else it always uses the HOST strip which cant handle my arm compiled bin.
2. My Ubuntu shell has severe Probs handling the defined funcs from env.sh
I had to change all names from e.g. ns-package-install to ns_package_install
I didnt figure out why my machine has a Problem with the '-' in the names..
But changing it to '_' solved the Probs.
3. Compiling Error cause of double typedef'd : typedef struct fbtk_widget_s
fbtk_widget_t;
In work/netsurf/framebuffer/fbtk.h and work/netsurf/framebuffer/gui.h
I changed to this:
./framebuffer/gui.h:23:
//typedef struct fbtk_widget_s fbtk_widget_t;
./framebuffer/gui.h:73:
//void gui_resize(fbtk_widget_t *root, int width, int height);
void gui_resize(struct fbtk_widget_s *root, int width, int height);
than it compiled.
4. Compile warning/error:
After a make clean, first run of make gives this error:
COMPILE: framebuffer/font_internal.c
framebuffer/font_internal.c:33:26: warning: font-ns-sans.h: No such file or
directory
framebuffer/font_internal.c: In function 'fb_get_glyph':
framebuffer/font_internal.c:263: error: 'fb_bold_italic_section_table'
undeclared (first use in this function)
framebuffer/font_internal.c:263: error: (Each undeclared identifier is
reported only once
.....
But in second try of make this file seems to be installed... maybe some
changes in make order/sequence?
And maybe this will disappear in the moment i get freetype compiled and
linked to Netsurf.
Suggestions:
- Why not use "SDL-ttf" which handles freetype fonts in a good and portable
manner?
Questions:
- Somebody got libmozjs running with NetSurf under arm?
- running nsfb gives a browser window but no website appears just left
bottom said "BadEncoding".
Webserver gets a "http OK" so i think the data is delivered to the
browser.
Doing something wrong?
Hope i could help a bit... or just give some confusing Info's.
Thanks in advance
Chris
No comments:
Post a Comment