Revision 690

View differences:

libsylph/procmime.c
1046 1046
		GList *list;
1047 1047
		gchar *dir;
1048 1048

  
1049
#ifdef G_OS_WIN32
1050
		dir = g_strconcat(get_startup_dir(),
1051
				  G_DIR_SEPARATOR_S "etc" G_DIR_SEPARATOR_S
1052
				  "mime.types", NULL);
1053
		mime_type_list = procmime_get_mime_type_list(dir);
1054
		g_free(dir);
1055
#else
1049 1056
		mime_type_list =
1050 1057
			procmime_get_mime_type_list(SYSCONFDIR "/mime.types");
1051 1058
		if (!mime_type_list) {
1052 1059
			list = procmime_get_mime_type_list("/etc/mime.types");
1053 1060
			mime_type_list = g_list_concat(mime_type_list, list);
1054 1061
		}
1062
#endif
1055 1063
		dir = g_strconcat(get_rc_dir(), G_DIR_SEPARATOR_S,
1056 1064
				  "mime.types", NULL);
1057 1065
		list = procmime_get_mime_type_list(dir);
mime.types
1
# This file is based on the "mime-support" package of Debian GNU/Linux.
2

  
3
application/andrew-inset			ez
4
application/cu-seeme				cu
5
application/dsptype				tsp
6
application/futuresplash			spl
7
application/hta					hta
8
application/java-archive			jar
9
application/java-serialized-object		ser
10
application/java-vm				class
11
application/mac-binhex40			hqx
12
application/mac-compactpro			cpt
13
application/mathematica				nb
14
application/msaccess				mdb
15
application/msword				doc dot
16
application/octet-stream			bin
17
application/oda					oda
18
application/ogg					ogg
19
application/pdf					pdf
20
application/pgp-keys				key
21
application/pgp-signature			pgp
22
application/pics-rules				prf
23
application/postscript				ps ai eps
24
application/rar					rar
25
application/rdf+xml				rdf
26
application/rss+xml				rss
27
application/smil				smi smil
28
application/wordperfect				wpd
29
application/wordperfect5.1			wp5
30
application/xhtml+xml				xhtml xht
31
application/xml					xml xsl
32
application/zip					zip
33
application/vnd.cinderella			cdy
34
application/vnd.mozilla.xul+xml			xul
35
application/vnd.ms-excel			xls xlb xlt
36
application/vnd.ms-pki.seccat			cat
37
application/vnd.ms-pki.stl			stl
38
application/vnd.ms-powerpoint			ppt pps
39
application/vnd.oasis.opendocument.chart	odc
40
application/vnd.oasis.opendocument.database	odb
41
application/vnd.oasis.opendocument.formula	odf
42
application/vnd.oasis.opendocument.graphics	odg
43
application/vnd.oasis.opendocument.image	odi
44
application/vnd.oasis.opendocument.presentation	odp
45
application/vnd.oasis.opendocument.spreadsheet	ods
46
application/vnd.oasis.opendocument.text		odt
47
application/vnd.oasis.opendocument.text-master	odm
48
application/vnd.oasis.opendocument.text-web	oth
49
application/vnd.rim.cod				cod
50
application/vnd.smaf				mmf
51
application/vnd.stardivision.calc		sdc
52
application/vnd.stardivision.draw		sda
53
application/vnd.stardivision.impress		sdd sdp
54
application/vnd.stardivision.math		smf
55
application/vnd.stardivision.writer		sdw vor
56
application/vnd.stardivision.writer-global	sgl
57
application/vnd.sun.xml.calc			sxc
58
application/vnd.sun.xml.calc.template		stc
59
application/vnd.sun.xml.draw			sxd
60
application/vnd.sun.xml.draw.template		std
61
application/vnd.sun.xml.impress			sxi
62
application/vnd.sun.xml.impress.template	sti
63
application/vnd.sun.xml.math			sxm
64
application/vnd.sun.xml.writer			sxw
65
application/vnd.sun.xml.writer.global		sxg
66
application/vnd.sun.xml.writer.template		stw
67
application/vnd.symbian.install			sis
68
application/vnd.visio				vsd
69
application/vnd.wap.wbxml			wbxml
70
application/vnd.wap.wmlc			wmlc
71
application/vnd.wap.wmlscriptc			wmlsc
72
application/x-123				wk
73
application/x-abiword				abw
74
application/x-apple-diskimage			dmg
75
application/x-bcpio				bcpio
76
application/x-bittorrent			torrent
77
application/x-cdf				cdf
78
application/x-cdlink				vcd
79
application/x-chess-pgn				pgn
80
application/x-cpio				cpio
81
application/x-csh				csh
82
application/x-debian-package			deb udeb
83
application/x-director				dcr dir dxr
84
application/x-dms				dms
85
application/x-doom				wad
86
application/x-dvi				dvi
87
application/x-flac				flac
88
application/x-font				pfa pfb gsf pcf pcf.Z
89
application/x-freemind				mm
90
application/x-futuresplash			spl
91
application/x-gnumeric				gnumeric
92
application/x-go-sgf				sgf
93
application/x-graphing-calculator		gcf
94
application/x-gtar				gtar tgz taz
95
application/x-hdf				hdf
96
application/x-httpd-php				phtml pht php
97
application/x-httpd-php-source			phps
98
application/x-httpd-php3			php3
99
application/x-httpd-php3-preprocessed		php3p
100
application/x-httpd-php4			php4
101
application/x-ica				ica
102
application/x-internet-signup			ins isp
103
application/x-iphone				iii
104
application/x-iso9660-image			iso
105
application/x-java-jnlp-file			jnlp
106
application/x-javascript			js
107
application/x-jmol				jmz
108
application/x-kchart				chrt
109
application/x-killustrator			kil
110
application/x-koan				skp skd skt skm
111
application/x-kpresenter			kpr kpt
112
application/x-kspread				ksp
113
application/x-kword				kwd kwt
114
application/x-latex				latex
115
application/x-lha				lha
116
application/x-lzh				lzh
117
application/x-lzx				lzx
118
application/x-maker				frm maker frame fm fb book fbdoc
119
application/x-mif				mif
120
application/x-ms-wmd				wmd
121
application/x-ms-wmz				wmz
122
application/x-msdos-program			com exe bat dll
123
application/x-msi				msi
124
application/x-netcdf				nc
125
application/x-ns-proxy-autoconfig		pac
126
application/x-nwc				nwc
127
application/x-object				o
128
application/x-oz-application			oza
129
application/x-pkcs7-certreqresp			p7r
130
application/x-pkcs7-crl				crl
131
application/x-python-code			pyc pyo
132
application/x-quicktimeplayer			qtl
133
application/x-redhat-package-manager		rpm
134
application/x-sh				sh
135
application/x-shar				shar
136
application/x-shockwave-flash			swf swfl
137
application/x-stuffit				sit
138
application/x-sv4cpio				sv4cpio
139
application/x-sv4crc				sv4crc
140
application/x-tar				tar
141
application/x-tcl				tcl
142
application/x-tex-gf				gf
143
application/x-tex-pk				pk
144
application/x-texinfo				texinfo texi
145
application/x-trash				~ % bak old sik
146
application/x-troff				t tr roff
147
application/x-troff-man				man
148
application/x-troff-me				me
149
application/x-troff-ms				ms
150
application/x-ustar				ustar
151
application/x-wais-source			src
152
application/x-wingz				wz
153
application/x-x509-ca-cert			crt
154
application/x-xcf				xcf
155
application/x-xfig				fig
156
application/x-xpinstall				xpi
157
audio/basic					au snd
158
audio/midi					mid midi kar
159
audio/mpeg					mpga mpega mp2 mp3 m4a
160
audio/mpegurl					m3u
161
audio/prs.sid					sid
162
audio/x-aiff					aif aiff aifc
163
audio/x-gsm					gsm
164
audio/x-mpegurl					m3u
165
audio/x-ms-wma					wma
166
audio/x-ms-wax					wax
167
audio/x-pn-realaudio				ra rm ram
168
audio/x-realaudio				ra
169
audio/x-scpls					pls
170
audio/x-sd2					sd2
171
audio/x-wav					wav
172
chemical/x-alchemy				alc
173
chemical/x-cache				cac cache
174
chemical/x-cache-csf				csf
175
chemical/x-cactvs-binary			cbin cascii ctab
176
chemical/x-cdx					cdx
177
chemical/x-cerius				cer
178
chemical/x-chem3d				c3d
179
chemical/x-chemdraw				chm
180
chemical/x-cif					cif
181
chemical/x-cmdf					cmdf
182
chemical/x-cml					cml
183
chemical/x-compass				cpa
184
chemical/x-crossfire				bsd
185
chemical/x-csml					csml csm
186
chemical/x-ctx					ctx
187
chemical/x-cxf					cxf cef
188
#chemical/x-daylight-smiles			smi
189
chemical/x-embl-dl-nucleotide			emb embl
190
chemical/x-galactic-spc				spc
191
chemical/x-gamess-input				inp gam gamin
192
chemical/x-gaussian-checkpoint			fch fchk
193
chemical/x-gaussian-cube			cub
194
chemical/x-gaussian-input			gau gjc gjf
195
chemical/x-gaussian-log				gal
196
chemical/x-gcg8-sequence			gcg
197
chemical/x-genbank				gen
198
chemical/x-hin					hin
199
chemical/x-isostar				istr ist
200
chemical/x-jcamp-dx				jdx dx
201
chemical/x-kinemage				kin
202
chemical/x-macmolecule				mcm
203
chemical/x-macromodel-input			mmd mmod
204
chemical/x-mdl-molfile				mol
205
chemical/x-mdl-rdfile				rd
206
chemical/x-mdl-rxnfile				rxn
207
chemical/x-mdl-sdfile				sd sdf
208
chemical/x-mdl-tgf				tgf
209
#chemical/x-mif					mif
210
chemical/x-mmcif				mcif
211
chemical/x-mol2					mol2
212
chemical/x-molconn-Z				b
213
chemical/x-mopac-graph				gpt
214
chemical/x-mopac-input				mop mopcrt mpc dat zmt
215
chemical/x-mopac-out				moo
216
chemical/x-mopac-vib				mvb
217
chemical/x-ncbi-asn1				asn
218
chemical/x-ncbi-asn1-ascii			prt ent
219
chemical/x-ncbi-asn1-binary			val aso
220
chemical/x-ncbi-asn1-spec			asn
221
chemical/x-pdb					pdb ent
222
chemical/x-rosdal				ros
223
chemical/x-swissprot				sw
224
chemical/x-vamas-iso14976			vms
225
chemical/x-vmd					vmd
226
chemical/x-xtel					xtel
227
chemical/x-xyz					xyz
228
image/gif					gif
229
image/ief					ief
230
image/jpeg					jpeg jpg jpe
231
image/pcx					pcx
232
image/png					png
233
image/svg+xml					svg svgz
234
image/tiff					tiff tif
235
image/vnd.djvu					djvu djv
236
image/vnd.wap.wbmp				wbmp
237
image/x-cmu-raster				ras
238
image/x-coreldraw				cdr
239
image/x-coreldrawpattern			pat
240
image/x-coreldrawtemplate			cdt
241
image/x-corelphotopaint				cpt
242
image/x-icon					ico
243
image/x-jg					art
244
image/x-jng					jng
245
image/x-ms-bmp					bmp
246
image/x-photoshop				psd
247
image/x-portable-anymap				pnm
248
image/x-portable-bitmap				pbm
249
image/x-portable-graymap			pgm
250
image/x-portable-pixmap				ppm
251
image/x-rgb					rgb
252
image/x-xbitmap					xbm
253
image/x-xpixmap					xpm
254
image/x-xwindowdump				xwd
255
model/iges					igs iges
256
model/mesh					msh mesh silo
257
model/vrml					wrl vrml
258
text/calendar					ics icz
259
text/comma-separated-values			csv
260
text/css					css
261
text/h323					323
262
text/html					html htm shtml
263
text/iuls					uls
264
text/mathml					mml
265
text/plain					asc txt text diff pot
266
text/richtext					rtx
267
text/rtf					rtf
268
text/scriptlet					sct wsc
269
text/texmacs					tm ts
270
text/tab-separated-values			tsv
271
text/vnd.sun.j2me.app-descriptor		jad
272
text/vnd.wap.wml				wml
273
text/vnd.wap.wmlscript				wmls
274
text/x-bibtex					bib
275
text/x-boo					boo
276
text/x-c++hdr					h++ hpp hxx hh
277
text/x-c++src					c++ cpp cxx cc
278
text/x-chdr					h
279
text/x-component				htc
280
text/x-csh					csh
281
text/x-csrc					c
282
text/x-dsrc					d
283
text/x-haskell					hs
284
text/x-java					java
285
text/x-literate-haskell				lhs
286
text/x-moc					moc
287
text/x-pascal					p pas
288
text/x-pcs-gcd					gcd
289
text/x-perl					pl pm
290
text/x-python					py
291
text/x-setext					etx
292
text/x-sh					sh
293
text/x-tcl					tcl tk
294
text/x-tex					tex ltx sty cls
295
text/x-vcalendar				vcs
296
text/x-vcard					vcf
297
video/dl					dl
298
video/dv					dif dv
299
video/fli					fli
300
video/gl					gl
301
video/mpeg					mpeg mpg mpe
302
video/mp4					mp4
303
video/quicktime					qt mov
304
video/vnd.mpegurl				mxu
305
video/x-la-asf					lsf lsx
306
video/x-mng					mng
307
video/x-ms-asf					asf asx
308
video/x-ms-wm					wm
309
video/x-ms-wmv					wmv
310
video/x-ms-wmx					wmx
311
video/x-ms-wvx					wvx
312
video/x-msvideo					avi
313
video/x-sgi-movie				movie
314
x-conference/x-cooltalk				ice
315
x-world/x-vrml					vrm vrml wrl
ChangeLog.ja
1
2005-10-27
2

  
3
	* libsylph/procmime.c: procmime_get_mime_type_table(): win32: ??ư??
4
	  ?Υǥ??쥯?ȥ??ˤ??? mime.types ???ɤ??褦?ˤ?????
5
	* mime.types: ???????ĥ꡼?˴ޤ᤿??
6

  
1 7
2005-10-26
2 8

  
3 9
	* libsylph/prefs_common.[ch]
ChangeLog
1
2005-10-27
2

  
3
	* libsylph/procmime.c: procmime_get_mime_type_table(): win32: read
4
	  mime.types in startup directory.
5
	* mime.types: included in the source tree.
6

  
1 7
2005-10-26
2 8

  
3 9
	* libsylph/prefs_common.[ch]
Makefile.am
17 17
	sylpheed-128x128.png \
18 18
	sylpheed-64x64.png \
19 19
	autogen.sh \
20
	makewin32.sh
20
	makewin32.sh \
21
	mime.types
21 22

  
22 23
BZIP2_ENV =
23 24

  

Also available in: Unified diff