Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1270601 > unrolled thread

Bug#939155: libgnustep-gui0.27: Uses GifQuantizeBuffer - binary stops working with newer giflib

Started byYavor Doganov <yavor@gnu.org>
First post2025-11-18 05:20 +0100
Last post2025-11-19 20:30 +0100
Articles 3 — 2 participants

Back to article view | Back to linux.debian.bugs.dist

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Bug#939155: libgnustep-gui0.27: Uses GifQuantizeBuffer - binary stops working with newer giflib Yavor Doganov <yavor@gnu.org> - 2025-11-18 05:20 +0100
    Bug#939155: libgnustep-gui0.27: Uses GifQuantizeBuffer - binary stops working with newer giflib Andreas Metzler <ametzler@bebt.de> - 2025-11-19 07:30 +0100
      Bug#939155: libgnustep-gui0.27: Uses GifQuantizeBuffer - binary stops working with newer giflib Yavor Doganov <yavor@gnu.org> - 2025-11-19 20:30 +0100

#1270601 — Bug#939155: libgnustep-gui0.27: Uses GifQuantizeBuffer - binary stops working with newer giflib

FromYavor Doganov <yavor@gnu.org>
Date2025-11-18 05:20 +0100
SubjectBug#939155: libgnustep-gui0.27: Uses GifQuantizeBuffer - binary stops working with newer giflib
Message-ID<LSlm9-dNuJ-1@gated-at.bofh.it>
On Sun, Sep 01, 2019 at 06:45:52PM +0200, Andreas Metzler wrote:
> Source: libgnustep-gui0.27
> Version: 0.27.0-5
> Severity: important

> this package uses GifQuantizeBuffer() from giflib. The symbol has been
> dropped in giflib 5.2 (libgif-dev/libgif7 5.2.1 is available in
> experimental) and therefore the package 
> a) stops working when the gif library package is upgraded and
> b) if built against libgif-dev >= 5.2 then GIF support is
> disabled/limited.

I simply forgot about this old bug.  I don't think it's still relevant:

$ objdump -T /usr/lib/x86_64-linux-gnu/libgif.so.7.2.0 | grep GifQuantizeBuffer
00000000000069d0 g    DF .text	0000000000000707  Base        GifQuantizeBuffer

Right?

[toc] | [next] | [standalone]


#1270757

FromAndreas Metzler <ametzler@bebt.de>
Date2025-11-19 07:30 +0100
Message-ID<LSJRw-e4fH-3@gated-at.bofh.it>
In reply to#1270601
On 2025-11-18 Yavor Doganov <yavor@gnu.org> wrote:
> On Sun, Sep 01, 2019 at 06:45:52PM +0200, Andreas Metzler wrote:
>> Source: libgnustep-gui0.27
>> Version: 0.27.0-5
>> Severity: important

>> this package uses GifQuantizeBuffer() from giflib. The symbol has been
>> dropped in giflib 5.2 (libgif-dev/libgif7 5.2.1 is available in
>> experimental) and therefore the package 
>> a) stops working when the gif library package is upgraded and
>> b) if built against libgif-dev >= 5.2 then GIF support is
>> disabled/limited.

> I simply forgot about this old bug.  I don't think it's still relevant:

> $ objdump -T /usr/lib/x86_64-linux-gnu/libgif.so.7.2.0 | grep GifQuantizeBuffer
> 00000000000069d0 g    DF .text	0000000000000707  Base        GifQuantizeBuffer

> Right?

Good morning,
Upstream giflib has dropped the symbol. The Debian packages have been
patched to re-introduce it.

So no, this bug is still relevant.

cu Andreas
-- 
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'

[toc] | [prev] | [next] | [standalone]


#1270847

FromYavor Doganov <yavor@gnu.org>
Date2025-11-19 20:30 +0100
Message-ID<LSW2l-ecvi-1@gated-at.bofh.it>
In reply to#1270757
Control: severity -1 minor
Control: retitle -1 gnustep-gui: NSBitmapImageRep -representationUsingType:properties: will return nil for GIF with newer giflib

Andreas Metzler wrote:
> On 2025-11-18 Yavor Doganov <yavor@gnu.org> wrote:
> > $ objdump -T /usr/lib/x86_64-linux-gnu/libgif.so.7.2.0 | grep GifQuantizeBuffer
> > 00000000000069d0 g    DF .text	0000000000000707  Base        GifQuantizeBuffer
> 
> > Right?
> 
> Upstream giflib has dropped the symbol. The Debian packages have been
> patched to re-introduce it.

Oh, thanks for the pointer.  I took a closer look and it's an
obscure feature lost which is already marked as experimental and
basically unused.  GNUstep upstream is aware of the change in giflib.

To verify, I rebuilt giflib with

  revert-GifQuantizeBuffer-remove-from-lib.patch
  giflib_quantize-header.patch

removed and GifQuantizeBuffer deleted from the .symbols file.  Then
rebuilt gnustep-gui and installed the library package.  Viewing GIF
files with preview.app and price.app works and that's what is
important.

So you can safely exclude gnustep-gui from the list of problematic
packages that are affected by this change.

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.bugs.dist


csiph-web