You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

576 lines
23 KiB

  1. diff -Nurd -x'*~' glib-2.22.4.orig/configure glib-2.22.4/configure
  2. --- glib-2.22.4.orig/configure 2010-01-06 19:48:41.000000000 -0500
  3. +++ glib-2.22.4/configure 2010-01-13 08:56:35.000000000 -0500
  4. @@ -4801,7 +4801,7 @@
  5. #define HAVE_CARBON 1
  6. _ACEOF
  7. - LDFLAGS="$LDFLAGS -framework Carbon"
  8. + LDFLAGS="$LDFLAGS -Wl,-framework,Carbon"
  9. fi
  10. @@ -8323,13 +8323,13 @@
  11. if test -n "$PYTHON"; then
  12. # If the user set $PYTHON, use it and don't search something else.
  13. - { $as_echo "$as_me:$LINENO: checking whether $PYTHON version >= 2.4" >&5
  14. -$as_echo_n "checking whether $PYTHON version >= 2.4... " >&6; }
  15. + { $as_echo "$as_me:$LINENO: checking whether $PYTHON version >= 2.3" >&5
  16. +$as_echo_n "checking whether $PYTHON version >= 2.3... " >&6; }
  17. prog="import sys
  18. # split strings by '.' and convert to numeric. Append some zeros
  19. # because we need at least 4 digits for the hex conversion.
  20. # map returns an iterator in Python 3.0 and a list in 2.x
  21. -minver = list(map(int, '2.4'.split('.'))) + [0, 0, 0]
  22. +minver = list(map(int, '2.3'.split('.'))) + [0, 0, 0]
  23. minverhex = 0
  24. # xrange is not present in Python 3.0 and range returns an iterator
  25. for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
  26. @@ -40056,6 +40056,9 @@
  27. G_THREAD_CFLAGS="-D_THREAD_SAFE"
  28. fi
  29. ;;
  30. + *-darwin*)
  31. + # Nothing needed.
  32. + ;;
  33. *-dg-dgux*) # DG/UX
  34. G_THREAD_CFLAGS="-D_REENTRANT -D_POSIX4A_DRAFT10_SOURCE"
  35. ;;
  36. diff -Nurd -x'*~' glib-2.22.4.orig/gio/Makefile.in glib-2.22.4/gio/Makefile.in
  37. --- glib-2.22.4.orig/gio/Makefile.in 2010-01-06 19:48:36.000000000 -0500
  38. +++ glib-2.22.4/gio/Makefile.in 2010-01-13 09:57:06.000000000 -0500
  39. @@ -677,6 +677,7 @@
  40. $(SELINUX_LIBS) \
  41. $(GLIB_LIBS) \
  42. $(XATTR_LIBS) \
  43. + -lresolv \
  44. $(NULL)
  45. @PLATFORM_WIN32_TRUE@no_undefined = -no-undefined
  46. diff -Nurd -x'*~' glib-2.22.4.orig/gio/gdesktopappinfo.c glib-2.22.4/gio/gdesktopappinfo.c
  47. --- glib-2.22.4.orig/gio/gdesktopappinfo.c 2010-01-06 19:24:28.000000000 -0500
  48. +++ glib-2.22.4/gio/gdesktopappinfo.c 2010-01-13 08:35:24.000000000 -0500
  49. @@ -1396,7 +1396,7 @@
  50. g_file_set_contents (filename, contents, -1, NULL);
  51. g_free (contents);
  52. - run_update_command ("update-mime-database", "mime");
  53. + run_update_command ("@PREFIX@/bin/update-mime-database", "mime");
  54. }
  55. g_free (filename);
  56. @@ -1527,7 +1527,7 @@
  57. info->filename = filename;
  58. info->desktop_id = desktop_id;
  59. - run_update_command ("update-desktop-database", "applications");
  60. + run_update_command ("@PREFIX@/bin/update-desktop-database", "applications");
  61. return TRUE;
  62. }
  63. diff -Nurd -x'*~' glib-2.22.4.orig/gio/gdrive.h glib-2.22.4/gio/gdrive.h
  64. --- glib-2.22.4.orig/gio/gdrive.h 2009-08-28 22:52:22.000000000 -0400
  65. +++ glib-2.22.4/gio/gdrive.h 2010-01-13 09:13:20.000000000 -0500
  66. @@ -164,7 +164,7 @@
  67. gboolean g_drive_is_media_check_automatic (GDrive *drive);
  68. gboolean g_drive_can_poll_for_media (GDrive *drive);
  69. gboolean g_drive_can_eject (GDrive *drive);
  70. -#ifndef G_DISABLE_DEPRECATED
  71. +#if 1
  72. void g_drive_eject (GDrive *drive,
  73. GMountUnmountFlags flags,
  74. GCancellable *cancellable,
  75. diff -Nurd -x'*~' glib-2.22.4.orig/gio/gfile.h glib-2.22.4/gio/gfile.h
  76. --- glib-2.22.4.orig/gio/gfile.h 2010-01-06 19:19:12.000000000 -0500
  77. +++ glib-2.22.4/gio/gfile.h 2010-01-13 09:13:13.000000000 -0500
  78. @@ -867,7 +867,7 @@
  79. GFile * g_file_mount_mountable_finish (GFile *file,
  80. GAsyncResult *result,
  81. GError **error);
  82. -#ifndef G_DISABLE_DEPRECATED
  83. +#if 1
  84. void g_file_unmount_mountable (GFile *file,
  85. GMountUnmountFlags flags,
  86. GCancellable *cancellable,
  87. @@ -886,7 +886,7 @@
  88. gboolean g_file_unmount_mountable_with_operation_finish (GFile *file,
  89. GAsyncResult *result,
  90. GError **error);
  91. -#ifndef G_DISABLE_DEPRECATED
  92. +#if 1
  93. void g_file_eject_mountable (GFile *file,
  94. GMountUnmountFlags flags,
  95. GCancellable *cancellable,
  96. diff -Nurd -x'*~' glib-2.22.4.orig/gio/gmount.h glib-2.22.4/gio/gmount.h
  97. --- glib-2.22.4.orig/gio/gmount.h 2010-01-06 19:19:12.000000000 -0500
  98. +++ glib-2.22.4/gio/gmount.h 2010-01-13 09:12:58.000000000 -0500
  99. @@ -167,7 +167,7 @@
  100. gboolean g_mount_can_unmount (GMount *mount);
  101. gboolean g_mount_can_eject (GMount *mount);
  102. -#ifndef G_DISABLE_DEPRECATED
  103. +#if 1
  104. void g_mount_unmount (GMount *mount,
  105. GMountUnmountFlags flags,
  106. GCancellable *cancellable,
  107. diff -Nurd -x'*~' glib-2.22.4.orig/gio/gunixmounts.c glib-2.22.4/gio/gunixmounts.c
  108. --- glib-2.22.4.orig/gio/gunixmounts.c 2009-03-31 19:04:20.000000000 -0400
  109. +++ glib-2.22.4/gio/gunixmounts.c 2010-01-13 08:39:56.000000000 -0500
  110. @@ -243,6 +243,7 @@
  111. "/proc",
  112. "/sbin",
  113. "/net",
  114. + "@PERFIX@",
  115. NULL
  116. };
  117. diff -Nurd -x'*~' glib-2.22.4.orig/gio/gvolume.h glib-2.22.4/gio/gvolume.h
  118. --- glib-2.22.4.orig/gio/gvolume.h 2009-08-28 22:52:23.000000000 -0400
  119. +++ glib-2.22.4/gio/gvolume.h 2010-01-13 09:12:51.000000000 -0500
  120. @@ -180,7 +180,7 @@
  121. gboolean g_volume_mount_finish (GVolume *volume,
  122. GAsyncResult *result,
  123. GError **error);
  124. -#ifndef G_DISABLE_DEPRECATED
  125. +#if 1
  126. void g_volume_eject (GVolume *volume,
  127. GMountUnmountFlags flags,
  128. GCancellable *cancellable,
  129. diff -Nurd -x'*~' glib-2.22.4.orig/gio/gvolumemonitor.h glib-2.22.4/gio/gvolumemonitor.h
  130. --- glib-2.22.4.orig/gio/gvolumemonitor.h 2009-08-28 22:52:23.000000000 -0400
  131. +++ glib-2.22.4/gio/gvolumemonitor.h 2010-01-13 09:11:16.000000000 -0500
  132. @@ -142,7 +142,7 @@
  133. GMount * g_volume_monitor_get_mount_for_uuid (GVolumeMonitor *volume_monitor,
  134. const char *uuid);
  135. -#ifndef G_DISABLE_DEPRECATED
  136. +#if 1
  137. GVolume * g_volume_monitor_adopt_orphan_mount (GMount *mount);
  138. #endif
  139. diff -Nurd -x'*~' glib-2.22.4.orig/gio/xdgmime/xdgmime.c glib-2.22.4/gio/xdgmime/xdgmime.c
  140. --- glib-2.22.4.orig/gio/xdgmime/xdgmime.c 2009-10-06 16:07:59.000000000 -0400
  141. +++ glib-2.22.4/gio/xdgmime/xdgmime.c 2010-01-13 08:35:09.000000000 -0500
  142. @@ -257,7 +257,7 @@
  143. xdg_data_dirs = getenv ("XDG_DATA_DIRS");
  144. if (xdg_data_dirs == NULL)
  145. - xdg_data_dirs = "/usr/local/share/:/usr/share/";
  146. + xdg_data_dirs = "@PREFIX@/share:/usr/local/share/:/usr/share/";
  147. ptr = xdg_data_dirs;
  148. diff -Nurd -x'*~' glib-2.22.4.orig/glib/gconvert.c glib-2.22.4/glib/gconvert.c
  149. --- glib-2.22.4.orig/glib/gconvert.c 2009-11-01 15:01:21.000000000 -0500
  150. +++ glib-2.22.4/glib/gconvert.c 2014-02-21 12:28:25.000000000 -0500
  151. @@ -539,7 +539,9 @@
  152. * g_convert_with_iconv:
  153. * @str: the string to convert
  154. * @len: the length of the string, or -1 if the string is
  155. - * nul-terminated<footnoteref linkend="nul-unsafe"/>.
  156. + * nul-terminated (Note that some encodings may allow nul
  157. + * bytes to occur inside strings. In that case, using -1
  158. + * for the @len parameter is unsafe)
  159. * @converter: conversion descriptor from g_iconv_open()
  160. * @bytes_read: location to store the number of bytes in the
  161. * input string that were successfully converted, or %NULL.
  162. @@ -556,20 +558,15 @@
  163. *
  164. * Converts a string from one character set to another.
  165. *
  166. - * Note that you should use g_iconv() for streaming
  167. - * conversions<footnote id="streaming-state">
  168. - * <para>
  169. + * Note that you should use g_iconv() for streaming conversions.
  170. * Despite the fact that @byes_read can return information about partial
  171. - * characters, the <literal>g_convert_...</literal> functions
  172. - * are not generally suitable for streaming. If the underlying converter
  173. - * being used maintains internal state, then this won't be preserved
  174. - * across successive calls to g_convert(), g_convert_with_iconv() or
  175. - * g_convert_with_fallback(). (An example of this is the GNU C converter
  176. - * for CP1255 which does not emit a base character until it knows that
  177. - * the next character is not a mark that could combine with the base
  178. - * character.)
  179. - * </para>
  180. - * </footnote>.
  181. + * characters, the g_convert_... functions are not generally suitable
  182. + * for streaming. If the underlying converter maintains internal state,
  183. + * then this won't be preserved across successive calls to g_convert(),
  184. + * g_convert_with_iconv() or g_convert_with_fallback(). (An example of
  185. + * this is the GNU C converter for CP1255 which does not emit a base
  186. + * character until it knows that the next character is not a mark that
  187. + * could combine with the base character.)
  188. *
  189. * Return value: If the conversion was successful, a newly allocated
  190. * nul-terminated string, which must be freed with
  191. @@ -697,13 +694,9 @@
  192. * g_convert:
  193. * @str: the string to convert
  194. * @len: the length of the string, or -1 if the string is
  195. - * nul-terminated<footnote id="nul-unsafe">
  196. - <para>
  197. - Note that some encodings may allow nul bytes to
  198. - occur inside strings. In that case, using -1 for
  199. - the @len parameter is unsafe.
  200. - </para>
  201. - </footnote>.
  202. + * nul-terminated (Note that some encodings may allow nul
  203. + * bytes to occur inside strings. In that case, using -1
  204. + * for the @len parameter is unsafe)
  205. * @to_codeset: name of character set into which to convert @str
  206. * @from_codeset: character set of @str.
  207. * @bytes_read: location to store the number of bytes in the
  208. @@ -721,8 +714,15 @@
  209. *
  210. * Converts a string from one character set to another.
  211. *
  212. - * Note that you should use g_iconv() for streaming
  213. - * conversions<footnoteref linkend="streaming-state"/>.
  214. + * Note that you should use g_iconv() for streaming conversions.
  215. + * Despite the fact that @byes_read can return information about partial
  216. + * characters, the g_convert_... functions are not generally suitable
  217. + * for streaming. If the underlying converter maintains internal state,
  218. + * then this won't be preserved across successive calls to g_convert(),
  219. + * g_convert_with_iconv() or g_convert_with_fallback(). (An example of
  220. + * this is the GNU C converter for CP1255 which does not emit a base
  221. + * character until it knows that the next character is not a mark that
  222. + * could combine with the base character.)
  223. *
  224. * Return value: If the conversion was successful, a newly allocated
  225. * nul-terminated string, which must be freed with
  226. @@ -770,7 +770,9 @@
  227. * g_convert_with_fallback:
  228. * @str: the string to convert
  229. * @len: the length of the string, or -1 if the string is
  230. - * nul-terminated<footnoteref linkend="nul-unsafe"/>.
  231. + * nul-terminated (Note that some encodings may allow nul
  232. + * bytes to occur inside strings. In that case, using -1
  233. + * for the @len parameter is unsafe)
  234. * @to_codeset: name of character set into which to convert @str
  235. * @from_codeset: character set of @str.
  236. * @fallback: UTF-8 string to use in place of character not
  237. @@ -796,8 +798,15 @@
  238. * to @to_codeset in their iconv() functions,
  239. * in which case GLib will simply return that approximate conversion.
  240. *
  241. - * Note that you should use g_iconv() for streaming
  242. - * conversions<footnoteref linkend="streaming-state"/>.
  243. + * Note that you should use g_iconv() for streaming conversions.
  244. + * Despite the fact that @byes_read can return information about partial
  245. + * characters, the g_convert_... functions are not generally suitable
  246. + * for streaming. If the underlying converter maintains internal state,
  247. + * then this won't be preserved across successive calls to g_convert(),
  248. + * g_convert_with_iconv() or g_convert_with_fallback(). (An example of
  249. + * this is the GNU C converter for CP1255 which does not emit a base
  250. + * character until it knows that the next character is not a mark that
  251. + * could combine with the base character.)
  252. *
  253. * Return value: If the conversion was successful, a newly allocated
  254. * nul-terminated string, which must be freed with
  255. @@ -1055,7 +1064,9 @@
  256. * @opsysstring: a string in the encoding of the current locale. On Windows
  257. * this means the system codepage.
  258. * @len: the length of the string, or -1 if the string is
  259. - * nul-terminated<footnoteref linkend="nul-unsafe"/>.
  260. + * nul-terminated (Note that some encodings may allow nul
  261. + * bytes to occur inside strings. In that case, using -1
  262. + * for the @len parameter is unsafe)
  263. * @bytes_read: location to store the number of bytes in the
  264. * input string that were successfully converted, or %NULL.
  265. * Even if the conversion was successful, this may be
  266. @@ -1096,7 +1107,9 @@
  267. * g_locale_from_utf8:
  268. * @utf8string: a UTF-8 encoded string
  269. * @len: the length of the string, or -1 if the string is
  270. - * nul-terminated<footnoteref linkend="nul-unsafe"/>.
  271. + * nul-terminated (Note that some encodings may allow nul
  272. + * bytes to occur inside strings. In that case, using -1
  273. + * for the @len parameter is unsafe)
  274. * @bytes_read: location to store the number of bytes in the
  275. * input string that were successfully converted, or %NULL.
  276. * Even if the conversion was successful, this may be
  277. @@ -1308,7 +1321,9 @@
  278. * g_filename_to_utf8:
  279. * @opsysstring: a string in the encoding for filenames
  280. * @len: the length of the string, or -1 if the string is
  281. - * nul-terminated<footnoteref linkend="nul-unsafe"/>.
  282. + * nul-terminated (Note that some encodings may allow nul
  283. + * bytes to occur inside strings. In that case, using -1
  284. + * for the @len parameter is unsafe)
  285. * @bytes_read: location to store the number of bytes in the
  286. * input string that were successfully converted, or %NULL.
  287. * Even if the conversion was successful, this may be
  288. diff -Nurd -x'*~' glib-2.22.4.orig/glib/gmacros.h glib-2.22.4/glib/gmacros.h
  289. --- glib-2.22.4.orig/glib/gmacros.h 2009-03-31 19:04:20.000000000 -0400
  290. +++ glib-2.22.4/glib/gmacros.h 2010-01-13 09:11:26.000000000 -0500
  291. @@ -120,7 +120,8 @@
  292. #define G_GNUC_WARN_UNUSED_RESULT
  293. #endif /* __GNUC__ */
  294. -#ifndef G_DISABLE_DEPRECATED
  295. +#if 1
  296. +/* don't supress (if G_DISABLE_DEPRECATED) for fink yet */
  297. /* Wrap the gcc __PRETTY_FUNCTION__ and __FUNCTION__ variables with
  298. * macros, so we can refer to them as strings unconditionally.
  299. * usage not-recommended since gcc-3.0
  300. diff -Nurd -x'*~' glib-2.22.4.orig/glib/gmessages.h glib-2.22.4/glib/gmessages.h
  301. --- glib-2.22.4.orig/glib/gmessages.h 2009-08-28 22:52:23.000000000 -0400
  302. +++ glib-2.22.4/glib/gmessages.h 2010-01-13 09:11:36.000000000 -0500
  303. @@ -121,7 +121,8 @@
  304. int line,
  305. const char *func,
  306. const char *warnexpr);
  307. -#ifndef G_DISABLE_DEPRECATED
  308. +#if 1
  309. +/* don't supress (if G_DISABLE_DEPRECATED) for fink yet */
  310. void g_assert_warning (const char *log_domain,
  311. const char *file,
  312. const int line,
  313. diff -Nurd -x'*~' glib-2.22.4.orig/glib/gslice.c glib-2.22.4/glib/gslice.c
  314. --- glib-2.22.4.orig/glib/gslice.c 2009-03-31 19:04:20.000000000 -0400
  315. +++ glib-2.22.4/glib/gslice.c 2010-01-13 09:06:27.000000000 -0500
  316. @@ -1131,19 +1131,18 @@
  317. gsize memsize)
  318. {
  319. gpointer aligned_memory = NULL;
  320. - gint err = ENOMEM;
  321. #if HAVE_COMPLIANT_POSIX_MEMALIGN
  322. + gint err;
  323. err = posix_memalign (&aligned_memory, alignment, memsize);
  324. + if (!aligned_memory)
  325. + errno = err;
  326. #elif HAVE_MEMALIGN
  327. - errno = 0;
  328. aligned_memory = memalign (alignment, memsize);
  329. - err = errno;
  330. #elif HAVE_VALLOC
  331. - errno = 0;
  332. aligned_memory = valloc (memsize);
  333. - err = errno;
  334. #else
  335. /* simplistic non-freeing page allocator */
  336. + gint err = ENOMEM;
  337. mem_assert (alignment == sys_page_size);
  338. mem_assert (memsize <= sys_page_size);
  339. if (!compat_valloc_trash)
  340. @@ -1162,9 +1161,9 @@
  341. }
  342. }
  343. aligned_memory = g_trash_stack_pop (&compat_valloc_trash);
  344. -#endif
  345. if (!aligned_memory)
  346. errno = err;
  347. +#endif
  348. return aligned_memory;
  349. }
  350. diff -Nurd -x'*~' glib-2.22.4.orig/glib/gutils.c glib-2.22.4/glib/gutils.c
  351. --- glib-2.22.4.orig/glib/gutils.c 2009-12-21 09:20:17.000000000 -0500
  352. +++ glib-2.22.4/glib/gutils.c 2010-01-13 08:34:24.000000000 -0500
  353. @@ -2779,7 +2779,7 @@
  354. gchar *data_dirs = (gchar *) g_getenv ("XDG_DATA_DIRS");
  355. if (!data_dirs || !data_dirs[0])
  356. - data_dirs = "/usr/local/share/:/usr/share/";
  357. + data_dirs = "@PREFIX@/share:/usr/local/share/:/usr/share/";
  358. data_dir_vector = g_strsplit (data_dirs, G_SEARCHPATH_SEPARATOR_S, 0);
  359. #endif
  360. @@ -2833,7 +2833,7 @@
  361. conf_dirs = (gchar *) g_getenv ("XDG_CONFIG_DIRS");
  362. if (!conf_dirs || !conf_dirs[0])
  363. - conf_dirs = "/etc/xdg";
  364. + conf_dirs = "@PREFIX@/etc/xdg";
  365. conf_dir_vector = g_strsplit (conf_dirs, G_SEARCHPATH_SEPARATOR_S, 0);
  366. #endif
  367. diff -Nurd -x'*~' glib-2.22.4.orig/glib/gutils.h glib-2.22.4/glib/gutils.h
  368. --- glib-2.22.4.orig/glib/gutils.h 2010-01-06 19:19:20.000000000 -0500
  369. +++ glib-2.22.4/glib/gutils.h 2010-01-13 08:33:50.000000000 -0500
  370. @@ -101,7 +101,11 @@
  371. # define G_INLINE_FUNC
  372. # undef G_CAN_INLINE
  373. #elif defined (__GNUC__)
  374. +#if defined(__APPLE_CC__) && (__APPLE_CC__ >= 5400)
  375. +# define G_INLINE_FUNC static inline
  376. +#else
  377. # define G_INLINE_FUNC static __inline __attribute__ ((unused))
  378. +#endif
  379. #elif defined (G_CAN_INLINE)
  380. # define G_INLINE_FUNC static inline
  381. #else /* can't inline */
  382. diff -Nurd -x'*~' glib-2.22.4.orig/glib/libcharset/Makefile.in glib-2.22.4/glib/libcharset/Makefile.in
  383. --- glib-2.22.4.orig/glib/libcharset/Makefile.in 2010-01-06 19:48:38.000000000 -0500
  384. +++ glib-2.22.4/glib/libcharset/Makefile.in 2010-01-13 08:33:32.000000000 -0500
  385. @@ -310,7 +310,7 @@
  386. codeset.m4 update.sh make-patch.sh libcharset-glib.patch
  387. TEST_PROGS =
  388. INCLUDES = \
  389. - -DLIBDIR=\"$(libdir)\" -I$(top_srcdir)
  390. + -DLIBDIR=\"$(sysconfdir)/glib-2.0\" -I$(top_srcdir)
  391. noinst_LTLIBRARIES = libcharset.la
  392. libcharset_la_SOURCES = \
  393. @@ -318,8 +318,8 @@
  394. localcharset.h \
  395. localcharset.c
  396. -charset_alias = $(DESTDIR)$(libdir)/charset.alias
  397. -charset_tmp = $(DESTDIR)$(libdir)/charset.tmp
  398. +charset_alias = $(DESTDIR)$(sysconfdir)/glib-2.0/charset.alias
  399. +charset_tmp = $(DESTDIR)$(sysconfdir)/glib-2.0/charset.tmp
  400. SUFFIXES = .sed .sin
  401. CLEANFILES = charset.alias ref-add.sed ref-del.sed
  402. all: all-am
  403. @@ -658,7 +658,7 @@
  404. # run make test as part of make check
  405. check-local: test
  406. install-exec-local: all-local
  407. - $(mkinstalldirs) $(DESTDIR)$(libdir)
  408. + $(mkinstalldirs) $(DESTDIR)$(sysconfdir)/glib-2.0
  409. if test -f $(charset_alias); then \
  410. sed -f ref-add.sed $(charset_alias) > $(charset_tmp) ; \
  411. $(INSTALL_DATA) $(charset_tmp) $(charset_alias) ; \
  412. diff -Nurd -x'*~' glib-2.22.4.orig/glib/libcharset/charset.alias glib-2.22.4/glib/libcharset/charset.alias
  413. --- glib-2.22.4.orig/glib/libcharset/charset.alias 1969-12-31 19:00:00.000000000 -0500
  414. +++ glib-2.22.4/glib/libcharset/charset.alias 2010-01-13 08:32:49.000000000 -0500
  415. @@ -0,0 +1,111 @@
  416. +# This file contains a table of character encoding aliases,
  417. +# suitable for operating system 'darwin'.
  418. +C ASCII
  419. +bg_BG UTF-8
  420. +bg_BG.CP1251 CP1251
  421. +cs_CZ UTF-8
  422. +cs_CZ.ISO8859-2 ISO-8859-2
  423. +da_DK UTF-8
  424. +da_DK.ISO8859-1 ISO-8859-1
  425. +da_DK.ISO8859-15 ISO-8859-15
  426. +de_AT UTF-8
  427. +de_AT.ISO8859-1 ISO-8859-1
  428. +de_AT.ISO8859-15 ISO-8859-15
  429. +de_CH UTF-8
  430. +de_CH.ISO8859-1 ISO-8859-1
  431. +de_CH.ISO8859-15 ISO-8859-15
  432. +de_DE UTF-8
  433. +de_DE.ISO8859-1 ISO-8859-1
  434. +de_DE.ISO8859-15 ISO-8859-15
  435. +en_AU UTF-8
  436. +en_AU.ISO8859-1 ISO-8859-1
  437. +en_AU.ISO8859-15 ISO-8859-15
  438. +en_AU.US-ASCII ASCII
  439. +en_CA UTF-8
  440. +en_CA.ISO8859-1 ISO-8859-1
  441. +en_CA.ISO8859-15 ISO-8859-15
  442. +en_CA.US-ASCII ASCII
  443. +en_GB UTF-8
  444. +en_GB.ISO8859-1 ISO-8859-1
  445. +en_GB.ISO8859-15 ISO-8859-15
  446. +en_GB.US-ASCII ASCII
  447. +en_US UTF-8
  448. +en_US.ISO8859-1 ISO-8859-1
  449. +en_US.ISO8859-15 ISO-8859-15
  450. +en_US.US-ASCII ASCII
  451. +es_ES UTF-8
  452. +es_ES.ISO8859-1 ISO-8859-1
  453. +es_ES.ISO8859-15 ISO-8859-15
  454. +fi_FI UTF-8
  455. +fi_FI.ISO8859-1 ISO-8859-1
  456. +fi_FI.ISO8859-15 ISO-8859-15
  457. +fr_BE UTF-8
  458. +fr_BE.ISO8859-1 ISO-8859-1
  459. +fr_BE.ISO8859-15 ISO-8859-15
  460. +fr_CA UTF-8
  461. +fr_CA.ISO8859-1 ISO-8859-1
  462. +fr_CA.ISO8859-15 ISO-8859-15
  463. +fr_CH UTF-8
  464. +fr_CH.ISO8859-1 ISO-8859-1
  465. +fr_CH.ISO8859-15 ISO-8859-15
  466. +fr_FR UTF-8
  467. +fr_FR.ISO8859-1 ISO-8859-1
  468. +fr_FR.ISO8859-15 ISO-8859-15
  469. +hr_HR UTF-8
  470. +hr_HR.ISO8859-2 ISO-8859-2
  471. +hu_HU UTF-8
  472. +hu_HU.ISO8859-2 ISO-8859-2
  473. +is_IS UTF-8
  474. +is_IS.ISO8859-1 ISO-8859-1
  475. +is_IS.ISO8859-15 ISO-8859-15
  476. +it_CH UTF-8
  477. +it_CH.ISO8859-1 ISO-8859-1
  478. +it_CH.ISO8859-15 ISO-8859-15
  479. +it_IT UTF-8
  480. +it_IT.ISO8859-1 ISO-8859-1
  481. +it_IT.ISO8859-15 ISO-8859-15
  482. +ja_JP UTF-8
  483. +ja_JP.EUC EUC-JP
  484. +ja_JP.SJIS SHIFT_JIS
  485. +ko_KR UTF-8
  486. +ko_KR.EUC EUC-KR
  487. +la_LN UTF-8
  488. +la_LN.ISO8859-1 ISO-8859-1
  489. +la_LN.ISO8859-2 ISO-8859-2
  490. +la_LN.ISO8859-4 ISO-8859-4
  491. +la_LN.ISO8859-15 ISO-8859-15
  492. +la_LN.US-ASCII ASCII
  493. +lt_LT UTF-8
  494. +lt_LT.ISO8859-4 ISO-8859-4
  495. +nl_BE UTF-8
  496. +nl_BE.ISO8869-1 ISO-8859-1
  497. +nl_BE.ISO8869-15 ISO-8859-15
  498. +nl_NL UTF-8
  499. +nl_NL.ISO8869-1 ISO-8859-1
  500. +nl_NL.ISO8869-15 ISO-8859-15
  501. +no_NO UTF-8
  502. +no_NO.ISO8869-1 ISO-8859-1
  503. +no_NO.ISO8869-15 ISO-8859-15
  504. +pl_PL UTF-8
  505. +pl_PL.ISO8859-2 ISO-8859-2
  506. +pt_PT UTF-8
  507. +pt_PT.ISO8859-1 ISO-8859-1
  508. +pt_PT.ISO8859-15 ISO-8859-15
  509. +ru_RU UTF-8
  510. +ru_RU.CP866 CP866
  511. +ru_RU.ISO8859-5 ISO-8859-5
  512. +ru_RU.KOI8-R KOI8-R
  513. +ru_RU.cp1251 CP1251
  514. +ru_RU.koi8r KOI8-R
  515. +sl_SI UTF-8
  516. +sl_SI.ISO8859-2 ISO-8859-2
  517. +sv_SE UTF-8
  518. +sv_SE.ISO8859-1 ISO-8859-1
  519. +sv_SE.ISO8859-15 ISO-8859-15
  520. +uk_UA UTF-8
  521. +uk_UA.KOI8-U KOI8-U
  522. +uk_UA.cp1251 CP1251
  523. +zh_CN UTF-8
  524. +zh_CN.EUC GB2312
  525. +zh_TW UTF-8
  526. +zh_TW.Big5 BIG5
  527. diff -Nurd -x'*~' glib-2.22.4.orig/glib-gettextize.in glib-2.22.4/glib-gettextize.in
  528. --- glib-2.22.4.orig/glib-gettextize.in 2009-03-31 19:04:20.000000000 -0400
  529. +++ glib-2.22.4/glib-gettextize.in 2010-01-13 08:31:30.000000000 -0500
  530. @@ -49,8 +49,8 @@
  531. ;;
  532. esac
  533. -datadir=@datadir@
  534. datarootdir=@datarootdir@
  535. +datadir=@datadir@
  536. gettext_dir=$prefix/share/glib-2.0/gettext
  537. diff -Nurd -x'*~' glib-2.22.4.orig/tests/child-test.c glib-2.22.4/tests/child-test.c
  538. --- glib-2.22.4.orig/tests/child-test.c 2009-03-31 19:04:20.000000000 -0400
  539. +++ glib-2.22.4/tests/child-test.c 2010-01-13 08:30:21.000000000 -0500
  540. @@ -175,7 +175,7 @@
  541. #ifdef G_OS_WIN32
  542. system ("ipconfig /all");
  543. #else
  544. - system ("/bin/true");
  545. + system ("/usr/bin/true");
  546. #endif
  547. alive = 2;