Commit graph

124 commits

Author SHA1 Message Date
Hannu Nyman
a2bf02382e zoneinfo2lua.pl: fix path, update to match trunk
Fix the path to timezone data in Luci to match the current structure.
Change zoneinfo2lua.pl to generate short copyright messages like trunk.
Change the advice on line 3 about directory, where this script
should be run.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2015-04-19 11:02:52 +03:00
Hannu Nyman
177bd6edf1 build: Backport "generate strictly increasing git revisions"
Enhance luci-0.12's build/mkrevision.sh by backporting
the code to generate strictly increasing git revisions:
0856030c79

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2014-11-15 12:11:46 +02:00
Jo-Philipp Wich
5a458b34e4 build: rewrite mkversion.sh to use git metadata (#239)
The current build/mkversion.sh still expected an SVN repository layout,
rewrite it to derive tags and branchnames from git metadata.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2014-11-01 09:55:17 +01:00
Jo-Philipp Wich
91ac51d693 build: preserve original .po header when updating from templates to reduce diff noise
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2014-06-13 09:40:43 +00:00
Jo-Philipp Wich
d733688ce5 build: adjust mkbasepot.sh after modules/base merge
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2014-06-13 09:40:40 +00:00
Jo-Philipp Wich
cf99c53a74 build: add mkrevision.sh helper script which properly infers the revision from either svn, git-svn or git work copies 2013-03-25 11:05:34 +00:00
Jo-Philipp Wich
ffec6bd451 build: remove two obsolete scripts 2012-12-18 14:20:10 +00:00
Daniel Golle
8da6c1a49f properly support git in build/i18n-init.sh 2012-11-20 11:42:35 +00:00
Jo-Philipp Wich
30a0e92e22 build: i18n-sync.sh: also recreate base.pot 2012-07-01 22:58:17 +00:00
Jo-Philipp Wich
0b0df324bf build: fixup header order in i18n-update.pl to minimize diffs to pootle 2012-07-01 22:46:49 +00:00
Jo-Philipp Wich
3944cdaac4 build: add i18n-sync.sh, a script to automatically sync most translations 2012-06-27 18:02:50 +00:00
Jo-Philipp Wich
c60254089d build: escape backslashes in i18n strings 2012-04-22 14:29:00 +00:00
Jo-Philipp Wich
0231c25655 build/i18n-init.sh: add git support
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
2012-04-06 09:44:46 +00:00
Jo-Philipp Wich
ec79d9318d build/i18n-init.sh: allow to use custom pattern for template files
This allows to initialize language files for individual modules.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
2012-04-06 09:44:43 +00:00
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