PDA

View Full Version : [HELP] XB-Maemo-Icon-26 not recognized


crash16
2010-06-07, 18:14
i have the following code in debian/control:

XB-Maemo-Icon-26:
WDERTYUYTRGTHY........
WAMsDAAAAABJRU5ErkJggg=

but when i compile the source in scratchbox i keep getting the following error and the autobuilder can't build it as well:

dpkg-genchanges
dpkg-genchanges: warning: unknown information field `Xb-Maemo-Icon-26' in input data in package's section of control info file


thanx

mece
2010-06-07, 18:25
it's just a warning. Shouldn't affect the compiling.

crash16
2010-06-07, 19:19
after i added that it says build failed:

http://maemo.org/packages/view/blue-sky/

TNiga
2010-06-08, 08:45
Do you have space in front of every line? Like this:
XB-Maemo-Icon-26:
WDERTYUYTRGTHY........
WAMsDAAAAABJRU5ErkJggg=

crash16
2010-06-08, 10:03
Do you have space in front of every line? Like this:
XB-Maemo-Icon-26:
WDERTYUYTRGTHY........
WAMsDAAAAABJRU5ErkJggg=

yes i have..

d-iivil
2010-06-08, 12:00
yes i have..

The warning is normal. Build is falling because of something else.

If you look at your build log located here:
https://garage.maemo.org/builder/fremantle/blue-sky_0.4/

You can see that it's failing because of something else:

Undefined subroutine &Dpkg::Changelog::Entry::Debian::_g called at /scratchbox/devkits/debian-squeeze/share/perl5/Dpkg/Changelog/Entry/Debian.pm line 117, <STDIN> line 1.
dpkg-buildpackage: error: changelog parser /scratchbox/devkits/debian-squeeze/lib/dpkg/parsechangelog/debian gave error exit status 9

crash16
2010-06-08, 19:20
i checked that log but i don't really understand where it comes from. Moreover it came up only after adding XB-Maemo-Icon-26...

Rob1n
2010-06-08, 20:51
i checked that log but i don't really understand where it comes from. Moreover it came up only after adding XB-Maemo-Icon-26...

It doesn't look like valid icon data to me - it should be base64 encoded, but "base64 -d" complains about invalid input. How did you generate the XB-Maemo-Icon-26 string?

crash16
2010-06-08, 20:54
i used this website: http://www.motobit.com/util/base64-decoder-encoder.asp

i don't know what the error was so i rebuilt the hole package and now it's working...

mece
2010-06-08, 21:08
i used this website: http://www.motobit.com/util/base64-decoder-encoder.asp

i don't know what the error was so i rebuilt the hole package and now it's working...

Follow these instructions:
http://wiki.maemo.org/Maemo_packaging#Displaying_an_icon_in_the_Applicat ion_Manager_next_to_your_package

EDIT; right, reading is not one of my strengths apparently. I see you got it working. Disregard my spam then ;)

d-iivil
2010-06-09, 06:51
i used this website: http://www.motobit.com/util/base64-decoder-encoder.asp

i don't know what the error was so i rebuilt the hole package and now it's working...

You can use that generator, but you have to change the "Maximum characters per line" -value to "77".