File: INSTALL.win32

package info (click to toggle)
ebview 0.3.6.2-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 4,040 kB
  • sloc: ansic: 35,577; sh: 10,714; xml: 1,771; makefile: 607; yacc: 291
file content (163 lines) | stat: -rw-r--r-- 4,853 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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
EBView�̃R���p�C��(Windows��)

*** �x�� ***
�\�[�X����R���p�C������̂́A�‹�������܂߁A�ƂĂ��ςł��B��قǂ̂��Ƃ��Ȃ�����A�o�C�i����g���̂������Ǝv���܂��
************

Windows�ł́ACygwin��g���ăR���p�C�����܂��B�������A-mno-cygwin�ŃR���p�C�������̂ŁA����‹��ɂ�Cygwin�͕K�v����܂���BMinGW�ł�����̂������܂��񂪁A�����Ă��܂���B

���̂�����ɂ‚��ẮA"cygwin mingw"�ȂǂŃC���^�[�l�b�g��������ƁA�����Ă���y�[�W������܂��B


1. Cygwin�̃C���X�g�[��

�ȉ�����Cygwin��C���X�g�[�����܂��B

  http://www.cygwin.com/

���Ȃ݂ɁA����GCC�̓o�[�W����3�ł͂Ȃ��A�o�[�W����2.95.3-9��g���Ă��܂��B


2�D���C�u�����̃C���X�g�[��

�ȉ�����GTK�Ȃǂ̃��C�u�����ꎮ��C���X�g�[�����܂��B

  http://www.gimp.org/~tml/gimp/win32/

�C���X�g�[������f�B���N�g���͂ǂ��ł�\���܂��񂪁AC:\cygwin\usr\local(Cygwin�‹���ł� /usr/local �ɂȂ�)�̉��ɂ��邩�AC:\gtk �Ȃǂ̂悤�ɕʂ̃f�B���N�g���ɂ��܂��B���͌�҂Ƃ��܂����B

�܂��A�ȉ�����POSIX Threads for Win32�����Ă��ăC���X�g�[�����܂��B

  http://sources.redhat.com/pthreads-win32/

����ɁA�ȉ����琳�K�\�����C�u������Ƃ��Ă��܂��B

  http://www2.odn.ne.jp/munesato/sylpheed/


  �S���ňȉ��̃A�[�J�C�u���K�v�ɂȂ�܂�(2003�N6��25�����_)�B

  dirent.zip
  freetype-2.1.2-1-lib.zip
  freetype-2.1.2-bin.zip
  gettext-dev-0.10.40-20020904.zip
  libiconv-1.8.w32-1.bin.zip
  libintl-0.10.40-tml-20020904.zip
  libjpeg-6b-bin.zip
  libjpeg-6b-lib.zip
  libpng-1.2.4-1-bin.zip
  libpng-1.2.4-1-lib.zip
  pkgconfig-0.14.zip
  tiff-3.5.7-bin.zip
  tiff-3.5.7-lib.zip
  zlib-1.1.4-bin.zip
  zlib-1.1.4-lib.zip
  
  atk-1.0.3-20020821.zip
  atk-dev-1.0.3-20020821.zip
  glib-2.2.1.zip
  glib-dev-2.2.1.zip
  gtk+-2.2.1.zip
  gtk+-dev-2.2.1.zip
  pango-1.2.1.zip
  pango-dev-1.2.1.zip
  
  pthreads-2003-05-10.exe

  regex-dev-20020423.lzh


3. EB Library�̃C���X�g�[��

 �ȉ�����\�[�X�����Ă��܂��i��������Ă��鎞�_�ł�3.3.2�j�

  http://www.sra.co.jp/people/m-kasahr/eb/index-ja.html

 �K���ɓW�J���܂��Bconfigure����s����O�Ɋ‹��ϐ���ݒ肵�܂��B

  export CFLAGS="-mno-cygwin -fnative-struct"
  export CPPFLAGS="-DWIN32 -DDOS_FILE_PATH -I/cygdrive/c/gtk/include"
  export LDFLAGS="-L/usr/local/lib -L/cygdrive/c/gtk/lib"
  export CC=gcc-2

 �p�X�́AGTK�Ȃǂ̃��C�u������C���X�g�[�������f�B���N�g����w�肵�܂��B

  �R���p�C�����܂��B
  
  ./configure
  make
  cd eb
  make install
  cd ..
  make eb.conf
  cp eb.conf /usr/local/etc

make�̓r����getopt�֌W�̃G���[�ɂȂ��Ă�A�Ƃ肠�����������܂��B


4. EBView�̃R���p�C��

�ȉ�����s���܂��B
  ./configure
  make

  �o�����o�C�i����f�[�^�t�@�C���́A���̃h�L�������g�̍Ō�ɂ���f�B���N�g���\���ɏ]���āA�蓮�ŃR�s�[���܂��B


5. GTK��IME�pIM���W���[����C���X�g�[�����܂��B

�t�@�C���͈ȉ��ɂ���܂��i��������Ă��鎞�_�ł̍ŐV��0.0.3�j�B

  http://imime.sourceforge.jp/

�ʏ��./configure, make���Ă�DLL���ł��Ȃ��̂ŁA�ȉ��̂悤�ȃV�F���X�N���v�g�����Ď��s���܂��B

****** ��������******
#!/bin/sh
CC=gcc-2
LD=ld
DLLTOOL=dlltool
DLLNAME=im-ime.dll
OBJS="imime.o gtkimcontextime.o"
CFLAGS="-I/cygdrive/c/gtk/include -I/cygdrive/c/gtk/include/atk-1.0 -I/cygdrive/c/gtk/include/glib-2.0 -I/cygdrive/c/gtk/include/gtk-2.0 -I/cygdrive/c/gtk/include/pango-1.0 -I/cygdrive/c/gtk/lib/glib-2.0/include -I/cygdrive/c/gtk/lib/gtk-2.0/include -mno-cygwin -fnative-struct"
LIBS="-lintl -lgtk-win32-2.0 -lgdk-win32-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangowin32-1.0 -lgdi32 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -liconv -limm32"
LDFLAGS="-L/usr/local/lib -L/cygdrive/c/gtk/lib -mno-cygwin -fnative-struct -mwindows"


${CC} -c ${CFLAGS} imime.c
${CC} -c ${CFLAGS} gtkimcontextime.c
dlltool --export-all --output-def im-ime.def ${OBJS}
dllwrap --target i386-mingw32 --mno-cygwin --export-all --def im-ime.def --driver-name gcc-2 -o im-ime.dll ${OBJS} ${LDFLAGS} ${LIBS}

****** �����܂�******

�ł���im-ime.dll��Alib/gtk-2.0/2.2.0/immodules/ �ɃR�s�[���A etc/gkt-2.0/gtk.immodules �Ɉȉ��̍s��lj����܂��B

  "/target/build/lib/gtk-2.0/2.2.0/immodules/im-ime.dll"
  "win32ime" "Windows IME" "gtk+" "" "*"

�܂��́A�t�@�C�����̂� gtk-query-immodules-2.0.exe �R�}���h�ō쐬���܂��B


6. Windows�ŌŗL�̎���

  Windows�łł́Aebview.exe������f�B���N�g����data�Ƃ����f�B���N�g����쐬���A�����Ƀ��b�Z�[�W�J�^���O�t�@�C���A�w���v�t�@�C���Agtkrc�t�@�C���A�e���`�t�@�C�������܂���Ⴆ�΁Aebview.exe��C:\Program Files\ebview�ɓ����ꍇ�A�ȉ��̂悤�ɂȂ�܂��B

  C:\Program Files\ebview:
    ebview.exe

  C:\Program Files\ebview\data
    gtkrc
    about.en
    about.jp
    endinglist.xml
    endinglist-ja.xml
    searchengines.xml
    shortcut.xml

  C:\Program Files\ebview\data\help
    *.html

  C:\Program Files\ebview\data\ja\LC_MESSAGES
    ebview.mo