Move !NetSurf into frontends/riscos and fix up

This commit is contained in:
Daniel Silverstone 2018-04-22 11:15:23 +01:00
parent e864997842
commit de806db28e
72 changed files with 50 additions and 46 deletions

View File

@ -1 +0,0 @@
../../resources/adblock.css

View File

@ -1 +0,0 @@
../../resources/default.css

View File

@ -1 +0,0 @@
../../resources/icons

View File

@ -1 +0,0 @@
../../resources/quirks.css

View File

@ -1 +0,0 @@
../../resources/ca-bundle

View File

@ -1 +0,0 @@
../../../resources/de/welcome.html

View File

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

View File

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

View File

@ -1 +0,0 @@
../../../resources/en/maps.html

View File

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

View File

@ -1 +0,0 @@
../../resources/internal.css

View File

@ -1 +0,0 @@
../../../resources/it/credits.html

View File

@ -1 +0,0 @@
../../../resources/it/licence.html

View File

@ -1 +0,0 @@
../../../resources/it/welcome.html

View File

@ -1 +0,0 @@
../../../resources/ja/welcome.html

View File

@ -1 +0,0 @@
../../resources/netsurf.png

View File

@ -1 +0,0 @@
../../../resources/nl/credits.html

View File

@ -1 +0,0 @@
../../../resources/nl/licence.html

View File

@ -1 +0,0 @@
../../../resources/nl/welcome.html

24
.gitignore vendored
View File

@ -1,16 +1,16 @@
*~ *~
\!NetSurf/!Run,feb frontends/riscos/appdir/!Run,feb
\!NetSurf/!RunImage,ff8 frontends/riscos/appdir/!RunImage,ff8
\!NetSurf/!Help,feb frontends/riscos/appdir/!Help,feb
\!NetSurf/Resources/en/Templates,fec frontends/riscos/appdir/Resources/en/Templates,fec
\!NetSurf/Resources/en/Messages frontends/riscos/appdir/Resources/fr/Templates,fec
\!NetSurf/Resources/fr/Templates,fec frontends/riscos/appdir/Resources/de/Templates,fec
\!NetSurf/Resources/fr/Messages frontends/riscos/appdir/Resources/nl/Templates,fec
\!NetSurf/Resources/de/Templates,fec resources/en/Messages
\!NetSurf/Resources/de/Messages resources/fr/Messages
\!NetSurf/Resources/nl/Templates,fec resources/de/Messages
\!NetSurf/Resources/nl/Messages resources/nl/Messages
\!NetSurf/Resources/it/Messages resources/it/Messages
frontends/gtk/res/en/Messages frontends/gtk/res/en/Messages
frontends/gtk/res/fr/Messages frontends/gtk/res/fr/Messages
frontends/gtk/res/de/Messages frontends/gtk/res/de/Messages

View File

@ -24,8 +24,7 @@
The GTK port of NetSurf requires access to some resources at run time. 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 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 symlinks into the top level resources directory. Not all of the files in the
for the native RISC OS build. None of the other files from the !NetSurf
directory are required - the symlinks are used only as a way of making 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 checkouts smaller and making sure changes to one set of resources updates
the other. the other.

View File

