Mailinglist Archive: opensuse-translation (72 mails)

< Previous Next >
Re: [opensuse-translation] SVN Branching, Online Update, and a small warning (suse-i18n)
  • From: "Carlos E. R." <robin.listas@xxxxxxxxxxxxxx>
  • Date: Wed, 7 Nov 2007 00:08:04 +0100 (CET)
  • Message-id: <alpine.LSU.0.9999.0711062314320.5312@xxxxxxxxxxxxxxxx>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


The Tuesday 2007-11-06 at 13:37 +0100, Karl Eichwalder wrote:

It works similar. Make sure, all the 50-* directories are checked out.

0/ In the top-level lcn directory of the branch, run

autoreconf
./configure

Ok... "autoreconf" fails. I did:


cer@nimrodel:~/Projects/babel/SuSE> svn checkout
https://robin_listas@xxxxxxxxxxxxxxxxxxxx/svn/suse-i18n/branches/openSUSE-10_3-Branch/lcn/
10_3.full/lcn

(that's 1109M! Isn't there a way to download only the needed files with only
one language?)

cer@nimrodel:~/Projects/babel/SuSE> cd 10_3.full/lcn
cer@nimrodel:~/Projects/babel/SuSE/10_3.full/lcn> ls
50-etc 50-pot README bn configure.ac da en_GB et gl hi id
ka lo mr pa pt_BR si sr ta vi zh_CN
50-html 50-tools af bs cs de en_US fi gu hr it
km lt nb pl ro sk sr@Latn tr wa zh_TW
50-memory Makefile.am ar ca cy el es fr he hu ja
ko mk nl pt ru sl sv uk xh zu

cer@nimrodel:~/Projects/babel/SuSE/10_3.full/lcn> autoreconf
/usr/share/aclocal/libstroke.m4:29: warning: underquoted definition of
smr_ARG_WITHLIB
/usr/share/aclocal/libstroke.m4:29: run info '(automake)Extending aclocal'
/usr/share/aclocal/libstroke.m4:29: or see
http://sources.redhat.com/automake/automake.html#Extending-aclocal
configure.ac:5: required file `./missing' not found
configure.ac:5: `automake --add-missing' can install `missing'
configure.ac:5: required file `./install-sh' not found
configure.ac:5: `automake --add-missing' can install `install-sh'
autoreconf: automake failed with exit status: 1
cer@nimrodel:~/Projects/babel/SuSE/10_3.full/lcn>


There is a README with instructions for translators:


] Usage Information for Translators
] =================================
]
] 1/ svn up 50-etc 50-html 50-pot 50-memory $LL
]
] Instead of $LL use your language code!


It seems to need the whole tree.


cer@nimrodel:~/Projects/babel/SuSE/10_3.full/lcn> svn up 50-etc 50-html
50-pot 50-memory es
At revision 21962.
At revision 21962.
At revision 21962.
At revision 21962.
At revision 21962.


] 2/ cd $LL
] ] 3/ make -f Makefile.svn
] ] This step is only required at the very start or if default Makefiles
] changed.


