fontconfig 2.2.0
Harold L Hunt II
huntharo@msu.edu
Wed Oct 22 13:41:00 GMT 2003
Gerrit,
Thanks. Looks like this will be useful.
You are not intending to release these packages yourself, right?
Harold
Gerrit P. Haase wrote:
> Gerrit schrieb:
>
>
>>Hallo Harold,
>
>
>>>3) Both shared and static libs are being built. That is desired, correct?
>
>
>>Yes, please.
>
>
>>>4) File placement is not yet correct. I wanted to get this out there
>>>for early review in case anyone was watching.
>
>
>>I had some problems with not exported symbols, I have a patch in my
>>office, I'll send you later. The problem happens also to me with
>>another build yesterday when the --export-all-symbols linker flag was
>>not used.
>
>
> The fontconfig package is online:
> http://anfaenger.de/cygwin/fontconfig~/
>
> There are also the patches and infos for the related packages:
>
> Render
> ======
> #!/bin/sh
> tar zxf render-0.8.tar.gz
> cd render-0.8
> ./autogen.sh --prefix=/usr/X11R6 --localstatedir=/var --sysconfdir=/etc
> make
> make install
>
>
> Xrender
> =======
> #!/bin/sh
> tar zxf xrender-0.8.3.tar.gz
> cd xrender-0.8.3
> patch -p1<../xrender-0.8.3-1.patch
> ./autogen.sh --prefix=/usr/X11R6 --localstatedir=/var --sysconfdir=/etc --with-x
> make
> make install
>
>
> Xft
> ===
> #!/bin/sh
> tar zxf xft-2.1.2.tar.gz
> cd xft-2.1.2
> patch -p1<../xft-2.1.2-1.patch
> ./autogen.sh --prefix=/usr/X11R6 --localstatedir=/var --sysconfdir=/etc --with-x
> make
> make install
>
>
> Xcursor
> =======
> #!/bin/sh
> tar zxf xcursor-1.0.2.tar.gz
> cd xcursor-1.0.2
> patch -p1<../xcursor-1.0.2-1.patch
> ./autogen.sh --prefix=/usr/X11R6 --localstatedir=/var --sysconfdir=/etc --with-x
> make
> make install
>
>
>
> The fontconfig README and the patch:
> ====================================
> Fontconfig version 2.2.90
>
> Fontconfig is a library designed to provide system-wide font
> configuration, customization and application access.
>
>
> Built with this script:
>
> #!/bin/sh
> export PATH=`pwd`/fontconfig-2.2.90/src/.libs:$PATH
> tar xzf fontconfig-2.2.90.tar.gz
> patch -p0 < fontconfig-2.2.90-1.patch
> cd fontconfig-2.2.90
>
> # relibtoolize
> libtoolize -c -f --automake
> aclocal
> automake -a -c -f
> autoconf
>
> # configure
> ./configure \
> --prefix=/usr/X11R6 \
> --localstatedir=/var \
> --sysconfdir=/etc \
> --with-docdir=/usr/doc/fontconfig \
> 2>&1 | tee log.configure
>
> # compile
> make 2>&1 | tee log.make
>
> # install
> make install 2>&1 | tee log.install
>
>
> and this patch:
>
> diff -urd fontconfig-2.2.90~/Makefile.am fontconfig-2.2.90/Makefile.am
> --- fontconfig-2.2.90~/Makefile.am 2003-06-09 20:49:18.000000000 +0200
> +++ fontconfig-2.2.90/Makefile.am 2003-06-22 19:09:18.000000000 +0200
> @@ -48,4 +48,4 @@
> echo " $(INSTALL_DATA) local.conf $(DESTDIR)$(configdir)/local.conf"; \
> $(INSTALL_DATA) local.conf $(DESTDIR)$(configdir)/local.conf; \
> fi; fi; fi
> - if [ x$(DESTDIR) = x ]; then fc-cache/fc-cache -f -v; fi
> + if [ x$(DESTDIR) = x ]; then fc-cache/.libs/fc-cache -f -v; fi
> diff -urd fontconfig-2.2.90~/configure.in fontconfig-2.2.90/configure.in
> --- fontconfig-2.2.90~/configure.in 2003-06-09 21:21:06.000000000 +0200
> +++ fontconfig-2.2.90/configure.in 2003-06-22 19:26:21.000000000 +0200
> @@ -66,10 +66,14 @@
> *-*-mingw*)
> os_win32=yes
> ;;
> + *-*-cygwin*)
> + os_cygwin=yes
> + ;;
> *)
> os_win32=no
> esac
> AM_CONDITIONAL(OS_WIN32, test "$os_win32" = "yes")
> +AM_CONDITIONAL(OS_CYGWIN, test "$os_cygwin" = "yes")
>
> if test "$os_win32" = "yes"; then
> AC_CHECK_PROG(ms_librarian, lib.exe, yes, no)
> diff -urd fontconfig-2.2.90~/src/Makefile.am fontconfig-2.2.90/src/Makefile.am
> --- fontconfig-2.2.90~/src/Makefile.am 2003-04-17 23:50:24.000000000 +0200
> +++ fontconfig-2.2.90/src/Makefile.am 2003-06-22 19:13:33.000000000 +0200
> @@ -19,6 +19,23 @@
>
> endif
>
> +
> +if OS_CYGWIN
> +
> +no_undefined = -no-undefined
> +export_symbols = -export-symbols
> +
> +# gcc import library install/uninstall
> +
> +install-libtool-import-lib:
> + $(INSTALL) .libs/libfontconfig.dll.a $(DESTDIR)$(libdir)
> +
> +uninstall-libtool-import-lib:
> + -rm $(DESTDIR)$(libdir)/libfontconfig.dll.a
> +
> +endif
> +
> +
> if MS_LIB_AVAILABLE
>
> # Microsoft import library install/uninstall
> diff -urd -x .libs fontconfig-2.2.0~/src/fontconfig.def.in fontconfig-2.2.0/src/fontconfig.def.in
> --- fontconfig-2.2.90~/src/fontconfig.def.in 2003-03-22 22:25:34.000000000 +0100
> +++ fontconfig-2.2.90/src/fontconfig.def.in 2003-06-17 13:18:32.000000000 +0200
> @@ -1,4 +1,4 @@
> -LIBRARY fontconfig
> +LIBRARY cygfontconfig-1.dll
> VERSION @LT_CURRENT@.@LT_REVISION@
> EXPORTS
> FcAtomicCreate
> @@ -159,3 +159,7 @@
> FcValueEqual
> FcValuePrint
> FcValueSave
> + FcFreeTypeCharSetAndSpacing
> + FcConfigHome
> + FcConfigEnableHome
> + FcLangSetContains
>
> # END
>
> This Cygwin Fontconfig package: Gerrit P. Haase, 2003-06-22
>
>
> Gerrit
More information about the Cygwin-apps
mailing list