From d6ae9af9fa8bcaf6de4c99ad25a5de5fb8b31ec3 Mon Sep 17 00:00:00 2001 From: marcus Date: Mon, 7 Oct 2002 05:35:26 +0000 Subject: Add pango-1.1.1. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@4 df743ca5-7f9a-e211-a948-0013205c9059 --- x11-toolkits/pango/Makefile | 59 ++++++++++++++++++++ x11-toolkits/pango/distinfo | 1 + x11-toolkits/pango/files/patch-ac | 14 +++++ x11-toolkits/pango/files/patch-configure | 17 ++++++ x11-toolkits/pango/files/patch-ltmain.sh | 69 +++++++++++++++++++++++ x11-toolkits/pango/files/patch-pangoxft.h | 11 ++++ x11-toolkits/pango/pkg-comment | 1 + x11-toolkits/pango/pkg-descr | 8 +++ x11-toolkits/pango/pkg-plist | 91 +++++++++++++++++++++++++++++++ 9 files changed, 271 insertions(+) create mode 100644 x11-toolkits/pango/Makefile create mode 100644 x11-toolkits/pango/distinfo create mode 100644 x11-toolkits/pango/files/patch-ac create mode 100644 x11-toolkits/pango/files/patch-configure create mode 100644 x11-toolkits/pango/files/patch-ltmain.sh create mode 100644 x11-toolkits/pango/files/patch-pangoxft.h create mode 100644 x11-toolkits/pango/pkg-comment create mode 100644 x11-toolkits/pango/pkg-descr create mode 100644 x11-toolkits/pango/pkg-plist (limited to 'x11-toolkits') diff --git a/x11-toolkits/pango/Makefile b/x11-toolkits/pango/Makefile new file mode 100644 index 000000000..7adcd14cd --- /dev/null +++ b/x11-toolkits/pango/Makefile @@ -0,0 +1,59 @@ +# New ports collection makefile for: pango +# Date Created: 18 July 2000 +# Whom: Maxim Sobolev +# +# $FreeBSD: ports/x11-toolkits/pango/Makefile,v 1.36 2002/09/20 17:07:40 marcus Exp $ +# + +PORTNAME= pango +PORTVERSION= 1.1.1 +CATEGORIES= x11-toolkits +MASTER_SITES= ${MASTER_SITE_GNOME:S,%SUBDIR%,sources/${PORTNAME}/1.1,} \ + ftp://ftp.gtk.org/pub/gtk/v2.0/ \ + ftp://ftp.cs.umn.edu/pub/gimp/gtk/v1.3/ \ + http://www.ameth.org/gimp/gtk/v1.3/ +DIST_SUBDIR= gnome2 + +MAINTAINER= gnome@FreeBSD.org + +BUILD_DEPENDS= freetype-config:${PORTSDIR}/print/freetype2 # XXX +LIB_DEPENDS= glib-2.0.0:${PORTSDIR}/devel/glib20 \ + Xft2.2:${PORTSDIR}/x11-fonts/Xft \ + intl.4:${PORTSDIR}/devel/gettext + +USE_BZIP2= yes +USE_X_PREFIX= yes +USE_GMAKE= yes +USE_REINPLACE= yes +INSTALLS_SHLIB= yes +GNU_CONFIGURE= yes +USE_GNOMENG= yes +USE_GNOME= gnomehack +CONFIGURE_ARGS= --with-qt=no \ + --with-html-dir=${PREFIX}/share/doc \ + --enable-static +# 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 ${PTHREAD_LIBS}" +CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL} +PLIST_SUB= VERSION="1.1.0" + +.include + +.if ${XFREE86_VERSION} == 3 +PLIST_SUB+= XFREE4:="@comment " +.else +PLIST_SUB+= XFREE4:="" +.endif + +post-patch: + @${FIND} ${WRKSRC}/pango/opentype -name "*.[ch]" | xargs ${REINPLACE_CMD} -e \ + 's|internal/tterrors\.h|fterrors.h| ; s|TT_Err_|FT_Err_|g' + +.include diff --git a/x11-toolkits/pango/distinfo b/x11-toolkits/pango/distinfo new file mode 100644 index 000000000..a1a8c9646 --- /dev/null +++ b/x11-toolkits/pango/distinfo @@ -0,0 +1 @@ +MD5 (gnome2/pango-1.1.1.tar.bz2) = 27aca626d09b5ddf9fe939ace8a48eee diff --git a/x11-toolkits/pango/files/patch-ac b/x11-toolkits/pango/files/patch-ac new file mode 100644 index 000000000..db958883d --- /dev/null +++ b/x11-toolkits/pango/files/patch-ac @@ -0,0 +1,14 @@ + +$FreeBSD: ports/x11-toolkits/pango/files/patch-ac,v 1.4 2002/03/11 17:53:24 sobomax 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..ec2f7e4ad --- /dev/null +++ b/x11-toolkits/pango/files/patch-ltmain.sh @@ -0,0 +1,69 @@ +--- ltmain.sh.orig Fri Apr 26 05:23:44 2002 ++++ ltmain.sh Wed Jul 3 12:50:12 2002 +@@ -1056,14 +1056,14 @@ + # These systems don't actually have a C library (as such) + test "X$arg" = "X-lc" && continue + ;; +- *-*-openbsd*) ++ *-*-openbsd*|*-*-freebsd*) + # Do not include libc due to us having libc/libc_r. + test "X$arg" = "X-lc" && continue + ;; + esac + elif test "X$arg" = "X-lc_r"; then + case $host in +- *-*-openbsd*) ++ *-*-openbsd*|*-*-freebsd*) + # Do not include libc_r directly, use -pthread flag. + continue + ;; +@@ -1073,8 +1073,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 + ;; + +@@ -2399,6 +2407,9 @@ + # problems, so we reset it completely + verstring="" + ;; ++ *-*-freebsd*) ++ # FreeBSD doesn't need this... ++ ;; + *) + verstring="0.0" + ;; +@@ -2502,6 +2513,9 @@ + *-*-openbsd*) + # Do not include libc due to us having libc/libc_r. + ;; ++ *-*-freebsd*) ++ # FreeBSD doesn't need this... ++ ;; + *) + # Add libc to deplibs on all other systems if necessary. + if test "$build_libtool_need_lc" = "yes"; then +@@ -4286,10 +4300,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/patch-pangoxft.h b/x11-toolkits/pango/files/patch-pangoxft.h new file mode 100644 index 000000000..939194042 --- /dev/null +++ b/x11-toolkits/pango/files/patch-pangoxft.h @@ -0,0 +1,11 @@ +--- pango/pangoxft.h.orig Sun Oct 6 23:03:37 2002 ++++ pango/pangoxft.h Sun Oct 6 23:03:42 2002 +@@ -31,7 +31,7 @@ + #define _XFT_NO_COMPAT + #define _XFTCOMPAT_H_ + #include +-#include ++#include + #if defined(XftVersion) && XftVersion >= 20000 + #else + #error "must have Xft version 2 or newer" diff --git a/x11-toolkits/pango/pkg-comment b/x11-toolkits/pango/pkg-comment new file mode 100644 index 000000000..4c28fa1a4 --- /dev/null +++ b/x11-toolkits/pango/pkg-comment @@ -0,0 +1 @@ +An open-source framework for the layout and rendering of i18n text diff --git a/x11-toolkits/pango/pkg-descr b/x11-toolkits/pango/pkg-descr new file mode 100644 index 000000000..3b2cf949c --- /dev/null +++ b/x11-toolkits/pango/pkg-descr @@ -0,0 +1,8 @@ +The goal of the Pango project is to provide an open-source framework for the +layout and rendering of internationalized text. Pango is an offshoot of the +GTK+ and GNOME projects, and the initial focus is operation in those +environments, however there is nothing fundamentally GTK+ or GNOME specific +about Pango. Pango uses Unicode for all of its encoding, and will eventually +support output in all the worlds major languages. + +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..a0b5fdcd9 --- /dev/null +++ b/x11-toolkits/pango/pkg-plist @@ -0,0 +1,91 @@ +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/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.h +include/pango-1.0/pango/pango-indic.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 +%%XFREE4:%%include/pango-1.0/pango/pango-ot.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/pangoft2.h +include/pango-1.0/pango/pangox.h +%%XFREE4:%%include/pango-1.0/pango/pangoxft.h +lib/libpango-1.0.a +lib/libpango-1.0.so +lib/libpango-1.0.so.100 +lib/libpangoft2-1.0.a +lib/libpangoft2-1.0.so +lib/libpangoft2-1.0.so.100 +lib/libpangox-1.0.a +lib/libpangox-1.0.so +lib/libpangox-1.0.so.100 +%%XFREE4:%%lib/libpangoxft-1.0.a +%%XFREE4:%%lib/libpangoxft-1.0.so +%%XFREE4:%%lib/libpangoxft-1.0.so.100 +lib/pango/%%VERSION%%/modules/pango-arabic-ft2.so +lib/pango/%%VERSION%%/modules/pango-arabic-x.so +%%XFREE4:%%lib/pango/%%VERSION%%/modules/pango-arabic-xft.so +lib/pango/%%VERSION%%/modules/pango-basic-ft2.so +lib/pango/%%VERSION%%/modules/pango-basic-x.so +%%XFREE4:%%lib/pango/%%VERSION%%/modules/pango-basic-xft.so +lib/pango/%%VERSION%%/modules/pango-bengali-x.so +lib/pango/%%VERSION%%/modules/pango-devanagari-x.so +lib/pango/%%VERSION%%/modules/pango-gujarati-x.so +lib/pango/%%VERSION%%/modules/pango-gurmukhi-x.so +%%XFREE4:%%lib/pango/%%VERSION%%/modules/pango-hangul-xft.so +lib/pango/%%VERSION%%/modules/pango-hangul-x.so +lib/pango/%%VERSION%%/modules/pango-hebrew-ft2.so +lib/pango/%%VERSION%%/modules/pango-hebrew-x.so +%%XFREE4:%%lib/pango/%%VERSION%%/modules/pango-hebrew-xft.so +%%XFREE4:%%lib/pango/%%VERSION%%/modules/pango-indic-xft.so +lib/pango/%%VERSION%%/modules/pango-myanmar-x.so +lib/pango/%%VERSION%%/modules/pango-tamil-x.so +lib/pango/%%VERSION%%/modules/pango-thai-x.so +%%XFREE4:%%lib/pango/%%VERSION%%/modules/pango-thai-xft.so +libdata/pkgconfig/pango.pc +libdata/pkgconfig/pangoft2.pc +libdata/pkgconfig/pangox.pc +%%XFREE4:%%libdata/pkgconfig/pangoxft.pc +share/doc/pango/index.html +share/doc/pango/index.sgml +share/doc/pango/layout.gif +share/doc/pango/lowlevel.html +share/doc/pango/PangoMarkupFormat.html +share/doc/pango/pango-Coverage-Maps.html +share/doc/pango/pango-Engines.html +share/doc/pango/pango-Fonts.html +share/doc/pango/pango-FreeType-Fonts-and-Rendering.html +share/doc/pango/pango-Glyph-Storage.html +share/doc/pango/pango-Indic-Engine-Support.html +share/doc/pango/pango-Layout-Objects.html +share/doc/pango/pango-Modules.html +share/doc/pango/pango-OpenType-Font-Handling.html +share/doc/pango/pango-Tab-Stops.html +share/doc/pango/pango-Text-Attributes.html +share/doc/pango/pango-Text-Processing.html +share/doc/pango/pango-Win32-Fonts-and-Rendering.html +share/doc/pango/pango-X-Fonts.html +share/doc/pango/pango-X-Rendering.html +share/doc/pango/pango-Xft-Fonts-and-Rendering.html +share/doc/pango/pango.html +share/doc/pango/rendering.html +@dirrm share/doc/pango +@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 -- cgit v1.2.3