Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Oct 2001 09:47:19 +1300 (NZDT)
From:      Jonathan Chen <jonathan.chen@itouch.co.nz>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/31364: URW fonts needed to run jdk13 jfc demos and apps without complaints
Message-ID:  <200110182047.f9IKlJN75878@jonc.itouch>

next in thread | raw e-mail | index | archive | help

>Number:         31364
>Category:       ports
>Synopsis:       URW fonts needed to run jdk13 jfc demos and apps without complaints
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Oct 18 14:40:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Jonathan Chen
>Release:        FreeBSD 4.4-STABLE i386
>Organization:
>Environment:
System: FreeBSD jonc.itouch 4.4-STABLE FreeBSD 4.4-STABLE #0: Mon Oct 8 06:47:45 NZDT 2001 root@jonc.itouch:/usr/obj/usr/src/sys/JONC i386
>Description:
Running Swing demos and applications under jdk13 will result in lots
of warning lines unless the URW fonts are installed.
>How-To-Repeat:

Make sure URW fonts aren't installed or in the FontPath.

	> cd /usr/local/jdk1.3.1/demo/jfc/SwingSet2
	> /usr/local/jdk1.3.1/bin/java -jar SwingSet2.jar

>Fix:

Patch to fix included:

diff -u /usr/ports/java/jdk13/Makefile ./Makefile
--- /usr/ports/java/jdk13/Makefile	Wed Oct 17 10:43:56 2001
+++ ./Makefile	Fri Oct 19 09:40:40 2001
@@ -20,7 +20,8 @@
 		gtar:${PORTSDIR}/archivers/gtar \
 		${JDK13DIR}/bin/javac:${PORTSDIR}/java/linux-jdk13 \
 		${X11BASE}/lib/libMrm.a:${PORTSDIR}/x11-toolkits/open-motif-devel
-RUN_DEPENDS=	javavm:${PORTSDIR}/java/javavmwrapper
+RUN_DEPENDS=	${X11BASE}/lib/X11/fonts/URW/fonts.dir:${PORTSDIR}/x11-fonts/urwfonts \
+		javavm:${PORTSDIR}/java/javavmwrapper
 
 WRKSRC=		${WRKDIR}/j2sdk1.3.1/make
 
Common subdirectories: /usr/ports/java/jdk13/files and ./files
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200110182047.f9IKlJN75878>