Hi, sorry for the late reply.
On 05/31/2011 10:57 PM, Jérémy Lal wrote: > On 17/05/2011 14:48, Giuseppe Iuculano wrote: >> Package: libv8 >> Severity: normal >> >> Hi, >> >> Please enable i18n experimental extension >> (src/extensions/experimental/i18n-extension.cc), >> chromium needs it > > This extension has changed a lot in 3.2 or 3.3 branches, > i only had a look on the 3.1 branch. I'll update this bug report > when dealing with newer versions... > > Jérémy. Preliminary patch attached. BTW, chromium 12 needs 3.2, could you prepare it please? Cheers, Giuseppe.
diff -Nru libv8-3.1.8.10/debian/control libv8-3.1.8.10/debian/control --- libv8-3.1.8.10/debian/control 2011-04-22 16:52:03.000000000 +0200 +++ libv8-3.1.8.10/debian/control 2011-05-17 14:43:48.000000000 +0200 @@ -7,7 +7,8 @@ scons, cdbs (>= 0.4.85~), debhelper (>= 7.0.1), - dh-buildinfo + dh-buildinfo, + libicu-dev Standards-Version: 3.9.2 Section: libs Homepage: http://code.google.com/p/v8/ diff -Nru libv8-3.1.8.10/debian/patches/0006-experimental-extensions.patch libv8-3.1.8.10/debian/patches/0006-experimental-extensions.patch --- libv8-3.1.8.10/debian/patches/0006-experimental-extensions.patch 1970-01-01 01:00:00.000000000 +0100 +++ libv8-3.1.8.10/debian/patches/0006-experimental-extensions.patch 2011-05-17 16:32:04.000000000 +0200 @@ -0,0 +1,52 @@ +Index: libv8-3.1.8.10/src/SConscript +=================================================================== +--- libv8-3.1.8.10.orig/src/SConscript 2011-05-17 16:30:35.000000000 +0200 ++++ libv8-3.1.8.10/src/SConscript 2011-05-17 16:31:59.865182296 +0200 +@@ -135,6 +135,7 @@ + zone.cc + extensions/gc-extension.cc + extensions/externalize-string-extension.cc ++ extensions/experimental/i18n-extension.cc + """), + 'arch:arm': Split(""" + jump-target-light.cc +Index: libv8-3.1.8.10/SConstruct +=================================================================== +--- libv8-3.1.8.10.orig/SConstruct 2011-05-17 16:31:28.000000000 +0200 ++++ libv8-3.1.8.10/SConstruct 2011-05-17 16:31:59.889183449 +0200 +@@ -161,7 +161,7 @@ + 'CCFLAGS': ['-ansi'] + GCC_EXTRA_CCFLAGS, + 'library:shared': { + 'CPPDEFINES': ['V8_SHARED'], +- 'LIBS': ['pthread'] ++ 'LIBS': ['pthread', 'icui18n', 'icuuc', 'icudata'] + } + }, + 'os:macos': { +@@ -353,7 +353,7 @@ + MKSNAPSHOT_EXTRA_FLAGS = { + 'gcc': { + 'os:linux': { +- 'LIBS': ['pthread'], ++ 'LIBS': ['pthread', 'icui18n', 'icuuc', 'icudata'], + }, + 'os:macos': { + 'LIBS': ['pthread'], +@@ -469,7 +469,7 @@ + 'CCFLAGS': ['-fno-rtti', '-fno-exceptions'] + }, + 'os:linux': { +- 'LIBS': ['pthread'], ++ 'LIBS': ['pthread', 'icui18n', 'icuuc', 'icudata'], + }, + 'os:macos': { + 'LIBS': ['pthread'], +@@ -1181,7 +1181,7 @@ + env.Install(libdir, lib[0]) + if dir not in install_dirs: + install_dirs += libdir +- env.Install(incdir, [ 'include/v8.h', 'include/v8-debug.h', 'include/v8-profiler.h', 'include/v8-preparser.h', 'include/v8-testing.h', 'include/v8stdint.h' ]); ++ env.Install(incdir, [ 'include/v8.h', 'include/v8-debug.h', 'include/v8-profiler.h', 'include/v8-preparser.h', 'include/v8-testing.h', 'include/v8stdint.h', 'src/extensions/experimental/i18n-extension.h' ]); + install_dirs += incdir + env.Alias('install', install_dirs) + diff -Nru libv8-3.1.8.10/debian/patches/series libv8-3.1.8.10/debian/patches/series --- libv8-3.1.8.10/debian/patches/series 2011-04-22 16:52:03.000000000 +0200 +++ libv8-3.1.8.10/debian/patches/series 2011-05-17 16:28:54.000000000 +0200 @@ -2,3 +2,4 @@ 0003-add-the-install-target.patch 0004-gcc-opt-level-2.patch 0005-temp-disable-failing-tests-arm.patch +0006-experimental-extensions.patch
signature.asc
Description: OpenPGP digital signature

