[Pkg-ocaml-maint-commits] r4894 - in /trunk/packages/lablgtk/trunk/debian: changelog patches/00list patches/setlocale.dpatch
smimram at users.alioth.debian.org
smimram at users.alioth.debian.org
Fri Dec 14 15:01:24 UTC 2007
Author: smimram
Date: Fri Dec 14 15:01:24 2007
New Revision: 4894
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/?sc=1&rev=4894
Log:
Backported setlocale.dpatch to handle non-C locales.
Added:
trunk/packages/lablgtk/trunk/debian/patches/setlocale.dpatch (with props)
Modified:
trunk/packages/lablgtk/trunk/debian/changelog
trunk/packages/lablgtk/trunk/debian/patches/00list
Modified: trunk/packages/lablgtk/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/lablgtk/trunk/debian/changelog?rev=4894&op=diff
==============================================================================
--- trunk/packages/lablgtk/trunk/debian/changelog (original)
+++ trunk/packages/lablgtk/trunk/debian/changelog Fri Dec 14 15:01:24 2007
@@ -3,8 +3,9 @@
* Move some forgotten files into liblablgtksourceview-ocaml-dev,
closes: #452089.
* Install some missing cmi files, closes: #453210.
-
- -- Samuel Mimram <smimram at debian.org> Thu, 29 Nov 2007 12:45:39 +0000
+ * Backported setlocale.dpatch to handle non-C locales, closes: #445193.
+
+ -- Samuel Mimram <smimram at debian.org> Fri, 14 Dec 2007 15:04:15 +0000
lablgtk2 (2.10.0-2) unstable; urgency=low
Modified: trunk/packages/lablgtk/trunk/debian/patches/00list
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/lablgtk/trunk/debian/patches/00list?rev=4894&op=diff
==============================================================================
--- trunk/packages/lablgtk/trunk/debian/patches/00list (original)
+++ trunk/packages/lablgtk/trunk/debian/patches/00list Fri Dec 14 15:01:24 2007
@@ -1,1 +1,2 @@
no_rsvg_gz
+setlocale
Added: trunk/packages/lablgtk/trunk/debian/patches/setlocale.dpatch
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/lablgtk/trunk/debian/patches/setlocale.dpatch?rev=4894&op=file
==============================================================================
--- trunk/packages/lablgtk/trunk/debian/patches/setlocale.dpatch (added)
+++ trunk/packages/lablgtk/trunk/debian/patches/setlocale.dpatch Fri Dec 14 15:01:24 2007
@@ -1,0 +1,18 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## setlocale.dpatch by Samuel Mimram <smimram at debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Set locale, see #445193.
+
+ at DPATCH@
+diff -urNad lablgtk2-2.10.0~/src/gtkMain.ml lablgtk2-2.10.0/src/gtkMain.ml
+--- lablgtk2-2.10.0~/src/gtkMain.ml 2007-08-17 03:24:07.000000000 +0000
++++ lablgtk2-2.10.0/src/gtkMain.ml 2007-12-14 15:02:24.000000000 +0000
+@@ -43,6 +43,7 @@
+ with Error err ->
+ raise (Error ("GtkMain.init: initialization failed\n" ^ err))
+ in
++ if setlocale then ignore (Glib.Main.setlocale `NUMERIC (Some "C"));
+ Array.blit ~src:argv ~dst:Sys.argv ~len:(Array.length argv)
+ ~src_pos:0 ~dst_pos:0;
+ Obj.truncate (Obj.repr Sys.argv) (Array.length argv);
Propchange: trunk/packages/lablgtk/trunk/debian/patches/setlocale.dpatch
------------------------------------------------------------------------------
svn:executable = *
More information about the Pkg-ocaml-maint-commits
mailing list