@ -16,7 +16,7 @@ $(eval $(call feature_enabled,DRAW_EXPORT,-DWITH_DRAW_EXPORT,-lpencil,Drawfile e
TPD_RISCOS = $(foreach TPL,$(notdir $(TPL_RISCOS)), \ TPD_RISCOS = $(foreach TPL,$(notdir $(TPL_RISCOS)), \
!NetSurf/Resources/$(TPL)/Templates$(TPLEXT)) $(FRONTEND_SOURCE_DIR)/appdir/Resources/$(TPL)/Templates$(TPLEXT))
RESOURCES = $(TPD_RISCOS) 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 # are not yet available
SOURCES = $(S_COMMON) $(S_IMAGE) $(S_BROWSER) $(S_FRONTEND) 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 # The filter and target for split messages
MESSAGES_FILTER=ro 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: $@" $(VQ)echo " MAKERUN: $@"
$(Q)$(MAKERUN) $(EXETARGET) $< $@ $(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: $@" $(VQ)echo " CP: $@"
$(Q)cp $< $@ $(Q)cp $< $@
@ -86,16 +86,16 @@ $(DEPROOT)/squeeze.d: $(EXETARGET)
$(Q)$(SQUEEZE) -f -v $(EXETARGET) $(Q)$(SQUEEZE) -f -v $(EXETARGET)
$(Q)$(TOUCH) $@ $(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: clean-run:
$(VQ)echo " CLEAN: !NetSurf/!Run$(RUNEXT)" $(VQ)echo " CLEAN: !Run$(RUNEXT)"
$(Q) $(RM) !NetSurf/!Run$(RUNEXT) $(Q) $(RM) $(FRONTEND_SOURCE_DIR)/appdir/!Run$(RUNEXT)
clean-help: clean-help:
$(VQ)echo " CLEAN: !NetSurf/!Help$(RUNEXT)" $(VQ)echo " CLEAN: !Help$(RUNEXT)"
$(Q) $(RM) !NetSurf/!Help$(RUNEXT) $(Q) $(RM) $(FRONTEND_SOURCE_DIR)/appdir/!Help$(RUNEXT)
CLEANS += clean-run clean-help CLEANS += clean-run clean-help
@ -109,12 +109,12 @@ TPL_RISCOS := $(addprefix $(FRONTEND_SOURCE_DIR)/templates/,$(TPL_RISCOS))
# Template target creation macro # Template target creation macro
define compile_template define compile_template
!NetSurf/Resources/$(1)/Templates$$(TPLEXT): $(2) $(FRONTEND_SOURCE_DIR)/appdir/Resources/$(1)/Templates$$(TPLEXT): $(2)
$$(VQ)echo "TEMPLATE: $(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) - $$@ $$(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 endef
@ -142,7 +142,7 @@ package-riscos: netsurf.zip
netsurf.zip: $(EXETARGET) netsurf.zip: $(EXETARGET)
$(eval $@_TMPDIR := $(shell mktemp -d)) $(eval $@_TMPDIR := $(shell mktemp -d))
$(Q) $(RM) $@ $(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) $(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/!Boot $($@_TMPDIR)
$(Q) rsync --archive --verbose $(FRONTEND_SOURCE_DIR)/distribution/!System $($@_TMPDIR) $(Q) rsync --archive --verbose $(FRONTEND_SOURCE_DIR)/distribution/!System $($@_TMPDIR)

View File

Before

Width:  |  Height:  |  Size: 165 B

After

Width:  |  Height:  |  Size: 165 B

View File

@ -0,0 +1 @@
../../../../resources/adblock.css

View File

@ -0,0 +1 @@
../../../../resources/default.css

View File

@ -0,0 +1 @@
../../../../resources/icons

View File

@ -0,0 +1 @@
../../../../resources/quirks.css

View File

@ -0,0 +1 @@
../../../../resources/ca-bundle

View File

@ -0,0 +1 @@
../../../../../resources/de/Messages

View File

@ -0,0 +1 @@
../../../../../resources/de/welcome.html

View File

@ -0,0 +1 @@
../../../../../resources/en/Messages

View File

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

View File

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

View File

@ -0,0 +1 @@
../../../../../resources/en/maps.html

View File

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

View File

@ -0,0 +1 @@
../../../../../resources/fr/Messages

View File

@ -0,0 +1 @@
../../../../resources/internal.css

View File

@ -0,0 +1 @@
../../../../../resources/it/Messages

View File

@ -0,0 +1 @@
../../../../../resources/it/credits.html

View File

@ -0,0 +1 @@
../../../../../resources/it/licence.html

View File

@ -0,0 +1 @@
../../../../../resources/it/welcome.html

View File

@ -0,0 +1 @@
../../../../../resources/ja/welcome.html

View File

@ -0,0 +1 @@
../../../../resources/netsurf.png

View File

@ -0,0 +1 @@
../../../../../resources/nl/Messages

View File

@ -0,0 +1 @@
../../../../../resources/nl/credits.html

View File

@ -0,0 +1 @@
../../../../../resources/nl/licence.html

View File

@ -0,0 +1 @@
../../../../../resources/nl/welcome.html