[arch-commits] Commit in qt5-webkit/kde-unstable (PKGBUILD)

2017-05-02 Thread Antonio Rojas
Date: Tuesday, May 2, 2017 @ 19:08:20
  Author: arojas
Revision: 295190

Reenable docs

Modified:
  qt5-webkit/kde-unstable/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-05-02 17:10:17 UTC (rev 295189)
+++ PKGBUILD2017-05-02 19:08:20 UTC (rev 295190)
@@ -5,7 +5,7 @@
 pkgname=qt5-webkit
 _qtver=5.9.0-beta3
 pkgver=${_qtver/-/}
-pkgrel=1
+pkgrel=2
 arch=('i686' 'x86_64')
 url='http://qt-project.org/'
 license=('GPL3' 'LGPL3' 'FDL' 'custom')
@@ -34,12 +34,12 @@
 
   qmake ../${_pkgfqn}
   make
-#  make docs
+  make docs
 }
 
 package() {
   cd build
-  make INSTALL_ROOT="$pkgdir" install # install_docs
+  make INSTALL_ROOT="$pkgdir" install install_docs
 
   # Drop QMAKE_PRL_BUILD_DIR because reference the build dir
   find "$pkgdir/usr/lib" -type f -name '*.prl' \


[arch-commits] Commit in qt5-webkit/kde-unstable (PKGBUILD)

2017-04-28 Thread Antonio Rojas
Date: Friday, April 28, 2017 @ 06:54:28
  Author: arojas
Revision: 294968

libwebp 0.6 rebuild

Modified:
  qt5-webkit/kde-unstable/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-04-28 06:53:52 UTC (rev 294967)
+++ PKGBUILD2017-04-28 06:54:28 UTC (rev 294968)
@@ -5,7 +5,7 @@
 pkgname=qt5-webkit
 _qtver=5.9.0-beta2
 pkgver=${_qtver/-/}
-pkgrel=2
+pkgrel=3
 arch=('i686' 'x86_64')
 url='http://qt-project.org/'
 license=('GPL3' 'LGPL3' 'FDL' 'custom')


[arch-commits] Commit in qt5-webkit/kde-unstable (PKGBUILD)

2017-04-27 Thread Antonio Rojas
Date: Thursday, April 27, 2017 @ 08:23:46
  Author: arojas
Revision: 294897

Bump pkgrel

Modified:
  qt5-webkit/kde-unstable/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-04-27 07:17:58 UTC (rev 294896)
+++ PKGBUILD2017-04-27 08:23:46 UTC (rev 294897)
@@ -5,7 +5,7 @@
 pkgname=qt5-webkit
 _qtver=5.9.0-beta2
 pkgver=${_qtver/-/}
-pkgrel=1
+pkgrel=2
 arch=('i686' 'x86_64')
 url='http://qt-project.org/'
 license=('GPL3' 'LGPL3' 'FDL' 'custom')


[arch-commits] Commit in qt5-webkit/kde-unstable (PKGBUILD qt5-webkit-icu59.patch)

2017-04-26 Thread Antonio Rojas
Date: Wednesday, April 26, 2017 @ 20:50:24
  Author: arojas
Revision: 294847

ICU 59 rebuild

Added:
  qt5-webkit/kde-unstable/qt5-webkit-icu59.patch
Modified:
  qt5-webkit/kde-unstable/PKGBUILD

+
 PKGBUILD   |   10 +-
 qt5-webkit-icu59.patch |   73 +++
 2 files changed, 81 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-04-26 20:25:58 UTC (rev 294846)
+++ PKGBUILD2017-04-26 20:50:24 UTC (rev 294847)
@@ -16,11 +16,17 @@
 conflicts=('qt')
 groups=('qt' 'qt5')
 _pkgfqn="${pkgname/5-/}-opensource-src-${_qtver}"
-source=("http://download.qt.io/community_releases/${pkgver%.*}/${_qtver}/qtwebkit-opensource-src-${_qtver}.tar.xz;)
-sha256sums=('da5ef14d359beb1c3315c17fb00c9af447784996f39d5682c9a0741477696bd6')
+source=("http://download.qt.io/community_releases/${pkgver%.*}/${_qtver}/qtwebkit-opensource-src-${_qtver}.tar.xz;
+qt5-webkit-icu59.patch)
+sha256sums=('da5ef14d359beb1c3315c17fb00c9af447784996f39d5682c9a0741477696bd6'
+'3bc9c7202f5cb055311ffb8a14145cef89060c2f4cd5b4f4bf210bd56295')
 
 prepare() {
   mkdir -p build
+
+# Fix build with ICU 59 (PLD linux)
+  cd ${_pkgfqn}
+  patch -p1 -i ../qt5-webkit-icu59.patch
 }
 
 build() {

Added: qt5-webkit-icu59.patch
===
--- qt5-webkit-icu59.patch  (rev 0)
+++ qt5-webkit-icu59.patch  2017-04-26 20:50:24 UTC (rev 294847)
@@ -0,0 +1,73 @@
+diff --git a/Source/WTF/wtf/Compiler.h b/Source/WTF/wtf/Compiler.h
+index ead844f..e62cfd4 100644
+--- a/Source/WTF/wtf/Compiler.h
 b/Source/WTF/wtf/Compiler.h
+@@ -61,6 +61,7 @@
+ #define WTF_COMPILER_SUPPORTS_HAS_TRIVIAL_DESTRUCTOR 
__has_feature(has_trivial_destructor)
+ #define WTF_COMPILER_SUPPORTS_CXX_STRONG_ENUMS __has_feature(cxx_strong_enums)
+ #define WTF_COMPILER_SUPPORTS_CXX_REFERENCE_QUALIFIED_FUNCTIONS 
__has_feature(cxx_reference_qualified_functions)
++#define WTF_COMPILER_SUPPORTS_CXX_NEW_CHAR_TYPES 
!defined(_LIBCPP_HAS_NO_UNICODE_CHARS)
+ 
+ #endif
+ 
+@@ -142,6 +143,7 @@
+ #define WTF_COMPILER_SUPPORTS_CXX_DELETED_FUNCTIONS 1
+ #endif
+ #if GCC_VERSION_AT_LEAST(4, 5, 0)
++#define WTF_COMPILER_SUPPORTS_CXX_NEW_CHAR_TYPES 1
+ #define WTF_COMPILER_SUPPORTS_CXX_EXPLICIT_CONVERSIONS 1
+ #endif
+ #if GCC_VERSION_AT_LEAST(4, 6, 0)
+diff --git a/Source/WTF/wtf/TypeTraits.h b/Source/WTF/wtf/TypeTraits.h
+index b9e46bc..876fa45 100644
+--- a/Source/WTF/wtf/TypeTraits.h
 b/Source/WTF/wtf/TypeTraits.h
+@@ -75,6 +75,10 @@ namespace WTF {
+ #if !COMPILER(MSVC) || defined(_NATIVE_WCHAR_T_DEFINED)
+ template<> struct IsInteger{ static const bool value 
= true; };
+ #endif
++#if COMPILER_SUPPORTS(CXX_NEW_CHAR_TYPES)
++template<> struct IsInteger   { static const bool value 
= true; };
++template<> struct IsInteger   { static const bool value 
= true; };
++#endif
+ 
+ template struct IsFloatingPoint { static const bool value 
= false; };
+ template<> struct IsFloatingPoint{ static const bool value 
= true; };
+---qtwebkit-opensource-src-5.5.1/Source/JavaScriptCore/API/JSStringRef.h.orig  
2015-10-13 06:37:10.0 +0200
 qtwebkit-opensource-src-5.5.1/Source/JavaScriptCore/API/JSStringRef.h  
2017-04-24 12:26:42.495345570 +0200
+@@ -32,6 +32,7 @@
+ #include 
+ #endif
+ #include  /* for size_t */
++#include 
+ 
+ #ifdef __cplusplus
+ extern "C" {
+@@ -43,7 +44,7 @@
+ @typedef JSChar
+ @abstract A Unicode character.
+ */
+-typedef unsigned short JSChar;
++typedef char16_t JSChar;
+ #else
+ typedef wchar_t JSChar;
+ #endif
+--- qtwebkit-opensource-src-5.5.1/Source/WebKit2/Shared/API/c/WKString.h.orig  
2015-10-13 06:37:12.0 +0200
 qtwebkit-opensource-src-5.5.1/Source/WebKit2/Shared/API/c/WKString.h   
2017-04-24 12:27:33.432011867 +0200
+@@ -31,6 +31,7 @@
+ #ifndef __cplusplus
+ #include 
+ #endif
++#include 
+ 
+ #ifdef __cplusplus
+ extern "C" {
+@@ -38,7 +39,7 @@
+ 
+ #if !defined(WIN32) && !defined(_WIN32) \
+ && !((defined(__CC_ARM) || defined(__ARMCC__)) && !defined(__linux__)) /* 
RVCT */
+-typedef unsigned short WKChar;
++typedef char16_t WKChar;
+ #else
+ typedef wchar_t WKChar;
+ #endif


[arch-commits] Commit in qt5-webkit/kde-unstable (PKGBUILD)

2017-01-02 Thread Antonio Rojas
Date: Monday, January 2, 2017 @ 21:07:06
  Author: arojas
Revision: 285225

Fix build

Modified:
  qt5-webkit/kde-unstable/PKGBUILD

--+
 PKGBUILD |   10 +++---
 1 file changed, 7 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-01-02 20:29:32 UTC (rev 285224)
+++ PKGBUILD2017-01-02 21:07:06 UTC (rev 285225)
@@ -16,17 +16,21 @@
 conflicts=('qt')
 groups=('qt' 'qt5')
 _pkgfqn="${pkgname/5-/}-opensource-src-${_qtver}"
-source=("http://download.qt.io/community_releases/${pkgver%.*}/${_qtver}/qtwebkit-opensource-src-${_qtver}.tar.xz;)
-md5sums=('0d65d15c20d62e0a095d3ad8553b2905')
+source=("http://download.qt.io/community_releases/${pkgver%.*}/${_qtver}/qtwebkit-opensource-src-${_qtver}.tar.xz;
 qt5-webkit-5.8.patch)
+md5sums=('0d65d15c20d62e0a095d3ad8553b2905'
+ '7aee65743e66fb29ee4835e6c600b1ad')
 
 prepare() {
   mkdir -p build
+
+# Fix build
+  cd $_pkgfqn
+  patch -p1 -i ../qt5-webkit-5.8.patch
 }
 
 build() {
   cd build  
 
-  export PATH="${srcdir}/bin:$PATH"
   qmake ../${_pkgfqn}
   make
   make docs