Mailinglist Archive: opensuse-buildservice (245 mails)

< Previous Next >
Re: [opensuse-buildservice] OBS breaks PNG files when build packages
  • From: Алексей Харитон <aleksey.hariton@xxxxxxxxx>
  • Date: Wed, 20 Oct 2010 10:16:02 +0300
  • Message-id: <4CBE9732.1080308@xxxxxxxxx>
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
After building package, all PNG files are 1 byte shorter than before
I found that changes PNG file headers (first 6 bytes of file), must be:


but stand:


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

Ciao, Marcus

С уважением, Харитон Алексей

To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups