2 ###############################################################################
4 # IPFire.org - A linux based firewall #
5 # Copyright (C) 2007-2011 IPFire Team <info@ipfire.org> #
7 # This program is free software: you can redistribute it and/or modify #
8 # it under the terms of the GNU General Public License as published by #
9 # the Free Software Foundation, either version 3 of the License, or #
10 # (at your option) any later version. #
12 # This program is distributed in the hope that it will be useful, #
13 # but WITHOUT ANY WARRANTY; without even the implied warranty of #
14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
15 # GNU General Public License for more details. #
17 # You should have received a copy of the GNU General Public License #
18 # along with this program. If not, see <http://www.gnu.org/licenses/>. #
20 ###############################################################################
21 ###############################################################################
23 # Beautifying variables & presentation & input output interface
25 ###############################################################################
28 # Find current screen size
29 if [ -z "${COLUMNS}" ]; then
31 COLUMNS
=${COLUMNS##* }
34 # When using remote connections, such as a serial port, stty size returns 0
35 if [ "${COLUMNS}" = "0" ]; then
39 ## Measurements for positioning result messages
44 RESULT_COL
=$
((${COLUMNS} - $RESULT_WIDTH - 4))
45 TIME_COL
=$
((${RESULT_COL} - $TIME_WIDTH - 5))
46 OPT_COL
=$
((${TIME_COL} - $OPT_WIDTH - 5))
47 VER_COL
=$
((${OPT_COL} - $VER_WIDTH - 5))
49 ## Set Cursur Position Commands, used via echo -e
50 SET_RESULT_COL
="\\033[${RESULT_COL}G"
51 SET_TIME_COL
="\\033[${TIME_COL}G"
52 SET_OPT_COL
="\\033[${OPT_COL}G"
53 SET_VER_COL
="\\033[${VER_COL}G"
55 # Define color for messages
64 local target_arch
="${1}"
66 if [ "${target_arch}" = "default" ]; then
67 target_arch
="$(configure_target_guess)"
70 case "${target_arch}" in
72 BUILDTARGET
="${TARGET_ARCH}-pc-linux-gnu"
73 CROSSTARGET
="${BUILD_ARCH}-cross-linux-gnu"
74 CFLAGS_ARCH
="-march=i586 -fomit-frame-pointer"
78 BUILDTARGET
="${TARGET_ARCH}-unknown-linux-gnueabi"
79 CROSSTARGET
="${BUILD_ARCH}-cross-linux-gnueabi"
80 CFLAGS_ARCH
="-march=armv5te -mfloat-abi=soft -fomit-frame-pointer"
85 exiterror
"Cannot build for architure ${target_arch}"
89 # Check if the QEMU helper is available if needed.
90 if qemu_is_required
"${target_arch}"; then
91 local qemu_target_helper
="$(qemu_find_target_helper_name "${target_arch}")"
93 if [ -n "${qemu_target_helper}" ]; then
94 QEMU_TARGET_HELPER
="${qemu_target_helper}"
96 exiterror
"Could not find a binfmt_misc helper entry for ${target_arch}"
100 TARGET_ARCH
="${target_arch}"
103 MACHINE
="${TARGET_ARCH}"
105 CFLAGS
="-O2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fPIC"
106 CFLAGS
="${CFLAGS} -fstack-protector-all --param=ssp-buffer-size=4 ${CFLAGS_ARCH}"
109 CXX2FLAGS
="${CXXFLAGS}"
112 configure_target_guess
() {
113 case "${BUILD_ARCH}" in
117 armv7
*|armv6
*|armv5
*)
121 exiterror
"Cannot guess target architecture"
127 if [ "$?" -eq "0" ]; then
128 beautify message DONE
132 beautify message FAIL
134 if [ $EXITCODE -ne "0" ]; then
142 # ARG1=starting position on screen
143 # ARG2=string to be printed
144 # ARG3=offset, negative for left movement, positive for right movement, relative to ARG1
145 # For example if your starting position is column 50 and you want to print Hello three columns to the right
146 # of your starting position, your call will look like this:
147 # position_cursor 50 "Hello" 3 (you'll get the string Hello at position 53 (= 50 + 3)
148 # If on the other hand you want your string "Hello" to end three columns to the left of position 50,
149 # your call will look like this:
150 # position_cursor 50 "Hello" -3 (you'll get the string Hello at position 42 (= 50 - 5 -3)
151 # If you want to start printing at the exact starting location, use offset 0
157 STRING_LENGTH
=${#STRING}
159 if [ ${OFFSET} -lt 0 ]; then
160 COL
=$
((${START} + ${OFFSET} - ${STRING_LENGTH}))
162 COL
=$
((${START} + ${OFFSET}))
165 SET_COL
="\\033[${COL}G"
168 } # End of position_cursor()
173 # Commands: build_stage, make_pkg, message, result
178 echo -ne "${SET_RESULT_COL}[${DONE} DONE ${NORMAL}]\n"
181 echo -ne "${WARN}${3}${NORMAL}${SET_RESULT_COL}[${WARN} WARN ${NORMAL}]\n"
184 echo -ne "${SET_RESULT_COL}[${FAIL} FAIL ${NORMAL}]\n"
187 echo -ne "${SET_RESULT_COL}[${SKIP} SKIP ${NORMAL}]\n"
193 if [ "$STAGE_TIME_START" ]; then
194 LAST_STAGE_TIME
=$
[ `date +%s` - $STAGE_TIME_START ]
196 STAGE_TIME_START
=`date +%s`
197 echo -ne "${BOLD}*** ${MESSAGE}${NORMAL}"
198 if [ "$LAST_STAGE_TIME" ]; then
199 echo -ne "${DONE} (Last stage took $LAST_STAGE_TIME secs)${NORMAL}"
201 echo -ne "${BOLD}${SET_VER_COL} version${SET_OPT_COL} options${SET_TIME_COL} time (sec)${SET_RESULT_COL} status${NORMAL}\n"
204 BUILD_TIME_START
=`date +%s`
207 BUILD_TIME_END
=`date +%s`
208 seconds
=$
[ $BUILD_TIME_END - $BUILD_TIME_START ]
209 hours
=$
((seconds
/ 3600))
210 seconds
=$
((seconds
% 3600))
211 minutes
=$
((seconds
/ 60))
212 seconds
=$
((seconds
% 60))
214 echo -ne "${DONE}***Build is finished now and took $hours hour(s) $minutes minute(s) $seconds second(s)!${NORMAL}\n"
217 echo "$2" |
while read PKG_VER PROGRAM OPTIONS
219 SET_VER_COL_REAL
=`position_cursor $OPT_COL $PKG_VER -3`
221 if [ "$OPTIONS" == "" ]; then
222 echo -ne "${PROGRAM}${SET_VER_COL}[ ${BOLD}${SET_VER_COL_REAL}${PKG_VER}"
223 echo -ne "${NORMAL} ]${SET_RESULT_COL}"
225 echo -ne "${PROGRAM}${SET_VER_COL}[ ${BOLD}${SET_VER_COL_REAL}${PKG_VER}"
226 echo -ne "${NORMAL} ]${SET_OPT_COL}[ ${BOLD}${OPTIONS}"
227 echo -ne "${NORMAL} ]${SET_RESULT_COL}"
240 SET_TIME_COL_REAL
=`position_cursor $RESULT_COL $PKG_TIME -3`
243 echo -ne "${SET_TIME_COL}[ ${BOLD}${SET_TIME_COL_REAL}$PKG_TIME${NORMAL} ]"
244 echo -ne "${SET_RESULT_COL}[${DONE} DONE ${NORMAL}]\n"
247 echo -ne "${SET_TIME_COL}[ ${BOLD}${SET_TIME_COL_REAL}$PKG_TIME${NORMAL} ]"
248 echo -ne "${SET_RESULT_COL}[${FAIL} FAIL ${NORMAL}]\n"
251 echo -ne "${SET_RESULT_COL}[${SKIP} SKIP ${NORMAL}]\n"
256 } # End of beautify()
261 PKG_VER
=`grep -E "^VER |^VER=|^VER " $1 | awk '{print $3}'`
263 if [ -z $PKG_VER ]; then
264 PKG_VER
=`grep "Exp " $1 | awk '{print $4}'`
266 if [ -z $PKG_VER ]; then
269 if [ ${#PKG_VER} -gt $VER_WIDTH ]; then
270 # If a package version number is greater than $VER_WIDTH, we keep the first 4 characters
271 # and replace enough characters to fit the resulting string on the screen. We'll replace
272 # the extra character with .. (two dots). That's why the "+ 2" in the formula below.
273 # Example: if we have a 21-long version number that we want to fit into a 10-long space,
274 # we have to remove 11 characters. But if we replace 11 characters with 2 characters, we'll
275 # end up with a 12-character long string. That's why we replace 12 characters with ..
276 REMOVE
=`expr substr "$PKG_VER" 4 $[ ${#PKG_VER} - $VER_WIDTH + 2 ]`
277 PKG_VER
=`echo ${PKG_VER/$REMOVE/..}`
281 } # End of get_pkg_ver()
285 umount
$BASEDIR/build
/sys
2>/dev
/null
;
286 umount
$BASEDIR/build
/dev
/shm
2>/dev
/null
;
287 umount
$BASEDIR/build
/dev
/pts
2>/dev
/null
;
288 umount
$BASEDIR/build
/dev
2>/dev
/null
;
289 umount
$BASEDIR/build
/proc
2>/dev
/null
;
290 umount
$BASEDIR/build
/install
/mnt
2>/dev
/null
;
291 umount
$BASEDIR/build
/usr
/src
/cache
2>/dev
/null
;
292 umount
$BASEDIR/build
/usr
/src
/ccache
2>/dev
/null
;
293 umount
$BASEDIR/build
/usr
/src
/config
2>/dev
/null
;
294 umount
$BASEDIR/build
/usr
/src
/doc
2>/dev
/null
;
295 umount
$BASEDIR/build
/usr
/src
/html
2>/dev
/null
;
296 umount
$BASEDIR/build
/usr
/src
/langs
2>/dev
/null
;
297 umount
$BASEDIR/build
/usr
/src
/lfs
2>/dev
/null
;
298 umount
$BASEDIR/build
/usr
/src
/log
2>/dev
/null
;
299 umount
$BASEDIR/build
/usr
/src
/src
2>/dev
/null
;
304 for i
in `seq 0 7`; do
305 if ( losetup
/dev
/loop
${i} 2>/dev
/null |
grep -q "/install/images" ); then
306 losetup
-d /dev
/loop
${i} 2>/dev
/null
309 echo -e "\nERROR: $*"
310 echo " Check $LOGFILE for errors if applicable"
315 [ -e "${BASEDIR}/build/tools/lib/libpakfire_preload.so" ] ||
return
317 local env
="LD_PRELOAD=/tools/lib/libpakfire_preload.so"
319 # Fake kernel version, because some of the packages do not compile
320 # with kernel 3.0 and later.
321 env
="${env} UTS_RELEASE=${KVER}"
323 # Fake machine version.
324 env
="${env} UTS_MACHINE=${TARGET_ARCH}"
332 # Don't add anything if qemu is not used.
333 if ! qemu_is_required
; then
337 # Set default qemu options
338 case "${TARGET_ARCH}" in
340 QEMU_CPU
="${QEMU_CPU:-cortex-a9}"
342 env
="${env} QEMU_CPU=${QEMU_CPU}"
347 #env="${env} QEMU_STRACE=1"
353 local target_arch
="${1}"
355 if [ -z "${target_arch}" ]; then
356 target_arch
="${TARGET_ARCH}"
359 case "${BUILD_ARCH},${target_arch}" in
360 x86_64
,arm
*|i?
86,arm
*)
369 qemu_install_helper
() {
370 # Do nothing, if qemu is not required
371 if ! qemu_is_required
; then
375 if [ -z "${QEMU_TARGET_HELPER}" ]; then
376 exiterror
"QEMU_TARGET_HELPER not set"
379 # Check if the helper is already installed.
380 if [ -x "${LFS}${QEMU_TARGET_HELPER}" ]; then
384 # Try to find a suitable binary that we can install
385 # to the build environment.
387 for file in "${QEMU_TARGET_HELPER}" "${QEMU_TARGET_HELPER}-static"; do
388 # file must exist and be executable.
389 [ -x "${file}" ] ||
continue
392 file_is_static
"${file}" ||
continue
394 local dirname="${LFS}$(dirname "${file}")"
395 mkdir
-p "${dirname}"
397 install -m 755 "${file}" "${LFS}${QEMU_TARGET_HELPER}"
401 exiterror
"Could not find a statically-linked QEMU emulator: ${QEMU_TARGET_HELPER}"
404 qemu_find_target_helper_name
() {
405 local target_arch
="${1}"
408 case "${target_arch}" in
410 magic
="7f454c4601010100000000000000000002002800"
414 [ -z "${magic}" ] && return 1
417 for file in /proc
/sys
/fs
/binfmt_misc
/*; do
418 # Search for the file with the correct magic value.
419 grep -qE "^magic ${magic}$" "${file}" ||
continue
421 local interpreter
="$(grep "^interpreter
" "${file}" | awk '{ print $2 }')"
423 [ -n "${interpreter}" ] ||
continue
424 [ "${interpreter:0:1}" = "/" ] ||
continue
425 [ -x "${interpreter}" ] ||
continue
427 echo "${interpreter}"
437 file ${file} 2>/dev
/null |
grep -q "statically linked"
441 if [ ! -e $BASEDIR/build
/usr
/src
/lfs
/ ]; then
442 exiterror
"No such file or directory: $BASEDIR/build/usr/src/lfs/"
445 # Install QEMU helper, if needed
448 echo "Entering to a shell inside LFS chroot, go out with exit"
449 chroot
$LFS /tools
/bin
/env
-i HOME
=/root TERM
=$TERM PS1
='\u:\w\$ ' \
450 PATH
=/tools
/ccache
/bin
:/bin
:/usr
/bin
:/sbin
:/usr
/sbin
:/tools
/bin \
451 VERSION
=$VERSION CONFIG_ROOT
=$CONFIG_ROOT \
452 NAME
="$NAME" SNAME
="$SNAME" SLOGAN
="$SLOGAN" \
453 CFLAGS
="$CF2LAGS" CXXFLAGS
="$CXX2FLAGS" \
454 CCACHE_DIR
=/usr
/src
/ccache \
456 CCACHE_COMPILERCHECK
="none" \
458 BUILDTARGET
="$BUILDTARGET" \
459 CROSSTARGET
="${CROSSTARGET}" \
461 MACHINE_TYPE
="$MACHINE_TYPE" \
462 KGCC
="ccache /usr/bin/gcc" \
466 if [ $?
-ne 0 ]; then
467 beautify message FAIL
468 exiterror
"chroot error"
474 ############################################################################
476 # Necessary shell functions #
478 ############################################################################
480 # Common checking before entering the chroot and compilling
482 # Return:0 caller can continue
483 # :1 skip (nothing to do)
484 # or fail if no script file found
489 if [ ! -f $BASEDIR/lfs
/$1 ]; then
490 exiterror
"No such file or directory: $BASEDIR/$1"
493 local PKG_VER
=`get_pkg_ver $BASEDIR/lfs/$1`
494 beautify make_pkg
"$PKG_VER $*"
496 # Check if this package is supported by our architecture.
497 # If no SUP_ARCH is found, we assume the package can be built for all.
498 if grep "^SUP_ARCH" ${BASEDIR}/lfs
/${1} >/dev
/null
; then
499 # Check if package supports ${MACHINE} or all architectures.
500 if ! grep -E "^SUP_ARCH.*${MACHINE}|^SUP_ARCH.*all" ${BASEDIR}/lfs/${1} >/dev/null; then
508 for i in $SKIP_PACKAGE_LIST
510 if [ "$i" == "$1" ]; then
516 echo -ne "`date -u '+%b %e %T'`: Building $
* " >> $LOGFILE
518 cd $BASEDIR/lfs && make -s -f $* LFS_BASEDIR=$BASEDIR MACHINE=$MACHINE \
519 MACHINE_TYPE="$MACHINE_TYPE" \
520 MESSAGE="$1\t " download >> $LOGFILE 2>&1
521 if [ $? -ne 0 ]; then
522 exiterror "Download error
in $1"
525 cd $BASEDIR/lfs && make -s -f $* LFS_BASEDIR=$BASEDIR MACHINE=$MACHINE \
526 MACHINE_TYPE="$MACHINE_TYPE" \
527 MESSAGE="$1\t md5sum" md5 >> $LOGFILE 2>&1
528 if [ $? -ne 0 ]; then
529 exiterror "md5sum error
in $1, check
file in cache or signature
"
533 } # End of lfsmakecommoncheck()
536 lfsmakecommoncheck $*
537 [ $? == 1 ] && return 0
539 local PKG_TIME_START=`date +%s`
541 cd $BASEDIR/lfs && make -f $* BUILDTARGET=$BUILDTARGET \
542 CROSSTARGET="${CROSSTARGET}" \
544 MACHINE_TYPE=$MACHINE_TYPE \
545 LFS_BASEDIR=$BASEDIR \
548 MAKETUNING=$MAKETUNING \
549 install >> $LOGFILE 2>&1
550 local COMPILE_SUCCESS=$?
551 local PKG_TIME_END=`date +%s`
553 if [ $COMPILE_SUCCESS -ne 0 ]; then
554 beautify result FAIL $[ $PKG_TIME_END - $PKG_TIME_START ]
555 exiterror "Building $
*";
557 beautify result DONE $[ $PKG_TIME_END - $PKG_TIME_START ]
564 lfsmakecommoncheck $*
565 [ $? == 1 ] && return 0
567 # Install QEMU helper, if needed
570 local PKG_TIME_START=`date +%s`
571 chroot $LFS /tools/bin/env -i HOME=/root \
572 TERM=$TERM PS1='\u:\w\$ ' \
573 PATH=/tools/ccache/bin:/bin:/usr/bin:/sbin:/usr/sbin:/tools/bin \
574 VERSION=$VERSION PAKFIRE_CORE="${PAKFIRE_CORE}" \
575 SYSTEM_RELEASE="${SYSTEM_RELEASE}" \
576 CONFIG_ROOT=$CONFIG_ROOT \
577 NAME="$NAME" SNAME="$SNAME" SLOGAN="$SLOGAN" \
578 CFLAGS="$C2FLAGS" CXXFLAGS="$CXX2FLAGS" \
579 CCACHE_DIR=/usr/src/ccache CCACHE_COMPRESS=1 \
580 CCACHE_COMPILERCHECK="none
" \
581 KVER=$KVER MAKETUNING=$MAKETUNING \
582 BUILDTARGET="$BUILDTARGET" \
583 CROSSTARGET="${CROSSTARGET}" \
585 MACHINE_TYPE="$MACHINE_TYPE" \
588 /tools/bin/bash -x -c "cd /usr
/src
/lfs
&& \
589 make -f $
* LFS_BASEDIR
=/usr
/src
install" >>$LOGFILE 2>&1
590 local COMPILE_SUCCESS=$?
591 local PKG_TIME_END=`date +%s`
593 if [ $COMPILE_SUCCESS -ne 0 ]; then
594 beautify result FAIL $[ $PKG_TIME_END - $PKG_TIME_START ]
595 exiterror "Building $
*";
597 beautify result DONE $[ $PKG_TIME_END - $PKG_TIME_START ]
604 lfsmakecommoncheck $*
605 [ $? == 1 ] && return 0
607 # Install QEMU helper, if needed
610 local PKG_TIME_START=`date +%s`
611 chroot $LFS /tools/bin/env -i HOME=/root \
612 TERM=$TERM PS1='\u:\w\$ ' \
613 PATH=/tools/ccache/bin:/bin:/usr/bin:/sbin:/usr/sbin \
616 CONFIG_ROOT=$CONFIG_ROOT \
617 NAME="$NAME" SNAME="$SNAME" SLOGAN="$SLOGAN" \
618 SYSTEM_RELEASE="$SYSTEM_RELEASE" \
619 CFLAGS="$C2FLAGS" CXXFLAGS="$CXX2FLAGS" \
620 CCACHE_DIR=/usr/src/ccache CCACHE_COMPRESS=1 \
621 CCACHE_COMPILERCHECK="none
" \
622 KVER=$KVER MAKETUNING=$MAKETUNING \
623 BUILDTARGET="$BUILDTARGET" \
624 CROSSTARGET="${CROSSTARGET}" \
626 MACHINE_TYPE="$MACHINE_TYPE" \
629 /bin/bash -x -c "cd /usr
/src
/lfs
&& \
630 make -f $
* LFS_BASEDIR
=/usr
/src
install" >>$LOGFILE 2>&1
632 local COMPILE_SUCCESS=$?
633 local PKG_TIME_END=`date +%s`
635 if [ $COMPILE_SUCCESS -ne 0 ]; then
636 beautify result FAIL $[ $PKG_TIME_END - $PKG_TIME_START ]
637 exiterror "Building $
*";
639 beautify result DONE $[ $PKG_TIME_END - $PKG_TIME_START ]
645 lfsmakecommoncheck $*
646 [ $? == 1 ] && return 0
648 # Install QEMU helper, if needed
651 local PKG_TIME_START=`date +%s`
652 chroot $LFS /tools/bin/env -i HOME=/root \
653 TERM=$TERM PS1='\u:\w\$ ' \
654 PATH=/tools/ccache/bin:/bin:/usr/bin:/sbin:/usr/sbin \
656 CONFIG_ROOT=$CONFIG_ROOT \
657 NAME="$NAME" SNAME="$SNAME" SLOGAN="$SLOGAN" \
658 CFLAGS="$C2FLAGS" CXXFLAGS="$CXX2FLAGS" \
659 CCACHE_DIR=/usr/src/ccache CCACHE_COMPRESS=1 \
660 CCACHE_COMPILERCHECK="none
" \
662 BUILDTARGET="$BUILDTARGET" \
663 CROSSTARGET="${CROSSTARGET}" \
665 MACHINE_TYPE="$MACHINE_TYPE" \
668 /bin/bash -x -c "cd /usr
/src
/lfs
&& \
669 make -f $1 LFS_BASEDIR
=/usr
/src dist
" >>$LOGFILE 2>&1
671 local COMPILE_SUCCESS=$?
672 local PKG_TIME_END=`date +%s`
674 if [ $COMPILE_SUCCESS -ne 0 ]; then
675 beautify result FAIL $[ $PKG_TIME_END - $PKG_TIME_START ]
676 exiterror "Packaging $
*";
678 beautify result DONE $[ $PKG_TIME_END - $PKG_TIME_START ]
684 lfsmakecommoncheck $*
685 [ $? == 1 ] && return 0
687 # Install QEMU helper, if needed
690 local PKG_TIME_START=`date +%s`
691 chroot $LFS /tools/bin/env -i HOME=/root \
692 TERM=$TERM PS1='\u:\w\$ ' \
693 PATH=/tools/ccache/bin:/bin:/usr/bin:/sbin:/usr/sbin \
695 SYSTEM_RELEASE="${SYSTEM_RELEASE}" \
696 CONFIG_ROOT=$CONFIG_ROOT \
697 NAME="$NAME" SNAME="$SNAME" SLOGAN="$SLOGAN" \
698 CFLAGS="-Os" CXXFLAGS="-Os" \
699 CCACHE_DIR=/usr/src/ccache CCACHE_COMPRESS=1 CCACHE_HASHDIR=1 \
701 BUILDTARGET="$BUILDTARGET" \
702 CROSSTARGET="${CROSSTARGET}" \
704 MACHINE_TYPE="$MACHINE_TYPE" \
705 LD_LIBRARY_PATH=/tools/lib \
706 /tools/bin/bash -x -c "cd /usr
/src
/lfs
&& \
707 /tools
/bin
/make -f $
* LFS_BASEDIR
=/usr
/src
install" >>$LOGFILE 2>&1
709 local COMPILE_SUCCESS=$?
710 local PKG_TIME_END=`date +%s`
712 if [ $COMPILE_SUCCESS -ne 0 ]; then
713 beautify result FAIL $[ $PKG_TIME_END - $PKG_TIME_START ]
714 exiterror "Building $
*";
716 beautify result DONE $[ $PKG_TIME_END - $PKG_TIME_START ]
722 echo -ne "Checking the translations
for missing or obsolete
strings...
"
723 chmod 755 $BASEDIR/tools/{check_strings.pl,sort_strings.pl,check_langs.sh}
724 $BASEDIR/tools/sort_strings.pl en
725 $BASEDIR/tools/sort_strings.pl de
726 $BASEDIR/tools/sort_strings.pl fr
727 $BASEDIR/tools/sort_strings.pl es
728 $BASEDIR/tools/sort_strings.pl pl
729 $BASEDIR/tools/sort_strings.pl ru
730 $BASEDIR/tools/sort_strings.pl nl
731 $BASEDIR/tools/sort_strings.pl tr
732 $BASEDIR/tools/check_strings.pl en > $BASEDIR/doc/language_issues.en
733 $BASEDIR/tools/check_strings.pl de > $BASEDIR/doc/language_issues.de
734 $BASEDIR/tools/check_strings.pl fr > $BASEDIR/doc/language_issues.fr
735 $BASEDIR/tools/check_strings.pl es > $BASEDIR/doc/language_issues.es
736 $BASEDIR/tools/check_strings.pl es > $BASEDIR/doc/language_issues.pl
737 $BASEDIR/tools/check_strings.pl ru > $BASEDIR/doc/language_issues.ru
738 $BASEDIR/tools/check_strings.pl nl > $BASEDIR/doc/language_issues.nl
739 $BASEDIR/tools/check_strings.pl tr > $BASEDIR/doc/language_issues.tr
740 $BASEDIR/tools/check_langs.sh > $BASEDIR/doc/language_missings
741 beautify message DONE