Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
meta-nemo
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
NemoMobile
meta-nemo
Commits
bbb2495c
Commit
bbb2495c
authored
Jul 23, 2016
by
Florent Revest
Committed by
GitHub
Jul 23, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #6 from TheLastProject/master
Add i18n support
parents
efe5b78f
81aa87fc
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
45 additions
and
2 deletions
+45
-2
asteroid-image.bbclass
classes/asteroid-image.bbclass
+1
-1
asteroid-calendar_git.bb
recipes-asteroid/asteroid-calendar/asteroid-calendar_git.bb
+1
-0
asteroid-settings_git.bb
recipes-asteroid/asteroid-settings/asteroid-settings_git.bb
+8
-1
locale.conf
...eroid/supported-languages/supported-languages/locale.conf
+2
-0
localeEnv.conf
...id/supported-languages/supported-languages/localeEnv.conf
+2
-0
supported-languages_git.bb
...s-asteroid/supported-languages/supported-languages_git.bb
+31
-0
No files found.
classes/asteroid-image.bbclass
View file @
bbb2495c
...
...
@@ -7,7 +7,7 @@ IMAGE_FEATURES += "splash package-management"
IMAGE_INSTALL += " \
base-files base-passwd shadow systemd tzdata coreutils bash file findutils gawk grep procps psmisc sed util-linux sudo module-init-tools less tar gzip bzip2 \
iproute2 connman bluez5 pulseaudio dropbear qtbase-plugins statefs dsme mce ngfd timed sensorfw android-init mapplauncherd-booster-qtcomponents usb-moded \
asteroid-launcher asteroid-calculator asteroid-calendar asteroid-stopwatch asteroid-settings asteroid-timer asteroid-alarmclock asteroid-btsyncd"
supported-languages
asteroid-launcher asteroid-calculator asteroid-calendar asteroid-stopwatch asteroid-settings asteroid-timer asteroid-alarmclock asteroid-btsyncd"
EXTRA_USERS_PARAMS = "groupadd system; \
groupadd statefs; \
...
...
recipes-asteroid/asteroid-calendar/asteroid-calendar_git.bb
View file @
bbb2495c
...
...
@@ -10,4 +10,5 @@ PV = "+git${SRCREV}"
S = "${WORKDIR}/git"
inherit qmake5
RDEPENDS_${PN} += "qtquickcontrols-qmlplugins"
DEPENDS += "qml-asteroid mapplauncherd-booster-qtcomponents qtquickcontrols"
recipes-asteroid/asteroid-settings/asteroid-settings_git.bb
View file @
bbb2495c
...
...
@@ -11,4 +11,11 @@ S = "${WORKDIR}/git"
inherit qmake5
DEPENDS += "qml-asteroid nemo-qml-plugin-systemsettings nemo-qml-plugin-dbus qtconnectivity mapplauncherd-booster-qtcomponents"
RDEPENDS_${PN} += "qtconnectivity-qmlplugins nemo-qml-plugin-systemsettings nemo-qml-plugin-dbus"
RDEPENDS_${PN} += "qtconnectivity-qmlplugins nemo-qml-plugin-systemsettings nemo-qml-plugin-dbus qtquickcontrols-qmlplugins"
FILES_${PN} += "/usr/share/translations/"
do_install_append() {
lrelease ${S}/asteroid-settings.pro
install -d ${D}/usr/share/translations/
cp ${S}/asteroid-settings.*.qm ${D}/usr/share/translations/
}
recipes-asteroid/supported-languages/supported-languages/locale.conf
0 → 100644
View file @
bbb2495c
# This is the default locale
LANG
=
en_GB
.
utf8
recipes-asteroid/supported-languages/supported-languages/localeEnv.conf
0 → 100644
View file @
bbb2495c
[
Service
]
EnvironmentFile
=/
var
/
lib
/
environment
/
ceres
/
locale
.
conf
recipes-asteroid/supported-languages/supported-languages_git.bb
0 → 100644
View file @
bbb2495c
SUMMARY = "Set of config files describing the languages that are available on AsteroidOS"
HOMEPAGE = "https://github.com/AsteroidOS/supported-languages"
LICENSE = "CC0-1.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=65d3616852dbf7b1a6d4b53b00626032"
SRC_URI = "git://github.com/AsteroidOS/supported-languages.git;protocol=https \
file://locale.conf \
file://localeEnv.conf"
SRCREV = "${AUTOREV}"
PR = "r1"
PV = "+git${SRCREV}"
S = "${WORKDIR}/git"
FILES_${PN} += "/etc/systemd/system/user@.service.d/ /usr/lib/systemd/user/ /usr/share/jolla-supported-languages/"
INSANE_SKIP_${PN} += "host-user-contaminated"
do_install_append() {
install -d ${D}/etc/systemd/system/user@.service.d/
cp ../localeEnv.conf ${D}/etc/systemd/system/user@.service.d/locale.conf
install -d ${D}/var/lib/environment/ceres/
cp ../locale.conf ${D}/var/lib/environment/ceres/locale.conf
# TODO: Ensure this only allows asteroid-settings to write to this file, so
# that others apps cannot set environment variables
chown 1000:1000 ${D}/var/lib/environment/ceres/locale.conf # ceres:ceres
install -d ${D}/usr/share/jolla-supported-languages/
cp ${S}/*.conf ${D}/usr/share/jolla-supported-languages/
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment