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" \
465 if [ $?
-ne 0 ]; then
466 beautify message FAIL
467 exiterror
"chroot error"
473 ############################################################################
475 # Necessary shell functions #
477 ############################################################################
479 # Common checking before entering the chroot and compilling
481 # Return:0 caller can continue
482 # :1 skip (nothing to do)
483 # or fail if no script file found
488 if [ ! -f $BASEDIR/lfs
/$1 ]; then
489 exiterror
"No such file or directory: $BASEDIR/$1"
492 local PKG_VER
=`get_pkg_ver $BASEDIR/lfs/$1`
493 beautify make_pkg
"$PKG_VER $*"
495 # Check if this package is supported by our architecture.
496 # If no SUP_ARCH is found, we assume the package can be built for all.
497 if grep "^SUP_ARCH" ${BASEDIR}/lfs
/${1} >/dev
/null
; then
498 # Check if package supports ${MACHINE} or all architectures.
499 if ! grep -E "^SUP_ARCH.*${MACHINE}|^SUP_ARCH.*all" ${BASEDIR}/lfs/${1} >/dev/null; then
507 for i in $SKIP_PACKAGE_LIST
509 if [ "$i" == "$1" ]; then
515 echo -ne "`date -u '+%b %e %T'`: Building $
* " >> $LOGFILE
517 cd $BASEDIR/lfs && make -s -f $* LFS_BASEDIR=$BASEDIR MACHINE=$MACHINE \
518 MACHINE_TYPE="$MACHINE_TYPE" \
519 MESSAGE="$1\t " download >> $LOGFILE 2>&1
520 if [ $? -ne 0 ]; then
521 exiterror "Download error
in $1"
524 cd $BASEDIR/lfs && make -s -f $* LFS_BASEDIR=$BASEDIR MACHINE=$MACHINE \
525 MACHINE_TYPE="$MACHINE_TYPE" \
526 MESSAGE="$1\t md5sum" md5 >> $LOGFILE 2>&1
527 if [ $? -ne 0 ]; then
528 exiterror "md5sum error
in $1, check
file in cache or signature
"
532 } # End of lfsmakecommoncheck()
535 lfsmakecommoncheck $*
536 [ $? == 1 ] && return 0
538 local PKG_TIME_START=`date +%s`
540 cd $BASEDIR/lfs && make -f $* BUILDTARGET=$BUILDTARGET \
541 CROSSTARGET="${CROSSTARGET}" \
543 MACHINE_TYPE=$MACHINE_TYPE \
544 LFS_BASEDIR=$BASEDIR \
547 MAKETUNING=$MAKETUNING \
548 install >> $LOGFILE 2>&1
549 local COMPILE_SUCCESS=$?
550 local PKG_TIME_END=`date +%s`
552 if [ $COMPILE_SUCCESS -ne 0 ]; then
553 beautify result FAIL $[ $PKG_TIME_END - $PKG_TIME_START ]
554 exiterror "Building $
*";
556 beautify result DONE $[ $PKG_TIME_END - $PKG_TIME_START ]
563 lfsmakecommoncheck $*
564 [ $? == 1 ] && return 0
566 # Install QEMU helper, if needed
569 local PKG_TIME_START=`date +%s`
570 chroot $LFS /tools/bin/env -i HOME=/root \
571 TERM=$TERM PS1='\u:\w\$ ' \
572 PATH=/tools/ccache/bin:/bin:/usr/bin:/sbin:/usr/sbin:/tools/bin \
573 VERSION=$VERSION PAKFIRE_CORE="${PAKFIRE_CORE}" \
574 SYSTEM_RELEASE="${SYSTEM_RELEASE}" \
575 CONFIG_ROOT=$CONFIG_ROOT \
576 NAME="$NAME" SNAME="$SNAME" SLOGAN="$SLOGAN" \
577 CFLAGS="$C2FLAGS" CXXFLAGS="$CXX2FLAGS" \
578 CCACHE_DIR=/usr/src/ccache CCACHE_COMPRESS=1 \
579 CCACHE_COMPILERCHECK="none
" \
580 KVER=$KVER MAKETUNING=$MAKETUNING \
581 BUILDTARGET="$BUILDTARGET" \
582 CROSSTARGET="${CROSSTARGET}" \
584 MACHINE_TYPE="$MACHINE_TYPE" \
587 /tools/bin/bash -x -c "cd /usr
/src
/lfs
&& \
588 make -f $
* LFS_BASEDIR
=/usr
/src
install" >>$LOGFILE 2>&1
589 local COMPILE_SUCCESS=$?
590 local PKG_TIME_END=`date +%s`
592 if [ $COMPILE_SUCCESS -ne 0 ]; then
593 beautify result FAIL $[ $PKG_TIME_END - $PKG_TIME_START ]
594 exiterror "Building $
*";
596 beautify result DONE $[ $PKG_TIME_END - $PKG_TIME_START ]
603 lfsmakecommoncheck $*
604 [ $? == 1 ] && return 0
606 # Install QEMU helper, if needed
609 local PKG_TIME_START=`date +%s`
610 chroot $LFS /tools/bin/env -i HOME=/root \
611 TERM=$TERM PS1='\u:\w\$ ' \
612 PATH=/tools/ccache/bin:/bin:/usr/bin:/sbin:/usr/sbin \
615 CONFIG_ROOT=$CONFIG_ROOT \
616 NAME="$NAME" SNAME="$SNAME" SLOGAN="$SLOGAN" \
617 SYSTEM_RELEASE="$SYSTEM_RELEASE" \
618 CFLAGS="$C2FLAGS" CXXFLAGS="$CXX2FLAGS" \
619 CCACHE_DIR=/usr/src/ccache CCACHE_COMPRESS=1 \
620 CCACHE_COMPILERCHECK="none
" \
621 KVER=$KVER MAKETUNING=$MAKETUNING \
622 BUILDTARGET="$BUILDTARGET" \
623 CROSSTARGET="${CROSSTARGET}" \
625 MACHINE_TYPE="$MACHINE_TYPE" \
628 /bin/bash -x -c "cd /usr
/src
/lfs
&& \
629 make -f $
* LFS_BASEDIR
=/usr
/src
install" >>$LOGFILE 2>&1
631 local COMPILE_SUCCESS=$?
632 local PKG_TIME_END=`date +%s`
634 if [ $COMPILE_SUCCESS -ne 0 ]; then
635 beautify result FAIL $[ $PKG_TIME_END - $PKG_TIME_START ]
636 exiterror "Building $
*";
638 beautify result DONE $[ $PKG_TIME_END - $PKG_TIME_START ]
644 lfsmakecommoncheck $*
645 [ $? == 1 ] && return 0
647 # Install QEMU helper, if needed
650 local PKG_TIME_START=`date +%s`
651 chroot $LFS /tools/bin/env -i HOME=/root \
652 TERM=$TERM PS1='\u:\w\$ ' \
653 PATH=/tools/ccache/bin:/bin:/usr/bin:/sbin:/usr/sbin \
655 CONFIG_ROOT=$CONFIG_ROOT \
656 NAME="$NAME" SNAME="$SNAME" SLOGAN="$SLOGAN" \
657 CFLAGS="$C2FLAGS" CXXFLAGS="$CXX2FLAGS" \
658 CCACHE_DIR=/usr/src/ccache CCACHE_COMPRESS=1 \
659 CCACHE_COMPILERCHECK="none
" \
661 BUILDTARGET="$BUILDTARGET" \
662 CROSSTARGET="${CROSSTARGET}" \
664 MACHINE_TYPE="$MACHINE_TYPE" \
667 /bin/bash -x -c "cd /usr
/src
/lfs
&& \
668 make -f $1 LFS_BASEDIR
=/usr
/src dist
" >>$LOGFILE 2>&1
670 local COMPILE_SUCCESS=$?
671 local PKG_TIME_END=`date +%s`
673 if [ $COMPILE_SUCCESS -ne 0 ]; then
674 beautify result FAIL $[ $PKG_TIME_END - $PKG_TIME_START ]
675 exiterror "Packaging $
*";
677 beautify result DONE $[ $PKG_TIME_END - $PKG_TIME_START ]
683 lfsmakecommoncheck $*
684 [ $? == 1 ] && return 0
686 # Install QEMU helper, if needed
689 local PKG_TIME_START=`date +%s`
690 chroot $LFS /tools/bin/env -i HOME=/root \
691 TERM=$TERM PS1='\u:\w\$ ' \
692 PATH=/tools/ccache/bin:/bin:/usr/bin:/sbin:/usr/sbin \
694 SYSTEM_RELEASE="${SYSTEM_RELEASE}" \
695 CONFIG_ROOT=$CONFIG_ROOT \
696 NAME="$NAME" SNAME="$SNAME" SLOGAN="$SLOGAN" \
697 CFLAGS="-Os" CXXFLAGS="-Os" \
698 CCACHE_DIR=/usr/src/ccache CCACHE_COMPRESS=1 CCACHE_HASHDIR=1 \
700 BUILDTARGET="$BUILDTARGET" \
701 CROSSTARGET="${CROSSTARGET}" \
703 MACHINE_TYPE="$MACHINE_TYPE" \
704 LD_LIBRARY_PATH=/tools/lib \
705 /tools/bin/bash -x -c "cd /usr
/src
/lfs
&& \
706 /tools
/bin
/make -f $
* LFS_BASEDIR
=/usr
/src
install" >>$LOGFILE 2>&1
708 local COMPILE_SUCCESS=$?
709 local PKG_TIME_END=`date +%s`
711 if [ $COMPILE_SUCCESS -ne 0 ]; then
712 beautify result FAIL $[ $PKG_TIME_END - $PKG_TIME_START ]
713 exiterror "Building $
*";
715 beautify result DONE $[ $PKG_TIME_END - $PKG_TIME_START ]
721 echo -ne "Checking the translations
for missing or obsolete
strings...
"
722 chmod 755 $BASEDIR/tools/{check_strings.pl,sort_strings.pl,check_langs.sh}
723 $BASEDIR/tools/sort_strings.pl en
724 $BASEDIR/tools/sort_strings.pl de
725 $BASEDIR/tools/sort_strings.pl fr
726 $BASEDIR/tools/sort_strings.pl es
727 $BASEDIR/tools/sort_strings.pl pl
728 $BASEDIR/tools/sort_strings.pl ru
729 $BASEDIR/tools/sort_strings.pl nl
730 $BASEDIR/tools/sort_strings.pl tr
731 $BASEDIR/tools/check_strings.pl en > $BASEDIR/doc/language_issues.en
732 $BASEDIR/tools/check_strings.pl de > $BASEDIR/doc/language_issues.de
733 $BASEDIR/tools/check_strings.pl fr > $BASEDIR/doc/language_issues.fr
734 $BASEDIR/tools/check_strings.pl es > $BASEDIR/doc/language_issues.es
735 $BASEDIR/tools/check_strings.pl es > $BASEDIR/doc/language_issues.pl
736 $BASEDIR/tools/check_strings.pl ru > $BASEDIR/doc/language_issues.ru
737 $BASEDIR/tools/check_strings.pl nl > $BASEDIR/doc/language_issues.nl
738 $BASEDIR/tools/check_strings.pl tr > $BASEDIR/doc/language_issues.tr
739 $BASEDIR/tools/check_langs.sh > $BASEDIR/doc/language_missings
740 beautify message DONE