cer@nimrodel:~/Projects/babel/SuSE/10_3.full/lcn> cd es
cer@nimrodel:~/Projects/babel/SuSE/10_3.full/lcn/es> make -f Makefile.svn
for f in top-Makefile.am top-configure.ac top-README; do \
sed "s:@@LL@@:es:;s:@NOEDIT@:\
Do not edit this file. Edit ../50-etc/$f instead.:" ../50-etc/$f \
>${f#top-}; \
done
mkdir -p po && cp ../50-etc/po-Makefile.am po/Makefile.am
autoreconf --force --install
/usr/share/aclocal/libstroke.m4:29: warning: underquoted definition of
smr_ARG_WITHLIB
/usr/share/aclocal/libstroke.m4:29: run info '(automake)Extending aclocal'
/usr/share/aclocal/libstroke.m4:29: or see
http://sources.redhat.com/automake/automake.html#Extending-acloca
configure.ac:7: installing `./missing'
configure.ac:7: installing `./install-sh'
po/Makefile.am:14: shell pwd | sed 's:/po$$::;s:.*/::': non-POSIX variable
name
po/Makefile.am:14: (probably a GNU make extension)
po/Makefile.am:18: wildcard $(POTDIR: non-POSIX variable name
po/Makefile.am:18: (probably a GNU make extension)
po/Makefile.am:20: wildcard $(HTMLDIR: non-POSIX variable name
po/Makefile.am:20: (probably a GNU make extension)
po/Makefile.am:22: subst -html/,-html/html-, $(HPOTS: non-POSIX variable name
po/Makefile.am:22: (probably a GNU make extension)
po/Makefile.am:23: wildcard *.po: non-POSIX variable name
po/Makefile.am:23: (probably a GNU make extension)
po/Makefile.am:24: filter-out $(wildcard update-desktop-files.*.po: non-POSIX
variable name
po/Makefile.am:24: (probably a GNU make extension)
po/Makefile.am:28: shell ls *.po | head -n 1: non-POSIX variable name
po/Makefile.am:28: (probably a GNU make extension)
po/Makefile.am:49: `%'-style pattern rules are a GNU make extension
po/Makefile.am:50: subst .$(LL: non-POSIX variable name
po/Makefile.am:50: (probably a GNU make extension)
cd .. && autoreconf --force --install
/usr/share/aclocal/libstroke.m4:29: warning: underquoted definition of
smr_ARG_WITHLIB
/usr/share/aclocal/libstroke.m4:29: run info '(automake)Extending aclocal'
/usr/share/aclocal/libstroke.m4:29: or see
http://sources.redhat.com/automake/automake.html#Extending-acloca
configure.ac:5: installing `./missing'
configure.ac:5: installing `./install-sh'
./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for msgfmt... msgfmt
checking for msgmerge... msgmerge
checking for msgattrib... msgattrib
checking for msgconv... msgconv
checking for msgcat... msgcat
configure: creating ./config.status
config.status: creating Makefile
config.status: creating po/Makefile
cer@nimrodel:~/Projects/babel/SuSE/10_3.full/lcn/es>



I believe I'm now at the same stage as your instructions, so I switch to your's
instead of the readme.



1/ Copy the files in the branch's po directory of your language.

2/ In your language directory, run

make -f Makefile.svn

3/ make update-po

Ok. I copy over a single file, first (SUSEgreeter.es.po)
[...]
It fails again:

cer@nimrodel:~/Projects/babel/SuSE/10_3.full/lcn/es> time make -f Makefile.svn
for f in top-Makefile.am top-configure.ac top-README; do \
sed "s:@@LL@@:es:;s:@NOEDIT@:\
Do not edit this file. Edit ../50-etc/$f instead.:" ../50-etc/$f \
>${f#top-}; \
done
mkdir -p po && cp ../50-etc/po-Makefile.am po/Makefile.am
autoreconf --force --install
/usr/share/aclocal/libstroke.m4:29: warning: underquoted definition of
smr_ARG_WITHLIB
/usr/share/aclocal/libstroke.m4:29: run info '(automake)Extending aclocal'
/usr/share/aclocal/libstroke.m4:29: or see
http://sources.redhat.com/automake/automake.html#Extending-aclocal
po/Makefile.am:14: shell pwd | sed 's:/po$$::;s:.*/::': non-POSIX variable
name
po/Makefile.am:14: (probably a GNU make extension)
po/Makefile.am:18: wildcard $(POTDIR: non-POSIX variable name
po/Makefile.am:18: (probably a GNU make extension)
po/Makefile.am:20: wildcard $(HTMLDIR: non-POSIX variable name
po/Makefile.am:20: (probably a GNU make extension)
po/Makefile.am:22: subst -html/,-html/html-, $(HPOTS: non-POSIX variable name
po/Makefile.am:22: (probably a GNU make extension)
po/Makefile.am:23: wildcard *.po: non-POSIX variable name
po/Makefile.am:23: (probably a GNU make extension)
po/Makefile.am:24: filter-out $(wildcard update-desktop-files.*.po: non-POSIX
variable name
po/Makefile.am:24: (probably a GNU make extension)
po/Makefile.am:28: shell ls *.po | head -n 1: non-POSIX variable name
po/Makefile.am:28: (probably a GNU make extension)
po/Makefile.am:49: `%'-style pattern rules are a GNU make extension
po/Makefile.am:50: subst .$(LL: non-POSIX variable name
po/Makefile.am:50: (probably a GNU make extension)
cd .. && autoreconf --force --install
/usr/share/aclocal/libstroke.m4:29: warning: underquoted definition of
smr_ARG_WITHLIB
/usr/share/aclocal/libstroke.m4:29: run info '(automake)Extending aclocal'
/usr/share/aclocal/libstroke.m4:29: or see
http://sources.redhat.com/automake/automake.html#Extending-aclocal
./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for msgfmt... msgfmt
checking for msgmerge... msgmerge
checking for msgattrib... msgattrib
checking for msgconv... msgconv
checking for msgcat... msgcat
configure: creating ./config.status
config.status: creating Makefile
config.status: creating po/Makefile

real 0m20.297s
user 0m11.166s
sys 0m2.856s

cer@nimrodel:~/Projects/babel/SuSE/10_3.full/lcn/es> time make update-po
make -C po update-po
make[1]: Entering directory
`/home/cer/Projects/babel/SuSE/10_3.full/lcn/es/po'
make -C ../../50-html pot
make[2]: Entering directory
`/home/cer/Projects/babel/SuSE/10_3.full/lcn/50-html'
make[2]: *** No rule to make target `pot'. Stop.
make[2]: Leaving directory
`/home/cer/Projects/babel/SuSE/10_3.full/lcn/50-html'
make[1]: *** [html2pot] Error 2
make[1]: Leaving directory `/home/cer/Projects/babel/SuSE/10_3.full/lcn/es/po'
make: *** [update-po] Error 2



If something does not work as expected, report it here.

It doesn't work...


Sorry, I need more help.

- -- Cheers,
Carlos E. R.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4-svn0 (GNU/Linux)
Comment: Made with pgp4pine 1.76

iD8DBQFHMPPjtTMYHG2NR9URAs8LAJwP+MbQEj4nCHTPWFgb9LORBHrMKgCfd6U+
hudNW17i+ngwL6Z6yhAJSMw=
=EuTN
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-translation+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-translation+help@xxxxxxxxxxxx

< Previous Next >
List Navigation
Follow Ups