public inbox for cygwin-apps@cygwin.com
 help / color / mirror / Atom feed
* [ITA] libXft/libXft2/libXft-devel-2.1.7: A client-side font API for X applications
@ 2008-04-03  9:46 Dr. Volker Zell
  2008-04-06 11:22 ` Corinna Vinschen
  2008-04-09  2:05 ` Brian Dessent
  0 siblings, 2 replies; 5+ messages in thread
From: Dr. Volker Zell @ 2008-04-03  9:46 UTC (permalink / raw)
  To: cygwin-apps

Hi

I would like to adopt and maintain the 'libXft/libXft2/libXft-devel' 
packages from Harold Hunt and replace them with the latest version which 
is not dependent on the modular X11R7. This is 2.1.7. In this release,
there will be a change from the /usr/X11R6 hierarchy to /usr.


This package likes to install the header files to

  /usr/include/X11/Xft/*.h

xorg-x11-devel installs a symlink

  /usr/include/X11 -> ../X11R6/include/X11

Given that the X11 hierarchy is deprecated, I like to remove this
symlink in a preremove script.

-------------------- preremove ------------------
#!/bin/bash

if [ -L /usr/include/X11 ] ; then
  rm -f /usr/include/X11
fi
-------------------- preremove ------------------


Also to make libtool happy (as mentioned by Yaakov) in a postinstall 
script all .la files will be changed to accomodate the new library and header 
locations .

------------------- postinstall -----------------
#!/bin/bash

# Make libtool happy
for d in /usr/lib /usr/X11R6/lib
do
  echo ">>> Processing directory $d"
  for f in `find ${d} -name '*.la'`
  do
    if grep "/usr/X11R6/lib/libXft.la" ${f} > /dev/nul
    then
      echo "Processing file $f"
      chmod 644 ${f}
      sed -i -e 's#/usr/X11R6/lib/libXft\.la#/usr/lib/libXft\.la#g' ${f}
    fi
  done
done
------------------- postinstall -----------------



Here are the setup.hint files:
-------------------------------------------------------------------------------------------
./libXft-devel/setup.hint

sdesc: "X.org libXft component - (development)"
ldesc: "The current version of Xft (2.0) provides a client-side font API for X applications.
It uses Fontconfig to select fonts and the X protocol for rendering them. When
available, Xft uses the Render extension to accelerate text drawing. When Render
is not available, Xft uses the core protocol to draw client-side glyphs. This
provides completely compatible support of client-side fonts for all X servers."
category: Devel Libs X11
requires: cygwin libXft2 libfontconfig-devel xorg-x11-devel coreutils sed
external-source: libXft

-------------------------------------------------------------------------------------------
./libXft2/setup.hint

sdesc: "X.org libXft component - (runtime)"
ldesc: "The current version of Xft (2.0) provides a client-side font API for X applications.
It uses Fontconfig to select fonts and the X protocol for rendering them. When
available, Xft uses the Render extension to accelerate text drawing. When Render
is not available, Xft uses the core protocol to draw client-side glyphs. This
provides completely compatible support of client-side fonts for all X servers."
category: Libs X11
requires: cygwin libfontconfig1 xorg-x11-bin-dlls
external-source: libXft


-------------------------------------------------------------------------------------------
./setup.hint

sdesc: "X.org libXft component"
ldesc: "The current version of Xft (2.0) provides a client-side font API for X applications.
It uses Fontconfig to select fonts and the X protocol for rendering them. When
available, Xft uses the Render extension to accelerate text drawing. When Render
is not available, Xft uses the core protocol to draw client-side glyphs. This
provides completely compatible support of client-side fonts for all X servers."
category: Libs X11
requires: cygwin libXft2



For downloading 

------------------------------------ cut here ------------------------------------
#!/bin/bash

mkdir -p libXft/libXft2 libXft/libXft-devel

cd libXft
wget http://volkerzell.de/cygwin/ITP/libXft/setup.hint
wget http://volkerzell.de/cygwin/ITP/libXft/libXft-2.1.7-1-src.tar.bz2
wget http://volkerzell.de/cygwin/ITP/libXft/libXft-2.1.7-1.tar.bz2

cd libXft2
wget http://volkerzell.de/cygwin/ITP/libXft/libXft2/setup.hint
wget http://volkerzell.de/cygwin/ITP/libXft/libXft2/libXft2-2.1.7-1.tar.bz2

cd ../libXft-devel
wget http://volkerzell.de/cygwin/ITP/libXft/libXft-devel/setup.hint
wget http://volkerzell.de/cygwin/ITP/libXft/libXft-devel/libXft-devel-2.1.7-1.tar.bz2
------------------------------------ cut here ------------------------------------

Ciao
  Volker

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-04-10  9:37 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-04-03  9:46 [ITA] libXft/libXft2/libXft-devel-2.1.7: A client-side font API for X applications Dr. Volker Zell
2008-04-06 11:22 ` Corinna Vinschen
2008-04-09  2:05 ` Brian Dessent
2008-04-09  2:10   ` Brian Dessent
2008-04-10  9:37     ` Dr. Volker Zell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).