mirror of
https://github.com/netsurf-browser/netsurf
synced 2025-01-03 09:44:24 +03:00
Move !NetSurf into frontends/riscos and fix up
This commit is contained in:
parent
e864997842
commit
de806db28e
@ -1 +0,0 @@
|
||||
../../resources/adblock.css
|
@ -1 +0,0 @@
|
||||
../../resources/default.css
|
@ -1 +0,0 @@
|
||||
../../resources/icons
|
@ -1 +0,0 @@
|
||||
../../resources/quirks.css
|
@ -1 +0,0 @@
|
||||
../../resources/ca-bundle
|
@ -1 +0,0 @@
|
||||
../../../resources/de/welcome.html
|
@ -1 +0,0 @@
|
||||
../../../resources/en/credits.html
|
@ -1 +0,0 @@
|
||||
../../../resources/en/licence.html
|
@ -1 +0,0 @@
|
||||
../../../resources/en/maps.html
|
@ -1 +0,0 @@
|
||||
../../../resources/en/welcome.html
|
@ -1 +0,0 @@
|
||||
../../resources/internal.css
|
@ -1 +0,0 @@
|
||||
../../../resources/it/credits.html
|
@ -1 +0,0 @@
|
||||
../../../resources/it/licence.html
|
@ -1 +0,0 @@
|
||||
../../../resources/it/welcome.html
|
@ -1 +0,0 @@
|
||||
../../../resources/ja/welcome.html
|
@ -1 +0,0 @@
|
||||
../../resources/netsurf.png
|
@ -1 +0,0 @@
|
||||
../../../resources/nl/credits.html
|
@ -1 +0,0 @@
|
||||
../../../resources/nl/licence.html
|
@ -1 +0,0 @@
|
||||
../../../resources/nl/welcome.html
|
24
.gitignore
vendored
24
.gitignore
vendored
@ -1,16 +1,16 @@
|
||||
*~
|
||||
\!NetSurf/!Run,feb
|
||||
\!NetSurf/!RunImage,ff8
|
||||
\!NetSurf/!Help,feb
|
||||
\!NetSurf/Resources/en/Templates,fec
|
||||
\!NetSurf/Resources/en/Messages
|
||||
\!NetSurf/Resources/fr/Templates,fec
|
||||
\!NetSurf/Resources/fr/Messages
|
||||
\!NetSurf/Resources/de/Templates,fec
|
||||
\!NetSurf/Resources/de/Messages
|
||||
\!NetSurf/Resources/nl/Templates,fec
|
||||
\!NetSurf/Resources/nl/Messages
|
||||
\!NetSurf/Resources/it/Messages
|
||||
frontends/riscos/appdir/!Run,feb
|
||||
frontends/riscos/appdir/!RunImage,ff8
|
||||
frontends/riscos/appdir/!Help,feb
|
||||
frontends/riscos/appdir/Resources/en/Templates,fec
|
||||
frontends/riscos/appdir/Resources/fr/Templates,fec
|
||||
frontends/riscos/appdir/Resources/de/Templates,fec
|
||||
frontends/riscos/appdir/Resources/nl/Templates,fec
|
||||
resources/en/Messages
|
||||
resources/fr/Messages
|
||||
resources/de/Messages
|
||||
resources/nl/Messages
|
||||
resources/it/Messages
|
||||
frontends/gtk/res/en/Messages
|
||||
frontends/gtk/res/fr/Messages
|
||||
frontends/gtk/res/de/Messages
|
||||
|
@ -24,8 +24,7 @@
|
||||
|
||||
The GTK port of NetSurf requires access to some resources at run time.
|
||||
These are stored in gtk/res/ in the source tree. Some of these files are
|
||||
symlinks into the !NetSurf directory, which is the application container
|
||||
for the native RISC OS build. None of the other files from the !NetSurf
|
||||
symlinks into the top level resources directory. Not all of the files in the
|
||||
directory are required - the symlinks are used only as a way of making
|
||||
checkouts smaller and making sure changes to one set of resources updates
|
||||
the other.
|
||||
|
@ -16,7 +16,7 @@ $(eval $(call feature_enabled,DRAW_EXPORT,-DWITH_DRAW_EXPORT,-lpencil,Drawfile e
|
||||
|
||||
|
||||
TPD_RISCOS = $(foreach TPL,$(notdir $(TPL_RISCOS)), \
|
||||
!NetSurf/Resources/$(TPL)/Templates$(TPLEXT))
|
||||
$(FRONTEND_SOURCE_DIR)/appdir/Resources/$(TPL)/Templates$(TPLEXT))
|
||||
|
||||
RESOURCES = $(TPD_RISCOS)
|
||||
|
||||
@ -68,16 +68,16 @@ S_FRONTEND := 401login.c assert.c bitmap.c buffer.c configure.c gui.c \
|
||||
# are not yet available
|
||||
SOURCES = $(S_COMMON) $(S_IMAGE) $(S_BROWSER) $(S_FRONTEND)
|
||||
|
||||
EXETARGET := !NetSurf/!RunImage$(EXEEXT)
|
||||
EXETARGET := $(FRONTEND_SOURCE_DIR)/appdir/!RunImage$(EXEEXT)
|
||||
|
||||
# The filter and target for split messages
|
||||
MESSAGES_FILTER=ro
|
||||
|
||||
!NetSurf/!Run$(RUNEXT): $(FRONTEND_SOURCE_DIR)/scripts/Run $(EXETARGET)
|
||||
$(FRONTEND_SOURCE_DIR)/appdir/!Run$(RUNEXT): $(FRONTEND_SOURCE_DIR)/scripts/Run $(EXETARGET)
|
||||
$(VQ)echo " MAKERUN: $@"
|
||||
$(Q)$(MAKERUN) $(EXETARGET) $< $@
|
||||
|
||||
!NetSurf/!Help$(RUNEXT): $(FRONTEND_SOURCE_DIR)/scripts/Help
|
||||
$(FRONTEND_SOURCE_DIR)/appdir/!Help$(RUNEXT): $(FRONTEND_SOURCE_DIR)/scripts/Help
|
||||
$(VQ)echo " CP: $@"
|
||||
$(Q)cp $< $@
|
||||
|
||||
@ -86,16 +86,16 @@ $(DEPROOT)/squeeze.d: $(EXETARGET)
|
||||
$(Q)$(SQUEEZE) -f -v $(EXETARGET)
|
||||
$(Q)$(TOUCH) $@
|
||||
|
||||
POSTEXES += !NetSurf/!Run$(RUNEXT) !NetSurf/!Help$(RUNEXT) $(DEPROOT)/squeeze.d
|
||||
POSTEXES += $(FRONTEND_SOURCE_DIR)/appdir/!Run$(RUNEXT) $(FRONTEND_SOURCE_DIR)/appdir/!Help$(RUNEXT) $(DEPROOT)/squeeze.d
|
||||
|
||||
|
||||
clean-run:
|
||||
$(VQ)echo " CLEAN: !NetSurf/!Run$(RUNEXT)"
|
||||
$(Q) $(RM) !NetSurf/!Run$(RUNEXT)
|
||||
$(VQ)echo " CLEAN: !Run$(RUNEXT)"
|
||||
$(Q) $(RM) $(FRONTEND_SOURCE_DIR)/appdir/!Run$(RUNEXT)
|
||||
|
||||
clean-help:
|
||||
$(VQ)echo " CLEAN: !NetSurf/!Help$(RUNEXT)"
|
||||
$(Q) $(RM) !NetSurf/!Help$(RUNEXT)
|
||||
$(VQ)echo " CLEAN: !Help$(RUNEXT)"
|
||||
$(Q) $(RM) $(FRONTEND_SOURCE_DIR)/appdir/!Help$(RUNEXT)
|
||||
|
||||
CLEANS += clean-run clean-help
|
||||
|
||||
@ -109,12 +109,12 @@ TPL_RISCOS := $(addprefix $(FRONTEND_SOURCE_DIR)/templates/,$(TPL_RISCOS))
|
||||
|
||||
# Template target creation macro
|
||||
define compile_template
|
||||
!NetSurf/Resources/$(1)/Templates$$(TPLEXT): $(2)
|
||||
$(FRONTEND_SOURCE_DIR)/appdir/Resources/$(1)/Templates$$(TPLEXT): $(2)
|
||||
$$(VQ)echo "TEMPLATE: $(2)"
|
||||
$$(Q)$$(MKDIR) -p !NetSurf/Resources/$(1)
|
||||
$$(Q)$$(MKDIR) -p $(FRONTEND_SOURCE_DIR)/appdir/Resources/$(1)
|
||||
$$(Q)$$(CC) -x c -E -P $$(CFLAGS) $(2) | $$(CCRES) - $$@
|
||||
|
||||
CLEAN_TEMPLATES += !NetSurf/Resources/$(1)/Templates$$(TPLEXT)
|
||||
CLEAN_TEMPLATES += $(FRONTEND_SOURCE_DIR)/appdir/Resources/$(1)/Templates$$(TPLEXT)
|
||||
|
||||
endef
|
||||
|
||||
@ -142,7 +142,7 @@ package-riscos: netsurf.zip
|
||||
netsurf.zip: $(EXETARGET)
|
||||
$(eval $@_TMPDIR := $(shell mktemp -d))
|
||||
$(Q) $(RM) $@
|
||||
$(Q) rsync --archive --verbose $(CURDIR)/!NetSurf $($@_TMPDIR)
|
||||
$(Q) cp -rLvp $(FRONTEND_SOURCE_DIR)/appdir $($@_TMPDIR)/!NetSurf
|
||||
$(Q) $(CURDIR)/utils/git-date.sh $(FRONTEND_SOURCE_DIR)/distribution
|
||||
$(Q) rsync --archive --verbose $(FRONTEND_SOURCE_DIR)/distribution/!Boot $($@_TMPDIR)
|
||||
$(Q) rsync --archive --verbose $(FRONTEND_SOURCE_DIR)/distribution/!System $($@_TMPDIR)
|
||||
|
Before Width: | Height: | Size: 165 B After Width: | Height: | Size: 165 B |
1
frontends/riscos/appdir/Resources/AdBlock,f79
Symbolic link
1
frontends/riscos/appdir/Resources/AdBlock,f79
Symbolic link
@ -0,0 +1 @@
|
||||
../../../../resources/adblock.css
|
1
frontends/riscos/appdir/Resources/CSS,f79
Symbolic link
1
frontends/riscos/appdir/Resources/CSS,f79
Symbolic link
@ -0,0 +1 @@
|
||||
../../../../resources/default.css
|
1
frontends/riscos/appdir/Resources/Icons
Symbolic link
1
frontends/riscos/appdir/Resources/Icons
Symbolic link
@ -0,0 +1 @@
|
||||
../../../../resources/icons
|
1
frontends/riscos/appdir/Resources/Quirks,f79
Symbolic link
1
frontends/riscos/appdir/Resources/Quirks,f79
Symbolic link
@ -0,0 +1 @@
|
||||
../../../../resources/quirks.css
|
1
frontends/riscos/appdir/Resources/ca-bundle
Symbolic link
1
frontends/riscos/appdir/Resources/ca-bundle
Symbolic link
@ -0,0 +1 @@
|
||||
../../../../resources/ca-bundle
|
1
frontends/riscos/appdir/Resources/de/Messages
Symbolic link
1
frontends/riscos/appdir/Resources/de/Messages
Symbolic link
@ -0,0 +1 @@
|
||||
../../../../../resources/de/Messages
|
1
frontends/riscos/appdir/Resources/de/welcome.html,faf
Symbolic link
1
frontends/riscos/appdir/Resources/de/welcome.html,faf
Symbolic link
@ -0,0 +1 @@
|
||||
../../../../../resources/de/welcome.html
|
1
frontends/riscos/appdir/Resources/en/Messages
Symbolic link
1
frontends/riscos/appdir/Resources/en/Messages
Symbolic link
@ -0,0 +1 @@
|
||||
../../../../../resources/en/Messages
|
1
frontends/riscos/appdir/Resources/en/credits.html,faf
Symbolic link
1
frontends/riscos/appdir/Resources/en/credits.html,faf
Symbolic link
@ -0,0 +1 @@
|
||||
../../../../../resources/en/credits.html
|
1
frontends/riscos/appdir/Resources/en/licence.html,faf
Symbolic link
1
frontends/riscos/appdir/Resources/en/licence.html,faf
Symbolic link
@ -0,0 +1 @@
|
||||
../../../../../resources/en/licence.html
|
1
frontends/riscos/appdir/Resources/en/maps.html,faf
Symbolic link
1
frontends/riscos/appdir/Resources/en/maps.html,faf
Symbolic link
@ -0,0 +1 @@
|
||||
../../../../../resources/en/maps.html
|
1
frontends/riscos/appdir/Resources/en/welcome.html,faf
Symbolic link
1
frontends/riscos/appdir/Resources/en/welcome.html,faf
Symbolic link
@ -0,0 +1 @@
|
||||
../../../../../resources/en/welcome.html
|
1
frontends/riscos/appdir/Resources/fr/Messages
Symbolic link
1
frontends/riscos/appdir/Resources/fr/Messages
Symbolic link
@ -0,0 +1 @@
|
||||
../../../../../resources/fr/Messages
|
1
frontends/riscos/appdir/Resources/internal.css,f79
Symbolic link
1
frontends/riscos/appdir/Resources/internal.css,f79
Symbolic link
@ -0,0 +1 @@
|
||||
../../../../resources/internal.css
|
1
frontends/riscos/appdir/Resources/it/Messages
Symbolic link
1
frontends/riscos/appdir/Resources/it/Messages
Symbolic link
@ -0,0 +1 @@
|
||||
../../../../../resources/it/Messages
|
1
frontends/riscos/appdir/Resources/it/credits.html,faf
Symbolic link
1
frontends/riscos/appdir/Resources/it/credits.html,faf
Symbolic link
@ -0,0 +1 @@
|
||||
../../../../../resources/it/credits.html
|
1
frontends/riscos/appdir/Resources/it/licence.html,faf
Symbolic link
1
frontends/riscos/appdir/Resources/it/licence.html,faf
Symbolic link
@ -0,0 +1 @@
|
||||
../../../../../resources/it/licence.html
|
1
frontends/riscos/appdir/Resources/it/welcome.html,faf
Symbolic link
1
frontends/riscos/appdir/Resources/it/welcome.html,faf
Symbolic link
@ -0,0 +1 @@
|
||||
../../../../../resources/it/welcome.html
|
1
frontends/riscos/appdir/Resources/ja/welcome.html,faf
Symbolic link
1
frontends/riscos/appdir/Resources/ja/welcome.html,faf
Symbolic link
@ -0,0 +1 @@
|
||||
../../../../../resources/ja/welcome.html
|
1
frontends/riscos/appdir/Resources/netsurf.png,b60
Symbolic link
1
frontends/riscos/appdir/Resources/netsurf.png,b60
Symbolic link
@ -0,0 +1 @@
|
||||
../../../../resources/netsurf.png
|
1
frontends/riscos/appdir/Resources/nl/Messages
Symbolic link
1
frontends/riscos/appdir/Resources/nl/Messages
Symbolic link
@ -0,0 +1 @@
|
||||
../../../../../resources/nl/Messages
|
1
frontends/riscos/appdir/Resources/nl/credits.html,faf
Symbolic link
1
frontends/riscos/appdir/Resources/nl/credits.html,faf
Symbolic link
@ -0,0 +1 @@
|
||||
../../../../../resources/nl/credits.html
|
1
frontends/riscos/appdir/Resources/nl/licence.html,faf
Symbolic link
1
frontends/riscos/appdir/Resources/nl/licence.html,faf
Symbolic link
@ -0,0 +1 @@
|
||||
../../../../../resources/nl/licence.html
|
1
frontends/riscos/appdir/Resources/nl/welcome.html,faf
Symbolic link
1
frontends/riscos/appdir/Resources/nl/welcome.html,faf
Symbolic link
@ -0,0 +1 @@
|
||||
../../../../../resources/nl/welcome.html
|
Loading…
Reference in New Issue
Block a user