libfreetype6: 2.1.7-2 is not binary compatible with 2.0.9-1

Bug #7177 reported by Debian Bug Importer
4
Affects Status Importance Assigned to Milestone
freetype (Debian)
Fix Released
Unknown
freetype (Ubuntu)
Fix Released
High
Thom May

Bug Description

Automatically imported from Debian bug report #251473 http://bugs.debian.org/251473

Revision history for this message
In , Shaun Jackman (sjackman-telus) wrote : Binary incompatibility is grave

package libfreetype6
severity 251473 grave
thanks

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Automatically imported from Debian bug report #251473 http://bugs.debian.org/251473

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-Id: <E1BTkfv-0003Mu-00@quince>
Date: Fri, 28 May 2004 09:57:42 -0700
From: Shaun Jackman <email address hidden>
To: Debian Bug Tracking System <email address hidden>
Subject: libfreetype6: 2.1.7-2 is not binary compatible with 2.0.9-1

Package: libfreetype6
Version: 2.1.7-2
Severity: important
Tags: patch

On 2002-02-24 the API underwent a major renaming scheme:

2002-02-24 David Turner <email address hidden>

    * Renaming stream functions to the FT_<Subject>_<Action> scheme:

Neither the solib version nor the package API version were
incremented. However, this is only a renaming change, so backwards
compatibility could be added back into the library. In fact, there's
a source file in freetype, ftapi.c (Compatibility API), for this
explicit purpose. It's not compiled by default, or by Debian though.
If this can make it into Sarge, then Woody binaries will be compatible
with Sarge's libfreetype. For that reason, this may be a serious bug.
Please bump the severity up if you agree.

Cheers,
Shaun

-- System Information:
Debian Release: 3.0
  APT prefers testing
  APT policy: (102, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.3-1-k7
Locale: LANG=C, LC_CTYPE=C

Versions of packages libfreetype6 depends on:
ii libc6 2.3.2.ds1-12 GNU C Library: Shared libraries an
ii zlib1g 1:1.2.1-5 compression library - runtime

-- no debconf information

--- freetype-2.1.7/src/base/ftbase.c- 2004-05-27 21:12:24.000000000 -0700
+++ freetype-2.1.7/src/base/ftbase.c 2004-05-27 21:12:28.000000000 -0700
@@ -29,6 +29,7 @@
 #include "ftgloadr.c"
 #include "ftobjs.c"
 #include "ftnames.c"
+#include "ftapi.c"

 #if defined( __APPLE__ ) && !defined ( DARWIN_NO_CARBON )
 #include "ftmac.c"
--- freetype-2.1.7/src/base/ftapi.c- 2004-05-27 21:28:37.000000000 -0700
+++ freetype-2.1.7/src/base/ftapi.c 2004-05-27 21:33:10.000000000 -0700
@@ -118,4 +118,18 @@
   }

+ FT_BASE_DEF( FT_Short )
+ FT_Get_Short( FT_Stream stream )
+ {
+ return FT_GET_SHORT();
+ }
+
+
+ FT_BASE_DEF( FT_Long )
+ FT_Get_Long( FT_Stream stream )
+ {
+ return FT_GET_LONG();
+ }
+
+
 /* END */

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-Id: <email address hidden>
Date: Tue, 27 Jul 2004 13:24:06 -0700
From: Shaun Jackman <email address hidden>
To: <email address hidden>
Subject: Binary incompatibility is grave

package libfreetype6
severity 251473 grave
thanks

Revision history for this message
In , Thom May (thombot) wrote : Drop in patch

Hi,
there's a drop in patch for the debian source package that fixes this available
 from:
http://www.no-name-yet.com/patches/freetype-251473.diff
cheers,
-Thom

Revision history for this message
Thom May (thombot) wrote :

