diff options
author | Maxim Sobolev <sobomax@FreeBSD.org> | 2001-09-03 16:54:28 +0000 |
---|---|---|
committer | Maxim Sobolev <sobomax@FreeBSD.org> | 2001-09-03 16:54:28 +0000 |
commit | b3277240096934e1544915d39fb949eadfa1dcf6 (patch) | |
tree | 0eb5390439b6b726d78ab77c28d0f67f94094251 /x11/gdkxft | |
parent | New port pengpong version 0.2: A cross-platform pong game written (diff) |
Add gdkxft 1.0, an package that adds anti-aliased font support for gtk+
(XFree86-4.x required).
Notes
Notes:
svn path=/head/; revision=47373
Diffstat (limited to 'x11/gdkxft')
-rw-r--r-- | x11/gdkxft/Makefile | 36 | ||||
-rw-r--r-- | x11/gdkxft/distinfo | 1 | ||||
-rw-r--r-- | x11/gdkxft/files/patch-configure | 26 | ||||
-rw-r--r-- | x11/gdkxft/files/patch-src::Makefile.in | 23 | ||||
-rw-r--r-- | x11/gdkxft/files/patch-src::gdkxft.c | 23 | ||||
-rw-r--r-- | x11/gdkxft/files/patch-src::gdkxft.conf | 12 | ||||
-rw-r--r-- | x11/gdkxft/files/patch-src::gdkxft_sysinstall.in | 23 | ||||
-rw-r--r-- | x11/gdkxft/files/patch-src::generate.pl | 14 | ||||
-rw-r--r-- | x11/gdkxft/pkg-comment | 1 | ||||
-rw-r--r-- | x11/gdkxft/pkg-descr | 6 | ||||
-rw-r--r-- | x11/gdkxft/pkg-plist | 6 |
11 files changed, 171 insertions, 0 deletions
diff --git a/x11/gdkxft/Makefile b/x11/gdkxft/Makefile new file mode 100644 index 000000000000..6cd11411cf5b --- /dev/null +++ b/x11/gdkxft/Makefile @@ -0,0 +1,36 @@ +# New ports collection makefile for: gdkxft +# Date created: 3 September 2001 +# Whom: Maxim Sobolev <sobomax@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= gdkxft +PORTVERSION= 1.0 +CATEGORIES= x11 +MASTER_SITES= http://philrsss.anu.edu.au/~josh/gdkxft/ + +MAINTAINER= gnome@FreeBSD.org + +USE_X_PREFIX= yes +USE_GTK= yes +USE_LIBTOOL= yes +LIBTOOLFLAGS= --disable-ltlibs --disable-static +INSTALLS_SHLIB= yes +CONFIGURE_ENV= LDFLAGS=-lgnuregex +PKGMESSAGE= ${WRKDIR}/.message + +.include <bsd.port.pre.mk> + +.if $(XFREE86_VERSION) < 4 +IGNORE= "requires XFree86-4.x or later to run" +.endif + +post-install: + @${MKDIR} ${DOCSDIR} + @${INSTALL_MAN} ${WRKSRC}/README ${DOCSDIR} + @/usr/bin/printf "\nRefer to ${DOCSDIR}/README for details on how to enable gdkxft.\n\n" > \ + ${PKGMESSAGE} + @${CAT} ${PKGMESSAGE} + +.include <bsd.port.post.mk> diff --git a/x11/gdkxft/distinfo b/x11/gdkxft/distinfo new file mode 100644 index 000000000000..f1f616ee31ce --- /dev/null +++ b/x11/gdkxft/distinfo @@ -0,0 +1 @@ +MD5 (gdkxft-1.0.tar.gz) = a8477fd0a0347882a17c984deaa96196 diff --git a/x11/gdkxft/files/patch-configure b/x11/gdkxft/files/patch-configure new file mode 100644 index 000000000000..e4f846d9f3e1 --- /dev/null +++ b/x11/gdkxft/files/patch-configure @@ -0,0 +1,26 @@ + +$FreeBSD$ + +--- configure.orig Sat Sep 1 23:42:19 2001 ++++ configure Mon Sep 3 18:08:35 2001 +@@ -1744,9 +1744,9 @@ + + echo $ac_n "checking for libgdk.la""... $ac_c" 1>&6 + echo "configure:1747: checking for libgdk.la" >&5 +-GTK_PREFIX=`gtk-config --prefix` ++GTK_PREFIX=`$GTK_CONFIG --prefix` + GDK_LIB_PREFIX=$GTK_PREFIX/lib +-GDK_LA=$GDK_LIB_PREFIX/libgdk.la ++GDK_LA=$GDK_LIB_PREFIX/libgdk12.a + if test -r $GDK_LA + then echo "$ac_t""$GDK_LA" 1>&6 + else echo "$ac_t""not found" 1>&6 ; { echo "configure: error: libgdk.la is missing" 1>&2; exit 1; } +@@ -1754,7 +1754,7 @@ + + echo $ac_n "checking for dlopenable libgdk.so""... $ac_c" 1>&6 + echo "configure:1757: checking for dlopenable libgdk.so" >&5 +-GDK_DLOPEN_NAME=`sed -n -e "s/^dlname='\\([^']*\\)'$/\\1/p" $GDK_LA` ++GDK_DLOPEN_NAME="libgdk12.so" + if test x$GDK_DLOPEN_NAME = x + then echo "$ac_t""not found" 1>&6 ; { echo "configure: error: can't see how to dlopen libgdk" 1>&2; exit 1; } + else echo "$ac_t""$GDK_DLOPEN_NAME" 1>&6 diff --git a/x11/gdkxft/files/patch-src::Makefile.in b/x11/gdkxft/files/patch-src::Makefile.in new file mode 100644 index 000000000000..e2c2cbd0552d --- /dev/null +++ b/x11/gdkxft/files/patch-src::Makefile.in @@ -0,0 +1,23 @@ + +$FreeBSD$ + +--- src/Makefile.in.orig Sat Sep 1 23:42:27 2001 ++++ src/Makefile.in Mon Sep 3 18:37:07 2001 +@@ -22,7 +22,7 @@ + bindir = @bindir@ + sbindir = @sbindir@ + libexecdir = @libexecdir@ +-datadir = @datadir@ ++datadir = @datadir@/gdkxft + sysconfdir = @sysconfdir@ + sharedstatedir = @sharedstatedir@ + localstatedir = @localstatedir@ +@@ -96,7 +96,7 @@ + CPPFLAGS = @CPPFLAGS@ + LDFLAGS = @LDFLAGS@ + LIBS = @LIBS@ +-libgdkxft_la_LDFLAGS = ++libgdkxft_la_LDFLAGS = -avoid-version + libgdkxft_la_LIBADD = + libgdkxft_la_OBJECTS = gdkxft.lo realfuncs.lo + SCRIPTS = $(bin_SCRIPTS) diff --git a/x11/gdkxft/files/patch-src::gdkxft.c b/x11/gdkxft/files/patch-src::gdkxft.c new file mode 100644 index 000000000000..69707562332f --- /dev/null +++ b/x11/gdkxft/files/patch-src::gdkxft.c @@ -0,0 +1,23 @@ + +$FreeBSD$ + +--- src/gdkxft.c.orig Sat Sep 1 19:00:02 2001 ++++ src/gdkxft.c Mon Sep 3 18:34:29 2001 +@@ -20,7 +20,7 @@ + #include <stdio.h> + #include <stdlib.h> + #include <string.h> +-#include <regex.h> ++#include <gnuregex.h> + + #include <X11/Xlib.h> + #include <X11/Xos.h> +@@ -170,7 +170,7 @@ + else if(!access(SYSCONFDIR "/gdkxft.conf",R_OK)) + read_cfg_file(SYSCONFDIR "/gdkxft.conf",xfre,ftre); + else +- read_cfg_file(DATADIR "/gdkxft.conf",xfre,ftre); ++ read_cfg_file(DATADIR "/gdkxft/gdkxft.conf",xfre,ftre); + + /* compile regexps */ + g_string_append_c(xfre,'$'); diff --git a/x11/gdkxft/files/patch-src::gdkxft.conf b/x11/gdkxft/files/patch-src::gdkxft.conf new file mode 100644 index 000000000000..fb589ac4c54d --- /dev/null +++ b/x11/gdkxft/files/patch-src::gdkxft.conf @@ -0,0 +1,12 @@ + +$FreeBSD$ + +--- src/gdkxft.conf 2001/09/03 16:40:47 1.1 ++++ src/gdkxft.conf 2001/09/03 16:41:01 +@@ -1,5 +1,3 @@ + !* +--urw-* +--b&h-* +--abisource-* ++-*-* + diff --git a/x11/gdkxft/files/patch-src::gdkxft_sysinstall.in b/x11/gdkxft/files/patch-src::gdkxft_sysinstall.in new file mode 100644 index 000000000000..e47613acec8a --- /dev/null +++ b/x11/gdkxft/files/patch-src::gdkxft_sysinstall.in @@ -0,0 +1,23 @@ + +$FreeBSD$ + +--- src/gdkxft_sysinstall.in 2001/09/03 16:29:51 1.1 ++++ src/gdkxft_sysinstall.in 2001/09/03 16:30:09 +@@ -276,7 +276,7 @@ + + # create a theme to show off anti-aliased fonts + sub install_theme { +- my $themedir=`gtk-config --prefix`; ++ my $themedir=`gtk12-config --prefix`; + chomp $themedir; + $themedir.="/share/themes"; + +@@ -342,7 +342,7 @@ + return 1; + } + sub uninstall_theme { +- my $themedir=`gtk-config --prefix`; ++ my $themedir=`gtk12-config --prefix`; + chomp $themedir; + $themedir.="/share/themes"; + diff --git a/x11/gdkxft/files/patch-src::generate.pl b/x11/gdkxft/files/patch-src::generate.pl new file mode 100644 index 000000000000..6d0b975d708c --- /dev/null +++ b/x11/gdkxft/files/patch-src::generate.pl @@ -0,0 +1,14 @@ + +$FreeBSD$ + +--- src/generate.pl 2001/09/03 15:18:41 1.1 ++++ src/generate.pl 2001/09/03 15:19:10 +@@ -273,7 +273,7 @@ + $indent = $ENV{INDENT}; + $indent = "indent" unless $indent; + +-readgtkheader "echo '#include <$modheader>'| cpp -P `gtk-config --cflags`|"; ++readgtkheader "echo '#include <$modheader>'| cpp -P `gtk12-config --cflags`|"; + readmysource $source; + + open(OUT, "|$indent >realfuncs.h") ||die; diff --git a/x11/gdkxft/pkg-comment b/x11/gdkxft/pkg-comment new file mode 100644 index 000000000000..83686819c95e --- /dev/null +++ b/x11/gdkxft/pkg-comment @@ -0,0 +1 @@ +An anti-aliased font support for gtk+ diff --git a/x11/gdkxft/pkg-descr b/x11/gdkxft/pkg-descr new file mode 100644 index 000000000000..e458bb655cc5 --- /dev/null +++ b/x11/gdkxft/pkg-descr @@ -0,0 +1,6 @@ +Gdkxft transparently adds anti-aliased font support to gtk+-1.2. Once +you have installed it, you can run any (well, nearly any) existing +gtk+ binary and see anti-aliased fonts in the gtk widgets. You don't +need to recompile gtk+ or your applications. + +WWW: http://philrsss.anu.edu.au/~josh/gdkxft/ diff --git a/x11/gdkxft/pkg-plist b/x11/gdkxft/pkg-plist new file mode 100644 index 000000000000..600e8c9b2adc --- /dev/null +++ b/x11/gdkxft/pkg-plist @@ -0,0 +1,6 @@ +bin/gdkxft_sysinstall +lib/libgdkxft.so +share/doc/gdkxft/README +share/gdkxft/gdkxft.conf +@dirrm share/gdkxft +@dirrm share/doc/gdkxft |