PDA

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


crash16
06-07-2010, 02:14 PM
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
06-07-2010, 02:25 PM
it's just a warning. Shouldn't affect the compiling.

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

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

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

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

yes i have..

d-iivil
06-08-2010, 08:00 AM
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
06-08-2010, 03:20 PM
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
06-08-2010, 04:51 PM
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
06-08-2010, 04:54 PM
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
06-08-2010, 05:08 PM
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
06-09-2010, 02:51 AM
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".