File tree Expand file tree Collapse file tree 2 files changed +35
-1
lines changed
Expand file tree Collapse file tree 2 files changed +35
-1
lines changed Original file line number Diff line number Diff line change 11sources :
2+ - name : glibc
3+ subdir : ports
4+ git : ' https://sourceware.org/git/glibc.git'
5+ tag : ' glibc-2.42'
6+ version : ' 2.42'
7+ tools_required :
8+ - host-automake-v1.15
9+ regenerate :
10+ - args : ['cp',
11+ ' @BUILD_ROOT@/tools/host-automake-v1.15/share/automake-1.15/config.sub' ,
12+ ' @THIS_SOURCE_DIR@/scripts/' ]
13+
214 - name : mlibc
315 git : ' https://github.com/managarm/mlibc.git'
416 branch : ' master'
@@ -168,6 +180,27 @@ tools:
168180 - args : ['ninja', 'install']
169181
170182packages :
183+ - name : locale-data
184+ labels : [aarch64, riscv64]
185+ architecture : noarch
186+ metadata :
187+ summary : localization data
188+ description : This package provides locale definitions as generated by glibc's localedef.
189+ spdx : ' LGPL-2.1-or-later'
190+ website : ' https://www.gnu.org/software/libc/'
191+ maintainer : " no92 <leo@managarm.org>"
192+ categories : ['managarm-libc']
193+ from_source : ' glibc'
194+ revision : 1
195+ build :
196+ - args : ['mkdir', '-p', '@THIS_COLLECT_DIR@/usr/lib/locale/']
197+ - args : |
198+ for lang in C en_US; do
199+ localedef -fUTF-8 -i $lang --prefix=@THIS_COLLECT_DIR@ --no-archive $lang.utf8;
200+ done
201+ environ:
202+ I18NPATH: '@THIS_SOURCE_DIR@/localedata/'
203+
171204 - name : libdrm-headers
172205 labels : [aarch64, riscv64]
173206 architecture : ' @OPTION:arch@'
Original file line number Diff line number Diff line change @@ -60,7 +60,8 @@ packages:
6060 - usbutils
6161 - libgcc
6262 - libstdc++
63- revision : 11
63+ - locale-data
64+ revision : 12
6465 configure : []
6566 build : []
6667
You can’t perform that action at this time.
0 commit comments