Are you interested to have Adobe Acrobat Reader 8 and 9 with Thinstation 2.2.x ?

View: New views
3 Messages — Rating Filter:   Alert me  

Are you interested to have Adobe Acrobat Reader 8 and 9 with Thinstation 2.2.x ?

by Francis SOUYRI :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,

If you are interested, below you have a method to do that.

Unfortunately I can not test with the original Thinstation 2.2.x, I have
upgraded to FF3 (so gtk, glib, atk, pango, cairo, pixman are
installed/upgraded), if with the original Thinstation it do not work I
can send you these packages.

For Acroread 8:

You have to download the tgz (or else) from Adobe, untar (or ?) the tgz,
install the product where you want in a temporary place ex: "/tmp/". Be
careful because if you have the product all ready installed on your
system when you do this install some links are changed (like
"/usr/bin/acroread") so you have to restore these and the best is to
reinstall the product on the real place, for fedora "yum reinstall ...".

I suppose you have your thinstation build in "/build/Thinstation-2.2.x"
(you have to replace with your path).

You have to execute these commands (you can use another name than acrobat):

mkdir /build/Thinstation-2.2.x/packages/acrobat
mkdir /build/Thinstation-2.2.x/packages/acrobat/bin
mkdir /build/Thinstation-2.2.x/packages/acrobat/lib
mkdir /build/Thinstation-2.2.x/packages/acrobat/lib/gconf
echo "base" > /build/Thinstation-2.2.x/packages/acrobat/dependencies

 From the Thinstation 2.2.x source (not the build) copy bin/printf to
/build/Thinstation-2.2.x/packages/acrobat/bin
 From the Thinstation 2.2.x source copy lib/gconf/UTF* to
/build/Thinstation-2.2.x/packages/acrobat/lib/gconf (acroread need
UTF... if you do not have these files you have a coredump).
 From the Thinstation 2.4a1 build copy the libstdc++.so.6.0.9  to
/build/Thinstation-2.2.x/packages/acrobat/lib/libstdc++.so.6 (acroread
need a more recent libstdc++ than the Thinstation 2.2.x).
 From the Thinstation 2.4a1 build copy the libgcc_s.so.1 to
/build/Thinstation-2.2.x/packages/acrobat/lib (the is a friend of the
libstdc++)
Move temporary installed product from "/tmp/Adobe" to
"/build/Thinstation-2.2.x/packages/acrobat"
Create a link /build/Thinstation-2.2.x/packages/acrobat/bin/acroread to
/Adobe/Reader8/bin/acroread

I can send the skel of the package (without the product acroread because
it is too big).

You have to edit the scripts
"/build/Thinstation-2.2.x/packages/acrobat/Adobe/Reader8/bin/acroread"
and
"/build/Thinstation-2.2.x/packages/acrobat/Adobe/Reader8/Reader/intellinux/bin/SynchronizerApp"
and replace all the "/bin/pwd" by "pwd" (it is a build in command, I do
not like to modify the product but...)

To build the package you have to add "module acrobat" or "pkg acrobat"
to the build.conf.

To call the product you can add in the thinstation.conf,
SESSION=acroread (you have to create in the package a link
"/etc/init.d/acroread " to "/etc/thinstation.packages" see the
blackbox/firefox packages).

Personally I call acroread from firefox (I do not test/use the plugins)
by adding in the file "mimeTypes.rdf" before the line last "</RDF:RDF>"
the lines:

##### BEGIN
  <RDF:Description RDF:about="urn:mimetype:application/pdf"
                   NC:value="application/pdf"
                   NC:editable="true"
                   NC:fileExtensions="pdf"
                   NC:description="">
    <NC:handlerProp RDF:resource="urn:mimetype:handler:application/pdf"/>
  </RDF:Description>
  <RDF:Description RDF:about="urn:mimetype:handler:application/pdf"
                   NC:alwaysAsk="false"
                   NC:saveToDisk="false"
                   NC:useSystemDefault="false"
                   NC:handleInternal="false">
    <NC:externalApplication
RDF:resource="urn:mimetype:externalApplication:application/pdf"/>
  </RDF:Description>
  <RDF:Description
RDF:about="urn:mimetype:externalApplication:application/pdf"
                   NC:path="/bin/acroread"
                   NC:prettyName="acroread" />
##### END

For Acroread 9 (bigger than 8 but more beautiful).

Do the same by replacing Reader8 by Reader9 and....

 From the Thinstation 2.2.x source copy bin/xargs to
/build/Thinstation-2.2.x/packages/acrobat/bin
 From the Thinstation 2.4a1 build copy the libxml2.so.2.6.30 to
