mirror of
https://github.com/netsurf-browser/netsurf
synced 2025-01-12 05:49:19 +03:00
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:
parent
e1e1b5c45b
commit
3c5317cf54
@ -99,9 +99,11 @@ RDEF_IMP_BEOS := $(addprefix $(OBJROOT)/,$(subst /,_,$(RDEF_IMP_BEOS)))
|
|||||||
|
|
||||||
RDEP_BEOS := \
|
RDEP_BEOS := \
|
||||||
adblock.css beosdefault.css default.css internal.css quirks.css \
|
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)) \
|
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)
|
$(wildcard beos/res/throbber/throbber*.png)
|
||||||
|
|
||||||
|
|
||||||
|
@ -18,10 +18,7 @@
|
|||||||
|
|
||||||
#include "res.h"
|
#include "res.h"
|
||||||
|
|
||||||
/* files exported as resource:// via rsrc:// mapping */
|
/* files exported as resource: via rsrc:// mapping are added by the makefile */
|
||||||
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";
|
|
||||||
|
|
||||||
/* application flags (multiple launch) */
|
/* application flags (multiple launch) */
|
||||||
resource(1, "BEOS:APP_FLAGS") (#'APPF') $"01000000";
|
resource(1, "BEOS:APP_FLAGS") (#'APPF') $"01000000";
|
||||||
|
1
beos/res/credits.html
Symbolic link
1
beos/res/credits.html
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
en/credits.html
|
1
beos/res/de/Messages
Symbolic link
1
beos/res/de/Messages
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../../../!NetSurf/Resources/de/Messages
|
1
beos/res/de/welcome.html
Symbolic link
1
beos/res/de/welcome.html
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../../../!NetSurf/Resources/de/welcome.html,faf
|
@ -1 +0,0 @@
|
|||||||
../../!NetSurf/Resources/en
|
|
1
beos/res/en/Messages
Symbolic link
1
beos/res/en/Messages
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../../../!NetSurf/Resources/en/Messages
|
1
beos/res/en/credits.html
Symbolic link
1
beos/res/en/credits.html
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../../../!NetSurf/Resources/en/credits.html,faf
|
1
beos/res/en/licence.html
Symbolic link
1
beos/res/en/licence.html
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../../../!NetSurf/Resources/en/licence.html,faf
|
1
beos/res/en/welcome.html
Symbolic link
1
beos/res/en/welcome.html
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../../../!NetSurf/Resources/en/welcome.html,faf
|
1
beos/res/favicon.png
Symbolic link
1
beos/res/favicon.png
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../../gtk/res/favicon.png
|
1
beos/res/fr/Messages
Symbolic link
1
beos/res/fr/Messages
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../../../!NetSurf/Resources/fr/Messages
|
1
beos/res/it/Messages
Symbolic link
1
beos/res/it/Messages
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../../../!NetSurf/Resources/it/Messages
|
1
beos/res/it/credits.html
Symbolic link
1
beos/res/it/credits.html
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../../../!NetSurf/Resources/it/credits.html,faf
|
1
beos/res/it/licence.html
Symbolic link
1
beos/res/it/licence.html
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../../../!NetSurf/Resources/it/licence.html,faf
|
1
beos/res/it/welcome.html
Symbolic link
1
beos/res/it/welcome.html
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../../../!NetSurf/Resources/it/welcome.html,faf
|
1
beos/res/ja/welcome.html
Symbolic link
1
beos/res/ja/welcome.html
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../../../!NetSurf/Resources/ja/welcome.html,faf
|
1
beos/res/licence.html
Symbolic link
1
beos/res/licence.html
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
en/licence.html
|
1
beos/res/nl/Messages
Symbolic link
1
beos/res/nl/Messages
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../../../!NetSurf/Resources/nl/Messages
|
1
beos/res/welcome.html
Symbolic link
1
beos/res/welcome.html
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
en/welcome.html
|
Loading…
Reference in New Issue
Block a user