[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-i18n-doc
Subject: Re: xgettext 0.15-pre
From: Nicolas Goutte <nicolasg () snafu ! de>
Date: 2006-05-22 17:16:19
Message-ID: 200605221916.27150.nicolasg () snafu ! de
[Download RAW message or body]
On Monday 22 May 2006 18:55, Spiros Georgaras wrote:
> On Monday 22 May 2006 18:34 Nicolas Goutte wrote:
> > On Sunday 21 May 2006 18:30, Spiros Georgaras wrote:
> > > Hi all
> > >
> > > Is there a place to download xgettext 0.15-pre?
> > > I can't find any URL for it...
> >
> > <joke>You have to hunt it in the savannah by yourself.</joke>
> >
> > No, seriously, as xgettext 0.15 is the development version, it is only
> > available at the GNU's Savannah:
> > http://savannah.gnu.org/projects/gettext/
> >
> > You have to download the source by anonymous CVS (over SSH) like
> > described, and then compile and install.
> >
> > As for compiling, I do not know if there is still this bug for the
> > archive that cannot be copied (as I have wanted to install it in a new
> > directory and not in /usr). (If the problem is still there, search the
> > same file on your active system and copy it in the source at the place
> > where the build process wants to copy it from.) As for installing, I
> > could not do it completely either but it did not matter for our purpose.
> >
> > > Kind regards
> > > Spiros
> >
> > Have a nice day!
>
> Thanks for the answer
> I have downloaded and installed the package
> In order to not have the new files intrefere with my stable xgettext
> installation, I have renamed them to kde-*
> You will find instructions at the end og this message
>
> So now I can use them to manipulate kde4 pot files :)
>
> Can I use the files under
> svn.kde.org/home/kde/branches/work/kde4-l10n/templates
> to create my el directory in branches/work/kde4-l10n/ ?
Well, the kde4-l10n module is still experimental and might not be the final
l10n module for KDE4.
But if you want to use it, why not. Propably copying (with svn) the files from
KDE3 would be better, the conversion scripts are in branches/work/kde4-l10n/
The script kdepo2std.pl is the main conversion script, kde3_desktop_convert.pl
is for converting the desktop PO files.
You can use kdepo2std.pl like (in one line, from you kde4-l10n directory. for
el):
perl scripts/conversion/kdepo2std.pl el/messages/kdelibskdelibs.po `find
el -name \*.po`
(Adapt the paths depending on where you are. kdelibs.po must have a correct
Plural-Form declaration, as it will copied on all processed files).
After that you can convert the desktop PO files:
perl scripts/conversion/kde3_desktop_convert.pl `find el -name desktop\*.po`
By the way: we would need a volunteer to put all this in a correct form and
document it in kde4-l10n (probably in the conversion directory).
>
> ____________________________________________
> HOW TO INSTALL xgettext-0.15-pre
>
> 1. Get the files
> CVS_RSH=ssh cvs -z3
> -d :pserver:anonymous@cvs.savannah.gnu.org:/sources/gettext co gettext
>
> 2. As root
> mkdir -p /usr/local/share/gettext/
> cp cp /usr/share/gettext/archive.tar.gz /usr/local/share/gettext/
Yes, that is what I meant.
If somebody has time, he should try to find if this bug have already been
reported or not. (I was not able to do so and I do not had time to do all
the "bureaucracy" to report it to GNU.)
>
> 3. ./configure
You could use --prefix here and at runtime add the path to your $PATH when you
need it. (That would be probably easier that your solution of renaming.)
> 4. make
> 5. As root
> ls -1 /usr/local/bin > ~/local-bin
> make install
>
> 6. As root create a script containing
>
>
> #!/bin/bash
> cd /usr/local/bin
> rm kde4-
> count=0
> while read line
> do
> prog[$count]=$line
> (( count ++ ))
> done < ~/local-bin
> all=`ls -1`
> (( count -- ))
>
> for n in `seq 0 $count`
> do
> all=`echo "$all" | sed "s/${prog[$n]}//"`
> done
>
> for n in `echo "$all"`
> do
> if [ -z "$n" ] || [ -e "$n" ];then
> mv "$n" kde4-"$n"
> fi
> done
>
> and execute it
> ____________________________________________
Have a nice day!
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic