beos: Fix embedded files in resources

- drop the remaining hardcoded files in rdef file
- add favicon.png
- remove en/ symlink
- add real folders with symlinks for translated files like GTK
  Note the Messages files are also included although the current code
  is not able to load them from the resources.
- add symlinks for html files to the en/ version
  (TODO: try to remap automatically)
This commit is contained in:
François Revol 2013-12-31 15:13:36 +01:00
parent e1e1b5c45b
commit 3c5317cf54
20 changed files with 22 additions and 7 deletions

View File

@ -99,9 +99,11 @@ RDEF_IMP_BEOS := $(addprefix $(OBJROOT)/,$(subst /,_,$(RDEF_IMP_BEOS)))
RDEP_BEOS := \
adblock.css beosdefault.css default.css internal.css quirks.css \
netsurf.png ca-bundle.txt
netsurf.png favicon.png ca-bundle.txt \
credits.html licence.html welcome.html
RDEP_BEOS := $(addprefix beos/res/,$(RDEP_BEOS)) \
$(wildcard beos/res/icons/*.png) \
$(wildcard beos/res/icons/*.png) \
$(wildcard beos/res/??/*) \
$(wildcard beos/res/throbber/throbber*.png)

View File

@ -18,10 +18,7 @@
#include "res.h"
/* files exported as resource:// via rsrc:// mapping */
resource(500, "credits.html") #'data' import "res/en/credits.html,faf";
resource(501, "licence.html") #'data' import "res/en/licence.html,faf";
resource(502, "welcome.html") #'data' import "res/en/welcome.html,faf";
/* files exported as resource: via rsrc:// mapping are added by the makefile */
/* application flags (multiple launch) */
resource(1, "BEOS:APP_FLAGS") (#'APPF') $"01000000";

1
beos/res/credits.html Symbolic link
View File

@ -0,0 +1 @@
en/credits.html

1
beos/res/de/Messages Symbolic link
View File

@ -0,0 +1 @@
../../../!NetSurf/Resources/de/Messages

1
beos/res/de/welcome.html Symbolic link
View File

@ -0,0 +1 @@
../../../!NetSurf/Resources/de/welcome.html,faf

View File

@ -1 +0,0 @@
../../!NetSurf/Resources/en

1
beos/res/en/Messages Symbolic link
View File

@ -0,0 +1 @@
../../../!NetSurf/Resources/en/Messages

1
beos/res/en/credits.html Symbolic link
View File

@ -0,0 +1 @@
../../../!NetSurf/Resources/en/credits.html,faf

1
beos/res/en/licence.html Symbolic link
View File

@ -0,0 +1 @@
../../../!NetSurf/Resources/en/licence.html,faf

1
beos/res/en/welcome.html Symbolic link
View File

@ -0,0 +1 @@
../../../!NetSurf/Resources/en/welcome.html,faf

1
beos/res/favicon.png Symbolic link
View File

@ -0,0 +1 @@
../../gtk/res/favicon.png

1
beos/res/fr/Messages Symbolic link
View File

@ -0,0 +1 @@
../../../!NetSurf/Resources/fr/Messages

1
beos/res/it/Messages Symbolic link
View File

@ -0,0 +1 @@
../../../!NetSurf/Resources/it/Messages

1
beos/res/it/credits.html Symbolic link
View File

@ -0,0 +1 @@
../../../!NetSurf/Resources/it/credits.html,faf

1
beos/res/it/licence.html Symbolic link
View File

@ -0,0 +1 @@
../../../!NetSurf/Resources/it/licence.html,faf

1
beos/res/it/welcome.html Symbolic link
View File

@ -0,0 +1 @@
../../../!NetSurf/Resources/it/welcome.html,faf

1
beos/res/ja/welcome.html Symbolic link
View File

@ -0,0 +1 @@
../../../!NetSurf/Resources/ja/welcome.html,faf

1
beos/res/licence.html Symbolic link
View File

@ -0,0 +1 @@
en/licence.html

1
beos/res/nl/Messages Symbolic link
View File

@ -0,0 +1 @@
../../../!NetSurf/Resources/nl/Messages

1
beos/res/welcome.html Symbolic link
View File

@ -0,0 +1 @@
en/welcome.html