/build/Thinstation-2.2.x/packages/acrobat/liblibxml2.so.2

I hope I do not miss something, if this is the case do not hesitate to ask.

Best regards.

Francis

------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Thinstation-developer mailing list
Thinstation-developer@...
https://lists.sourceforge.net/lists/listinfo/thinstation-developer

Re: Are you interested to have Adobe Acrobat Reader 8 and 9 with Thinstation 2.2.x ?

by paratwa :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I am supremely thankful for Francis Souyri's work on this.  His single post took me to 90% of where I needed Acrobat to be.

I have some slight additions:

I am using TS2.4a.  The differences...

Still needed (I got them from the TS2.2 source):
> From the Thinstation 2.2.x source (not the build) copy bin/printf to
>/build/Thinstation-2.2.x/packages/acrobat/bin


CORRECTION!  The directory below is "gconv" NOT "gconf".


> From the Thinstation 2.2.x source copy lib/gconf/UTF* to
>/build/Thinstation-2.2.x/packages/acrobat/lib/gconf (acroread need
>UTF... if you do not have these files you have a coredump).

The mimeTypes.rdf that comes in the Firefox3 package for TS2.4a didn't work exactly with the Francis's instructions in my case.  I used this:

>Personally I call acroread from firefox (I do not test/use the plugins)
>by adding in the file "mimeTypes.rdf" before the line last "</RDF:RDF>"
>the lines:



======Begin paratwa=======
<?xml version="1.0"?>
<RDF:RDF xmlns:NC="http://home.netscape.com/NC-rdf#"
         xmlns:RDF="http://www.w3.org/1999/02/22-rdf-syntax-ns#">

  <RDF:Seq RDF:about="urn:mimetypes:root">
...
    <RDF:li RDF:resource="urn:mimetype:image/png"/>
...
  </RDF:Seq>
  <RDF:Description RDF:about="urn:mimetype:application/pdf"
                   NC:value="application/pdf"
                   NC:editable="true"
                   NC:fileExtensions="pdf"
                   NC:description="">
    <NC:handlerProp RDF:resource="urn:mimetype:handler:application/pdf"/>
  </RDF:Description>
  <RDF:Description RDF:about="urn:mimetype:handler:application/pdf"
                   NC:alwaysAsk="false"
                   NC:saveToDisk="false"
                   NC:useSystemDefault="false"
                   NC:handleInternal="false">
    <NC:externalApplication
RDF:resource="urn:mimetype:externalApplication:application/pdf"/>
  </RDF:Description>
  <RDF:Description
RDF:about="urn:mimetype:externalApplication:application/pdf"
                   NC:path="/bin/acroread"
                   NC:prettyName="acroread" />
</RDF:RDF>
mimeTypes.rdf
======end paratwa=======

I've attached the mimeTypes.rdf to this email, but I don't know if it will come through.  This is the actual file I have in my build is attached.

This file should go to /packages/firefox/etc/TS.default/ directory before you do a build.


Also when Acrobat is first run it will prompt for the user to agree to the EULA.  Since I'm doing a corporate deployment I wanted to disable this.

To do this, in /packages/firefox, mkdir .adobe/Acrobat/8.0/Preferences/  place the file reader_pref

I'm attaching this filereader_prefs.  If it doesn't come through you can recreate your own by doing a build without it, run acrobat, agree to the EULA, then copy this created file into your build.

I can say that acrobat8 is pretty large, but there may be things that can be taken out of it to shrink it.  I haven't tried that yet.

paratwa

Re: Are you interested to have Adobe Acrobat Reader 8 and 9 with Thinstation 2.2.x ?

by paratwa :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

A correction to the part below:

The proper location for the reader_pref file is in a directory you'll have to make called .adobe/Acrobat/8.0/Preferences/ in the home directory of the user.  In TS2.4a this is the root user.  I've moved this back to TS2.3 where it needs to be in the "ts" users home.  There may be a better way, but  I accomplished this by creating home/ts/ directories in my acrobat package directory so the directory and reader_pref will be created properly on build.

Evan List


paratwa wrote:
Also when Acrobat is first run it will prompt for the user to agree to the EULA.  Since I'm doing a corporate deployment I wanted to disable this.

To do this, in /packages/firefox, mkdir .adobe/Acrobat/8.0/Preferences/  place the file reader_pref

I'm attaching this filereader_prefs.  If it doesn't come through you can recreate your own by doing a build without it, run acrobat, agree to the EULA, then copy this created file into your build.

I can say that acrobat8 is pretty large, but there may be things that can be taken out of it to shrink it.  I haven't tried that yet.

paratwa