apt-portal import opkg repos :) & some comments

David Reyes Samblas Martinez david at tuxbrain.com
Sun Aug 30 09:00:44 CEST 2009


2009/8/29 Joao Pinto <joao.pinto at getdeb.net>:
> On Sat, Aug 29, 2009 at 11:48 AM, Markus Törnqvist<mjt at nysv.org> wrote:
>> On Sat, Aug 29, 2009 at 12:27:49PM +0300, Markus T�rnqvist wrote:
>>>
>>>After all that typing, I say we just remove the encode() call and use
>>>utf-8 across the board ;)
>>
>> The below patch works
>>
>> --- opkg2sql.py.orig  2009-08-29 13:46:21.004642989 +0300
>> +++ opkg2sql.py 2009-08-29 13:46:05.995767671 +0300
>> @@ -135,7 +135,7 @@
>>    source = control['Source']
>>    version = control['Version']
>>    architecture = control['Architecture']
>> -   description =   control['Description'].encode('ascii','ignore')
>> +   description =   unicode(control['Description'])
>>    homepage =  control['HomePage']
>>    package = Package.query.filter_by( \
>>      package = package_name, \
>>
>> --
>> mjt
>>
>>
>> _______________________________________________
>> Openmoko community mailing list
>> community at lists.openmoko.org
>> http://lists.openmoko.org/mailman/listinfo/community
>>
>
> I have applied the fix at dpkg_control.py, converting the entire
> control file contents to utf8.
>
> Thanks
>
> --
> João Luís Marques Pinto
> GetDeb Team Leader
> http://www.getdeb.net
> http://blog.getdeb.net

>
> _______________________________________________
> Openmoko community mailing list
> community at lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community
>

Joao, has those fix been uploaded to the bzr repo?

-- 
David Reyes Samblas Martinez
http://www.tuxbrain.com
Open ultraportable & embedded solutions
Openmoko, Openpandora,  Arduino
Hey, watch out!!! There's a linux in your pocket!!!



More information about the community mailing list