Subject: pkg/16052: impossible to install freetype2 with xfree4
To: None <gnats-bugs@gnats.netbsd.org>
From: Johan Danielsson <joda@pdc.kth.se>
List: netbsd-bugs
Date: 03/25/2002 15:03:56
>Number:         16052
>Category:       pkg
>Synopsis:       impossible to install freetype2 with xfree4
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Mar 25 06:04:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Johan Danielsson
>Release:        NetBSD 1.5ZA
>Organization:
>Environment:
>Description:

Freetype2 is included in XFree4 and the Makefile for the freetype2
package correctly notices this and refuses to install. But this makes
it impossible to install packages that require freetype2 even though
it's present.

>How-To-Repeat:
>Fix:

Provide a dummy freetype2 package for people running Xfree4. This is
something crude I made from the existing freetype2 package. Probably
needs more work by some shrewd pkgsrc person.

--- /dev/null	Mon Mar 25 14:45:26 2002
+++ freetype2-xfree4/Makefile	Mon Mar 25 14:30:29 2002
@@ -0,0 +1,27 @@
+# $NetBSD: Makefile,v 1.10 2001/12/30 14:13:26 wiz Exp $
+#
+
+DISTNAME=	freetype-2.0.5
+PKGNAME=	freetype2-2.0.5
+CATEGORIES=	graphics
+MASTER_SITES=	# empty
+DISTFILES=      # empty
+
+MAINTAINER=	rh@netbsd.org
+HOMEPAGE=	http://www.freetype.org/
+COMMENT=	font rendering engine and library API
+
+USE_X11BASE=	yes
+
+USE_BUILDLINK_ONLY=	YES
+
+.include "../../mk/bsd.prefs.mk"
+
+do-configure:
+	echo configure
+do-build:
+	echo build
+do-install:
+	echo install
+
+.include "../../mk/bsd.pkg.mk"
--- /dev/null	Mon Mar 25 14:45:26 2002
+++ freetype2-xfree4/PLIST	Mon Mar 25 14:31:02 2002
@@ -0,0 +1 @@
+@comment $NetBSD: PLIST,v 1.2 2001/12/30 14:13:27 wiz Exp $
--- /dev/null	Mon Mar 25 14:45:26 2002
+++ freetype2-xfree4/DESCR	Mon Mar 25 14:24:00 2002
@@ -0,0 +1,10 @@
+  The FreeType project develops free, portable and high-quality software
+solutions for digital typography.  FreeType 1.3.1 was the last release of
+the FreeType 1 engine, as the project is now switching to a new version
+dubbed FreeType 2.  It has, among other things, several advantages among
+FreeType 1:
+
+ * A universal and simple API to manage font files
+ * Support for several font formats through loadable drivers
+ * Even more portable
+ * An improved anti-aliased algorithm


>Release-Note:
>Audit-Trail:
>Unformatted: