Jo-Philipp Wich
3501cbea52
build: rework checks in i18n-scan.pl
2012-04-03 00:35:54 +00:00
Jo-Philipp Wich
c024eca0fc
build: rework i18n-scan.pl defined checks
2012-04-02 23:57:11 +00:00
Jo-Philipp Wich
14a9306e7d
build/i18n-scan.pl: avoid a possible endless loop
...
Issuing './build/i18n-scan.pl libs/core/' leads to this
endless loop with some perl implementations:
<...>
Use of uninitialized value in concatenation (.) or string at../build/i18n-scan.pl line 69.
substr outside of string at ./build/i18n-scan.pl line 69.
Use of uninitialized value in concatenation (.) or string at ./build/i18n-scan.pl line 69.
substr outside of string at ./build/i18n-scan.pl line 69.
Use of uninitialized value in concatenation (.) or string at ./build/i18n-scan.pl line 69.
substr outside of string at ./build/i18n-scan.pl line 69.
Use of uninitialized value in concatenation (.) or string at ./build/i18n-scan.pl line 69.
substr outside of string at ./build/i18n-scan.pl line 69.
Use of uninitialized value in concatenation (.) or string at ./build/i18n-scan.pl line 69.
substr outside of string at ./build/i18n-scan.pl line 69.
Use of uninitialized value in concatenation (.) or string at ./build/i18n-scan.pl line 69.
substr outside of string at ./build/i18n-scan.pl line 69.
Use of uninitialized value in concatenation (.) or string at ./build/i18n-scan.pl line 69.
substr outside of string at ./build/i18n-scan.pl line 69.
Use of uninitialized value in concatenation (.) or string at ./build/i18n-scan.pl line 69.
substr outside of string at ./build/i18n-scan.pl line 69.
Use of uninitialized value in concatenation (.) or string at ./build/i18n-scan.pl line 69.
substr outside of string at ./build/i18n-scan.pl line 69.
<...>
Experienced with this perl version:
"This is perl, v5.8.8 built for i386-linux"
Fix it by undefining the 'sub' variable if it is an
empty string.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
2012-04-02 22:50:40 +00:00
Jo-Philipp Wich
5dd25cf43e
build: override sys.user.getpasswd and nixio.fs.access in sdk environment
2012-03-13 23:18:13 +00:00
Jo-Philipp Wich
5e86b77294
build: i18n-scan.pl: cope with strings that contain escaped newlines, spotted in luci-pbx
2011-11-05 18:35:54 +00:00
Jo-Philipp Wich
fa9c8e72e8
build: mkbasepot.sh: scan protocols/ as well
2011-10-27 00:46:29 +00:00
Jo-Philipp Wich
158f709af3
build: Bail out the build if any lua compilation fails. (Patch from Fon-NG, http://trac.fonosfera.org/fon-ng/changeset/1867 )
2011-09-03 17:07:38 +00:00
Jo-Philipp Wich
7d73e79c49
build: add i18n-init.sh, a helper script to initalize missing *.po files
2011-05-21 21:22:47 +00:00
Jo-Philipp Wich
9424177aca
build: uvl is dead, remove it
2011-05-04 21:09:04 +00:00
Manuel Munz
32aec7a4f3
modules/freifunk: Set uhttpd.main.rfc1918_filter=0 via uci-defaults/freifunk to allow connections from rfc1918 ip space to public ips
2011-03-03 21:01:17 +00:00
Jo-Philipp Wich
45367dab20
build: fix bashism in hostenv.sh
2011-02-16 19:57:39 +00:00
Jo-Philipp Wich
01ad52f27a
build: better not use a local var, it breaks various shells
2011-01-26 19:12:51 +00:00
Jo-Philipp Wich
e20ac8fed4
build: set LUA_PATH when invoking LuaSrcDiet
2011-01-23 02:04:55 +00:00
Jo-Philipp Wich
db7d37f0af
build: use maximum compression for LuaSrcDiet
2011-01-23 01:55:12 +00:00
Jo-Philipp Wich
03ad47080c
contrib, build: bundle LuaSrcDiet and make it available in build targets
2011-01-23 01:49:54 +00:00
Jo-Philipp Wich
9714667b2a
build: readd both po2lua and lua2po helper scripts...
2011-01-18 20:51:24 +00:00
Jo-Philipp Wich
c78c91b9a9
build: partly revert r6748
2011-01-18 20:47:18 +00:00
Jo-Philipp Wich
72309b798e
build: restore i18n-lua2po.pl and remove i18n-po2lua.pl
2011-01-18 19:10:50 +00:00
Jo-Philipp Wich
4ab2d1017e
build: fix some errors in i18n-scan.pl, support bracketed Lua string notation
2011-01-14 23:23:37 +00:00
Jo-Philipp Wich
939218ae82
build: properly handle i18n tags with whitespace strip tokens in i18n-scan.pl
2011-01-14 22:51:21 +00:00
Jo-Philipp Wich
9ab82c3446
build: remove uvl setup from sdk preloading
2011-01-13 22:29:01 +00:00
Jo-Philipp Wich
6e59e510dd
build: add mkbasepot.sh, convenience script to rebuild base.pot (it sources multiple project parts)
2011-01-13 21:48:38 +00:00
Jo-Philipp Wich
800a263049
build: remove some obsolete support scripts
2011-01-02 19:20:23 +00:00
Jo-Philipp Wich
9fd0276848
build: zoneinfo2lua.pl: rework script to accommodate split tzdata.lua and tzoffset.lua libs
2011-01-02 17:52:06 +00:00
Jo-Philipp Wich
c8bac06623
build: make zoneinfo2lua.pl script more convenient
2011-01-02 17:29:19 +00:00
Manuel Munz
80b5a4b6f8
build/: Replace -or with -o #133
2010-12-11 17:14:13 +00:00
Jo-Philipp Wich
daca626e86
build: add runuhttpd sdk target
2010-04-16 13:38:27 +00:00
Jo-Philipp Wich
5fa8fd228e
build: get version from /etc/openwrt_release if applicable
2010-04-03 19:30:46 +00:00
Jo-Philipp Wich
bf8a7d61cf
[build] drop -Werror, newer gcc versions emit more warnings, stuff might break on some targets
2010-03-02 00:47:47 +00:00
Jo-Philipp Wich
88c1b01caf
build: fix typo in hostenv.sh introduced in r5654
2009-12-29 18:11:39 +00:00
Jo-Philipp Wich
7d0134fedc
build: emulate nixio.sysinfo() on Darwin
2009-12-29 18:09:17 +00:00
Jo-Philipp Wich
a7ec41b283
build: adjust hostenv.sh for OS X
2009-12-28 23:28:44 +00:00
Steven Barth
7aed1e4b9d
NIU: More pages
2009-11-10 16:02:48 +00:00
Jo-Philipp Wich
f5a760168b
all: remove references to old i18n files
2009-11-01 14:24:04 +00:00
Jo-Philipp Wich
e3ac0fd78d
build: fix corner case when extracting i18n tokens from templates
2009-11-01 01:05:28 +00:00
Jo-Philipp Wich
4ad686d732
build: allow multiple search directories in i18n-scan.pl
2009-11-01 01:01:47 +00:00
Jo-Philipp Wich
58b3b2156f
build: update i18n-scan.pl, now reliably finds template and Lua i18n tokens
2009-11-01 00:48:15 +00:00
Jo-Philipp Wich
4a6846f093
build: fix cursor_state() in setup.lua
2009-08-13 04:55:48 +00:00
Jo-Philipp Wich
6dffa9ea56
build/setup.lua: override luci.model.uci.cursor_state() and clean up code
2009-08-13 00:33:46 +00:00
Jo-Philipp Wich
f2b1b113de
build: embed lmo in the build process
2009-07-09 15:05:02 +00:00
Steven Barth
2baab00b19
Ignore checkpasswd locally
2009-06-21 13:42:12 +00:00
Steven Barth
a060a9e135
Fix SDK build process
2009-06-20 07:20:56 +00:00
Jo-Philipp Wich
2ef4b11de9
build: fix po->lua conversion, last po entry was always missing
2009-06-10 23:04:07 +00:00
Steven Barth
8c4f847ea5
GSoC Commit #1 : LuCId + HTTP-Server
2009-05-23 17:21:36 +00:00
Jo-Philipp Wich
bcbaad34e1
build/i18n-update.pl: disable fuzzy maching for po updates, does not work well with our key format
2009-05-19 17:32:27 +00:00
Jo-Philipp Wich
1f3666f722
build: add i18n-update.pl to refresh *.po files from *.pot templates
2009-05-19 17:21:07 +00:00
Jo-Philipp Wich
4274b69a12
build: also prepare i18n directories
2009-05-19 02:50:52 +00:00
Jo-Philipp Wich
de7842fdd3
build: add variable to restrict po language and use it for the core i18n packages
2009-05-19 02:41:14 +00:00
Jo-Philipp Wich
7bf803250b
build: integrate po files in the build system
2009-05-19 02:18:28 +00:00
Jo-Philipp Wich
705f06ef0e
build: revert r4542
2009-05-18 20:54:32 +00:00