diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2004-06-30 10:06:25 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2004-06-30 10:06:25 +0800 |
commit | bc3ab121bca706a8ac08ff4fa9e56959886fbc49 (patch) | |
tree | 07e9f6424dcb1178f82afdf1f7c1480455bf7871 /x11-toolkits/pango | |
parent | ef98e1e54458402c19417cfaa973703d2aa94ba6 (diff) | |
download | marcuscom-ports-bc3ab121bca706a8ac08ff4fa9e56959886fbc49.tar marcuscom-ports-bc3ab121bca706a8ac08ff4fa9e56959886fbc49.tar.gz marcuscom-ports-bc3ab121bca706a8ac08ff4fa9e56959886fbc49.tar.bz2 marcuscom-ports-bc3ab121bca706a8ac08ff4fa9e56959886fbc49.tar.lz marcuscom-ports-bc3ab121bca706a8ac08ff4fa9e56959886fbc49.tar.xz marcuscom-ports-bc3ab121bca706a8ac08ff4fa9e56959886fbc49.tar.zst marcuscom-ports-bc3ab121bca706a8ac08ff4fa9e56959886fbc49.zip |
Update to 1.5.0.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@2424 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11-toolkits/pango')
-rw-r--r-- | x11-toolkits/pango/Makefile | 62 | ||||
-rw-r--r-- | x11-toolkits/pango/distinfo | 2 | ||||
-rw-r--r-- | x11-toolkits/pango/files/patch-ac | 14 | ||||
-rw-r--r-- | x11-toolkits/pango/files/patch-configure | 17 | ||||
-rw-r--r-- | x11-toolkits/pango/files/patch-ltmain.sh | 51 | ||||
-rw-r--r-- | x11-toolkits/pango/files/pkg-install.in | 11 | ||||
-rw-r--r-- | x11-toolkits/pango/pkg-descr | 6 | ||||
-rw-r--r-- | x11-toolkits/pango/pkg-plist | 94 |
8 files changed, 257 insertions, 0 deletions
diff --git a/x11-toolkits/pango/Makefile b/x11-toolkits/pango/Makefile new file mode 100644 index 000000000..d8b5da909 --- /dev/null +++ b/x11-toolkits/pango/Makefile @@ -0,0 +1,62 @@ +# New ports collection makefile for: pango +# Date Created: 18 July 2000 +# Whom: Maxim Sobolev <sobomax@FreeBSD.org> +# +# $FreeBSD: ports/x11-toolkits/pango/Makefile,v 1.62 2004/05/31 19:41:46 marcus Exp $ +# + +PORTNAME= pango +PORTVERSION= 1.5.0 +CATEGORIES= x11-toolkits +MASTER_SITES= ${MASTER_SITE_GNOME:S,%SUBDIR%,sources/${PORTNAME}/1.5,} \ + ftp://ftp.gtk.org/pub/gtk/v2.3/ +DIST_SUBDIR= gnome2 + +MAINTAINER= gnome@FreeBSD.org +COMMENT= An open-source framework for the layout and rendering of i18n text + +BUILD_DEPENDS= freetype-config:${PORTSDIR}/print/freetype2 +LIB_DEPENDS= Xft.2:${PORTSDIR}/x11-fonts/libXft +RUN_DEPENDS= ${FONTSCALE}:${PORTSDIR}/x11-fonts/XFree86-4-fontScalable \ + ${FONTENCOD}:${PORTSDIR}/x11-fonts/XFree86-4-fontEncodings + +USE_BZIP2= yes +USE_GETTEXT= yes +USE_X_PREFIX= yes +USE_GMAKE= yes +USE_REINPLACE= yes +INSTALLS_SHLIB= yes +GNU_CONFIGURE= yes +USE_GNOME= gnomehack glib20 +CONFIGURE_ARGS= --with-qt=no \ + --with-html-dir=${PREFIX}/share/doc \ + --enable-static +PKGINSTALL= ${WRKDIR}/pkg-install +# Hmm.. tough one. Found this one when I had graphics/hdf installed +# (which installs glist.h) which is picked up before the glib-2.0 +# stuff, with Bad Results[tm] +# +GLIB2_CFLAGS= `pkg-config glib-2.0 --cflags` +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/freetype2 \ + ${GLIB2_CFLAGS} -I${LOCALBASE}/include \ + -I${X11BASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib" +PLIST_SUB= VERSION="1.4.0" + +FONTSCALE= ${X11BASE}/lib/X11/fonts/TTF/luximb.ttf +FONTENCOD= ${X11BASE}/lib/X11/fonts/encodings/tcvn-0.enc + +MAN1= pango-querymodules.1 + +post-patch: + @${FIND} ${WRKSRC}/pango/opentype -name "*.[ch]" | ${XARGS} \ + ${REINPLACE_CMD} -e 's|internal/tterrors\.h|fterrors.h| ; \ + s|TT_Err_|FT_Err_|g' +post-install: + @${SED} -e 's|%%X11BASE%%|${X11BASE}|' < ${FILESDIR}/pkg-install.in \ + > ${PKGINSTALL} +.if !defined(PACKAGE_BUILDING) + @${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL +.endif + +.include <bsd.port.mk> diff --git a/x11-toolkits/pango/distinfo b/x11-toolkits/pango/distinfo new file mode 100644 index 000000000..abcb3aee0 --- /dev/null +++ b/x11-toolkits/pango/distinfo @@ -0,0 +1,2 @@ +MD5 (gnome2/pango-1.5.0.tar.bz2) = cd79d36eb62592cf9cce750d6df0618b +SIZE (gnome2/pango-1.5.0.tar.bz2) = 927834 diff --git a/x11-toolkits/pango/files/patch-ac b/x11-toolkits/pango/files/patch-ac new file mode 100644 index 000000000..170c0fe7d --- /dev/null +++ b/x11-toolkits/pango/files/patch-ac @@ -0,0 +1,14 @@ + +$FreeBSD: ports/x11-toolkits/pango/files/patch-ac,v 1.6 2004/04/05 03:11:39 marcus Exp $ + +--- Makefile.in.orig Mon Mar 11 12:16:33 2002 ++++ Makefile.in Mon Mar 11 12:24:58 2002 +@@ -116,7 +116,7 @@ + YACC = @YACC@ + ms_librarian = @ms_librarian@ + +-SUBDIRS = pango modules examples docs tools tests ++SUBDIRS = pango modules examples docs tools + + EXTRA_DIST = \ + pango.spec.in \ diff --git a/x11-toolkits/pango/files/patch-configure b/x11-toolkits/pango/files/patch-configure new file mode 100644 index 000000000..611bcc576 --- /dev/null +++ b/x11-toolkits/pango/files/patch-configure @@ -0,0 +1,17 @@ +--- configure.orig Thu Jun 13 17:04:03 2002 ++++ configure Wed Jul 3 12:46:50 2002 +@@ -12084,10 +12085,10 @@ + s,@INSTALL_DATA@,$INSTALL_DATA,;t t + s,@PACKAGE@,$PACKAGE,;t t + s,@VERSION@,$VERSION,;t t +-s,@ACLOCAL@,$ACLOCAL,;t t +-s,@AUTOCONF@,$AUTOCONF,;t t +-s,@AUTOMAKE@,$AUTOMAKE,;t t +-s,@AUTOHEADER@,$AUTOHEADER,;t t ++s,@ACLOCAL@,/usr/bin/true,;t t ++s,@AUTOCONF@,/usr/bin/true,;t t ++s,@AUTOMAKE@,/usr/bin/true,;t t ++s,@AUTOHEADER@,/usr/bin/true,;t t + s,@MAKEINFO@,$MAKEINFO,;t t + s,@SET_MAKE@,$SET_MAKE,;t t + s,@CC@,$CC,;t t diff --git a/x11-toolkits/pango/files/patch-ltmain.sh b/x11-toolkits/pango/files/patch-ltmain.sh new file mode 100644 index 000000000..1d5698667 --- /dev/null +++ b/x11-toolkits/pango/files/patch-ltmain.sh @@ -0,0 +1,51 @@ +--- ltmain.sh.orig Thu Apr 24 19:44:23 2003 ++++ ltmain.sh Sat May 31 01:34:34 2003 +@@ -1280,7 +1280,7 @@ + esac + elif test "X$arg" = "X-lc_r"; then + case $host in +- *-*-openbsd* | *-*-freebsd*) ++ *-*-openbsd* | *-*-freebsd4*) + # Do not include libc_r directly, use -pthread flag. + continue + ;; +@@ -1290,8 +1290,16 @@ + continue + ;; + ++ -pthread) ++ compile_command="$compile_command -pthread" ++ finalize_command="$finalize_command -pthread" ++ compiler_flags="$compiler_flags -pthread" ++ continue ++ ;; ++ + -module) + module=yes ++ build_old_libs=no + continue + ;; + +@@ -3000,6 +3008,9 @@ + # problems, so we reset it completely + verstring= + ;; ++ *-*-freebsd*) ++ # FreeBSD doesn't need this... ++ ;; + *) + verstring="0.0" + ;; +@@ -5428,10 +5439,12 @@ + fi + + # Install the pseudo-library for information purposes. ++ if /usr/bin/false; then + name=`$echo "X$file" | $Xsed -e 's%^.*/%%'` + instname="$dir/$name"i + $show "$install_prog $instname $destdir/$name" + $run eval "$install_prog $instname $destdir/$name" || exit $? ++ fi + + # Maybe install the static library, too. + test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library" diff --git a/x11-toolkits/pango/files/pkg-install.in b/x11-toolkits/pango/files/pkg-install.in new file mode 100644 index 000000000..2eefcdfcd --- /dev/null +++ b/x11-toolkits/pango/files/pkg-install.in @@ -0,0 +1,11 @@ +#!/bin/sh + +PATH=/bin:/usr/bin:/sbin:/usr/sbin:%%X11BASE%%/bin +export PATH + +case $2 in +POST-INSTALL) + echo "Running fc-cache to build fontconfig cache..." + fc-cache -f -v + ;; +esac diff --git a/x11-toolkits/pango/pkg-descr b/x11-toolkits/pango/pkg-descr new file mode 100644 index 000000000..9ff793b51 --- /dev/null +++ b/x11-toolkits/pango/pkg-descr @@ -0,0 +1,6 @@ +Pango provides a framework to render and control the layout of +internationalized text, and is the backend for right-to-left text. +Pango is an integral part of the GTK+ and GNOME projects, but its +code is platform- and toolkit-independent. + +WWW: http://www.pango.org/ diff --git a/x11-toolkits/pango/pkg-plist b/x11-toolkits/pango/pkg-plist new file mode 100644 index 000000000..958cf31ac --- /dev/null +++ b/x11-toolkits/pango/pkg-plist @@ -0,0 +1,94 @@ +bin/pango-querymodules +etc/pango/pango.modules +etc/pango/pangox.aliases +include/pango-1.0/pango/pango-attributes.h +include/pango-1.0/pango/pango-break.h +include/pango-1.0/pango/pango-context.h +include/pango-1.0/pango/pango-coverage.h +include/pango-1.0/pango/pangofc-decoder.h +include/pango-1.0/pango/pango-engine.h +include/pango-1.0/pango/pango-enum-types.h +include/pango-1.0/pango/pango-font.h +include/pango-1.0/pango/pango-fontmap.h +include/pango-1.0/pango/pango-fontset.h +include/pango-1.0/pango/pango-glyph-item.h +include/pango-1.0/pango/pango-glyph.h +include/pango-1.0/pango/pango-item.h +include/pango-1.0/pango/pango-layout.h +include/pango-1.0/pango/pango-modules.h +include/pango-1.0/pango/pango-ot.h +include/pango-1.0/pango/pango-script.h +include/pango-1.0/pango/pango-tabs.h +include/pango-1.0/pango/pango-types.h +include/pango-1.0/pango/pango-utils.h +include/pango-1.0/pango/pango.h +include/pango-1.0/pango/pangofc-font.h +include/pango-1.0/pango/pangofc-fontmap.h +include/pango-1.0/pango/pangoft2.h +include/pango-1.0/pango/pangox.h +include/pango-1.0/pango/pangoxft.h +lib/libpango-1.0.a +lib/libpango-1.0.so +lib/libpango-1.0.so.500 +lib/libpangoft2-1.0.a +lib/libpangoft2-1.0.so +lib/libpangoft2-1.0.so.500 +lib/libpangox-1.0.a +lib/libpangox-1.0.so +lib/libpangox-1.0.so.500 +lib/libpangoxft-1.0.a +lib/libpangoxft-1.0.so +lib/libpangoxft-1.0.so.500 +lib/pango/%%VERSION%%/modules/pango-arabic-fc.so +lib/pango/%%VERSION%%/modules/pango-basic-fc.so +lib/pango/%%VERSION%%/modules/pango-basic-x.so +lib/pango/%%VERSION%%/modules/pango-hangul-fc.so +lib/pango/%%VERSION%%/modules/pango-hebrew-fc.so +lib/pango/%%VERSION%%/modules/pango-indic-fc.so +lib/pango/%%VERSION%%/modules/pango-thai-fc.so +libdata/pkgconfig/pango.pc +libdata/pkgconfig/pangoft2.pc +libdata/pkgconfig/pangox.pc +libdata/pkgconfig/pangoxft.pc +%%DOCSDIR%%/PangoEngineLang.html +%%DOCSDIR%%/PangoEngineShape.html +%%DOCSDIR%%/PangoFcDecoder.html +%%DOCSDIR%%/PangoFcFont.html +%%DOCSDIR%%/PangoFcFontMap.html +%%DOCSDIR%%/home.png +%%DOCSDIR%%/index.html +%%DOCSDIR%%/index.sgml +%%DOCSDIR%%/ix01.html +%%DOCSDIR%%/layout.gif +%%DOCSDIR%%/left.png +%%DOCSDIR%%/lowlevel.html +%%DOCSDIR%%/PangoMarkupFormat.html +%%DOCSDIR%%/pango-Coverage-Maps.html +%%DOCSDIR%%/pango-Engines.html +%%DOCSDIR%%/pango-Fonts.html +%%DOCSDIR%%/pango-FreeType-Fonts-and-Rendering.html +%%DOCSDIR%%/pango-Glyph-Storage.html +%%DOCSDIR%%/pango-Layout-Objects.html +%%DOCSDIR%%/pango-Modules.html +%%DOCSDIR%%/pango-OpenType-Font-Handling.html +%%DOCSDIR%%/pango-Scripts.html +%%DOCSDIR%%/pango-Tab-Stops.html +%%DOCSDIR%%/pango-Text-Attributes.html +%%DOCSDIR%%/pango-Text-Processing.html +%%DOCSDIR%%/pango-Win32-Fonts-and-Rendering.html +%%DOCSDIR%%/pango-X-Fonts-and-Rendering.html +%%DOCSDIR%%/pango-Xft-Fonts-and-Rendering.html +%%DOCSDIR%%/pango-querymodules.html +%%DOCSDIR%%/pango.devhelp +%%DOCSDIR%%/pango.html +%%DOCSDIR%%/rendering.html +%%DOCSDIR%%/right.png +%%DOCSDIR%%/tools.html +%%DOCSDIR%%/up.png +@dirrm %%DOCSDIR%% +@dirrm lib/pango/%%VERSION%%/modules +@dirrm lib/pango/%%VERSION%% +@dirrm lib/pango +@dirrm include/pango-1.0/pango +@dirrm include/pango-1.0 +@dirrm etc/pango |