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
\!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

View File

@ -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.

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)), \
!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)

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