Hi folks,
I have some kind of problem with PNG files in my package roundcubemail (https://build.opensuse.org/package/show?package=roundcubemail&project=ho...) After building package, all PNG files are 1 byte shorter than before building. I found that changes PNG file headers (first 6 bytes of file), must be:
0x89PNG\r\n
but stand:
0x89PNG\n
How to fix this problem?
On Wed, Oct 20, 2010 at 10:07:08AM +0300, Алексей Харитон wrote:
Hi folks,
I have some kind of problem with PNG files in my package roundcubemail (https://build.opensuse.org/package/show?package=roundcubemail&project=ho...) After building package, all PNG files are 1 byte shorter than before building. I found that changes PNG file headers (first 6 bytes of file), must be:
0x89PNG\r\n
but stand:
0x89PNG\n
How to fix this problem?
Well, change this piece of your roundcube.spec file I think:
# fix wrong end of line encoding for file in $(find %buildroot/%{roundcubepath} -type f); do sed -i 's/\x0D$//' $file done
Ciao, Marcus
Hi Marcus,
thanks a lot!
But I get this spec file from project "server:php:applications", I think they have the same problem. How can I tell them (I am new in OBS)?
20.10.2010 10:10, Marcus Meissner пишет:
On Wed, Oct 20, 2010 at 10:07:08AM +0300, Алексей Харитон wrote:
Hi folks,
I have some kind of problem with PNG files in my package roundcubemail (https://build.opensuse.org/package/show?package=roundcubemail&project=ho...) After building package, all PNG files are 1 byte shorter than before building. I found that changes PNG file headers (first 6 bytes of file), must be:
0x89PNG\r\n
but stand:
0x89PNG\n
How to fix this problem?
Well, change this piece of your roundcube.spec file I think:
# fix wrong end of line encoding for file in $(find %buildroot/%{roundcubepath} -type f); do sed -i 's/\x0D$//' $file done
Ciao, Marcus
On Wed, Oct 20, 2010 at 10:16:02AM +0300, Алексей Харитон wrote:
Hi Marcus,
thanks a lot!
But I get this spec file from project "server:php:applications", I think they have the same problem. How can I tell them (I am new in OBS)?
Can you either mail their maintainers or send them a submitreq with the fix?
Ciao, Marcus
buildservice@lists.opensuse.org