From: "Valery V. Inozemtsev" <shrek@freesource.info>
To: ALT Devel discussion list <devel@altlinux.ru>
Subject: Re: [devel] I: freetype2-devel-2.1.9-alt1 is broken?
Date: Wed, 27 Oct 2004 18:07:14 +0400
Message-ID: <200410271807.23557.shrek@freesource.info> (raw)
In-Reply-To: <20041027135918.GC24922@basalt.office.altlinux.org>
[-- Attachment #1: Type: text/plain, Size: 2706 bytes --]
В сообщении от 27 Октябрь 2004 17:59 Dmitry V. Levin написал(a):
> On Wed, Oct 27, 2004 at 03:02:52PM +0400, Dmitry V. Levin wrote:
> > Похоже, что новый freetype2-devel сломал сборку реально использующих его
> > пакетов; перестали собираться нижеперечисленные пакеты:
> > avifile-0.738-alt0.6
> > bootsplash-3.0.7-alt1
> > camlimages-2.11-alt9.1
> > clanlib-0.6.5-alt1.3
> > gd1-1.8.4-alt7
> > gnome-print-0.36-alt6
> > python-module-imaging-1.1.4-alt8
> > SDL_ttf-2.0.6-alt2.1
> > xpdf-3.00-alt2
> >
> > Вот, например, лог сборки пакета bootsplash:
>
> [...]
>
> > gcc -Os -Wall -I/usr/include/freetype2 -c -o ttf.o ttf.c
> > In file included from ttf.c:13:
> > /usr/include/freetype2/freetype/freetype.h:20:2: #error "`ft2build.h'
> > hasn't been included yet!"
> > /usr/include/freetype2/freetype/freetype.h:21:2: #error "Please always
> > use macros to include FreeType header files."
> > /usr/include/freetype2/freetype/freetype.h:22:2: #error "Example:"
> > /usr/include/freetype2/freetype/freetype.h:23:2: #error " #include
> > <ft2build.h>" /usr/include/freetype2/freetype/freetype.h:24:2: #error "
> > #include FT_FREETYPE_H" make: *** [ttf.o] Error 1
>
> RTFM (/usr/share/doc/freetype2-2.1.9/docs/CHANGES):
> [...]
> LATEST CHANGES BETWEEN 2.1.6 and 2.1.5
> [...]
> III. MISCELLANEOUS
>
> - There is now a guard in the public header files to protect
> against inclusion of freetype.h from FreeType 1.
>
> - Direct inclusion of freetype.h and other public header files no
> longer works. You have to use the documented scheme
>
> #include <ft2build.h>
> #include FT_FREETYPE_H
>
> to load freetype.h with a symbolic name. This protects against
> renaming of public header files (which shouldn't happen but
> actually has, avoiding two public header files with the same
> name).
>
>
> P.S. Кто так сильно хотел новый freetype2?
не я. можно сделать вот так
--- include/freetype/freetype.h.orig 2004-06-20 00:50:08 +0400
+++ include/freetype/freetype.h 2004-10-27 17:51:32 +0400
@@ -16,15 +16,6 @@
/***************************************************************************/
-#ifndef FT_FREETYPE_H
-#error "`ft2build.h' hasn't been included yet!"
-#error "Please always use macros to include FreeType header files."
-#error "Example:"
-#error " #include <ft2build.h>"
-#error " #include FT_FREETYPE_H"
-#endif
-
-
#ifndef __FREETYPE_H__
#define __FREETYPE_H__
но тогда отвалятся те кто заточен под новый freetype
--
Valery V. Inozemtsev
Powered by ALT Linux Sisyphus (20041021)
ftp://ftp.altlinux.ru/pub/people/shrek/
[-- Attachment #2: signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2004-10-27 14:07 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-10-27 11:02 Dmitry V. Levin
2004-10-27 11:26 ` Andrey Orlov
2004-10-27 12:40 ` Sergey V Turchin
2004-10-27 13:10 ` Valery V. Inozemtsev
2004-10-27 13:59 ` Dmitry V. Levin
2004-10-27 14:07 ` Valery V. Inozemtsev [this message]
2004-10-27 15:13 ` [devel] I: freetype2-devel-2.1.9-alt1 breaks old packages Dmitry V. Levin
2004-10-27 15:19 ` Valery V. Inozemtsev
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200410271807.23557.shrek@freesource.info \
--to=shrek@freesource.info \
--cc=devel@altlinux.ru \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Team development discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
public-inbox-index devel
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.devel
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git