Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#4368 closed enhancement (fixed)

freetype-2.5.1

Reported by: Fernando de Oliveira Owned by: Fernando de Oliveira
Priority: normal Milestone:
Component: BOOK Version: SVN
Severity: normal Keywords:
Cc:

Description

Change History (7)

comment:1 by Fernando de Oliveira, 10 years ago

Owner: changed from blfs-book@… to Fernando de Oliveira

comment:2 by Fernando de Oliveira, 10 years ago

Status: newassigned

comment:3 by Fernando de Oliveira, 10 years ago

I am having a funny time with this ticket (as Ken says).

There is a fundamental modification:

    - The header  file layout  has been changed.   After installation,
      all files are now located in `<prefix>/include/freetype2'.

      Applications  that  use   (a)  `freetype-config'  or  FreeType's
      `pkg-config' file to get the include directory for the compiler,
      and (b) the documented way for header inclusion like

        #include <ft2build.h>
        #include FT_FREETYPE_H
        ...

      don't need any change to the source code.

I am not sure how to proceed. Have not yet installed it nor tested the other packages dependent on this one.

I will install and test how packages work. Alternatives I am considering:

  1. If dependent packages need to be reinstalled.
  1. I could just by hand put the headers in the old places.
  1. Symlink the old places to the new ones.
  1. Just leave the book without the update.
  1. Try to use a sed to force it to install everything in the old places.

Help is surely needed with this issue. Thanks in advance.

This is the firs time I come across such a modification.

comment:4 by ken@…, 10 years ago

I suggest discussing this sort of problem on the -dev list!

My initial thoughts are that if you upgrade, either the library is compatible and existing (already-compiled) users will link to it, or alternatively it is a new version (unlikely) and they will still use the old one.

For the headers, with 2.5.0.1 mine installed to /usr/include/freetype2/freetype, so I guess it has lost the redundant directory. In theory, everything should be using a sane approach to find the headers, but I'm sure some packages will have issues. If so, those packages need to be (conditionally) fixed.

comment:5 by Fernando de Oliveira, 10 years ago

OK, thanks, next time I will discuss there.

However, things are better than I thought.

Built: Fontconfig-2.11.0 Imlib2-1.4.5 Graphviz-2.34.0 libass-0.10.2 agg-2.5 ghostscript-9.10, so, everything seems to be fine.

So, with a minor modification in one sed, only the statistics and version numbers need modification.

Shall I update, or open a discussion in -dev?

comment:6 by Fernando de Oliveira, 10 years ago

Resolution: fixed
Status: assignedclosed

Thanks, ĸen and Bruce.

Fixed at r12281.

comment:7 by bdubbs@…, 10 years ago

Milestone: current

Milestone current deleted

Note: See TracTickets for help on using tickets.