Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[apps/external] Move external to Ion #292

Draft
wants to merge 4 commits into
base: upsilon-dev
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 1 addition & 7 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,7 @@ ifeq ($(filter reader,$(apps_list)),)
HAS_READER := 1
endif

# Remove the external apps for the n0100
ifeq (${MODEL}, n0100)
apps_list = $(foreach i, ${EPSILON_APPS}, $(if $(filter external, $(i)),,$(i)))
else
apps_list = ${EPSILON_APPS}
endif

apps_list = ${EPSILON_APPS}
ifdef FORCE_EXTERNAL
apps_list = ${EPSILON_APPS}
endif
Expand Down
43 changes: 3 additions & 40 deletions apps/external/Makefile
Original file line number Diff line number Diff line change
@@ -1,53 +1,16 @@
ifdef HOME_DISPLAY_EXTERNALS

app_external_src = $(addprefix apps/external/,\
extapp_api.cpp \
archive.cpp \
)

$(eval $(call depends_on_image,apps/home/controller.cpp,apps/external/external_icon.png))

else

apps += External::App
app_headers += apps/external/app.h

app_external_src = $(addprefix apps/external/,\
app.cpp \
extapp_api.cpp \
archive.cpp \
main_controller.cpp \
pointer_text_table_cell.cpp \
)

$(eval $(call depends_on_image,apps/external/app.cpp,apps/external/external_icon.png))

endif

SFLAGS += -Iapps/external/

EXTAPP_PATH ?= apps/external/app/

ifeq ($(PLATFORM),device)
# FIXME: Should be handled by Ion, since external apps are managed by Ion
SFLAGS += -DDEVICE
else
include $(EXTAPP_PATH)/sources.mak
endif

ifdef EXTERNAL_BUILTIN
SFLAGS += -DEXTERNAL_BUILTIN
endif

apps_src += $(app_external_src)

i18n_files += $(addprefix apps/external/,\
base.de.i18n\
base.en.i18n\
base.es.i18n\
base.fr.i18n\
base.pt.i18n\
base.it.i18n\
base.nl.i18n\
base.hu.i18n\
base.universal.i18n\
)

i18n_files += $(call i18n_without_universal_for,external/base)
48 changes: 0 additions & 48 deletions apps/external/app.cpp

This file was deleted.

38 changes: 0 additions & 38 deletions apps/external/app.h

This file was deleted.

