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
510368b4
Commit
510368b4
authored
Jul 22, 2016
by
Sylvia van Os
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add recipe for i18n support
parent
e2c3f25b
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
36 additions
and
1 deletion
+36
-1
asteroid-image.bbclass
classes/asteroid-image.bbclass
+1
-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 @
510368b4
...
...
@@ -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/supported-languages/supported-languages/locale.conf
0 → 100644
View file @
510368b4
# This is the default locale
LANG
=
en_GB
.
utf8
recipes-asteroid/supported-languages/supported-languages/localeEnv.conf
0 → 100644
View file @
510368b4
[
Service
]
EnvironmentFile
=/
var
/
lib
/
environment
/
ceres
/
locale
.
conf
recipes-asteroid/supported-languages/supported-languages_git.bb
0 → 100644
View file @
510368b4
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