<div dir="ltr"><font color="#003300"><font size="2"><font face="verdana,sans-serif"><br></font></font></font><br><div class="gmail_quote">On Fri, Jul 30, 2010 at 1:00 PM, <span dir="ltr"><<a href="mailto:kde-windows-request@kde.org">kde-windows-request@kde.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Send Kde-windows mailing list submissions to<br>
<a href="mailto:kde-windows@kde.org">kde-windows@kde.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
<a href="https://mail.kde.org/mailman/listinfo/kde-windows" target="_blank">https://mail.kde.org/mailman/listinfo/kde-windows</a><br>
or, via email, send a message with subject or body 'help' to<br>
<a href="mailto:kde-windows-request@kde.org">kde-windows-request@kde.org</a><br>
<br>
You can reach the person managing the list at<br>
<a href="mailto:kde-windows-owner@kde.org">kde-windows-owner@kde.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of Kde-windows digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
1. emerge - dynamic package url related (Ralf Habacker)<br>
2. Re: Digest error on fontconfig (John Layt)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Fri, 30 Jul 2010 09:03:46 +0200<br>
From: Ralf Habacker <<a href="mailto:ralf.habacker@freenet.de">ralf.habacker@freenet.de</a>><br>
Subject: emerge - dynamic package url related<br>
To: KDE on Windows <<a href="mailto:kde-windows@kde.org">kde-windows@kde.org</a>><br>
Message-ID: <<a href="mailto:4C527952.70303@freenet.de">4C527952.70303@freenet.de</a>><br>
Content-Type: text/plain; charset=ISO-8859-15; format=flowed<br>
<br>
Hi,<br>
<br>
in the last time there were some digest errors reported relating to urls<br>
generated by info.infoclass.getPackage() which is used in the following<br>
example.<br>
<br>
self.targets[ version ] = self.getPackage( repoUrl, "fontconfig",<br>
version )<br>
<br>
Since today there is a related digest retrieving method (see<br>
win32libs-bin/fontconfig for an example)<br>
<br>
old:<br>
def setTargets( self ):<br>
repoUrl = """<a href="http://downloads.sourceforge.net/kde-windows" target="_blank">http://downloads.sourceforge.net/kde-windows</a>"""<br>
for version in ['2.4.2-3']:<br>
self.targets[ version ] = self.getPackage( repoUrl,<br>
"fontconfig", version )<br>
<br>
self.defaultTarget = '2.4.2-3'<br>
<br>
new<br>
+ self.targetDigests['2.4.2-3-vc90-bin'] =<br>
'1b7c2171fb60669924c9d7174fc2e39161f7ef7b'<br>
+ self.targetDigests['2.4.2-3-vc90-lib'] =<br>
'e48d8c535cd245bfcc617590d3142035c77b8aa2'<br>
<br>
for version in ['2.4.2-3']:<br>
self.targets[ version ] = self.getPackage( repoUrl,<br>
"fontconfig", version )<br>
+ self.targetDigests[version] =<br>
self.packageDigests("fontconfig", version)<br>
<br>
<br>
for the related mingw package the digest entry looks like that.<br>
<br>
+ self.targetDigests['2.4.2-3-mingw4-bin'] = '...'<br>
<br>
Regards<br>
Ralf<br>
<br>
<br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Fri, 30 Jul 2010 10:39:40 +0100<br>
From: John Layt <<a href="mailto:johnlayt@googlemail.com">johnlayt@googlemail.com</a>><br>
Subject: Re: Digest error on fontconfig<br>
To: KDE on Windows <<a href="mailto:kde-windows@kde.org">kde-windows@kde.org</a>><br>
Message-ID: <<a href="mailto:201007301039.40597.johnlayt@googlemail.com">201007301039.40597.johnlayt@googlemail.com</a>><br>
Content-Type: text/plain; charset="iso-8859-1"<br>
<br>
On Friday 30 July 2010 06:48:31 Ralf Habacker wrote:<br>
> John Layt schrieb:<br>
> ><br>
Hi,<br>
> ><br>
> > Another digest error, delete download and retry didn't work, is<br>
this<br>
> > another dynamic one?<br>
> ><br>
> > emerge error: digest value for file<br>
><br>
> c:\kderoot\download\fontconfig-mingw4-2.4.2-3-bin.tar.bz2<br>
> ><br>
(6576c28f072a0075c5ff758d899788b06f3aa0c8) do not match<br>
> ><br>
(1b7c2171fb60669924c9d7174fc2e39161f7ef7b)<br>
><br>
> yes, it uses getPackage<br>
><br>
><br>
self.targets[ version ] = self.getPackage( repoUrl,<br>
><br>
"fontconfig", version )<br>
><br>
> - i disabled the digest in svn<br>
><br>
> Regards<br>
><br>
Ralf<br>
><br>
<br>
Thanks Ralf, but after updating Emerge I get an error:<br>
<br>
Traceback<br>
(most recent call last):<br>
File "c:\kderoot\emerge\bin\emerge.py", line 469,<br>
in <module><br>
portage.solveDependencies( category, entry, "", deplist )<br>
<br>
File "c:\kderoot\emerge\bin\portage.py", line 302, in solveDependencies<br>
<br>
mydeps = getDependencies( category, package, version )<br>
File<br>
"c:\kderoot\emerge\bin\portage.py", line 269, in getDependencies<br>
info =<br>
mod.subinfo()<br>
File "c:\kderoot\emerge\bin\info.py", line 51, in __init__<br>
<br>
self.setTargets()<br>
File<br>
"c:\kderoot\emerge\portage\win32libs-bin\fontconfig\<a href="http://fontconfig-2.4.2.py" target="_blank">fontconfig-2.4.2.py</a>",<br>
line 14, in setTargets<br>
self.targetDigests[version] =<br>
self.packageDigests("fontconfig", version)<br>
File<br>
"c:\kderoot\emerge\bin\info.py", line 134, in packageDigests<br>
<br>
ret.append(self.targetDigests[key])<br>
KeyError: '2.4.2-3-mingw4-bin'<br>
<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <a href="http://mail.kde.org/pipermail/kde-windows/attachments/20100730/2f3fbedb/attachment-0001.htm" target="_blank">http://mail.kde.org/pipermail/kde-windows/attachments/20100730/2f3fbedb/attachment-0001.htm</a><br>
<br>
------------------------------<br>
<br>
_______________________________________________<br>
Kde-windows mailing list<br>
<a href="mailto:Kde-windows@kde.org">Kde-windows@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/kde-windows" target="_blank">https://mail.kde.org/mailman/listinfo/kde-windows</a><br>
<br>
<br>
End of Kde-windows Digest, Vol 58, Issue 19<br>
*******************************************<br>
</blockquote></div><br></div>