File: INSTALL.gtk2

package info (click to toggle)
unison 2.13.16-5
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 1,876 kB
  • ctags: 2,814
  • sloc: ml: 20,312; objc: 1,087; makefile: 504; ansic: 180; sh: 46
file content (57 lines) | stat: -rw-r--r-- 1,567 bytes parent folder | download | duplicates (12)
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
We are happy to announce a new version of Unison with a user interface
based on Gtk 2.2, enabling display of filenames with any locale encoding.

Installation instructions follow:

-----------------------------
LINUX (and maybe other Unixes):

In order to use gtk2 with unison,

1) install glib, pango, gtk (version >2.2)
   from http://www.gtk.org/

2) install lablgtk2 (version >20030423)
   from http://wwwfun.kurims.kyoto-u.ac.jp/soft/olabl/lablgtk.html

3) install unison (version >2.9.36)
   from http://www.cis.upenn.edu/~bcpierce/unison/

   Simply type 'make'.

   Makefile will detect the presence of lablgtk2 directory
   $(OCAMLLIBDIR)/lablgtk2 (such as /usr/local/lib/ocaml/lablgtk2/)
   and use UISTYLE=gtk2 by default. If absent, it falls back to
   lablgtk with UISTYLE=gtk, then back to UISTYLE=text.

   You can force the selection by
        make UISTYLE=gtk2
     or make UISTYLE=gtk
     or make UISTYLE=text

4) setup your locale environment properly
   for example, export LANG=zh_HK.BIG5-HKSCS

   otherwise, you will get
     Uncaught exception Glib.GError("Invalid byte sequence in conversion input")  
5) enjoy unison with i18n!

-----------------------------
OS X:

1) Install gtk2 using fink:

      sudo /sw/bin/fink  install gtk+2

   Then proceed from step 2 above.

In our tests, the linker generates lots of error messages, but appears
to build a working executable.  Also, we have not yet been able to get
this build to work with 'STATIC=true'.

-----------------------------
WINDOWS:

(Anybody want to contribute instructions??)