File: README.MacOsX

package info (click to toggle)
mtink 1.0.16-8
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 3,480 kB
  • ctags: 1,349
  • sloc: ansic: 19,263; sh: 1,008; python: 626; xml: 444; makefile: 75
file content (105 lines) | stat: -rw-r--r-- 2,964 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
This is for Mac OS X users.

This package include a terminal version (ttink) and a graphical
user interface mtink, which require the X11 system and the
openMotif or Lesstif package.

Only USB printers are supported.


Requirements:
-------------
In order to compile mtink and ttink you need the libusb package
which can be found at sourceforge.net, the necessary development
package for you Mac OS X system which can be downloaded from
the apple site or installed from your DVD (xcode) and the
openmotif package which can be downloaded from 
http://www.ist.co.uk/DOWNLOADS/motif_download.html

XCode / X11 SDK:
----------------
The required X11 packages are located on the DVD under:
X11 runtime    : /System/Installation/Packages/X11User.pkg
X11 development: /Xcode Tools/Packages/X11SDK.pkg

Libusb:
-------
For the libusb, you can download it from the fink project.
First dowload fink at http://fink.sourceforge.net and
install this package.
From a terminal call: "fink install libusb"



OpenMotif:
----------

OpenMotif is delivered as *.dmg file and contain a *.pkg file
which do all necessary works if clicked.


Mtink/Ttink Configuration:
--------------------------
call "./Configure -x -p /sw"

This will generate the Makefile necessary for compiling the
terminal application ttink.

or "./Configure -p /sw"

The second command will generate the Makefile for producing of
the terminal based ttink as well as the GUI program mtink.

If openMotif or Lesstif is installed ./Configure shall no complain
and produce the wanted Makefile.


Compilation:
------------
if all was ok call "make"

Installation:
-------------
if all was ok call "sudo make install"

After this step you can call ttink from a terminal.
or launch mtink which is located under /sw/bin. The best way to
launch mtink will probably to insert it into the X11 Applications
menu.


Environment:
------------
The Apple I had was not OK concerning the language to use for
the programs. I solved the problems as follow:
create the file /Users/<yourLogin>/.bashrc and insert the
line:

export LANG=de_DE.UTF-8
export DISPLAY=:0

finally Save the file.
At the next login the enironment LANG will be set correctly.
The example above is for german. The supported languages are
Italian (it_IT.UTF-8), english, not need to do anythings,
French (fr_FR.UTF-8), Hungarian (hu_HU.UTF-8), turkish
(tr_TR.UTF8), danish (da_DA.UTF8),... . If your preferred language
is not known by ttink/mtink, the tools default to english.

You may also write a script which set the environment. This script
shall look as follow:
---------------------------------------------------
#!/bin/sh
export DISPLAY=:0
export LANG=de_DE.UTF-8
/sw/mtink "$@"
----------------------------------------------------
The file may be located under /sw/bin and be called mtink.sh
Please mmake shure that this file has the exeution rights:
chown 755 /sw/bin/mtink.sh


Jean-Jacques Sarton
jj.sarton@t-online.de
http://xwtools.automatix.de