Mailinglist Archive: opensuse-buildservice (245 mails)

< Previous Next >
Re: [opensuse-buildservice] OBS breaks PNG files when build packages
  • From: Marcus Meissner <meissner@xxxxxxx>
  • Date: Wed, 20 Oct 2010 09:10:26 +0200
  • Message-id: <20101020071026.GC10312@xxxxxxx>
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=home:stalker_by)
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
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >