|
| Runninng WP8.1 on Fedora Core 6 |
 |
Wed, 17 Jan 2007 19:33:36 -050 |
I have installed WP8.1 on Fc6. It works and prints.
1. Install the WP8.1 Deb's after converting them to TAR; copy the TAR's
to / and untar.
2. Edit /etc/ld.so.conf.d/qt-i386.conf and add: /usr/lib/wp8/wpbin
3. Run ldconfig (This and the previous step tell WP8's executable where
to find libm.so.5 and libc.so.5, which are installed along with the
program.)
4. Create symlink ld-linux.so.1 to /lib/ld.2.5.so (This step turned
out to be "The missing link.")
5. Copy or symlink /usr/share/X11/locale to /usr/X11R6/lib/X11/locale
6. Copy type1inst to /usr/bin. (This is a perl script and seems to be
oblivious to the distro; I tar'd the Libranet Deb.)
7. cd /usr/X11R6/lib/X11/fonts/Type1; type1inst
8. /usr/lib/wp8/shbin10/wpfi
I was surprised that FC6 could load WP8.1's static libs in ~/wpbin.
This trick has not worked since the 2.2. kernel.
--
Leon A. Goldstein
Powered by Libranet 2.8 Debian Linux
System LI
|
| Post Reply
|
| Re: Runninng WP8.1 on Fedora Core 6 |
 |
Fri, 02 Feb 2007 05:24:36 -070 |
Leon Goldstein wrote:
>
> I have installed WP8.1 on Fc6. It works and prints.
> 4. Create symlink ld-linux.so.1 to /lib/ld.2.5.so (This step turned
> out to be "The missing link.")
This is interesting. The version 6 loader works to load the version 5
libraries. Never would have thought that that would work.
> 5. Copy or symlink /usr/share/X11/locale to /usr/X11R6/lib/X11/locale
Not sure what this does, but I created the "/usr/share/X11/" folder
and
added the link to it.
> 6. Copy type1inst to /usr/bin. (This is a perl script and seems to be
> oblivious to the distro; I tar'd the Libranet Deb.)
You don't need to use type1install any more with new versions of X11R7.
You can:
mkfontscale -e /usr/X11R6/lib/X11/fonts/encodings -f 90
mkfontdir -e /usr/X11R6/lib/X11/fonts/encodings
{Your: "encodings" path might be different"}
This doesn't make a "Fontmap" file. I use a script to do this: txfm.
This script has dependencies!! You need to install some font utilities
packages to use it.
Actually I use: "install-fonts" to do the whole job.
If you use odd fonts, you will find a bug in "mkfontscale" as shipped
with X.org because they haven't applied my patch like XFree86 has.
IAC, your rather strange fix works and WP-8.1 for Linux now prints.
Many thanks.
Did you turn this up somewhere or did you think of this?
--
JRT
|
| Post Reply
|
 |
 |
| Re: Runninng WP8.1 on Fedora Core 6 |
 |
Fri, 02 Feb 2007 10:36:05 -050 |
James Richard Tyrer wrote:
> Leon Goldstein wrote:
>
>>
>> I have installed WP8.1 on Fc6. It works and prints.
>
>
>> 4. Create symlink ld-linux.so.1 to /lib/ld.2.5.so (This step turned
>> out to be "The missing link.")
>
>
> This is interesting. The version 6 loader works to load the version 5
> libraries. Never would have thought that that would work.
Neither did I; this was an act of desparation. I was able to find libc5
support for Mandriva but not for FC6. So, with nothing else to do...
>
>> 5. Copy or symlink /usr/share/X11/locale to /usr/X11R6/lib/X11/locale
>
>
> Not sure what this does, but I created the "/usr/share/X11/"
folder and
> added the link to it.
I picked this up from a Mandriva forum as well as a comment Arn made in
an earler post here. The newer Linuces moved the location of some
locale files WP8 apparently needs.
>
>> 6. Copy type1inst to /usr/bin. (This is a perl script and seems to
>> be oblivious to the distro; I tar'd the Libranet Deb.)
>
>
> You don't need to use type1install any more with new versions of X11R7.
>
> You can:
>
> mkfontscale -e /usr/X11R6/lib/X11/fonts/encodings -f 90
>
> mkfontdir -e /usr/X11R6/lib/X11/fonts/encodings
>
> {Your: "encodings" path might be different"}
>
> This doesn't make a "Fontmap" file. I use a script to do this:
txfm.
>
> This script has dependencies!! You need to install some font utilities
> packages to use it.
>
> Actually I use: "install-fonts" to do the whole job.
>
> If you use odd fonts, you will find a bug in "mkfontscale" as
shipped
> with X.org because they haven't applied my patch like XFree86 has.
>
> IAC, your rather strange fix works and WP-8.1 for Linux now prints.
>
> Many thanks.
>
> Did you turn this up somewhere or did you think of this?
As noted above: it was an act of desparation :-)
I'll be doing another FC6 install and I'll try your font installation
method. I mentioned problems I have with Mandriva; I suspect it has to
do with the font installation, so I'll tinker with Mandriva using your
script as well. Thanks for posting it.
>
>
> ------------------------------------------------------------------------
>
> #!/bin/bash
>
> echo "" > $PWD/Fontmap
>
> for file in $PWD/*
> do
> if [ -f "$file" ]; then
>
> if [ -f f_o_n_t.pfa ]; then
> rm -f f_o_n_t.pfa
> fi
>
> font=`basename $file .ttf`
> if [ -f $font.ttf ]; then
> echo -n "font = "$font.ttf" "
> fontline=`ttf2pt1 -GA -l adobestd -b -p ttf $font.ttf - 2>/dev/null
|grep FontName`
> fontname=`echo $fontline 2>/dev/null | sed -e 's/FontName* //'`
> echo "fontname = "$fontname
> fontname="/$fontname"
> echo $fontname" ($font.ttf) ;" >> $PWD/Fontmap
> fi
>
> font=`basename $file .pfa`
> if [ -f $font.pfa ]; then
> echo -n "font = "$font.pfa" "
> fontline=`cat $font.pfa 2>/dev/null |grep FontName`
> fontname=`echo $fontline 2>/dev/null | sed -e 's/\/FontName*
//' | sed 's/ def//'`
> echo $fontname" ($font.pfa) ;" >> $PWD/Fontmap
> fontname=`echo $fontname 2>/dev/null | sed -e 's/\/*//'`
> echo "fontname = "$fontname
> fi
>
> font=`basename $file .pfb`
> if [ -f $font.pfb ]; then
> pfb2pfa $font.pfb
> mv $font.pfa f_o_n_t.pfa
> echo -n "font = "$font.pfb" "
> fontline=`cat f_o_n_t.pfa 2>/dev/null |grep FontName`
> fontname=`echo $fontline 2>/dev/null | sed -e 's/\/FontName*
//' | sed 's/ def//'`
> echo $fontname" ($font.pfb) ;" >> $PWD/Fontmap
> fontname=`echo $fontname 2>/dev/null | sed -e 's/\/*//'`
> echo "fontname = "$fontname
> fi
>
> if [ -f f_o_n_t.pfa ]; then
> rm -f f_o_n_t.pfa
> fi
> fi
>
> done
>
> echo "" >> $PWD/Fontmap
>
> if [ -f f_o_n_t.pfa ]; then
> rm -f f_o_n_t.pfa
> fi
>
>
> ------------------------------------------------------------------------
>
> #! /bin/bash
> echo ""
> echo "MAKING fonts.scale"
> mkfontscale -e /usr/X11R6/lib/X11/fonts/encodings -f 90
> echo ""
> echo "MAKING fonts.dir"
> mkfontdir -e /usr/X11R6/lib/X11/fonts/encodings
> echo ""
> echo "MAKING Fontmap"
> echo ""
> txfm
> echo ""
> echo "DONE"
> echo ""
> exit
>
>
>
>
>
--
Leon A. Goldstein
Powered by Libranet 2.8.1 Debian Linux
System G2
|
| Post Reply
|
| Re: Runninng WP8.1 on Fedora 7 |
 |
Sun, 12 Aug 2007 21:28:22 -040 |
This is a procedure for installing WP 8.1 (the one from Corel Linux) in
Fedora 7.
This how-to includes JRT's font installation procedure.
You will need to convert the WP8.1 Deb's to TAR; don't bother trying to
install as RPM's.
I'm still looking for a compatible imwheel RPM to enable scrolling.
As root:
1. Untar WP packages in /
2. Edit /etc/ld.so.conf.d/qt-i386.conf > add /usr/lib/wp8/wpbin > run
command: ldconfig
3. Symlink: ln -s /lib/ld.2.6.so /lib/ld-linux.so.1
(NB: for FC 6 it is /lib/ld.2.5.so)
4. Symlink: ln -s /usr/share/X11/locale /usr/X11R6/lib/X11/locale
5. mkfontscale -e /usr/share/X11/fonts/encodings -f 90
6. mkfontdir -e /usr/share/X11/fonts/encodings
7. /usr/lib/wp8/shbin10/wpfi
8. Run JRT's script: txfm.sh (ensure execute bit is set)
#!/bin/bash
echo "" > $PWD/Fontmap
for file in $PWD/*
do if [ -f "$file" ]; then
if [ -f f_o_n_t.pfa ]; then
rm -f f_o_n_t.pfa
fi
font=`basename $file .ttf`
if [ -f $font.ttf ]; then
echo -n "font = "$font.ttf" "
fontline=`ttf2pt1 -GA -l adobestd -b -p ttf $font.ttf -
2>/dev/null |grep FontName`
fontname=`echo $fontline 2>/dev/null | sed -e
's/FontName* //'`
echo "fontname = "$fontname
fontname="/$fontname"
echo $fontname" ($font.ttf) ;" >> $PWD/Fontmap
fi
font=`basename $file .pfa`
if [ -f $font.pfa ]; then
echo -n "font = "$font.pfa" "
fontline=`cat $font.pfa 2>/dev/null |grep FontName`
fontname=`echo $fontline 2>/dev/null | sed -e
's/\/FontName* //' | sed 's/ def//'`
echo $fontname" ($font.pfa) ;" >> $PWD/Fontmap
fontname=`echo $fontname 2>/dev/null | sed -e 's/\/*//'`
echo "fontname = "$fontname
fi
font=`basename $file .pfb`
if [ -f $font.pfb ]; then
pfb2pfa $font.pfb
mv $font.pfa f_o_n_t.pfa
echo -n "font = "$font.pfb" "
fontline=`cat f_o_n_t.pfa 2>/dev/null |grep FontName`
fontname=`echo $fontline 2>/dev/null | sed -e
's/\/FontName* //' | sed 's/ def//'`
echo $fontname" ($font.pfb) ;" >> $PWD/Fontmap
fontname=`echo $fontname 2>/dev/null | sed -e 's/\/*//'`
echo "fontname = "$fontname
fi
if [ -f f_o_n_t.pfa ]; then
rm -f f_o_n_t.pfa
fi
fi
done
echo "" >> $PWD/Fontmap
if [ -f f_o_n_t.pfa ]; then
rm -f f_o_n_t.pfa
fi
--
Leon A. Goldstein
Powered by Libranet 2.8 Debian Linux
System LI
|
| Post Reply
|
|
|
|
|
|
|
|
|
|