Skip site navigation (1)Skip section navigation (2)
Date:      Tue,  7 Mar 2000 23:29:08 -0500 (EST)
From:      Andrew Gallatin <gallatin@cs.duke.edu>
To:        freebsd-alpha@freebsd.org
Subject:   Acrobat4 works!!!
Message-ID:  <14533.54522.816876.731131@grasshopper.cs.duke.edu>

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

[-- Attachment #1 --]

I've been playing with the osf-base port.  The trick it does with
linking libc.so to libc_r.so, libpthread.so, and libpthreads.so allows 
Acrobat Reader to work.  It whines about not being able to init some
plugins, but it essentially seems to work.

To get it running, download the Acrobat Reader from Adobe
ftp://ftp.adobe.com/pub/adobe/acrobatreader/unix/4.x/fdec-rs-405.tar.gz
and extract it.   Then apply the first patch below & run the install
script.   After installing it, patch acrobat using the second patch.

I'd like to turn this into a port -- would it be better to ifdef'ify
the linux Acrobat4 reader, or to create a new port (osf1-Acrobat4?).
Bear in mind that the linux & osf ports would have almost nothing in
common but the structure.

Cheers,

Drew


[-- Attachment #2 --]
--- INSTALL.orig	Wed Jan 26 19:38:00 2000
+++ INSTALL	Tue Mar  7 21:45:51 2000
@@ -115,6 +115,8 @@
     if [ "$i" -a -f "$i" ] ; then
         if [ `uname -s` = "Linux" ] ; then
           size=`ls -lLn "$i" | ( read perm links owner group size date ; echo $size )`
+        elif [ `uname -s` = "FreeBSD" ] ; then
+          size=`ls -lL "$i" | ( read perm links owner group size date ; echo $size )`
         else
           size=`ls -lLon "$i" | ( read perm links owner size date ; echo $size )`
         fi
@@ -490,7 +492,7 @@
   SearchPlatformTar="$3"
   CustomPlatformTar="$4"
 
-  OutputLicense "$ReadLicense"
+#  OutputLicense "$ReadLicense"
   ReadLicense=""
 
   PrintRequiredFree "$ReadTar" "$SearchTar" "$CustomTar" \
@@ -563,7 +565,7 @@
   *) ScriptDirectory="$CurrentDirectory"/"$ScriptDirectory" ;;
 esac
 
-if [ "`type uname`" != "uname not found" ] ; then
+if [ "`uname`" != "uname not found" ] ; then
   OSname=`uname -s`
   if [ "$OSname" = "AIX" ] ; then
     OSrelease=`uname -a | ( read name host minor major foo ; echo $major.$minor )`
@@ -1034,7 +1036,7 @@
       ;;
     esac
     ;;
-  OSF1)
+  FreeBSD|OSF1)
     AcroDefaultNum="$AcroAlphaOSFNum"
     ExchDefaultNum="$ExchAlphaOSFNum"
     ReadDefaultNum="$ReadAlphaOSFNum"

[-- Attachment #3 --]
--- acroread.orig	Tue Mar  7 22:03:31 2000
+++ acroread	Tue Mar  7 22:02:42 2000
@@ -197,7 +197,7 @@
         ;;
     esac
     ;;
-  OSF1)
+  FreeBSD|OSF1)
     ACRO_CONFIG=alphaosf
     export ACRO_CONFIG
     ;;
@@ -305,6 +305,8 @@
   alphaosf)
     LD_LIBRARY_PATH="`prepend "$ACRO_INSTALL_DIR/$ACRO_CONFIG/lib:$ACRO_INSTALL_DIR/$ACRO_CONFIG/lib" "$LD_LIBRARY_PATH"`"
     export LD_LIBRARY_PATH
+    LC_CTYPE="C"
+    export LC_CTYPE
     ;;
   intellinux)
     LD_LIBRARY_PATH="`prepend "$ACRO_INSTALL_DIR/$ACRO_CONFIG/lib:$ACRO_INSTALL_DIR/$ACRO_CONFIG/lib" "$LD_LIBRARY_PATH"`"

[-- Attachment #4 --]


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