[wp-polyglots] build.sh updated for gettext theme and branches
Kimmo Suominen
kim at tac.nyc.ny.us
Sat Mar 19 17:03:59 GMT 2005
Hi!
I've updated build.sh to package the gettext theme when a theme
directory for a language and charset does not exist, but there is a
corresponding theme-*.po file for it.
If neither a theme directory nor a theme po file is found, the original
default theme is packaged (as it is not overwritten).
I also taught the script about branches, as the fi_FI trunk is already
tracking 1.5.1-alpha (so I can still build 1.5 packages). I'm using
branches named after the version, so for 1.5 I created branches/1.5:
cd .../fi_FI
svn copy trunk branches/1.5
You can now also point the script at a top-level svn checkout directory
and it will process all the languages found in it.
I'm including verbose results below, so you can check that a gettext
theme was used where intended. As before, there are WARNING lines
pointing out "missing" items.
The build.sh script is here:
http://svn.automattic.com/wordpress-i18n/fi_FI/trunk/build.sh
Would the repository sheriffs feel comfortable giving me (ruckus) wider
commit access, so I can move the script to tools/trunk, where it should
probably live. However, I'd like to keep developing it, which is why
I'd like to have it in a part of the repository to which I can commit.
The resulting packages can be found here for inspection:
ftp://ftp.gw.com/pub/people/kim/wordpress/
Regards,
+ Kim
--
<A HREF="http://kimmo.suominen.com/">Kimmo Suominen</A>
beowulf:...kim/wordpress> sh =1/build.sh -v -v -b 1.5 -d wordpress-1.5.tar.gz -r ~/tmp/wordpress-i18n
Using trunk for bg_BG
WARNING: bg_BG: theme/default is missing
WARNING: bg_BG: dist is missing
Created: /pub/people/kim/wordpress/wordpress-1.5-bg_BG.tar.gz
Created: /pub/people/kim/wordpress/wordpress-1.5-bg_BG.zip
WARNING: bg_BG: theme/windows-1251/default is missing
WARNING: bg_BG: dist/windows-1251 is missing
Created: /pub/people/kim/wordpress/wordpress-1.5-bg_BG.windows-1251.tar.gz
Created: /pub/people/kim/wordpress/wordpress-1.5-bg_BG.windows-1251.zip
Using trunk for cs_CZ
WARNING: cs_CZ: theme/default is missing
Created: /pub/people/kim/wordpress/wordpress-1.5-cs_CZ.tar.gz
Created: /pub/people/kim/wordpress/wordpress-1.5-cs_CZ.zip
Using trunk for cy
Using gettext theme (theme-cy.po)
Created: /pub/people/kim/wordpress/wordpress-1.5-cy.tar.gz
Created: /pub/people/kim/wordpress/wordpress-1.5-cy.zip
Using trunk for da_DK
Created: /pub/people/kim/wordpress/wordpress-1.5-da_DK.tar.gz
Created: /pub/people/kim/wordpress/wordpress-1.5-da_DK.zip
Using trunk for de_DE
WARNING: de_DE: theme/default is missing
WARNING: de_DE: dist is missing
Created: /pub/people/kim/wordpress/wordpress-1.5-de_DE.tar.gz
Created: /pub/people/kim/wordpress/wordpress-1.5-de_DE.zip
Using trunk for eo
Created: /pub/people/kim/wordpress/wordpress-1.5-eo.tar.gz
Created: /pub/people/kim/wordpress/wordpress-1.5-eo.zip
Using trunk for es_ES
WARNING: es_ES: theme/default is missing
WARNING: es_ES: dist is missing
Created: /pub/people/kim/wordpress/wordpress-1.5-es_ES.tar.gz
Created: /pub/people/kim/wordpress/wordpress-1.5-es_ES.zip
Using trunk for fa
Created: /pub/people/kim/wordpress/wordpress-1.5-fa.tar.gz
Created: /pub/people/kim/wordpress/wordpress-1.5-fa.zip
Using branch 1.5 for fi_FI
Created: /pub/people/kim/wordpress/wordpress-1.5-fi_FI.tar.gz
Created: /pub/people/kim/wordpress/wordpress-1.5-fi_FI.zip
Using trunk for fr_BE
Using trunk for fr_FR
Created: /pub/people/kim/wordpress/wordpress-1.5-fr_FR.tar.gz
Created: /pub/people/kim/wordpress/wordpress-1.5-fr_FR.zip
Using trunk for hu_HU
Using trunk for it_IT
WARNING: it_IT: theme/default is missing
Created: /pub/people/kim/wordpress/wordpress-1.5-it_IT.tar.gz
Created: /pub/people/kim/wordpress/wordpress-1.5-it_IT.zip
Using trunk for ja_JP
Created: /pub/people/kim/wordpress/wordpress-1.5-ja_JP.UTF-8.tar.gz
Created: /pub/people/kim/wordpress/wordpress-1.5-ja_JP.UTF-8.zip
Using trunk for nb_NO
Using trunk for nn_NO
Using trunk for pl_PL
WARNING: pl_PL: theme/ISO-8859-2/default is missing
WARNING: pl_PL: dist/ISO-8859-2 is missing
Created: /pub/people/kim/wordpress/wordpress-1.5-pl_PL.ISO-8859-2.tar.gz
Created: /pub/people/kim/wordpress/wordpress-1.5-pl_PL.ISO-8859-2.zip
WARNING: pl_PL: dist is missing
Created: /pub/people/kim/wordpress/wordpress-1.5-pl_PL.tar.gz
Created: /pub/people/kim/wordpress/wordpress-1.5-pl_PL.zip
Skipped: /u/kim/tmp/wordpress-i18n/pot/trunk
Using trunk for pt_BR
Created: /pub/people/kim/wordpress/wordpress-1.5-pt_BR.tar.gz
Created: /pub/people/kim/wordpress/wordpress-1.5-pt_BR.zip
Using trunk for sr_CS
Created: /pub/people/kim/wordpress/wordpress-1.5-sr_CS.tar.gz
Created: /pub/people/kim/wordpress/wordpress-1.5-sr_CS.zip
Using trunk for sr_CS at Latn
Using trunk for sv_SE
WARNING: sv_SE: theme/ISO-8859-1/default is missing
WARNING: sv_SE: dist/ISO-8859-1 is missing
Created: /pub/people/kim/wordpress/wordpress-1.5-sv_SE.ISO-8859-1.tar.gz
Created: /pub/people/kim/wordpress/wordpress-1.5-sv_SE.ISO-8859-1.zip
WARNING: sv_SE: theme/UTF-8/default is missing
WARNING: sv_SE: dist/UTF-8 is missing
Created: /pub/people/kim/wordpress/wordpress-1.5-sv_SE.UTF-8.tar.gz
Created: /pub/people/kim/wordpress/wordpress-1.5-sv_SE.UTF-8.zip
Skipped: /u/kim/tmp/wordpress-i18n/theme/trunk
Skipped: /u/kim/tmp/wordpress-i18n/tools/trunk
Using trunk for zh_CN
More information about the wp-polyglots
mailing list