4 changes: 2 additions & 2 deletions apps/external/app/sources.mak
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
app_external_src += $(addprefix apps/external/app/,\
app_external_src += $(addprefix $(EXTAPP_PATH),\
sample.c \
)
)
7 changes: 0 additions & 7 deletions apps/external/base.de.i18n
Original file line number Diff line number Diff line change
@@ -1,9 +1,2 @@
ExternalApp = "External"
ExternalAppCapital = "EXTERNAL"
ExternalAppApiMismatch = "API stimmt nicht überein"
ExternalAppExecError = "Datei kann nicht ausgeführt werden"
ExternalNotCompatible = "Externe App ist nicht kompatibel"
WithSimulator = "mit dem Simulator"
WithN0100 = "mit N0100"
GetMoreAppsAt = "Weitere Apps abrufen bei"
NoAppsInstalled = "Keine Apps installiert"
7 changes: 0 additions & 7 deletions apps/external/base.en.i18n
Original file line number Diff line number Diff line change
@@ -1,9 +1,2 @@
ExternalApp = "External"
ExternalAppCapital = "EXTERNAL"
ExternalAppApiMismatch = "API mismatch"
ExternalAppExecError = "Cannot execute file"
ExternalNotCompatible = "External is not compatible"
WithSimulator = "with the simulator"
WithN0100 = "with n0100"
GetMoreAppsAt = "Get more apps at"
NoAppsInstalled = "No apps installed"
7 changes: 0 additions & 7 deletions apps/external/base.es.i18n
Original file line number Diff line number Diff line change
@@ -1,9 +1,2 @@
ExternalApp = "External"
ExternalAppCapital = "EXTERNAL"
ExternalAppApiMismatch = "Discordancia de API"
ExternalAppExecError = "No se puede ejecutar el archivo"
ExternalNotCompatible = "Externo no es compatible"
WithSimulator = "con el simulador"
WithN0100 = "con n0100"
GetMoreAppsAt = "Obtenga más aplicaciones en"
NoAppsInstalled = "No hay aplicaciones instaladas"
7 changes: 0 additions & 7 deletions apps/external/base.fr.i18n
Original file line number Diff line number Diff line change
@@ -1,9 +1,2 @@
ExternalApp = "External"
ExternalAppCapital = "EXTERNAL"
ExternalAppApiMismatch = "Décalage API"
ExternalAppExecError = "Le fichier ne peut pas être exécuté"
ExternalNotCompatible = "External n'est pas compatible"
WithSimulator = "avec le simulateur"
WithN0100 = "avec n0100"
GetMoreAppsAt = "Télécharge d'autres apps sur"
NoAppsInstalled = "Aucune applications installées"
11 changes: 2 additions & 9 deletions apps/external/base.hu.i18n
Original file line number Diff line number Diff line change
@@ -1,9 +1,2 @@
ExternalApp = "Külsö"
ExternalAppCapital = "KÜLSÖ"
ExternalAppApiMismatch = "API eltérés"
ExternalAppExecError = "A fájl nem futtatható"
ExternalNotCompatible = "Externál nem kompatibilis"
WithSimulator = "Szimulátorral"
WithN0100 = "n0100-al"
GetMoreAppsAt = "Mégtöbb alkalmazás itt :"
NoAppsInstalled = "Nincs letöltött externál"
ExternalAppApiMismatch = "API eltérés"
ExternalAppExecError = "A fájl nem futtatható"
7 changes: 0 additions & 7 deletions apps/external/base.it.i18n
Original file line number Diff line number Diff line change
@@ -1,9 +1,2 @@
ExternalApp = "External"
ExternalAppCapital = "EXTERNAL"
ExternalAppApiMismatch = "API mismatch"
ExternalAppExecError = "Cannot execute file"
ExternalNotCompatible = "External is not compatible"
WithSimulator = "with the simulator"
WithN0100 = "with n0100"
GetMoreAppsAt = "Get more apps at"
NoAppsInstalled = "No apps installed"
7 changes: 0 additions & 7 deletions apps/external/base.nl.i18n
Original file line number Diff line number Diff line change
@@ -1,9 +1,2 @@
ExternalApp = "External"
ExternalAppCapital = "EXTERNAL"
ExternalAppApiMismatch = "API mismatch"
ExternalAppExecError = "Cannot execute file"
ExternalNotCompatible = "External is not compatible"
WithSimulator = "with the simulator"
WithN0100 = "with n0100"
GetMoreAppsAt = "Get more apps at"
NoAppsInstalled = "No apps installed"
7 changes: 0 additions & 7 deletions apps/external/base.pt.i18n
Original file line number Diff line number Diff line change
@@ -1,9 +1,2 @@
ExternalApp = "External"
ExternalAppCapital = "EXTERNAL"
ExternalAppApiMismatch = "API mismatch"
ExternalAppExecError = "Cannot execute file"
ExternalNotCompatible = "Externo no es compatiblee"
WithSimulator = "con el simulador"
WithN0100 = "con n0100"
GetMoreAppsAt = "Obtenga más aplicaciones en"
NoAppsInstalled = "No hay aplicaciones instaladas"
1 change: 0 additions & 1 deletion apps/external/base.universal.i18n
Original file line number Diff line number Diff line change
@@ -1 +0,0 @@
URL = "zardam.github.io/nw-external-apps/"
Loading