LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   [HOWTO] - Install TurboCAD V7.1 In Slackware 14.0 (running in Wine 1.5.5) (https://www.linuxquestions.org/questions/slackware-14/%5Bhowto%5D-install-turbocad-v7-1-in-slackware-14-0-running-in-wine-1-5-5-a-4175430939/)

lkraemer 10-07-2012 05:14 AM

[HOWTO] - Install TurboCAD V7.1 In Slackware 14.0 (running in Wine 1.5.5)
 
3 Attachment(s)
Install TurboCAD V7.1 In Slackware 14.0
with all the required software and proper dependencies to execute TurboCAD:

1. Wine (Ver 1.5.5)
.........A. msttcorefonts
............1. modify msftfonts.SlackBuild & msftfonts-arial.SlackBuild
............2. cabextract
.........B. fontforge
.........C. wine-gecko

2. TurboCAD (Ver 7.1)
.........A. modify /home/user/.local/share/applications/wine/Programs/IMSI\ TurboCAD\ v7/TurboCAD\ v7.1


Wine-gecko:
I had searched this forum for help installing Wine in Slackware 14.0 (XFCE Desktop).

I used this to install gecko:
Code:

    wget http://downloads.sourceforge.net/wine/wine_gecko-1.5-x86.msi
    sudo mkdir -p /usr/share/wine/gecko
    sudo mv wine_gecko-1.5-x86.msi /usr/share/wine/gecko/

I'm not 100% sure this was the best way to install gecko, but I did get Wine installed, so I could install TurboCAD Ver 7.1
You might want to use this URL to install wine-gecko:
http://www.slackware.com/~alien/slackbuilds/wine_gecko/


Fontforge:
fontforge was downloaded from the following URL, built, and installed:
http://slackbuilds.org/result/?search=fontforge&sv=14.0

NOTE: As an example to build fontforge, you need the source code to build along with the build script
fontforge.SlackBuild, and you may need to change the permissions, if needed, to:
Code:

chmod +x fontforge.SlackBuild
The files contained in your fontforge subdirectory should be:
Code:

freetype-2.4.10.tar.xz
cidmaps.tgz
fontforge_full-20120731-b.tar.bz2
fontforge.tar.gz
fontforge.SlackBuild
fontforge.info
README
slack-desc

You would then execute the script from the source code subdirectory.
Code:

cd /path/to/fontforge
./fontforge.SlackBuild

When the package is built, you install it with:
Code:

installpkg /tmp/fontforge-20120731_b-i486-1_SBo.tgz
making sure it installs properly.


Cabextract:
cabextract was downloaded from the following URL, built, and installed:
http://slackbuilds.org/result/?searc...xtract&sv=14.0


msttcorefonts:
I downloaded all the files from this website, and followed the instructions.
http://beej.us/slackware/msftfonts/

NOTE: You can use "sh -x msftfonts.SlackBuild" for troubleshooting Errors.

NOTE: The packager makepkg has recently been changed such that a path has to be provided in the output's directory path. The code below will correct the script's.
Code:

# make package
#
(
        cd $BUILDDEST
        makepkg -l y -c y $PACKAGEDEST/$PACKAGENAME
) || exit 6

# mv $BUILDDEST/$PACKAGENAME $PACKAGEDEST


Wine: Ver 1.5.5
Wine was downloaded from the following URL, built, and installed:
http://www.slackware.com/~alien/slackbuilds/wine/build/

After Wine is installed, you need to execute "winecfg" from a Terminal Window (Console) to get the Wine configuration files built on your system.
Code:

winecfg

TurboCAD:
At this point you just need to install TurboCAD Ver 7.1. Open a Terminal Window and use this command:
Code:

wine /path/to/TurboCAD/subdirectory/Setup.exe
NOTE:The Desktop Menu for Wine should display four selections for TurboCAD. Do NOT Drag the TurboCAD
Launcher to the Desktop, because it will be removed from the Menu selection. The existing XFCE Menu Launcher
for TurboCAD does not function. There is a stanza in the launcher that needs to be modified. That
information follows:

After hours of searching I finally found how to change the XFCE Menu for TurboCAD, so it executes correctly.............
NO Desktop Icon required......
http://wiki.xfce.org/howto/customize-menu

For XFCE to start TurboCAD 7.1 from the XFCE Menu, edit the TurboCAD v7.1 File in home/user/.local/share/applications/wine/programs/IMSI TurboCAD v7/

Here are the necessary changes to make it work, assuming a DEFAULT Install of TurboCAD v71.
Just be sure to change "user" to your username in all the code below:
Code:

[Desktop Entry]
Name=TurboCAD v7.1
Exec=env WINEPREFIX="/home/user/.wine" wine C:\\\\windows\\\\command\\\\start.exe /Unix /home/user/.wine/drive_c/Program\\ Files/IMSI/TCW70/Program/Tcw70.exe
Type=Application
StartupNotify=true
Comment=Description of shortcut
Path=/home/user/.wine/dosdevices/c:/Program Files/IMSI/TCW70/Program/
Icon=A273_FrontLine.0
GenericName=


TurboCAD Icon:
The Desktop Icon png file for TurboCAD is attached. It should be copied to:
/usr/share/icons/hicolor/48x48/apps

Thanks.

Larry

mostlyharmless 10-08-2012 02:28 PM

Nice job, sure it'll come in handy. Perhaps you should submit it to the Linux Tutorial page.


All times are GMT -5. The time now is 07:17 PM.