update to 2.0.3 [release 2.0.3-1mamba;Mon Jun 17 2013]
This commit is contained in:
parent
62a8f168de
commit
03e45658db
@ -1,2 +1,4 @@
|
|||||||
# libwebkit-gtk3
|
# libwebkit-gtk3
|
||||||
|
|
||||||
|
WebKit/GTK+ is the new GTK+ port of the WebKit, an open-source web content engine that powers numerous applications such as web browsers, email clients, feed readers, web and text editors, and a whole lot more.
|
||||||
|
|
||||||
|
11
libwebkit-gtk-1.3.10-no-execmem.patch
Normal file
11
libwebkit-gtk-1.3.10-no-execmem.patch
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
--- Source/JavaScriptCore/wtf/Platform.h 2011-01-11 02:07:11.000000000 +0100
|
||||||
|
+++ Source/JavaScriptCore/wtf/Platform.h-gil 2011-01-26 09:59:21.000000000 +0100
|
||||||
|
@@ -1036,7 +1036,7 @@
|
||||||
|
#endif
|
||||||
|
/* Setting this flag prevents the assembler from using RWX memory; this may improve
|
||||||
|
security but currectly comes at a significant performance cost. */
|
||||||
|
-#if PLATFORM(IOS)
|
||||||
|
+#if PLATFORM(IOS) || PLATFORM(X86) || PLATFORM(X86_64)
|
||||||
|
#define ENABLE_ASSEMBLER_WX_EXCLUSIVE 1
|
||||||
|
#else
|
||||||
|
#define ENABLE_ASSEMBLER_WX_EXCLUSIVE 0
|
12
libwebkit-gtk-1.3.10-nspluginwrapper.patch
Normal file
12
libwebkit-gtk-1.3.10-nspluginwrapper.patch
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
--- Source/WebCore/plugins/PluginDatabase.cpp 2011-01-08 17:50:59.000000000 +0100
|
||||||
|
+++ Source/WebCore/plugins/PluginDatabase.cpp-gil 2011-01-26 09:54:45.000000000 +0100
|
||||||
|
@@ -393,6 +393,9 @@
|
||||||
|
paths.append("/usr/lib64/mozilla/plugins");
|
||||||
|
paths.append("/usr/lib/nsbrowser/plugins");
|
||||||
|
paths.append("/usr/lib64/nsbrowser/plugins");
|
||||||
|
+ /* And for nspluginwrapper */
|
||||||
|
+ paths.append("/usr/lib64/mozilla/plugins-wrapped");
|
||||||
|
+ paths.append("/usr/lib/mozilla/plugins-wrapped");
|
||||||
|
|
||||||
|
String mozHome(getenv("MOZILLA_HOME"));
|
||||||
|
mozHome.append("/plugins");
|
11
libwebkit-gtk-1.3.10-stamp-po.patch
Normal file
11
libwebkit-gtk-1.3.10-stamp-po.patch
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
--- GNUmakefile.am 2011-01-10 19:04:18.000000000 +0100
|
||||||
|
+++ GNUmakefile.am-gil 2011-01-26 10:04:36.000000000 +0100
|
||||||
|
@@ -268,7 +268,7 @@
|
||||||
|
|
||||||
|
# Older automake versions (1.7) place Plo files in a different place so we need
|
||||||
|
# to create the output directory manually.
|
||||||
|
-all-local:
|
||||||
|
+all-local: stamp-po
|
||||||
|
$(mkdir_p) $(top_builddir)/$(DEPDIR)/DerivedSources
|
||||||
|
|
||||||
|
# remove built sources and program directories
|
554
libwebkit-gtk-1.8.2-bison-2.6.patch
Normal file
554
libwebkit-gtk-1.8.2-bison-2.6.patch
Normal file
@ -0,0 +1,554 @@
|
|||||||
|
diff --git a/Source/WebCore/css/CSSGrammar.y b/Source/WebCore/css/CSSGrammar.y
|
||||||
|
index c7c10b541cd46ad4febc6efe289e81b2cfb0861e..1c604e76b4da4cc65f395bc4a73b112561bd5c84 100644
|
||||||
|
--- a/Source/WebCore/css/CSSGrammar.y
|
||||||
|
+++ b/Source/WebCore/css/CSSGrammar.y
|
||||||
|
@@ -53,14 +53,13 @@ using namespace HTMLNames;
|
||||||
|
#define YYMAXDEPTH 10000
|
||||||
|
#define YYDEBUG 0
|
||||||
|
|
||||||
|
-// FIXME: Replace with %parse-param { CSSParser* parser } once we can depend on bison 2.x
|
||||||
|
-#define YYPARSE_PARAM parser
|
||||||
|
-#define YYLEX_PARAM parser
|
||||||
|
-
|
||||||
|
%}
|
||||||
|
|
||||||
|
%pure_parser
|
||||||
|
|
||||||
|
+%parse-param { CSSParser* parser }
|
||||||
|
+%lex-param { CSSParser* parser }
|
||||||
|
+
|
||||||
|
%union {
|
||||||
|
bool boolean;
|
||||||
|
char character;
|
||||||
|
@@ -89,7 +88,7 @@ using namespace HTMLNames;
|
||||||
|
|
||||||
|
%{
|
||||||
|
|
||||||
|
-static inline int cssyyerror(const char*)
|
||||||
|
+static inline int cssyyerror(void*, const char*)
|
||||||
|
{
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
diff --git a/Source/WebCore/css/CSSParser.cpp b/Source/WebCore/css/CSSParser.cpp
|
||||||
|
index 650844060477cfc6ea6fdeaf11ec63b34ac646e7..8369549dbff25537cf93a11237a9bbbac4fe50f2 100644
|
||||||
|
--- a/Source/WebCore/css/CSSParser.cpp
|
||||||
|
+++ b/Source/WebCore/css/CSSParser.cpp
|
||||||
|
@@ -114,7 +114,7 @@
|
||||||
|
extern int cssyydebug;
|
||||||
|
#endif
|
||||||
|
|
||||||
|
-extern int cssyyparse(void* parser);
|
||||||
|
+extern int cssyyparse(WebCore::CSSParser*);
|
||||||
|
|
||||||
|
using namespace std;
|
||||||
|
using namespace WTF;
|
||||||
|
diff --git a/Source/WebCore/xml/XPathGrammar.y b/Source/WebCore/xml/XPathGrammar.y
|
||||||
|
index 2eba5b35bd2338272a0f4ec756d137e47d2d59c8..d558211db2d89ea13716762a51397755560f66f3 100644
|
||||||
|
--- a/Source/WebCore/xml/XPathGrammar.y
|
||||||
|
+++ b/Source/WebCore/xml/XPathGrammar.y
|
||||||
|
@@ -34,6 +34,7 @@
|
||||||
|
#include "XPathParser.h"
|
||||||
|
#include "XPathPath.h"
|
||||||
|
#include "XPathPredicate.h"
|
||||||
|
+#include "XPathStep.h"
|
||||||
|
#include "XPathVariableReference.h"
|
||||||
|
#include <wtf/FastMalloc.h>
|
||||||
|
|
||||||
|
@@ -44,8 +45,6 @@
|
||||||
|
#define YYLTYPE_IS_TRIVIAL 1
|
||||||
|
#define YYDEBUG 0
|
||||||
|
#define YYMAXDEPTH 10000
|
||||||
|
-#define YYPARSE_PARAM parserParameter
|
||||||
|
-#define PARSER static_cast<Parser*>(parserParameter)
|
||||||
|
|
||||||
|
using namespace WebCore;
|
||||||
|
using namespace XPath;
|
||||||
|
@@ -53,6 +52,7 @@ using namespace XPath;
|
||||||
|
%}
|
||||||
|
|
||||||
|
%pure_parser
|
||||||
|
+%parse-param { WebCore::XPath::Parser* parser }
|
||||||
|
|
||||||
|
%union
|
||||||
|
{
|
||||||
|
@@ -71,7 +71,7 @@ using namespace XPath;
|
||||||
|
%{
|
||||||
|
|
||||||
|
static int xpathyylex(YYSTYPE* yylval) { return Parser::current()->lex(yylval); }
|
||||||
|
-static void xpathyyerror(const char*) { }
|
||||||
|
+static void xpathyyerror(void*, const char*) { }
|
||||||
|
|
||||||
|
%}
|
||||||
|
|
||||||
|
@@ -118,7 +118,7 @@ static void xpathyyerror(const char*) { }
|
||||||
|
Expr:
|
||||||
|
OrExpr
|
||||||
|
{
|
||||||
|
- PARSER->m_topExpr = $1;
|
||||||
|
+ parser->m_topExpr = $1;
|
||||||
|
}
|
||||||
|
;
|
||||||
|
|
||||||
|
@@ -138,7 +138,7 @@ AbsoluteLocationPath:
|
||||||
|
'/'
|
||||||
|
{
|
||||||
|
$$ = new LocationPath;
|
||||||
|
- PARSER->registerParseNode($$);
|
||||||
|
+ parser->registerParseNode($$);
|
||||||
|
}
|
||||||
|
|
|
||||||
|
'/' RelativeLocationPath
|
||||||
|
@@ -150,7 +150,7 @@ AbsoluteLocationPath:
|
||||||
|
{
|
||||||
|
$$ = $2;
|
||||||
|
$$->insertFirstStep($1);
|
||||||
|
- PARSER->unregisterParseNode($1);
|
||||||
|
+ parser->unregisterParseNode($1);
|
||||||
|
}
|
||||||
|
;
|
||||||
|
|
||||||
|
@@ -159,22 +159,22 @@ RelativeLocationPath:
|
||||||
|
{
|
||||||
|
$$ = new LocationPath;
|
||||||
|
$$->appendStep($1);
|
||||||
|
- PARSER->unregisterParseNode($1);
|
||||||
|
- PARSER->registerParseNode($$);
|
||||||
|
+ parser->unregisterParseNode($1);
|
||||||
|
+ parser->registerParseNode($$);
|
||||||
|
}
|
||||||
|
|
|
||||||
|
RelativeLocationPath '/' Step
|
||||||
|
{
|
||||||
|
$$->appendStep($3);
|
||||||
|
- PARSER->unregisterParseNode($3);
|
||||||
|
+ parser->unregisterParseNode($3);
|
||||||
|
}
|
||||||
|
|
|
||||||
|
RelativeLocationPath DescendantOrSelf Step
|
||||||
|
{
|
||||||
|
$$->appendStep($2);
|
||||||
|
$$->appendStep($3);
|
||||||
|
- PARSER->unregisterParseNode($2);
|
||||||
|
- PARSER->unregisterParseNode($3);
|
||||||
|
+ parser->unregisterParseNode($2);
|
||||||
|
+ parser->unregisterParseNode($3);
|
||||||
|
}
|
||||||
|
;
|
||||||
|
|
||||||
|
@@ -183,58 +183,58 @@ Step:
|
||||||
|
{
|
||||||
|
if ($2) {
|
||||||
|
$$ = new Step(Step::ChildAxis, *$1, *$2);
|
||||||
|
- PARSER->deletePredicateVector($2);
|
||||||
|
+ parser->deletePredicateVector($2);
|
||||||
|
} else
|
||||||
|
$$ = new Step(Step::ChildAxis, *$1);
|
||||||
|
- PARSER->deleteNodeTest($1);
|
||||||
|
- PARSER->registerParseNode($$);
|
||||||
|
+ parser->deleteNodeTest($1);
|
||||||
|
+ parser->registerParseNode($$);
|
||||||
|
}
|
||||||
|
|
|
||||||
|
NAMETEST OptionalPredicateList
|
||||||
|
{
|
||||||
|
String localName;
|
||||||
|
String namespaceURI;
|
||||||
|
- if (!PARSER->expandQName(*$1, localName, namespaceURI)) {
|
||||||
|
- PARSER->m_gotNamespaceError = true;
|
||||||
|
+ if (!parser->expandQName(*$1, localName, namespaceURI)) {
|
||||||
|
+ parser->m_gotNamespaceError = true;
|
||||||
|
YYABORT;
|
||||||
|
}
|
||||||
|
|
||||||
|
if ($2) {
|
||||||
|
$$ = new Step(Step::ChildAxis, Step::NodeTest(Step::NodeTest::NameTest, localName, namespaceURI), *$2);
|
||||||
|
- PARSER->deletePredicateVector($2);
|
||||||
|
+ parser->deletePredicateVector($2);
|
||||||
|
} else
|
||||||
|
$$ = new Step(Step::ChildAxis, Step::NodeTest(Step::NodeTest::NameTest, localName, namespaceURI));
|
||||||
|
- PARSER->deleteString($1);
|
||||||
|
- PARSER->registerParseNode($$);
|
||||||
|
+ parser->deleteString($1);
|
||||||
|
+ parser->registerParseNode($$);
|
||||||
|
}
|
||||||
|
|
|
||||||
|
AxisSpecifier NodeTest OptionalPredicateList
|
||||||
|
{
|
||||||
|
if ($3) {
|
||||||
|
$$ = new Step($1, *$2, *$3);
|
||||||
|
- PARSER->deletePredicateVector($3);
|
||||||
|
+ parser->deletePredicateVector($3);
|
||||||
|
} else
|
||||||
|
$$ = new Step($1, *$2);
|
||||||
|
- PARSER->deleteNodeTest($2);
|
||||||
|
- PARSER->registerParseNode($$);
|
||||||
|
+ parser->deleteNodeTest($2);
|
||||||
|
+ parser->registerParseNode($$);
|
||||||
|
}
|
||||||
|
|
|
||||||
|
AxisSpecifier NAMETEST OptionalPredicateList
|
||||||
|
{
|
||||||
|
String localName;
|
||||||
|
String namespaceURI;
|
||||||
|
- if (!PARSER->expandQName(*$2, localName, namespaceURI)) {
|
||||||
|
- PARSER->m_gotNamespaceError = true;
|
||||||
|
+ if (!parser->expandQName(*$2, localName, namespaceURI)) {
|
||||||
|
+ parser->m_gotNamespaceError = true;
|
||||||
|
YYABORT;
|
||||||
|
}
|
||||||
|
|
||||||
|
if ($3) {
|
||||||
|
$$ = new Step($1, Step::NodeTest(Step::NodeTest::NameTest, localName, namespaceURI), *$3);
|
||||||
|
- PARSER->deletePredicateVector($3);
|
||||||
|
+ parser->deletePredicateVector($3);
|
||||||
|
} else
|
||||||
|
$$ = new Step($1, Step::NodeTest(Step::NodeTest::NameTest, localName, namespaceURI));
|
||||||
|
- PARSER->deleteString($2);
|
||||||
|
- PARSER->registerParseNode($$);
|
||||||
|
+ parser->deleteString($2);
|
||||||
|
+ parser->registerParseNode($$);
|
||||||
|
}
|
||||||
|
|
|
||||||
|
AbbreviatedStep
|
||||||
|
@@ -259,23 +259,23 @@ NodeTest:
|
||||||
|
else if (*$1 == "comment")
|
||||||
|
$$ = new Step::NodeTest(Step::NodeTest::CommentNodeTest);
|
||||||
|
|
||||||
|
- PARSER->deleteString($1);
|
||||||
|
- PARSER->registerNodeTest($$);
|
||||||
|
+ parser->deleteString($1);
|
||||||
|
+ parser->registerNodeTest($$);
|
||||||
|
}
|
||||||
|
|
|
||||||
|
PI '(' ')'
|
||||||
|
{
|
||||||
|
$$ = new Step::NodeTest(Step::NodeTest::ProcessingInstructionNodeTest);
|
||||||
|
- PARSER->deleteString($1);
|
||||||
|
- PARSER->registerNodeTest($$);
|
||||||
|
+ parser->deleteString($1);
|
||||||
|
+ parser->registerNodeTest($$);
|
||||||
|
}
|
||||||
|
|
|
||||||
|
PI '(' LITERAL ')'
|
||||||
|
{
|
||||||
|
$$ = new Step::NodeTest(Step::NodeTest::ProcessingInstructionNodeTest, $3->stripWhiteSpace());
|
||||||
|
- PARSER->deleteString($1);
|
||||||
|
- PARSER->deleteString($3);
|
||||||
|
- PARSER->registerNodeTest($$);
|
||||||
|
+ parser->deleteString($1);
|
||||||
|
+ parser->deleteString($3);
|
||||||
|
+ parser->registerNodeTest($$);
|
||||||
|
}
|
||||||
|
;
|
||||||
|
|
||||||
|
@@ -293,14 +293,14 @@ PredicateList:
|
||||||
|
{
|
||||||
|
$$ = new Vector<Predicate*>;
|
||||||
|
$$->append(new Predicate($1));
|
||||||
|
- PARSER->unregisterParseNode($1);
|
||||||
|
- PARSER->registerPredicateVector($$);
|
||||||
|
+ parser->unregisterParseNode($1);
|
||||||
|
+ parser->registerPredicateVector($$);
|
||||||
|
}
|
||||||
|
|
|
||||||
|
PredicateList Predicate
|
||||||
|
{
|
||||||
|
$$->append(new Predicate($2));
|
||||||
|
- PARSER->unregisterParseNode($2);
|
||||||
|
+ parser->unregisterParseNode($2);
|
||||||
|
}
|
||||||
|
;
|
||||||
|
|
||||||
|
@@ -315,7 +315,7 @@ DescendantOrSelf:
|
||||||
|
SLASHSLASH
|
||||||
|
{
|
||||||
|
$$ = new Step(Step::DescendantOrSelfAxis, Step::NodeTest(Step::NodeTest::AnyNodeTest));
|
||||||
|
- PARSER->registerParseNode($$);
|
||||||
|
+ parser->registerParseNode($$);
|
||||||
|
}
|
||||||
|
;
|
||||||
|
|
||||||
|
@@ -323,13 +323,13 @@ AbbreviatedStep:
|
||||||
|
'.'
|
||||||
|
{
|
||||||
|
$$ = new Step(Step::SelfAxis, Step::NodeTest(Step::NodeTest::AnyNodeTest));
|
||||||
|
- PARSER->registerParseNode($$);
|
||||||
|
+ parser->registerParseNode($$);
|
||||||
|
}
|
||||||
|
|
|
||||||
|
DOTDOT
|
||||||
|
{
|
||||||
|
$$ = new Step(Step::ParentAxis, Step::NodeTest(Step::NodeTest::AnyNodeTest));
|
||||||
|
- PARSER->registerParseNode($$);
|
||||||
|
+ parser->registerParseNode($$);
|
||||||
|
}
|
||||||
|
;
|
||||||
|
|
||||||
|
@@ -337,8 +337,8 @@ PrimaryExpr:
|
||||||
|
VARIABLEREFERENCE
|
||||||
|
{
|
||||||
|
$$ = new VariableReference(*$1);
|
||||||
|
- PARSER->deleteString($1);
|
||||||
|
- PARSER->registerParseNode($$);
|
||||||
|
+ parser->deleteString($1);
|
||||||
|
+ parser->registerParseNode($$);
|
||||||
|
}
|
||||||
|
|
|
||||||
|
'(' Expr ')'
|
||||||
|
@@ -349,15 +349,15 @@ PrimaryExpr:
|
||||||
|
LITERAL
|
||||||
|
{
|
||||||
|
$$ = new StringExpression(*$1);
|
||||||
|
- PARSER->deleteString($1);
|
||||||
|
- PARSER->registerParseNode($$);
|
||||||
|
+ parser->deleteString($1);
|
||||||
|
+ parser->registerParseNode($$);
|
||||||
|
}
|
||||||
|
|
|
||||||
|
NUMBER
|
||||||
|
{
|
||||||
|
$$ = new Number($1->toDouble());
|
||||||
|
- PARSER->deleteString($1);
|
||||||
|
- PARSER->registerParseNode($$);
|
||||||
|
+ parser->deleteString($1);
|
||||||
|
+ parser->registerParseNode($$);
|
||||||
|
}
|
||||||
|
|
|
||||||
|
FunctionCall
|
||||||
|
@@ -369,8 +369,8 @@ FunctionCall:
|
||||||
|
$$ = createFunction(*$1);
|
||||||
|
if (!$$)
|
||||||
|
YYABORT;
|
||||||
|
- PARSER->deleteString($1);
|
||||||
|
- PARSER->registerParseNode($$);
|
||||||
|
+ parser->deleteString($1);
|
||||||
|
+ parser->registerParseNode($$);
|
||||||
|
}
|
||||||
|
|
|
||||||
|
FUNCTIONNAME '(' ArgumentList ')'
|
||||||
|
@@ -378,9 +378,9 @@ FunctionCall:
|
||||||
|
$$ = createFunction(*$1, *$3);
|
||||||
|
if (!$$)
|
||||||
|
YYABORT;
|
||||||
|
- PARSER->deleteString($1);
|
||||||
|
- PARSER->deleteExpressionVector($3);
|
||||||
|
- PARSER->registerParseNode($$);
|
||||||
|
+ parser->deleteString($1);
|
||||||
|
+ parser->deleteExpressionVector($3);
|
||||||
|
+ parser->registerParseNode($$);
|
||||||
|
}
|
||||||
|
;
|
||||||
|
|
||||||
|
@@ -389,14 +389,14 @@ ArgumentList:
|
||||||
|
{
|
||||||
|
$$ = new Vector<Expression*>;
|
||||||
|
$$->append($1);
|
||||||
|
- PARSER->unregisterParseNode($1);
|
||||||
|
- PARSER->registerExpressionVector($$);
|
||||||
|
+ parser->unregisterParseNode($1);
|
||||||
|
+ parser->registerExpressionVector($$);
|
||||||
|
}
|
||||||
|
|
|
||||||
|
ArgumentList ',' Argument
|
||||||
|
{
|
||||||
|
$$->append($3);
|
||||||
|
- PARSER->unregisterParseNode($3);
|
||||||
|
+ parser->unregisterParseNode($3);
|
||||||
|
}
|
||||||
|
;
|
||||||
|
|
||||||
|
@@ -412,9 +412,9 @@ UnionExpr:
|
||||||
|
$$ = new Union;
|
||||||
|
$$->addSubExpression($1);
|
||||||
|
$$->addSubExpression($3);
|
||||||
|
- PARSER->unregisterParseNode($1);
|
||||||
|
- PARSER->unregisterParseNode($3);
|
||||||
|
- PARSER->registerParseNode($$);
|
||||||
|
+ parser->unregisterParseNode($1);
|
||||||
|
+ parser->unregisterParseNode($3);
|
||||||
|
+ parser->registerParseNode($$);
|
||||||
|
}
|
||||||
|
;
|
||||||
|
|
||||||
|
@@ -430,9 +430,9 @@ PathExpr:
|
||||||
|
{
|
||||||
|
$3->setAbsolute(true);
|
||||||
|
$$ = new Path(static_cast<Filter*>($1), $3);
|
||||||
|
- PARSER->unregisterParseNode($1);
|
||||||
|
- PARSER->unregisterParseNode($3);
|
||||||
|
- PARSER->registerParseNode($$);
|
||||||
|
+ parser->unregisterParseNode($1);
|
||||||
|
+ parser->unregisterParseNode($3);
|
||||||
|
+ parser->registerParseNode($$);
|
||||||
|
}
|
||||||
|
|
|
||||||
|
FilterExpr DescendantOrSelf RelativeLocationPath
|
||||||
|
@@ -440,10 +440,10 @@ PathExpr:
|
||||||
|
$3->insertFirstStep($2);
|
||||||
|
$3->setAbsolute(true);
|
||||||
|
$$ = new Path(static_cast<Filter*>($1), $3);
|
||||||
|
- PARSER->unregisterParseNode($1);
|
||||||
|
- PARSER->unregisterParseNode($2);
|
||||||
|
- PARSER->unregisterParseNode($3);
|
||||||
|
- PARSER->registerParseNode($$);
|
||||||
|
+ parser->unregisterParseNode($1);
|
||||||
|
+ parser->unregisterParseNode($2);
|
||||||
|
+ parser->unregisterParseNode($3);
|
||||||
|
+ parser->registerParseNode($$);
|
||||||
|
}
|
||||||
|
;
|
||||||
|
|
||||||
|
@@ -453,9 +453,9 @@ FilterExpr:
|
||||||
|
PrimaryExpr PredicateList
|
||||||
|
{
|
||||||
|
$$ = new Filter($1, *$2);
|
||||||
|
- PARSER->unregisterParseNode($1);
|
||||||
|
- PARSER->deletePredicateVector($2);
|
||||||
|
- PARSER->registerParseNode($$);
|
||||||
|
+ parser->unregisterParseNode($1);
|
||||||
|
+ parser->deletePredicateVector($2);
|
||||||
|
+ parser->registerParseNode($$);
|
||||||
|
}
|
||||||
|
;
|
||||||
|
|
||||||
|
@@ -465,9 +465,9 @@ OrExpr:
|
||||||
|
OrExpr OR AndExpr
|
||||||
|
{
|
||||||
|
$$ = new LogicalOp(LogicalOp::OP_Or, $1, $3);
|
||||||
|
- PARSER->unregisterParseNode($1);
|
||||||
|
- PARSER->unregisterParseNode($3);
|
||||||
|
- PARSER->registerParseNode($$);
|
||||||
|
+ parser->unregisterParseNode($1);
|
||||||
|
+ parser->unregisterParseNode($3);
|
||||||
|
+ parser->registerParseNode($$);
|
||||||
|
}
|
||||||
|
;
|
||||||
|
|
||||||
|
@@ -477,9 +477,9 @@ AndExpr:
|
||||||
|
AndExpr AND EqualityExpr
|
||||||
|
{
|
||||||
|
$$ = new LogicalOp(LogicalOp::OP_And, $1, $3);
|
||||||
|
- PARSER->unregisterParseNode($1);
|
||||||
|
- PARSER->unregisterParseNode($3);
|
||||||
|
- PARSER->registerParseNode($$);
|
||||||
|
+ parser->unregisterParseNode($1);
|
||||||
|
+ parser->unregisterParseNode($3);
|
||||||
|
+ parser->registerParseNode($$);
|
||||||
|
}
|
||||||
|
;
|
||||||
|
|
||||||
|
@@ -489,9 +489,9 @@ EqualityExpr:
|
||||||
|
EqualityExpr EQOP RelationalExpr
|
||||||
|
{
|
||||||
|
$$ = new EqTestOp($2, $1, $3);
|
||||||
|
- PARSER->unregisterParseNode($1);
|
||||||
|
- PARSER->unregisterParseNode($3);
|
||||||
|
- PARSER->registerParseNode($$);
|
||||||
|
+ parser->unregisterParseNode($1);
|
||||||
|
+ parser->unregisterParseNode($3);
|
||||||
|
+ parser->registerParseNode($$);
|
||||||
|
}
|
||||||
|
;
|
||||||
|
|
||||||
|
@@ -501,9 +501,9 @@ RelationalExpr:
|
||||||
|
RelationalExpr RELOP AdditiveExpr
|
||||||
|
{
|
||||||
|
$$ = new EqTestOp($2, $1, $3);
|
||||||
|
- PARSER->unregisterParseNode($1);
|
||||||
|
- PARSER->unregisterParseNode($3);
|
||||||
|
- PARSER->registerParseNode($$);
|
||||||
|
+ parser->unregisterParseNode($1);
|
||||||
|
+ parser->unregisterParseNode($3);
|
||||||
|
+ parser->registerParseNode($$);
|
||||||
|
}
|
||||||
|
;
|
||||||
|
|
||||||
|
@@ -513,17 +513,17 @@ AdditiveExpr:
|
||||||
|
AdditiveExpr PLUS MultiplicativeExpr
|
||||||
|
{
|
||||||
|
$$ = new NumericOp(NumericOp::OP_Add, $1, $3);
|
||||||
|
- PARSER->unregisterParseNode($1);
|
||||||
|
- PARSER->unregisterParseNode($3);
|
||||||
|
- PARSER->registerParseNode($$);
|
||||||
|
+ parser->unregisterParseNode($1);
|
||||||
|
+ parser->unregisterParseNode($3);
|
||||||
|
+ parser->registerParseNode($$);
|
||||||
|
}
|
||||||
|
|
|
||||||
|
AdditiveExpr MINUS MultiplicativeExpr
|
||||||
|
{
|
||||||
|
$$ = new NumericOp(NumericOp::OP_Sub, $1, $3);
|
||||||
|
- PARSER->unregisterParseNode($1);
|
||||||
|
- PARSER->unregisterParseNode($3);
|
||||||
|
- PARSER->registerParseNode($$);
|
||||||
|
+ parser->unregisterParseNode($1);
|
||||||
|
+ parser->unregisterParseNode($3);
|
||||||
|
+ parser->registerParseNode($$);
|
||||||
|
}
|
||||||
|
;
|
||||||
|
|
||||||
|
@@ -533,9 +533,9 @@ MultiplicativeExpr:
|
||||||
|
MultiplicativeExpr MULOP UnaryExpr
|
||||||
|
{
|
||||||
|
$$ = new NumericOp($2, $1, $3);
|
||||||
|
- PARSER->unregisterParseNode($1);
|
||||||
|
- PARSER->unregisterParseNode($3);
|
||||||
|
- PARSER->registerParseNode($$);
|
||||||
|
+ parser->unregisterParseNode($1);
|
||||||
|
+ parser->unregisterParseNode($3);
|
||||||
|
+ parser->registerParseNode($$);
|
||||||
|
}
|
||||||
|
;
|
||||||
|
|
||||||
|
@@ -546,8 +546,8 @@ UnaryExpr:
|
||||||
|
{
|
||||||
|
$$ = new Negative;
|
||||||
|
$$->addSubExpression($2);
|
||||||
|
- PARSER->unregisterParseNode($2);
|
||||||
|
- PARSER->registerParseNode($$);
|
||||||
|
+ parser->unregisterParseNode($2);
|
||||||
|
+ parser->registerParseNode($$);
|
||||||
|
}
|
||||||
|
;
|
||||||
|
|
||||||
|
diff --git a/Source/WebCore/xml/XPathParser.cpp b/Source/WebCore/xml/XPathParser.cpp
|
||||||
|
index 62d8ee37fd6ebb74a580a00c59beb6cd40c5a8b7..b5e6a9237593b4aaa2a243f2ff9d86e57f930a97 100644
|
||||||
|
--- a/Source/WebCore/xml/XPathParser.cpp
|
||||||
|
+++ b/Source/WebCore/xml/XPathParser.cpp
|
||||||
|
@@ -32,24 +32,21 @@
|
||||||
|
#include "XPathEvaluator.h"
|
||||||
|
#include "XPathException.h"
|
||||||
|
#include "XPathNSResolver.h"
|
||||||
|
+#include "XPathPath.h"
|
||||||
|
#include "XPathStep.h"
|
||||||
|
#include <wtf/StdLibExtras.h>
|
||||||
|
#include <wtf/text/StringHash.h>
|
||||||
|
|
||||||
|
-int xpathyyparse(void*);
|
||||||
|
-
|
||||||
|
+using namespace WebCore;
|
||||||
|
using namespace WTF;
|
||||||
|
using namespace Unicode;
|
||||||
|
+using namespace XPath;
|
||||||
|
|
||||||
|
-namespace WebCore {
|
||||||
|
-namespace XPath {
|
||||||
|
-
|
||||||
|
-class LocationPath;
|
||||||
|
-
|
||||||
|
-#include "XPathGrammar.h"
|
||||||
|
+extern int xpathyyparse(WebCore::XPath::Parser*);
|
||||||
|
+#include "XPathGrammar.h"
|
||||||
|
|
||||||
|
Parser* Parser::currentParser = 0;
|
||||||
|
-
|
||||||
|
+
|
||||||
|
enum XMLCat { NameStart, NameCont, NotPartOfName };
|
||||||
|
|
||||||
|
typedef HashMap<String, Step::Axis> AxisNamesMap;
|
||||||
|
@@ -630,5 +627,3 @@ void Parser::deleteNodeTest(Step::NodeTest* t)
|
||||||
|
delete t;
|
||||||
|
}
|
||||||
|
|
||||||
|
-}
|
||||||
|
-}
|
30
libwebkit-gtk3-2.0.0-missing-header.patch
Normal file
30
libwebkit-gtk3-2.0.0-missing-header.patch
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
From bc8a191fe360207b8220e0d2065f36ee0b920962 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Eduardo Lima Mitev <elima@igalia.com>
|
||||||
|
Date: Fri, 26 Apr 2013 12:48:10 +0200
|
||||||
|
Subject: [PATCH] [GTK] Compilation of ProcessLauncherGtk.cpp fails due to
|
||||||
|
unresolved symbols
|
||||||
|
https://bugs.webkit.org/show_bug.cgi?id=115240
|
||||||
|
|
||||||
|
Reviewed by NOBODY (OOPS!).
|
||||||
|
|
||||||
|
* UIProcess/Launcher/gtk/ProcessLauncherGtk.cpp: Includes sys/socket.h if OS is Linux
|
||||||
|
---
|
||||||
|
Source/WebKit2/ChangeLog | 9 +++++++++
|
||||||
|
Source/WebKit2/UIProcess/Launcher/gtk/ProcessLauncherGtk.cpp | 1 +
|
||||||
|
2 files changed, 10 insertions(+)
|
||||||
|
|
||||||
|
diff --git a/Source/WebKit2/UIProcess/Launcher/gtk/ProcessLauncherGtk.cpp b/Source/WebKit2/UIProcess/Launcher/gtk/ProcessLauncherGtk.cpp
|
||||||
|
index c8138d7..f65c7ed 100644
|
||||||
|
--- a/Source/WebKit2/UIProcess/Launcher/gtk/ProcessLauncherGtk.cpp
|
||||||
|
+++ b/Source/WebKit2/UIProcess/Launcher/gtk/ProcessLauncherGtk.cpp
|
||||||
|
@@ -43,6 +43,7 @@
|
||||||
|
|
||||||
|
#if OS(LINUX)
|
||||||
|
#include <sys/prctl.h>
|
||||||
|
+#include <sys/socket.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifdef SOCK_SEQPACKET
|
||||||
|
--
|
||||||
|
1.7.10.4
|
||||||
|
|
483
libwebkit-gtk3.spec
Normal file
483
libwebkit-gtk3.spec
Normal file
@ -0,0 +1,483 @@
|
|||||||
|
# --enable-debug turn on debugging [default=no]
|
||||||
|
# --enable-indexeddb enable the indexed database API [default=no]
|
||||||
|
|
||||||
|
# --enable-input-speech enable the speech input API [default=no] broken
|
||||||
|
|
||||||
|
# --enable-image-resizer enable image resizer [default=no]
|
||||||
|
# --enable-wml enable support for WML [default=no]
|
||||||
|
# --enable-directory-upload enable support for directory upload [default=no]
|
||||||
|
# --enable-file-system enable support for HTML5 FileSystem API [default=no]
|
||||||
|
# --enable-web-timing enable support for Web Timing [default=no]
|
||||||
|
# --enable-blob enable support for Blob [default=no]
|
||||||
|
# --enable-coverage enable code coverage support [default=no]
|
||||||
|
# --enable-opcode-stats Enable Opcode statistics (default: disabled)
|
||||||
|
# --enable-gtk-doc use gtk-doc to build documentation [[default=no]]
|
||||||
|
# --enable-gtk-doc-pdf build documentation in pdf format [[default=no]]
|
||||||
|
# --with-gtk=2.0|3.0 the GTK+ version to use (default: 2.0)
|
||||||
|
|
||||||
|
%define majver %(echo %version | cut -d. -f 1-2)
|
||||||
|
Name: libwebkit-gtk3
|
||||||
|
Version: 2.0.3
|
||||||
|
Release: 1mamba
|
||||||
|
Summary: Port of WebKit embeddable web component to GTK+
|
||||||
|
Group: System/Libraries
|
||||||
|
Vendor: openmamba
|
||||||
|
Distribution: openmamba
|
||||||
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
|
##URL: http://live.gnome.org/WebKitGtk
|
||||||
|
URL: http://www.webkitgtk.org/
|
||||||
|
Source0: http://www.webkitgtk.org/releases/webkitgtk-%{version}.tar.xz
|
||||||
|
Patch0: libwebkit-gtk-1.3.10-nspluginwrapper.patch
|
||||||
|
Patch1: libwebkit-gtk-1.3.10-no-execmem.patch
|
||||||
|
Patch2: libwebkit-gtk-1.3.10-stamp-po.patch
|
||||||
|
Patch3: libwebkit-gtk-1.8.2-bison-2.6.patch
|
||||||
|
Patch4: libwebkit-gtk3-2.0.0-missing-header.patch
|
||||||
|
License: BSD, LGPL
|
||||||
|
## AUTOBUILDREQ-BEGIN
|
||||||
|
BuildRequires: glibc-devel
|
||||||
|
BuildRequires: libatk-devel
|
||||||
|
BuildRequires: libcairo-devel
|
||||||
|
BuildRequires: libdbus-devel
|
||||||
|
BuildRequires: libdbus-glib-devel
|
||||||
|
BuildRequires: libenchant-devel
|
||||||
|
BuildRequires: libffi-devel
|
||||||
|
BuildRequires: libfontconfig-devel
|
||||||
|
BuildRequires: libfreetype-devel
|
||||||
|
BuildRequires: libgcc
|
||||||
|
BuildRequires: libgdk-pixbuf-devel
|
||||||
|
BuildRequires: libgeoclue-devel
|
||||||
|
BuildRequires: libGL-devel
|
||||||
|
BuildRequires: libglib-devel
|
||||||
|
BuildRequires: libgst-plugins-base-devel
|
||||||
|
BuildRequires: libgstreamer-devel
|
||||||
|
BuildRequires: libgtk2-devel
|
||||||
|
BuildRequires: libgtk-devel
|
||||||
|
BuildRequires: libharfbuzz-devel
|
||||||
|
BuildRequires: libicu-devel
|
||||||
|
BuildRequires: libjpeg-devel
|
||||||
|
BuildRequires: libpango-devel
|
||||||
|
BuildRequires: libpng-devel
|
||||||
|
BuildRequires: libsecret-devel
|
||||||
|
BuildRequires: libselinux-devel
|
||||||
|
BuildRequires: libsoup-devel
|
||||||
|
BuildRequires: libsqlite-devel
|
||||||
|
BuildRequires: libstdc++6-devel
|
||||||
|
BuildRequires: libwebp-devel
|
||||||
|
BuildRequires: libX11-devel
|
||||||
|
BuildRequires: libXcomposite-devel
|
||||||
|
BuildRequires: libXdamage-devel
|
||||||
|
BuildRequires: libXfixes-devel
|
||||||
|
BuildRequires: libxml2-devel
|
||||||
|
BuildRequires: libXrender-devel
|
||||||
|
BuildRequires: libxslt-devel
|
||||||
|
BuildRequires: libXt-devel
|
||||||
|
BuildRequires: libz-devel
|
||||||
|
## AUTOBUILDREQ-END
|
||||||
|
#BuildRequires: libgcrypt-devel
|
||||||
|
#BuildRequires: libglitz-devel
|
||||||
|
#BuildRequires: libgnutls-devel
|
||||||
|
#BuildRequires: libgpg-error-devel
|
||||||
|
#BuildRequires: libpixman-devel
|
||||||
|
#BuildRequires: libpthread-stubs-devel
|
||||||
|
#BuildRequires: libselinux-devel
|
||||||
|
#BuildRequires: libSM-devel
|
||||||
|
#BuildRequires: libtasn1-devel
|
||||||
|
#BuildRequires: libuuid-devel
|
||||||
|
#BuildRequires: libXau-devel
|
||||||
|
#BuildRequires: libxcb-devel
|
||||||
|
#BuildRequires: libxcb-util-devel
|
||||||
|
#BuildRequires: libXcursor-devel
|
||||||
|
#BuildRequires: libXdmcp-devel
|
||||||
|
#BuildRequires: libXext-devel
|
||||||
|
#BuildRequires: libXinerama-devel
|
||||||
|
#BuildRequires: libXrandr-devel
|
||||||
|
BuildRequires: bison
|
||||||
|
BuildRequires: flex
|
||||||
|
BuildRequires: GConf-devel
|
||||||
|
BuildRequires: gobject-introspection-devel
|
||||||
|
BuildRequires: gperf
|
||||||
|
BuildRequires: gst-plugins-bad-devel
|
||||||
|
BuildRequires: icu
|
||||||
|
#BuildRequires: libavahi-devel
|
||||||
|
#BuildRequires: libcares-devel
|
||||||
|
#BuildRequires: libcurl-devel
|
||||||
|
#BuildRequires: libe2fs-devel
|
||||||
|
#BuildRequires: libgnome-keyring-devel
|
||||||
|
#BuildRequires: libgnome-vfs-devel
|
||||||
|
#BuildRequires: libidn-devel
|
||||||
|
#BuildRequires: libkrb5-devel
|
||||||
|
#BuildRequires: libopenldap-devel
|
||||||
|
#BuildRequires: libopenssl-devel
|
||||||
|
#BuildRequires: libpcre-devel
|
||||||
|
#BuildRequires: libqt4-devel
|
||||||
|
#BuildRequires: librsvg-devel
|
||||||
|
#BuildRequires: libsasl-devel
|
||||||
|
#BuildRequires: libssh2-devel
|
||||||
|
BuildRequires: libtool
|
||||||
|
#BuildRequires: libxkbfile-devel
|
||||||
|
#BuildRequires: ORBit2-devel
|
||||||
|
BuildRequires: perl
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||||
|
|
||||||
|
# WebKit was configured with the following options:
|
||||||
|
|
||||||
|
# Build configuration:
|
||||||
|
# Enable debugging (slow) : no
|
||||||
|
# Enable GCC build optimization : yes
|
||||||
|
# Code coverage support : yes
|
||||||
|
# Unicode backend : icu
|
||||||
|
# Font backend : freetype
|
||||||
|
# Optimized memory allocator : yes
|
||||||
|
# Features:
|
||||||
|
# 3D Transforms : yes
|
||||||
|
# 3D Canvas (WebGL) : no
|
||||||
|
# Blob support : yes
|
||||||
|
# Directory upload : no
|
||||||
|
# Fast Mobile Scrolling : yes
|
||||||
|
# JIT compilation : yes
|
||||||
|
# Filters support : yes
|
||||||
|
# Geolocation support : yes
|
||||||
|
# JavaScript debugger/profiler support : yes
|
||||||
|
# MathML support : yes
|
||||||
|
# HTML5 offline web applications support : yes
|
||||||
|
# HTML5 channel messaging support : yes
|
||||||
|
# HTML5 client-side session and persistent storage support : yes
|
||||||
|
# HTML5 client-side database storage support : yes
|
||||||
|
# HTML5 FileSystem API support : no
|
||||||
|
# HTML5 sandboxed iframe support : yes
|
||||||
|
# HTML5 server-sent events support : yes
|
||||||
|
# HTML5 video element support : yes
|
||||||
|
# Fullscreen API support : yes
|
||||||
|
# Icon database support : yes
|
||||||
|
# Image resizer support : no
|
||||||
|
# Link prefetch support : no
|
||||||
|
# Opcode stats : no
|
||||||
|
# SharedWorkers support : yes
|
||||||
|
# Speech input support : no
|
||||||
|
# SVG support : yes
|
||||||
|
# SVG animation support : yes
|
||||||
|
# SVG fonts support : yes
|
||||||
|
# SVG foreign object support : yes
|
||||||
|
# SVG as image support : yes
|
||||||
|
# SVG use element support : yes
|
||||||
|
# WML support : no
|
||||||
|
# Web Audio support : no
|
||||||
|
# Web Sockets support : yes
|
||||||
|
# Web Timing support : no
|
||||||
|
# Web Workers support : yes
|
||||||
|
# XHTML-MP support : yes
|
||||||
|
# XPATH support : yes
|
||||||
|
# XSLT support : yes
|
||||||
|
|
||||||
|
# GTK+ configuration:
|
||||||
|
# GTK+ version : 2.0
|
||||||
|
# GDK target : x11
|
||||||
|
# Hildon UI extensions : no
|
||||||
|
# Introspection support : yes
|
||||||
|
# WebKit2 support : no
|
||||||
|
|
||||||
|
# http://svn.webkit.org/repository/webkit/tags/Safari-6531.9/
|
||||||
|
|
||||||
|
%description
|
||||||
|
WebKit/GTK+ is the new GTK+ port of the WebKit, an open-source web content engine that powers numerous applications such as web browsers, email clients, feed readers, web and text editors, and a whole lot more.
|
||||||
|
|
||||||
|
%package devel
|
||||||
|
Group: Development/Libraries
|
||||||
|
Summary: Static libraries and headers for %{name}
|
||||||
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
|
Provides: %{name}-gir
|
||||||
|
Obsoletes: %{name}-gir
|
||||||
|
|
||||||
|
%description devel
|
||||||
|
WebKit/GTK+ is the new GTK+ port of the WebKit, an open-source web content engine that powers numerous applications such as web browsers, email clients, feed readers, web and text editors, and a whole lot more.
|
||||||
|
|
||||||
|
This package contains libraries and header files need for development.
|
||||||
|
|
||||||
|
%package gir
|
||||||
|
Group: Development/Libraries
|
||||||
|
Summary: GObject introspection data for %{name}
|
||||||
|
Requires: %{name}-devel = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
|
Requires: gobject-introspection
|
||||||
|
|
||||||
|
%description gir
|
||||||
|
WebKit/GTK+ is the new GTK+ port of the WebKit, an open-source web content engine that powers numerous applications such as web browsers, email clients, feed readers, web and text editors, and a whole lot more.
|
||||||
|
|
||||||
|
This package contains introspection data for %{name}. It can be used by packages using the
|
||||||
|
GIRepository format to generate dynamic bindings.
|
||||||
|
|
||||||
|
%package jsc
|
||||||
|
Group: Applications/Networking
|
||||||
|
Summary: JavaScriptCore shell for WebKit GTK+
|
||||||
|
|
||||||
|
%description jsc
|
||||||
|
WebKit/GTK+ is the new GTK+ port of the WebKit, an open-source web content engine that powers numerous applications such as web browsers, email clients, feed readers, web and text editors, and a whole lot more.
|
||||||
|
|
||||||
|
This package contains WebKit's JavaScript engine. It allows you to interact with the JavaScript engine directly.
|
||||||
|
|
||||||
|
%package webinspector
|
||||||
|
Group: Applications/Networking
|
||||||
|
Summary: Data files for WebKit GTK+'s Web Inspector
|
||||||
|
Obsoletes: Webkit
|
||||||
|
|
||||||
|
%description webinspector
|
||||||
|
WebKit/GTK+ is the new GTK+ port of the WebKit, an open-source web content engine that powers numerous applications such as web browsers, email clients, feed readers, web and text editors, and a whole lot more.
|
||||||
|
|
||||||
|
This package contains the data files necessary for Web Inspector to work.
|
||||||
|
|
||||||
|
%package doc
|
||||||
|
Group: Documentation
|
||||||
|
Summary: Documentation for %{name}
|
||||||
|
|
||||||
|
%description doc
|
||||||
|
WebKit/GTK+ is the new GTK+ port of the WebKit, an open-source web content engine that powers numerous applications such as web browsers, email clients, feed readers, web and text editors, and a whole lot more.
|
||||||
|
|
||||||
|
This package contains the documentation for %{name},
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n webkitgtk-%{version}
|
||||||
|
#-D -T
|
||||||
|
#:<< __EOF
|
||||||
|
%patch0 -p0
|
||||||
|
#%patch4 -p1
|
||||||
|
#%patch1 -p0
|
||||||
|
#%patch2 -p0
|
||||||
|
#%patch3 -p1
|
||||||
|
|
||||||
|
%build
|
||||||
|
#:<< __EOF
|
||||||
|
#./autogen.sh
|
||||||
|
|
||||||
|
%ifarch arm
|
||||||
|
# Use linker flags to reduce memory consumption on low-mem architectures
|
||||||
|
EXTRA_CFLAGS="-Wl,--no-keep-memory -Wl,--reduce-memory-overheads"
|
||||||
|
%endif
|
||||||
|
|
||||||
|
#%ifarch x86_64
|
||||||
|
# To workaround ar 4GB file limit:
|
||||||
|
# https://bugs.launchpad.net/ubuntu/+source/binutils/+bug/1043507
|
||||||
|
EXTRA_CFLAGS="-gstabs"
|
||||||
|
EXTRA_CXXFLAGS="-gstabs"
|
||||||
|
#%endif
|
||||||
|
|
||||||
|
CFLAGS="%{optflags} -DLIBSOUP_I_HAVE_READ_BUG_594377_AND_KNOW_SOUP_PASSWORD_MANAGER_MIGHT_GO_AWAY $EXTRA_CFLAGS" \
|
||||||
|
CXXFLAGS="%{optflags} $EXTRA_CXXFLAGS" \
|
||||||
|
%configure \
|
||||||
|
%ifarch arm
|
||||||
|
--disable-jit \
|
||||||
|
%endif
|
||||||
|
--with-gtk=3.0 \
|
||||||
|
--enable-geolocation \
|
||||||
|
--enable-channel-messaging \
|
||||||
|
--enable-fast-mobile-scrolling \
|
||||||
|
--enable-web-sockets \
|
||||||
|
--enable-filters \
|
||||||
|
--enable-coverage \
|
||||||
|
%ifarch arm
|
||||||
|
--disable-introspection \
|
||||||
|
%else
|
||||||
|
--enable-introspection \
|
||||||
|
%endif
|
||||||
|
--enable-mathml \
|
||||||
|
--enable-video \
|
||||||
|
--enable-jit \
|
||||||
|
PYTHON=%{__python}
|
||||||
|
|
||||||
|
# --enable-3D-transforms \
|
||||||
|
# --enable-xhtmlmp \
|
||||||
|
|
||||||
|
mkdir -p DerivedSources/webkit
|
||||||
|
mkdir -p DerivedSources/WebCore
|
||||||
|
|
||||||
|
#__EOF
|
||||||
|
## https://bugs.webkit.org/show_bug.cgi?id=34846
|
||||||
|
# V=1 seems a workaround for make error 'argument list too long'
|
||||||
|
%make V=1 || make V=1
|
||||||
|
|
||||||
|
%install
|
||||||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
|
||||||
|
%ifarch arm
|
||||||
|
# Use linker flags to reduce memory consumption on low-mem architectures
|
||||||
|
EXTRA_CFLAGS="-Wl,--no-keep-memory -Wl,--reduce-memory-overheads"
|
||||||
|
%endif
|
||||||
|
|
||||||
|
#%ifarch x86_64
|
||||||
|
# To workaround ar 4GB file limit:
|
||||||
|
# https://bugs.launchpad.net/ubuntu/+source/binutils/+bug/1043507
|
||||||
|
EXTRA_CFLAGS="-gstabs"
|
||||||
|
EXTRA_CXXFLAGS="-gstabs"
|
||||||
|
#%endif
|
||||||
|
|
||||||
|
CFLAGS="%{optflags} -DLIBSOUP_I_HAVE_READ_BUG_594377_AND_KNOW_SOUP_PASSWORD_MANAGER_MIGHT_GO_AWAY $EXTRA_CFLAGS" \
|
||||||
|
CXXFLAGS="%{optflags} $EXTRA_CXXFLAGS" \
|
||||||
|
|
||||||
|
%makeinstall V=1
|
||||||
|
|
||||||
|
mkdir -p %{buildroot}%{_bindir}/
|
||||||
|
install -m 755 Programs/GtkLauncher %{buildroot}%{_bindir}/GtkLauncher
|
||||||
|
|
||||||
|
#for doc in WebKit/LICENSE WebKit/gtk/po/README WebKit/gtk/NEWS Source/WebCore/icu/LICENSE Source/WebCore/LICENSE-APPLE Source/WebCore/LICENSE-LGPL-2 \
|
||||||
|
# Source/WebCore/LICENSE-LGPL-2.1 Source/JavaScriptCore/COPYING.LIB Source/JavaScriptCore/THANKS Source/JavaScriptCore/AUTHORS \
|
||||||
|
# Source/JavaScriptCore/icu/README Source/JavaScriptCore/icu/LICENSE Source/JavaScriptCore/pcre/COPYING Source/JavaScriptCore/pcre/AUTHORS ;do
|
||||||
|
# mkdir -p %{buildroot}%{_docdir}/webkitgtk-%{version}
|
||||||
|
# cp -p $doc %{buildroot}%{_docdir}/webkitgtk-%{version}/$(echo $doc | sed -e 's!/!.!g')
|
||||||
|
#done
|
||||||
|
|
||||||
|
%find_lang WebKitGTK-3.0
|
||||||
|
|
||||||
|
%clean
|
||||||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
|
||||||
|
%post
|
||||||
|
/sbin/ldconfig
|
||||||
|
%{_bindir}/glib-compile-schemas %{_datadir}/glib-2.0/schemas
|
||||||
|
:
|
||||||
|
|
||||||
|
%postun
|
||||||
|
/sbin/ldconfig
|
||||||
|
%{_bindir}/glib-compile-schemas %{_datadir}/glib-2.0/schemas
|
||||||
|
:
|
||||||
|
|
||||||
|
%files -f WebKitGTK-3.0.lang
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_bindir}/GtkLauncher
|
||||||
|
%{_libdir}/libwebkitgtk-3.0.so.*
|
||||||
|
%{_libdir}/libwebkit2gtk-3.0.so.*
|
||||||
|
%{_libdir}/libjavascriptcoregtk-3.0.so.*
|
||||||
|
%ifnarch arm
|
||||||
|
%{_libdir}/girepository-1.0/JSCore-3.0.typelib
|
||||||
|
%{_libdir}/girepository-1.0/WebKit-3.0.typelib
|
||||||
|
%{_libdir}/girepository-1.0/WebKit2-3.0.typelib
|
||||||
|
%endif
|
||||||
|
%{_libdir}/webkit2gtk-3.0/injected-bundle/libwebkit2gtkinjectedbundle.la
|
||||||
|
%{_libdir}/webkit2gtk-3.0/injected-bundle/libwebkit2gtkinjectedbundle.so
|
||||||
|
%dir %{_datadir}/webkitgtk-3.0
|
||||||
|
%{_datadir}/webkitgtk-3.0/*
|
||||||
|
%{_libexecdir}/WebKitPluginProcess
|
||||||
|
%{_libexecdir}/WebKitWebProcess
|
||||||
|
#%{_datadir}/glib-2.0/schemas/org.webkitgtk-1.0.gschema.xml
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%dir %{_includedir}/webkitgtk-3.0
|
||||||
|
%{_includedir}/webkitgtk-3.0/*
|
||||||
|
%{_libdir}/libwebkitgtk-3.0.la
|
||||||
|
%{_libdir}/libwebkitgtk-3.0.so
|
||||||
|
%{_libdir}/libjavascriptcoregtk-3.0.la
|
||||||
|
%{_libdir}/libjavascriptcoregtk-3.0.so
|
||||||
|
%{_libdir}/libwebkit2gtk-3.0.la
|
||||||
|
%{_libdir}/libwebkit2gtk-3.0.so
|
||||||
|
%ifnarch arm
|
||||||
|
%{_datadir}/gir-1.0/JSCore-3.0.gir
|
||||||
|
%{_datadir}/gir-1.0/WebKit-3.0.gir
|
||||||
|
%{_datadir}/gir-1.0/WebKit2-3.0.gir
|
||||||
|
%endif
|
||||||
|
%{_libdir}/pkgconfig/webkit2gtk-3.0.pc
|
||||||
|
%{_libdir}/pkgconfig/javascriptcoregtk-3.0.pc
|
||||||
|
%{_libdir}/pkgconfig/webkitgtk-3.0.pc
|
||||||
|
|
||||||
|
%files doc
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%dir %{_datadir}/gtk-doc/html/webkitgtk
|
||||||
|
%{_datadir}/gtk-doc/html/webkitgtk/*
|
||||||
|
%doc %{_datadir}/gtk-doc/html/webkit2gtk
|
||||||
|
%{_datadir}/gtk-doc/html/webkit2gtk/*
|
||||||
|
|
||||||
|
%files jsc
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_bindir}/jsc-3
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Mon Jun 17 2013 Automatic Build System <autodist@mambasoft.it> 2.0.3-1mamba
|
||||||
|
- update to 2.0.3
|
||||||
|
|
||||||
|
* Mon Jun 17 2013 Automatic Build System <autodist@mambasoft.it> 2.1.1-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
* Sun Apr 14 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.0-2mamba
|
||||||
|
- rebuilt with devhelp 3.8.0
|
||||||
|
|
||||||
|
* Tue Apr 02 2013 Automatic Build System <autodist@mambasoft.it> 2.0.0-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
* Fri Mar 22 2013 Automatic Build System <autodist@mambasoft.it> 1.11.92-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
* Wed Mar 13 2013 Automatic Build System <autodist@mambasoft.it> 1.11.91-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
* Sat Mar 02 2013 Automatic Build System <autodist@mambasoft.it> 1.11.90-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
* Thu Oct 04 2012 Automatic Build System <autodist@mambasoft.it> 1.10.0-1mamba
|
||||||
|
- update to 1.10.0
|
||||||
|
|
||||||
|
* Wed Aug 15 2012 Automatic Build System <autodist@mambasoft.it> 1.8.2-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
* Wed Jun 06 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 1.8.1-2mamba
|
||||||
|
- build for gtk3; rename to libwebkit-gtk3 (libwebkit-gtk is the gtk 2.0 version)
|
||||||
|
|
||||||
|
* Sun May 13 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 1.8.1-1mamba
|
||||||
|
- update to 1.8.1
|
||||||
|
|
||||||
|
* Fri Feb 25 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.10-2mamba
|
||||||
|
- rebuilt in devel
|
||||||
|
- buildrequire libjpeg-devel instead of libjpeg-turbo-devel
|
||||||
|
|
||||||
|
* Wed Jan 26 2011 gil <puntogil@libero.it> 1.3.10-1mamba
|
||||||
|
- update to 1.3.10
|
||||||
|
|
||||||
|
* Mon Nov 29 2010 gil <puntogil@libero.it> 1.3.6-2mamba
|
||||||
|
- rebuilt devel
|
||||||
|
|
||||||
|
* Tue Nov 09 2010 gil <puntogil@libero.it> 1.3.6-1mamba
|
||||||
|
- update to 1.3.6
|
||||||
|
|
||||||
|
* Thu Oct 07 2010 gil <puntogil@libero.it> 1.3.4-1mamba
|
||||||
|
- update to 1.3.4
|
||||||
|
|
||||||
|
* Wed Oct 06 2010 gil <puntogil@libero.it> 1.2.5-1mamba
|
||||||
|
- update to 1.2.5
|
||||||
|
|
||||||
|
* Mon Sep 13 2010 gil <puntogil@libero.it> 1.2.4-1mamba
|
||||||
|
- update to 1.2.4
|
||||||
|
|
||||||
|
* Thu Jul 22 2010 gil <puntogil@libero.it> 1.2.3-1mamba
|
||||||
|
- update to 1.2.3
|
||||||
|
|
||||||
|
* Wed Jun 23 2010 gil <puntogil@libero.it> 1.2.1-1mamba
|
||||||
|
- update to 1.2.1
|
||||||
|
|
||||||
|
* Sat Apr 24 2010 gil <puntogil@libero.it> 1.2.0-2mamba
|
||||||
|
- edit spec file
|
||||||
|
|
||||||
|
* Tue Apr 20 2010 gil <puntogil@libero.it> 1.2.0-1mamba
|
||||||
|
- update to 1.2.0
|
||||||
|
|
||||||
|
* Sat Dec 26 2009 gil <puntogil@libero.it> 1.1.15.4-1mamba
|
||||||
|
- update to 1.1.15.4
|
||||||
|
|
||||||
|
* Thu Jul 02 2009 gil <puntogil@libero.it> 1.1.10-1mamba
|
||||||
|
- update to 1.1.10
|
||||||
|
|
||||||
|
* Thu Jun 11 2009 gil <puntogil@libero.it> 1.1.9-1mamba
|
||||||
|
- update to 1.1.9
|
||||||
|
|
||||||
|
* Fri May 29 2009 gil <puntogil@libero.it> 1.1.8-1mamba
|
||||||
|
- update to 1.1.8
|
||||||
|
|
||||||
|
* Sat May 16 2009 gil <puntogil@libero.it> 1.1.7-1mamba
|
||||||
|
- update to 1.1.7
|
||||||
|
|
||||||
|
* Thu May 07 2009 gil <puntogil@libero.it> 1.1.6-1mamba
|
||||||
|
- update to 1.1.6
|
||||||
|
|
||||||
|
* Sat Apr 18 2009 gil <puntogil@libero.it> 1.1.5-1mamba
|
||||||
|
- update to 1.1.5
|
||||||
|
|
||||||
|
* Sat Mar 28 2009 gil <puntogil@libero.it> 1.1.4-1mamba
|
||||||
|
- update to 1.1.4
|
||||||
|
|
||||||
|
* Mon Nov 17 2008 gil <puntogil@libero.it> 1.0.1-1mamba
|
||||||
|
- package created by autospec
|
Reference in New Issue
Block a user