add/delete
This commit is contained in:
13
www-client/iron/files/chromium-browser.xml
Normal file
13
www-client/iron/files/chromium-browser.xml
Normal file
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE default-apps SYSTEM "gnome-da-list.dtd">
|
||||
<default-apps>
|
||||
<web-browsers>
|
||||
<web-browser>
|
||||
<name>Chromium</name>
|
||||
<executable>chromium-browser</executable>
|
||||
<command>chromium-browser %s</command>
|
||||
<icon-name>chromium-browser</icon-name>
|
||||
<run-in-terminal>false</run-in-terminal>
|
||||
</web-browser>
|
||||
</web-browsers>
|
||||
</default-apps>
|
||||
53
www-client/iron/files/chromium-icu-compatibility-r0.patch
Normal file
53
www-client/iron/files/chromium-icu-compatibility-r0.patch
Normal file
@@ -0,0 +1,53 @@
|
||||
this patch fixes build failures with ICU 4.8
|
||||
|
||||
http://codereview.chromium.org/7421003/
|
||||
https://bugs.gentoo.org/show_bug.cgi?id=374903
|
||||
|
||||
--- v8/src/extensions/experimental/number-format.cc
|
||||
+++ v8/src/extensions/experimental/number-format.cc
|
||||
@@ -36,6 +36,8 @@
|
||||
#include "unicode/numfmt.h"
|
||||
#include "unicode/uchar.h"
|
||||
#include "unicode/ucurr.h"
|
||||
+#include "unicode/unum.h"
|
||||
+#include "unicode/uversion.h"
|
||||
|
||||
namespace v8 {
|
||||
namespace internal {
|
||||
@@ -231,6 +233,8 @@
|
||||
}
|
||||
|
||||
// Generates ICU number format pattern from given skeleton.
|
||||
+// TODO(cira): Remove once ICU includes equivalent method
|
||||
+// (see http://bugs.icu-project.org/trac/ticket/8610).
|
||||
static icu::DecimalFormat* CreateFormatterFromSkeleton(
|
||||
const icu::Locale& icu_locale,
|
||||
const icu::UnicodeString& skeleton,
|
||||
@@ -251,6 +255,7 @@
|
||||
// Case of non-consecutive U+00A4 is taken care of in i18n.js.
|
||||
int32_t end_index = skeleton.lastIndexOf(currency_symbol, index);
|
||||
|
||||
+#if (U_ICU_VERSION_MAJOR_NUM == 4) && (U_ICU_VERSION_MINOR_NUM <= 6)
|
||||
icu::NumberFormat::EStyles style;
|
||||
switch (end_index - index) {
|
||||
case 0:
|
||||
@@ -262,6 +267,19 @@
|
||||
default:
|
||||
style = icu::NumberFormat::kPluralCurrencyStyle;
|
||||
}
|
||||
+#else // ICU version is 4.8 or above (we ignore versions below 4.0).
|
||||
+ UNumberFormatStyle style;
|
||||
+ switch (end_index - index) {
|
||||
+ case 0:
|
||||
+ style = UNUM_CURRENCY;
|
||||
+ break;
|
||||
+ case 1:
|
||||
+ style = UNUM_CURRENCY_ISO;
|
||||
+ break;
|
||||
+ default:
|
||||
+ style = UNUM_CURRENCY_PLURAL;
|
||||
+ }
|
||||
+#endif
|
||||
|
||||
base_format = static_cast<icu::DecimalFormat*>(
|
||||
icu::NumberFormat::createInstance(icu_locale, style, *status));
|
||||
22
www-client/iron/files/chromium-kerberos-r0.patch
Normal file
22
www-client/iron/files/chromium-kerberos-r0.patch
Normal file
@@ -0,0 +1,22 @@
|
||||
Index: net/http/http_auth_gssapi_posix.cc
|
||||
diff --git a/net/http/http_auth_gssapi_posix.cc b/net/http/http_auth_gssapi_posix.cc
|
||||
index 431cfc4f2b54730fa6b46a6801c25cf691b7c878..aff2ac1114e09ec202b1ce4bd8d63ebd41483632 100644
|
||||
--- a/net/http/http_auth_gssapi_posix.cc
|
||||
+++ b/net/http/http_auth_gssapi_posix.cc
|
||||
@@ -55,6 +55,16 @@ static gss_OID_desc GSS_C_NT_EXPORT_NAME_VAL = {
|
||||
|
||||
} // namespace
|
||||
|
||||
+// Heimdal >= 1.4 will define the following as preprocessor macros.
|
||||
+// To avoid conflicting declarations, we have to undefine these.
|
||||
+#undef GSS_C_NT_USER_NAME
|
||||
+#undef GSS_C_NT_MACHINE_UID_NAME
|
||||
+#undef GSS_C_NT_STRING_UID_NAME
|
||||
+#undef GSS_C_NT_HOSTBASED_SERVICE_X
|
||||
+#undef GSS_C_NT_HOSTBASED_SERVICE
|
||||
+#undef GSS_C_NT_ANONYMOUS
|
||||
+#undef GSS_C_NT_EXPORT_NAME
|
||||
+
|
||||
gss_OID GSS_C_NT_USER_NAME = &GSS_C_NT_USER_NAME_VAL;
|
||||
gss_OID GSS_C_NT_MACHINE_UID_NAME = &GSS_C_NT_MACHINE_UID_NAME_VAL;
|
||||
gss_OID GSS_C_NT_STRING_UID_NAME = &GSS_C_NT_STRING_UID_NAME_VAL;
|
||||
32
www-client/iron/files/chromium-launcher-r2.sh
Normal file
32
www-client/iron/files/chromium-launcher-r2.sh
Normal file
@@ -0,0 +1,32 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Allow the user to override command-line flags, bug #357629.
|
||||
# This is based on Debian's chromium-browser package, and is intended
|
||||
# to be consistent with Debian.
|
||||
if [ -f /etc/chromium/default ] ; then
|
||||
. /etc/chromium/default
|
||||
fi
|
||||
|
||||
# Prefer user defined CHROMIUM_USER_FLAGS (from env) over system
|
||||
# default CHROMIUM_FLAGS (from /etc/chromium/default).
|
||||
CHROMIUM_FLAGS=${CHROMIUM_USER_FLAGS:-"$CHROMIUM_FLAGS"}
|
||||
|
||||
# Let the wrapped binary know that it has been run through the wrapper
|
||||
export CHROME_WRAPPER="`readlink -f "$0"`"
|
||||
|
||||
PROGDIR="`dirname "$CHROME_WRAPPER"`"
|
||||
|
||||
case ":$PATH:" in
|
||||
*:$PROGDIR:*)
|
||||
# $PATH already contains $PROGDIR
|
||||
;;
|
||||
*)
|
||||
# Append $PROGDIR to $PATH
|
||||
export PATH="$PATH:$PROGDIR"
|
||||
;;
|
||||
esac
|
||||
|
||||
# Set the .desktop file name
|
||||
export CHROME_DESKTOP="chromium-browser-chromium.desktop"
|
||||
|
||||
exec -a "chromium-browser" "$PROGDIR/chrome" --extra-plugin-dir=/usr/lib/nsbrowser/plugins ${CHROMIUM_FLAGS} "$@"
|
||||
12
www-client/iron/files/chromium-system-libevent-r0.patch
Normal file
12
www-client/iron/files/chromium-system-libevent-r0.patch
Normal file
@@ -0,0 +1,12 @@
|
||||
--- base/base.gyp.orig 2011-08-04 18:25:17.000000000 +0200
|
||||
+++ base/base.gyp 2011-08-04 18:25:24.000000000 +0200
|
||||
@@ -283,6 +283,9 @@
|
||||
'message_pump_libevent_unittest.cc',
|
||||
],
|
||||
}, { # OS != "win"
|
||||
+ 'dependencies': [
|
||||
+ '../third_party/libevent/libevent.gyp:libevent'
|
||||
+ ],
|
||||
'sources/': [
|
||||
['exclude', '^win/'],
|
||||
],
|
||||
5
www-client/iron/files/chromium.default
Normal file
5
www-client/iron/files/chromium.default
Normal file
@@ -0,0 +1,5 @@
|
||||
# Default settings for chromium. This file is sourced by /bin/bash from
|
||||
# the chromium launcher.
|
||||
|
||||
# Options to pass to chromium.
|
||||
CHROMIUM_FLAGS=""
|
||||
9
www-client/iron/files/dot-gclient
Normal file
9
www-client/iron/files/dot-gclient
Normal file
@@ -0,0 +1,9 @@
|
||||
solutions = [
|
||||
{ "name" : "src",
|
||||
"url" : "http://src.chromium.org/svn/trunk/src",
|
||||
"custom_deps" : {
|
||||
"src/third_party/WebKit/LayoutTests": None,
|
||||
},
|
||||
"safesync_url": "http://chromium-status.appspot.com/lkgr",
|
||||
},
|
||||
]
|
||||
24
www-client/iron/files/extract_v8_version.py
Normal file
24
www-client/iron/files/extract_v8_version.py
Normal file
@@ -0,0 +1,24 @@
|
||||
#!/usr/bin/python2
|
||||
|
||||
import re
|
||||
import sys
|
||||
|
||||
MAJOR_VERSION_PATTERN = re.compile(r"#define\s+MAJOR_VERSION\s+(.*)")
|
||||
MINOR_VERSION_PATTERN = re.compile(r"#define\s+MINOR_VERSION\s+(.*)")
|
||||
BUILD_NUMBER_PATTERN = re.compile(r"#define\s+BUILD_NUMBER\s+(.*)")
|
||||
PATCH_LEVEL_PATTERN = re.compile(r"#define\s+PATCH_LEVEL\s+(.*)")
|
||||
|
||||
patterns = [MAJOR_VERSION_PATTERN,
|
||||
MINOR_VERSION_PATTERN,
|
||||
BUILD_NUMBER_PATTERN,
|
||||
PATCH_LEVEL_PATTERN]
|
||||
|
||||
source = open(sys.argv[1]).read()
|
||||
version_components = []
|
||||
for pattern in patterns:
|
||||
version_components.append(pattern.search(source).group(1).strip())
|
||||
|
||||
if version_components[len(version_components) - 1] == '0':
|
||||
version_components.pop()
|
||||
|
||||
print '.'.join(version_components)
|
||||
8
www-client/iron/files/nacl.gypi
Normal file
8
www-client/iron/files/nacl.gypi
Normal file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
'targets': [
|
||||
{
|
||||
'target_name': 'nacl',
|
||||
'type': 'static_library',
|
||||
},
|
||||
],
|
||||
}
|
||||
Reference in New Issue
Block a user