[LDTP-Dev] [PATCH] fix for build problem with Ubuntu, Debian distributions

Prashanth Mohan prashmohan at gmail.com
Fri Oct 28 12:02:28 PDT 2005


On 10/28/05, J Premkumar <jpremkumar at novell.com> wrote:
> Hi
>
> I have attached patch for fixing the build issue we have been facing
> with Ubuntu, Debian distributions.
>
> Casanova, can you please use this patch and check if you are able to
> build the deb package with localization support for ldtp 0.2.1.

The Build for debian has been updated and uploaded to the downloads
page (http://gnomebangalore.org/ldtp/index.php/Downloads). However the
patch does not seem to work for hoary... In fact, pyldtp doesnt even
build on hoary. i think hoary's gettext package is outdated.. gimme
some time to upgrade to breezy (I live in an imprefect world with
limited bandwidth :D). I have changed the link for hoary on the
download's page back to  0.2.0

--Casanova

>
> Thanks
> Premkumar J
>
> --- pyldtp/setup.py     2005-10-22 16:32:59.000000000 +0530
> +++ PYLDTP/pyldtp/setup.py      2005-10-28 19:57:28.000000000 +0530
> @@ -37,7 +37,7 @@ status, data = commands.getstatusoutput
>  if status == 0:
>      tmp = string.split (data, '-L')
>      for i in tmp:
> -        if i == '':
> +        if i.strip () == '':
>              continue
>          else:
>              lib_path.insert (0, string.strip (i))
> @@ -48,7 +48,7 @@ status, data = commands.getstatusoutput
>  if status == 0:
>      tmp = string.split (data, '-l')
>      for i in tmp:
> -        if i == '':
> +        if i.strip () == '':
>              continue
>          else:
>              lib_name.insert (0, string.strip (i))
> @@ -60,7 +60,7 @@ status, data = commands.getstatusoutput
>  if status == 0:
>      tmp = string.split (data, '-I')
>      for i in tmp:
> -        if i == '':
> +        if i.strip () == '':
>              continue
>          else:
>              inc_path.insert (0, string.strip (i))
>
>
>
> _______________________________________________
> Ldtp-dev mailing list
> Ldtp-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/ldtp-dev
>
>
>
>


--
Prashanth Mohan
http://prashanthmohan.tk
http://prashmohan.blogspot.com
---
And so at last the beast fell and the unbelievers rejoiced. But all
was not lost, for from the ash rose a great bird. The bird gazed down
upon the unbelievers and cast fire and thunder upon them. For the
beast had been reborn with its strength renewed, and the followers of
Mammon cowered in horror.

from The Book of Mozilla, 7:15
---


More information about the Ldtp-dev mailing list