freetype (2.1.7-2.1ubuntu1) warty; urgency=low
 .
   * Add backwards compatability API fixes (Closes: #417)

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Wed, 28 Jul 2004 17:32:29 +0100
From: Thom May <email address hidden>
To: <email address hidden>
Subject: Drop in patch

Hi,
there's a drop in patch for the debian source package that fixes this available
 from:
http://www.no-name-yet.com/patches/freetype-251473.diff
cheers,
-Thom

Revision history for this message
In , Frank Lichtenheld (djpig) wrote : Re: Bug#251473: Drop in patch

On Wed, Jul 28, 2004 at 05:32:29PM +0100, Thom May wrote:
> there's a drop in patch for the debian source package that fixes this available
> from:
> http://www.no-name-yet.com/patches/freetype-251473.diff

uploaded. As there was already a NMU I just uploaded directly to
incoming.

Gruesse,
--
Frank Lichtenheld <email address hidden>
www: http://www.djpig.de/

Revision history for this message
In , Frank Lichtenheld (djpig) wrote : Fixed in NMU of freetype 2.1.7-2.2

tag 251473 + fixed

quit

This message was generated automatically in response to a
non-maintainer upload. The .changes file follows.

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Fri, 6 Aug 2004 01:03:36 +0200
Source: freetype
Binary: freetype2-demos libfreetype6-udeb libfreetype6 libfreetype6-dev
Architecture: source i386
Version: 2.1.7-2.2
Distribution: unstable
Urgency: low
Maintainer: Anthony Fok <email address hidden>
Changed-By: Frank Lichtenheld <email address hidden>
Description:
 freetype2-demos - FreeType 2 demonstration programs
 libfreetype6 - FreeType 2 font engine, shared library files
 libfreetype6-dev - FreeType 2 font engine, development files
 libfreetype6-udeb - FreeType 2 font engine for the debian-installer (udeb)
Closes: 251473
Changes:
 freetype (2.1.7-2.2) unstable; urgency=low
 .
   * NMU
   * debian/patches/080-freetype-2.1.7-backwards-compat.diff: Patch
     by Shaun Jackman, integration by Thom May. Fixes backwards
     compatibility (Closes: #251473)
Files:
 14ca044ab20a60f49afbe6c579b4733d 677 libs optional freetype_2.1.7-2.2.dsc
 c6ac32057a7964278ff47e01c0a86f28 52159 libs optional freetype_2.1.7-2.2.diff.gz
 a9572bc441226397bf06f7a7037af1d9 363384 libs optional libfreetype6_2.1.7-2.2_i386.deb
 3096ebeed4d0df87631fff863b661bdd 694878 libdevel optional libfreetype6-dev_2.1.7-2.2_i386.deb
 0fa43fdb92b53b996ad043f280836621 63162 utils optional freetype2-demos_2.1.7-2.2_i386.deb
 242bb45b98e9a4ef2a55af64c7d349db 212838 debian-installer extra libfreetype6-udeb_2.1.7-2.2_i386.udeb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBEr9YQbn06FtxPfARAvnGAJ45CAvRcLq7OuXV0Fmu8U9Y739aFQCfZ/va
0MejKGtKsMOGS+G1XeJGdOI=
=tJJp
-----END PGP SIGNATURE-----

Revision history for this message
Debian Bug Importer (debzilla) wrote :
Download full text (3.2 KiB)

Message-ID: <email address hidden>
Date: Fri, 6 Aug 2004 01:22:08 +0200
From: Frank Lichtenheld <email address hidden>
To: Thom May <email address hidden>, <email address hidden>
Subject: Re: Bug#251473: Drop in patch

--ZoaI/ZTpAVc4A5k6
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

On Wed, Jul 28, 2004 at 05:32:29PM +0100, Thom May wrote:
> there's a drop in patch for the debian source package that fixes this available
> from:
> http://www.no-name-yet.com/patches/freetype-251473.diff

uploaded. As there was already a NMU I just uploaded directly to
incoming.

Gruesse,
--
Frank Lichtenheld <email address hidden>
www: http://www.djpig.de/

--ZoaI/ZTpAVc4A5k6
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="freetype.251473.patch"

diff -Naur freetype-2.1.7.old/debian/changelog freetype-2.1.7/debian/changelog
--- freetype-2.1.7.old/debian/changelog Fri Aug 6 00:59:46 2004
+++ freetype-2.1.7/debian/changelog Fri Aug 6 01:03:45 2004
@@ -1,3 +1,12 @@
+freetype (2.1.7-2.2) unstable; urgency=low
+
+ * NMU
+ * debian/patches/080-freetype-2.1.7-backwards-compat.diff: Patch
+ by Shaun Jackman, integration by Thom May. Fixes backwards
+ compatibility (Closes: #251473)
+
+ -- Frank Lichtenheld <email address hidden> Fri, 6 Aug 2004 01:03:36 +0200
+
 freetype (2.1.7-2.1) unstable; urgency=medium

   * NMU
diff -Naur freetype-2.1.7.old/debian/patches/080-freetype-2.1.7-backwards-compat.diff freetype-2.1.7/debian/patches/080-freetype-2.1.7-backwards-compat.diff
--- freetype-2.1.7.old/debian/patches/080-freetype-2.1.7-backwards-compat.diff Thu Jan 1 01:00:00 1970
+++ freetype-2.1.7/debian/patches/080-freetype-2.1.7-backwards-compat.diff Fri Aug 6 01:00:41 2004
@@ -0,0 +1,33 @@
+diff -ur freetype-2.1.7/src/base/ftapi.c freetype-2.1.7.real/src/base/ftapi.c
+--- freetype-2.1.7/src/base/ftapi.c- 2002-03-30 13:16:33.000000000 +0000
++++ freetype-2.1.7/src/base/ftapi.c 2004-07-28 15:20:23.000000000 +0100
+@@ -118,4 +118,18 @@
+ }
+
+
++ FT_BASE_DEF( FT_Short )
++ FT_Get_Short( FT_Stream stream )
++ {
++ return FT_GET_SHORT();
++ }
++
++
++ FT_BASE_DEF( FT_Long )
++ FT_Get_Long( FT_Stream stream )
++ {
++ return FT_GET_LONG();
++ }
++
++
+ /* END */
+diff -ur freetype-2.1.7/src/base/ftbase.c freetype-2.1.7.real/src/base/ftbase.c
+--- freetype-2.1.7/src/base/ftbase.c- 2003-05-11 08:12:26.000000000 +0100
++++ freetype-2.1.7/src/base/ftbase.c 2004-07-28 15:20:49.000000000 +0100
+@@ -29,6 +29,7 @@
+ #include "ftgloadr.c"
+ #include "ftobjs.c"
+ #include "ftnames.c"
++#include "ftapi.c"
+
+ #if defined( __APPLE__ ) && !defined ( DARWIN_NO_CARBON )
+ #include "ftmac.c"
diff -Naur freetype-2.1.7.old/debian/rules freetype-2.1.7/debian/rules
--- freetype-2.1.7.old/debian/rules Fri Aug 6 00:59:46 2004
+++ freetype-2.1.7/debian/rules Fri Aug 6 01:00:41 2004
@@ -154,6 +154,10 @@
 # patch -p1 -d $(freetype_u) \
 # -i $(patchdir)/050-more-rounding.diff

+ # fix for backwards compat with woody (#251473)
+ patch -p0 -i $(patchdir)/080-freetype-2.1.7-backwards-compat.diff
+
+
  cd $(freetype_u) && ./configure --prefix=/usr CFLAGS=\"$(CFLAGS)\"
 # cd $(freetype...

Read more...

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-Id: <email address hidden>
Date: Thu, 05 Aug 2004 19:32:07 -0400
From: Frank Lichtenheld <email address hidden>
To: <email address hidden>
Cc: Frank Lichtenheld <email address hidden>, Anthony Fok <email address hidden>
Subject: Fixed in NMU of freetype 2.1.7-2.2

tag 251473 + fixed

quit

This message was generated automatically in response to a
non-maintainer upload. The .changes file follows.

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Fri, 6 Aug 2004 01:03:36 +0200
Source: freetype
Binary: freetype2-demos libfreetype6-udeb libfreetype6 libfreetype6-dev
Architecture: source i386
Version: 2.1.7-2.2
Distribution: unstable
Urgency: low
Maintainer: Anthony Fok <email address hidden>
Changed-By: Frank Lichtenheld <email address hidden>
Description:
 freetype2-demos - FreeType 2 demonstration programs
 libfreetype6 - FreeType 2 font engine, shared library files
 libfreetype6-dev - FreeType 2 font engine, development files
 libfreetype6-udeb - FreeType 2 font engine for the debian-installer (udeb)
Closes: 251473
Changes:
 freetype (2.1.7-2.2) unstable; urgency=low
 .
   * NMU
   * debian/patches/080-freetype-2.1.7-backwards-compat.diff: Patch
     by Shaun Jackman, integration by Thom May. Fixes backwards
     compatibility (Closes: #251473)
Files:
 14ca044ab20a60f49afbe6c579b4733d 677 libs optional freetype_2.1.7-2.2.dsc
 c6ac32057a7964278ff47e01c0a86f28 52159 libs optional freetype_2.1.7-2.2.diff.gz
 a9572bc441226397bf06f7a7037af1d9 363384 libs optional libfreetype6_2.1.7-2.2_i386.deb
 3096ebeed4d0df87631fff863b661bdd 694878 libdevel optional libfreetype6-dev_2.1.7-2.2_i386.deb
 0fa43fdb92b53b996ad043f280836621 63162 utils optional freetype2-demos_2.1.7-2.2_i386.deb
 242bb45b98e9a4ef2a55af64c7d349db 212838 debian-installer extra libfreetype6-udeb_2.1.7-2.2_i386.udeb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBEr9YQbn06FtxPfARAvnGAJ45CAvRcLq7OuXV0Fmu8U9Y739aFQCfZ/va
0MejKGtKsMOGS+G1XeJGdOI=
=tJJp
-----END PGP SIGNATURE-----

Revision history for this message
In , Will Newton (will-debian) wrote : Bug#251473: fixed in freetype 2.1.10-1
Download full text (3.4 KiB)

Source: freetype
Source-Version: 2.1.10-1

We believe that the bug you reported is fixed in the latest version of
freetype, which is due to be installed in the Debian FTP archive:

freetype2-demos_2.1.10-1_i386.deb
  to pool/main/f/freetype/freetype2-demos_2.1.10-1_i386.deb
freetype_2.1.10-1.diff.gz
  to pool/main/f/freetype/freetype_2.1.10-1.diff.gz
freetype_2.1.10-1.dsc
  to pool/main/f/freetype/freetype_2.1.10-1.dsc
freetype_2.1.10.orig.tar.gz
  to pool/main/f/freetype/freetype_2.1.10.orig.tar.gz
libfreetype6-dev_2.1.10-1_i386.deb
  to pool/main/f/freetype/libfreetype6-dev_2.1.10-1_i386.deb
libfreetype6-udeb_2.1.10-1_i386.udeb
  to pool/main/f/freetype/libfreetype6-udeb_2.1.10-1_i386.udeb
libfreetype6_2.1.10-1_i386.deb
  to pool/main/f/freetype/libfreetype6_2.1.10-1_i386.deb

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to <email address hidden>,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Will Newton <email address hidden> (supplier of updated freetype package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing <email address hidden>)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Mon, 13 Jun 2005 00:44:29 +0100
Source: freetype
Binary: freetype2-demos libfreetype6-udeb libfreetype6 libfreetype6-dev
Architecture: source i386
Version: 2.1.10-1
Distribution: unstable
Urgency: low
Maintainer: Will Newton <email address hidden>
Changed-By: Will Newton <email address hidden>
Description:
 freetype2-demos - FreeType 2 demonstration programs
 libfreetype6 - FreeType 2 font engine, shared library files
 libfreetype6-dev - FreeType 2 font engine, development files
 libfreetype6-udeb - FreeType 2 font engine for the debian-installer (udeb)
Closes: 166511 221597 225119 226380 245532 249443 251473 252673 259875 280827 298660 302269 307464
Changes:
 freetype (2.1.10-1) unstable; urgency=low
 .
   * New upstream (Closes: #298660, #245532).
   * New maintainer, co-maintainer required!
   * Disable CJK autohinting patch due to incompatability with this version
     of freetype.
   * Remove some very old unapplied patches.
   * Add freetype-config.1 manpage.
   * Add doc-base file for development docs. (Closes: #280827)
   * Fix build with non-default umask. (Closes: #307464, #166511)
   * Patch merged upstream. (Closes: #252673)
   * Acknowledge NMUS.
     (Closes: #221597, #225119, #226380, #249443, #251473, #302269, #259875)
Files:
 14ff1889a1bc46f6711826d1fba460c1 692 libs optional freetype_2.1.10-1.dsc
 adf145ce51196ad1b3054d5fb032efe6 1323617 libs optional freetype_2.1.10.orig.tar.gz
 4d800ca7f6dc55a5a8521e5b505ac494 47228 libs optional freetype_2.1.10-1.diff.gz
 ddf1f93cc79cbaebe814a8e7a037e3e7 419568 libs optional libfreetype6_2.1.10-1_i386.deb
 0a8c441fad782c1aaa4fa650b02df07b 687920 libdevel optional libfreetype6-dev_2.1.10-1_i386.deb
 b9e600e83544d15270c28123bd21a664 117788 utils optional freetype2-demos_2.1.10-1_i386.deb
 ...

Read more...

Changed in freetype:
status: Unknown → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.