summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authormarkd <markd>2016-08-21 22:27:17 +0000
committermarkd <markd>2016-08-21 22:27:17 +0000
commit1dedb7257eb43c1e80a7fb8438e2059a314480a6 (patch)
treefca3f898655d1852ffd846a49eeae436e860fdab /www
parentaac2dc6a8ccf626d44ead2c3ad940c9dc2b907ef (diff)
downloadpkgsrc-1dedb7257eb43c1e80a7fb8438e2059a314480a6.tar.gz
Add kjs 5.25.0
KDE Framework 5 porting aid This library provides an ECMAScript compatible interpreter. The ECMA standard is based on well known scripting languages such as Netscape's JavaScript and Microsoft's JScript.
Diffstat (limited to 'www')
-rw-r--r--www/kjs/DESCR3
-rw-r--r--www/kjs/Makefile18
-rw-r--r--www/kjs/PLIST109
-rw-r--r--www/kjs/buildlink3.mk14
-rw-r--r--www/kjs/distinfo8
-rw-r--r--www/kjs/patches/patch-src_kjs_JSImmediate.h13
-rw-r--r--www/kjs/patches/patch-src_wtf_DisallowCType.h19
7 files changed, 184 insertions, 0 deletions
diff --git a/www/kjs/DESCR b/www/kjs/DESCR
new file mode 100644
index 00000000000..b311d4b9b69
--- /dev/null
+++ b/www/kjs/DESCR
@@ -0,0 +1,3 @@
+This library provides an ECMAScript compatible interpreter. The ECMA standard
+is based on well known scripting languages such as Netscape's JavaScript and
+Microsoft's JScript.
diff --git a/www/kjs/Makefile b/www/kjs/Makefile
new file mode 100644
index 00000000000..a93939ff52e
--- /dev/null
+++ b/www/kjs/Makefile
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile,v 1.1 2016/08/21 22:27:17 markd Exp $
+
+DISTNAME= kjs-${KF5VER}
+CATEGORIES= www
+
+HOMEPAGE= https://community.kde.org/Frameworks
+COMMENT= Support for JS scripting in applications
+LICENSE= gnu-lgpl-v2.1
+
+.include "../../meta-pkgs/kf5/Makefile.common"
+MASTER_SITES= ${MASTER_SITE_KDE:=frameworks/5.25/portingAids/}
+
+BUILD_DEPENDS+= kdoctools>=${KF5VER}:../../devel/kdoctools
+
+USE_TOOLS+= perl pkg-config
+
+.include "../../x11/qt5-qtbase/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/www/kjs/PLIST b/www/kjs/PLIST
new file mode 100644
index 00000000000..bb987955195
--- /dev/null
+++ b/www/kjs/PLIST
@@ -0,0 +1,109 @@
+@comment $NetBSD: PLIST,v 1.1 2016/08/21 22:27:17 markd Exp $
+bin/kjs5
+include/KF5/kjs/CommonIdentifiers.h
+include/KF5/kjs/CompileState.h
+include/KF5/kjs/ExecState.h
+include/KF5/kjs/JSImmediate.h
+include/KF5/kjs/JSLock.h
+include/KF5/kjs/JSType.h
+include/KF5/kjs/JSVariableObject.h
+include/KF5/kjs/JSWrapperObject.h
+include/KF5/kjs/LocalStorage.h
+include/KF5/kjs/Parser.h
+include/KF5/kjs/PropertyNameArray.h
+include/KF5/kjs/SavedBuiltins.h
+include/KF5/kjs/SymbolTable.h
+include/KF5/kjs/array_instance.h
+include/KF5/kjs/array_object.h
+include/KF5/kjs/bool_object.h
+include/KF5/kjs/collector.h
+include/KF5/kjs/commonunicode.h
+include/KF5/kjs/completion.h
+include/KF5/kjs/context.h
+include/KF5/kjs/date_object.h
+include/KF5/kjs/debugger.h
+include/KF5/kjs/dtoa.h
+include/KF5/kjs/error_object.h
+include/KF5/kjs/function.h
+include/KF5/kjs/function_object.h
+include/KF5/kjs/global.h
+include/KF5/kjs/grammar.h
+include/KF5/kjs/identifier.h
+include/KF5/kjs/internal.h
+include/KF5/kjs/interpreter.h
+include/KF5/kjs/json_object.h
+include/KF5/kjs/jsonlexer.h
+include/KF5/kjs/jsonstringify.h
+include/KF5/kjs/kjsapi_export.h
+include/KF5/kjs/kjsarguments.h
+include/KF5/kjs/kjscontext.h
+include/KF5/kjs/kjsinterpreter.h
+include/KF5/kjs/kjsobject.h
+include/KF5/kjs/kjsprototype.h
+include/KF5/kjs/lexer.h
+include/KF5/kjs/list.h
+include/KF5/kjs/lookup.h
+include/KF5/kjs/makenodes.h
+include/KF5/kjs/math_object.h
+include/KF5/kjs/nodes.h
+include/KF5/kjs/nodes2bytecode.h
+include/KF5/kjs/number_object.h
+include/KF5/kjs/object.h
+include/KF5/kjs/object_object.h
+include/KF5/kjs/operations.h
+include/KF5/kjs/package.h
+include/KF5/kjs/property_map.h
+include/KF5/kjs/property_slot.h
+include/KF5/kjs/propertydescriptor.h
+include/KF5/kjs/protect.h
+include/KF5/kjs/regexp.h
+include/KF5/kjs/regexp_object.h
+include/KF5/kjs/scope_chain.h
+include/KF5/kjs/scriptfunction.h
+include/KF5/kjs/string_object.h
+include/KF5/kjs/types.h
+include/KF5/kjs/ustring.h
+include/KF5/kjs/value.h
+include/KF5/kjs_version.h
+include/KF5/wtf/ASCIICType.h
+include/KF5/wtf/AlwaysInline.h
+include/KF5/wtf/Assertions.h
+include/KF5/wtf/DisallowCType.h
+include/KF5/wtf/FastMalloc.h
+include/KF5/wtf/Forward.h
+include/KF5/wtf/GetPtr.h
+include/KF5/wtf/HashCountedSet.h
+include/KF5/wtf/HashFunctions.h
+include/KF5/wtf/HashIterators.h
+include/KF5/wtf/HashMap.h
+include/KF5/wtf/HashSet.h
+include/KF5/wtf/HashTable.h
+include/KF5/wtf/HashTraits.h
+include/KF5/wtf/ListRefPtr.h
+include/KF5/wtf/MathExtras.h
+include/KF5/wtf/Noncopyable.h
+include/KF5/wtf/OwnArrayPtr.h
+include/KF5/wtf/OwnPtr.h
+include/KF5/wtf/PassRefPtr.h
+include/KF5/wtf/Platform.h
+include/KF5/wtf/RefCounted.h
+include/KF5/wtf/RefPtr.h
+include/KF5/wtf/RefPtrHashMap.h
+include/KF5/wtf/SharedPtr.h
+include/KF5/wtf/UnusedParam.h
+include/KF5/wtf/Vector.h
+include/KF5/wtf/VectorTraits.h
+lib/cmake/KF5JS/KF5JSConfig.cmake
+lib/cmake/KF5JS/KF5JSConfigVersion.cmake
+lib/cmake/KF5JS/KF5JSTargets-noconfig.cmake
+lib/cmake/KF5JS/KF5JSTargets.cmake
+lib/libKF5JS.so
+lib/libKF5JS.so.5
+lib/libKF5JS.so.${PKGVERSION}
+lib/libKF5JSApi.so
+lib/libKF5JSApi.so.5
+lib/libKF5JSApi.so.${PKGVERSION}
+man/man1/kjs5.1
+qt5/mkspecs/modules/qt_KJS.pri
+qt5/mkspecs/modules/qt_KJSApi.pri
+share/kf5/kjs/create_hash_table
diff --git a/www/kjs/buildlink3.mk b/www/kjs/buildlink3.mk
new file mode 100644
index 00000000000..ee82b1bdbae
--- /dev/null
+++ b/www/kjs/buildlink3.mk
@@ -0,0 +1,14 @@
+# $NetBSD: buildlink3.mk,v 1.1 2016/08/21 22:27:17 markd Exp $
+
+BUILDLINK_TREE+= kjs
+
+.if !defined(KJS_BUILDLINK3_MK)
+KJS_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.kjs+= kjs>=5.21.0
+BUILDLINK_PKGSRCDIR.kjs?= ../../www/kjs
+
+.include "../../x11/qt5-qtbase/buildlink3.mk"
+.endif # KJS_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -kjs
diff --git a/www/kjs/distinfo b/www/kjs/distinfo
new file mode 100644
index 00000000000..dad2d09458e
--- /dev/null
+++ b/www/kjs/distinfo
@@ -0,0 +1,8 @@
+$NetBSD: distinfo,v 1.1 2016/08/21 22:27:17 markd Exp $
+
+SHA1 (kjs-5.25.0.tar.xz) = d7b4fbbd18c47d88b9c2179bcccc737cb0ce05a2
+RMD160 (kjs-5.25.0.tar.xz) = 5f13517de705c4ca99306c90f0ca73439d6743f8
+SHA512 (kjs-5.25.0.tar.xz) = bdd35152d41b9ff7bf5eff5c403ee60d04b7f0ca10270e29b9101044daa000a600354fce752509e978bc82d56f2181353d7d3064de3bebf635b3ab5a9339ae6b
+Size (kjs-5.25.0.tar.xz) = 294252 bytes
+SHA1 (patch-src_kjs_JSImmediate.h) = 1d8c55b64244cca2faf97cc4367325d69794337d
+SHA1 (patch-src_wtf_DisallowCType.h) = 7fa9115842df5339a457851090b80f072cbf4944
diff --git a/www/kjs/patches/patch-src_kjs_JSImmediate.h b/www/kjs/patches/patch-src_kjs_JSImmediate.h
new file mode 100644
index 00000000000..3c2984b6bb8
--- /dev/null
+++ b/www/kjs/patches/patch-src_kjs_JSImmediate.h
@@ -0,0 +1,13 @@
+$NetBSD: patch-src_kjs_JSImmediate.h,v 1.1 2016/08/21 22:27:17 markd Exp $
+
+--- src/kjs/JSImmediate.h.orig 2016-04-03 20:34:48.000000000 +0000
++++ src/kjs/JSImmediate.h
+@@ -33,7 +33,7 @@
+ #endif
+ #include <stdlib.h>
+
+-#if PLATFORM(SOLARIS_OS)
++#if PLATFORM(SOLARIS_OS) && COMPILER(GCC) && (__GNUC__ <= 4 && __GNUC_MINOR__ < 6)
+ static inline int signbit(double x)
+ {
+ return (x < 0.0) ? 1 : 0;
diff --git a/www/kjs/patches/patch-src_wtf_DisallowCType.h b/www/kjs/patches/patch-src_wtf_DisallowCType.h
new file mode 100644
index 00000000000..9e11eecf3f5
--- /dev/null
+++ b/www/kjs/patches/patch-src_wtf_DisallowCType.h
@@ -0,0 +1,19 @@
+$NetBSD: patch-src_wtf_DisallowCType.h,v 1.1 2016/08/21 22:27:17 markd Exp $
+
+--- src/wtf/DisallowCType.h.orig 2013-05-03 23:51:02.000000000 +0000
++++ src/wtf/DisallowCType.h
+@@ -54,6 +54,7 @@
+ #undef tolower
+ #undef toupper
+
++#ifndef _LIBCPP_VERSION
+ #define isalnum WTF_Please_use_ASCIICType_instead_of_ctype_see_comment_in_ASCIICType_h
+ #define isalpha WTF_Please_use_ASCIICType_instead_of_ctype_see_comment_in_ASCIICType_h
+ #define isascii WTF_Please_use_ASCIICType_instead_of_ctype_see_comment_in_ASCIICType_h
+@@ -70,5 +71,6 @@
+ #define toascii WTF_Please_use_ASCIICType_instead_of_ctype_see_comment_in_ASCIICType_h
+ #define tolower WTF_Please_use_ASCIICType_instead_of_ctype_see_comment_in_ASCIICType_h
+ #define toupper WTF_Please_use_ASCIICType_instead_of_ctype_see_comment_in_ASCIICType_h
++#endif
+
+ #endif