From owner-freebsd-ports Fri Feb 11 8:40:32 2000 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by builder.freebsd.org (Postfix) with ESMTP id F15B93D80 for ; Fri, 11 Feb 2000 08:40:27 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id IAA06046; Fri, 11 Feb 2000 08:40:12 -0800 (PST) (envelope-from gnats@FreeBSD.org) Date: Fri, 11 Feb 2000 08:40:12 -0800 (PST) Message-Id: <200002111640.IAA06046@freefall.freebsd.org> To: freebsd-ports@FreeBSD.org Cc: From: Maxim Sobolev Subject: Re: ports/16606: [NEW PORT] new port of Adobe Acrobat Viewer - a new Adobe's free PDF viewer written entirely in Java Reply-To: Maxim Sobolev Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR ports/16606; it has been noted by GNATS. From: Maxim Sobolev To: freebsd-gnats-submit@FreeBSD.org Cc: Subject: Re: ports/16606: [NEW PORT] new port of Adobe Acrobat Viewer - a new Adobe's free PDF viewer written entirely in Java Date: Fri, 11 Feb 2000 18:31:27 +0200 This is a multi-part message in MIME format. --------------781F3AEF55EFA7DF957B06DC Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit Here is additional patch against my port to provide knob for using Just -In-Time compiler, which should improve performance. -Maxim --------------781F3AEF55EFA7DF957B06DC Content-Type: text/plain; charset=koi8-r; name="av.diff" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="av.diff" diff -ruN /tmp/acrobatviewer/Makefile acrobatviewer/Makefile --- /tmp/acrobatviewer/Makefile Mon Feb 7 11:30:10 2000 +++ acrobatviewer/Makefile Fri Feb 11 18:18:32 2000 @@ -14,13 +14,21 @@ MAINTAINER= sobomax@altavista.net -RUN_DEPENDS= ${LOCALBASE}/jdk${JDK_VERSION}/bin/java:${PORTSDIR}/java/jdk +RUN_DEPENDS= ${JAVAVM}:${PORTSDIR}/java/jdk USE_ZIP= yes USE_XLIB= yes NO_BUILD= yes JDK_VERSION= 1.1.8 +JAVAVM= ${LOCALBASE}/jdk${JDK_VERSION}/bin/java + +.if defined(USE_JIT) +RUN_DEPENDS+= ${LOCALBASE}/jdk${JDK_VERSION}/lib/${ARCH}/green_threads/libshujit.so:${PORTSDIR}/java/shujit +JAVAJIT= shujit +.else +JAVAJIT= +.endif INSTSBDR= ${PREFIX}/share/AdobeAcrobatViewer @@ -47,7 +55,8 @@ post-patch: @${PERL} -pi -e "s|%INSTDIR%|${INSTSBDR}|g" ${WRKSRC}/AcrobatViewer.lax && \ - ${PERL} -pi -e "s|%JAVAVM%|${LOCALBASE}/jdk${JDK_VERSION}/bin/java|g" ${WRKSRC}/AcrobatViewer.lax + ${PERL} -pi -e "s|%JAVAVM%|${JAVAVM}|g" ${WRKSRC}/AcrobatViewer.lax && \ + ${PERL} -pi -e "s|%JAVAJIT%|${JAVAJIT}|g" ${WRKSRC}/AcrobatViewer.lax do-install: ${MKDIR} ${INSTSBDR} diff -ruN /tmp/acrobatviewer/patches/patch-aa acrobatviewer/patches/patch-aa --- /tmp/acrobatviewer/patches/patch-aa Thu Feb 3 17:17:10 2000 +++ acrobatviewer/patches/patch-aa Fri Feb 11 18:05:05 2000 @@ -1,5 +1,5 @@ ---- AcrobatViewer.lax.orig Thu Feb 3 17:12:14 2000 -+++ AcrobatViewer.lax Thu Feb 3 17:15:51 2000 +--- AcrobatViewer.lax.orig Fri Feb 11 18:02:57 2000 ++++ AcrobatViewer.lax Fri Feb 11 18:04:07 2000 @@ -4,7 +4,7 @@ # -------------------- # name given the launcher in console windows @@ -27,16 +27,17 @@ # LAX.MAIN.CLASS -@@ -47,7 +47,7 @@ +@@ -47,7 +47,8 @@ # ----------------- # the VM to use for the next launch -lax.nl.current.vm=C:\\Java\\jdk1.1.8\\bin\\jre.exe +lax.nl.current.vm=%JAVAVM% ++lax.nl.java.compiler=%JAVAJIT% # LAX.NL.JAVA.LAUNCHER.MAIN.CLASS -@@ -104,7 +104,7 @@ +@@ -104,7 +105,7 @@ # -------------------- # path to the installdir magic folder diff -ruN /tmp/acrobatviewer/patches/patch-ab acrobatviewer/patches/patch-ab --- /tmp/acrobatviewer/patches/patch-ab Thu Jan 1 03:00:00 1970 +++ acrobatviewer/patches/patch-ab Fri Feb 11 18:00:58 2000 @@ -0,0 +1,11 @@ +--- launixgc.sh.orig Thu Dec 2 09:30:38 1999 ++++ launixgc.sh Fri Feb 11 18:00:40 2000 +@@ -421,6 +421,8 @@ + if [ ${jittype:-""} = "off" ] + then + jitinvoc="-Djava.compiler=" ++ else ++ jitinvoc="-Djava.compiler=$jittype" + fi + fi + --------------781F3AEF55EFA7DF957B06DC-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message