This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Howto install freetype2?


On Sat, Jan 22, 2011 at 06:52:10PM +0100, Gyurmo wrote:
> Hello, How can I install freetype2?
> I have many files in /usr/src.
> I have cygport and patch files. How can I use these?
> I wait for your fast answer.

Hello,

Try reading the manpage for the cygport command, the README and
html manual under /usr/share/doc/cygport to understand what you are
about to do. It is a good practice in general to do so, and besides
you'll notice you could have answered yourself faster than this list
:)

From the README file of freetype2:

Runtime requirements:
  cygwin-1.7.1-1
  libgcc1-4.3.4-3
  zlib0-1.2.3-10
(freetype2-demos)
  libX11_6-1.3.3-1

Build requirements:
  autoconf2.5-2.65-1
  automake1.11-1.11.1-1
  binutils-2.19.51-1
  cygport-0.9.80-1
  gawk-3.1.7-1
  gcc4-core-4.3.4-3
  libtool-2.2.7a-15
  make-3.81-2
  python-2.5.4-10
  sed-4.1.5-2

Build instructions:
  unpack freetype2-2.3.12-X-src.tar.bz2
    if you use setup to install this src package, it will be
         unpacked under /usr/src automatically
  cd /usr/src
  cygport ./freetype2-2.3.12-X.cygport all

This will create:
  /usr/src/freetype2-2.3.12-X-src.tar.bz2
  /usr/src/freetype2-demos-2.3.12-X-src.tar.bz2
  /usr/src/libfreetype-devel-2.3.12-X.tar.bz2
  /usr/src/libfreetype6-2.3.12-X.tar.bz2

For a list of files in each binary packages, run from the
command-line: 'cygcheck -l [PACKAGE]'

So assuming freetype2-2.3.12-1-src, you have these files under /usr/src:

freetype-2.3.12.tar.bz2
freetype-2.3.2-enable-valid.patch
freetype-doc-2.3.12.tar.bz2
freetype2-2.3.12-1.cygport
freetype2-2.3.12-1.cygwin.patch
ft2demos-2.3.12.tar.bz2

just issue:

$ cygport freetype2-2.3.12-1.cygport all

and you should be done. You'll have your binary package(s) ready to
unpack in your root directory.

Regards.

-- 
Huella de clave primaria: 0FDA C36F F110 54F4 D42B  D0EB 617D 396C 448B 31EB

Attachment: signature.asc
Description: Digital signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]