Commit 2f25f785 authored by Dmitry Blinov's avatar Dmitry Blinov

use newer pwr version

parent 86a316dd
......@@ -288,8 +288,8 @@ recipe = slapos.recipe.cmmi
#url = https://github.com/siamect/proview/archive/cc5abd7852b38ae8007d8eedb36acc3a38e4b90d.tar.gz
#md5sum = 909c8543811cb8d84d0d7d81cba6ca96
#url = https://github.com/Houkime/proview/archive/slapos-adapt.zip
url = https://github.com/Houkime/proview/archive/2de7ba0ec012d3c0cba74b3b207c47fe7e44df4f.zip
md5sum = d6aeacbd66d66e855061fdc1caf8a466
url = https://github.com/Houkime/proview/archive/961a493a0ae05c168cbddb7d102a9e7108e7c6ff.zip
md5sum = 8466f126f83555b19e1dce5145092c56
#url = https://github.com/siamect/proview/archive/63dcc19e71741468e2484ea526db1a54601f4319.zip
#md5sum = 1e2d6903bd0e1fe5460948e867740323
# XXX - this URL is same as above URL but folder we reduced the folder name to simply pwr. This solve the problem of path too long.
......@@ -314,32 +314,8 @@ configure-command =
sed -i "s#aroot=/usr/local/adm#aroot=${:aroot}#" ${:compile-dir}/build.sh
sed -i "s#(cross_compile)#(cross_compile) ${:rpaths} #" ${:compile-dir}/xtt/exe/wb_ge/qt/link_rule.mk
sed -i "/chmod a+x pkg_unpack.sh/a sed -i '/USER/,\$d' pkg_unpack.sh" ${:compile-dir}/src/exp/com/src/pwr_pkg.sh
sed -i 's/strcpy(ctx->rw->attr_typeref, \&ctx->rw->attr_typeref\[strlen("pwr_etype_")\])/memmove(ctx->rw->attr_typeref, \&ctx->rw->attr_typeref\[strlen("pwr_etype_")\],strlen(\&ctx->rw->attr_typeref\[strlen("pwr_etype_")\])+1)/' ${:compile-dir}/src/exe/co_convert/src/cnv_wbltoh.cpp
sed -i '/strcpy($/d' ${:compile-dir}/src/exe/co_convert/src/cnv_wbltoh.cpp
sed -i 's/ctx->rw->attr_typeref, \&ctx->rw->attr_typeref\[strlen("pwr_etypedef_")\])/memmove(ctx->rw->attr_typeref, \&ctx->rw->attr_typeref\[strlen("pwr_etypedef_")\], strlen(\&ctx->rw->attr_typeref\[strlen("pwr_etypedef_")\])+1)/' ${:compile-dir}/src/exe/co_convert/src/cnv_wbltoh.cpp
sed -i "s#cflags := \$(cross_compile) -c#cflags := \$(cross_compile) ${:sanitizer-flags} ${:incdir} -c#" ${:compile-dir}/src/tools/bld/src/variables.mk
sed -i "s#linkflags := \$(cross_compile) #linkflags := \$(cross_compile) ${:sanitizer-flags} ${:rpaths} #" ${:compile-dir}/src/tools/bld/src/variables.mk
sed -i "s#cxxflags := \$(cflags)#cxxflags := -std=gnu++11 \$(cflags)#" ${:compile-dir}/src/tools/bld/src/variables.mk
sed -i "s#\$(\$(pred))#\$(shell expr \$(word) - 1)#" ${:compile-dir}/src/tools/pwre/src/dir_symbols.mk
sed -i "s#typedef char cnv_tName\[200\]#typedef char cnv_tName\[300\]#" ${:compile-dir}/src/exe/co_convert/src/co_convert.cpp
sed -i "s#char file_name\[200\]#char file_name\[400\]#" ${:compile-dir}/wb/lib/wb/src/wb_wblfile.h
sed -i "s#efine pwr_cSizCmd 399#efine pwr_cSizCmd 799#" ${:compile-dir}/src/exp/inc/src/pwr.h
sed -i "s#efine pwr_cSizFileName 255#efine pwr_cSizFileName 455#" ${:compile-dir}/src/exp/inc/src/pwr.h
sed -i "s#efine DCLI_CMD_SIZE 400#efine DCLI_CMD_SIZE 800#" ${:compile-dir}/src/lib/co/src/co_dcli.h
sed -i "s#efine DCLI_QUAL_SIZE 400#efine DCLI_QUAL_SIZE 800#" ${:compile-dir}/src/lib/co/src/co_dcli.h
sed -i "s#efine DCLI_SYM_KEY_SIZE 200#efine DCLI_SYM_KEY_SIZE 400#" ${:compile-dir}/src/lib/co/src/co_dcli.h
sed -i "s#efine DCLI_SYM_VALUE_SIZE 200#efine DCLI_SYM_VALUE_SIZE 400#" ${:compile-dir}/src/lib/co/src/co_dcli.h
sed -i "s#char filename\[120\]#char filename\[400\]#" ${:compile-dir}/src/lib/co/src/co_dcli.h
sed -i "s#char dcli_qual_str\[10\]\[2\]\[400\]#char dcli_qual_str\[10\]\[2\]\[800\]#" ${:compile-dir}/src/lib/co/src/co_dcli.c
sed -i "s#200#400#g" ${:compile-dir}/src/lib/co/src/co_dcli_dir.c
sed -i "s#200#400#g" ${:compile-dir}/src/lib/co/src/co_dcli_file.cpp
sed -i "s#char cmd_array\[10\]\[400\]#char cmd_array\[10\]\[800\]#" ${:compile-dir}/wb/exe/wb_cmd/src/wb_cmd_main.cpp
sed -i "s#char dir\[120\]#char dir\[400\]#" ${:compile-dir}/src/exe/co_convert/src/*
sed -i "s#char current_file\[200\]#char current_file\[400\]#" ${:compile-dir}/src/exe/co_convert/src/*
sed -i "s#char source_dir\[200\]#char source_dir\[400\]#" ${:compile-dir}/src/exe/co_convert/src/*
sed -i "s#char directory\[80\]#char directory\[400\]#" ${:compile-dir}/src/exe/co_convert/src/*
sed -i "s#char filename\[120\]#char filename\[400\]#" ${:compile-dir}/src/exe/co_convert/src/*
sed -i "s#if (str\[strlen(str) - 1\] == '|')#if (strlen(str) \&\& str\[strlen(str) - 1\] == '|')#" ${:compile-dir}/src/exe/co_convert/src/cnv_readwbl.cpp
sed -i 's#@_") \&\&#@_ --trace -w") \&\&#' ${:compile-dir}/src/tools/pwre/src/pwre.pl
#sed -i "s#pwre build_all_modules \$gui#pwre build -v all \$gui#" ${:compile-dir}/build.sh
sed -i "s#gui=\"gtk\"#gui=\"qt\"#" ${:compile-dir}/build.sh
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment