pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
kjs: Add kjs 5.21.0
Module Name: pkgsrc-wip
Committed By: Mark Davies <mark%ecs.vuw.ac.nz@localhost>
Pushed By: markd
Date: Mon May 9 23:23:13 2016 +1200
Changeset: 2e485223530a3bd8a771b007f7e5c9b04e8b4630
Added Files:
kjs/DESCR
kjs/Makefile
kjs/PLIST
kjs/buildlink3.mk
kjs/distinfo
kjs/patches/patch-src_kjs_JSImmediate.h
kjs/patches/patch-src_wtf_DisallowCType.h
Log Message:
kjs: Add kjs 5.21.0
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.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=2e485223530a3bd8a771b007f7e5c9b04e8b4630
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
kjs/DESCR | 3 +
kjs/Makefile | 18 +++++
kjs/PLIST | 109 ++++++++++++++++++++++++++++++
kjs/buildlink3.mk | 14 ++++
kjs/distinfo | 8 +++
kjs/patches/patch-src_kjs_JSImmediate.h | 13 ++++
kjs/patches/patch-src_wtf_DisallowCType.h | 19 ++++++
7 files changed, 184 insertions(+)
diffs:
diff --git a/kjs/DESCR b/kjs/DESCR
new file mode 100644
index 0000000..b311d4b
--- /dev/null
+++ b/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/kjs/Makefile b/kjs/Makefile
new file mode 100644
index 0000000..1f80102
--- /dev/null
+++ b/kjs/Makefile
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile,v 1.25 2016/01/10 20:01:05 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 "../../wip/kf5/Makefile.common"
+MASTER_SITES= ${MASTER_SITE_KDE:=frameworks/5.21/portingAids/}
+
+BUILD_DEPENDS+= kdoctools>=${KF5VER}:../../wip/kdoctools
+
+USE_TOOLS+= perl pkg-config
+
+.include "../../x11/qt5-qtbase/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/kjs/PLIST b/kjs/PLIST
new file mode 100644
index 0000000..cf9610d
--- /dev/null
+++ b/kjs/PLIST
@@ -0,0 +1,109 @@
+@comment $NetBSD$
+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/kjs/buildlink3.mk b/kjs/buildlink3.mk
new file mode 100644
index 0000000..2d7a12f
--- /dev/null
+++ b/kjs/buildlink3.mk
@@ -0,0 +1,14 @@
+# $NetBSD$
+
+BUILDLINK_TREE+= kjs
+
+.if !defined(KJS_BUILDLINK3_MK)
+KJS_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.kjs+= kjs>=5.21.0
+BUILDLINK_PKGSRCDIR.kjs?= ../../wip/kjs
+
+.include "../../x11/qt5-qtbase/buildlink3.mk"
+.endif # KJS_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -kjs
diff --git a/kjs/distinfo b/kjs/distinfo
new file mode 100644
index 0000000..5ac9381
--- /dev/null
+++ b/kjs/distinfo
@@ -0,0 +1,8 @@
+$NetBSD$
+
+SHA1 (kjs-5.21.0.tar.xz) = 5dc4fdcd82b8e1e09dab501c87ea1150ba8efced
+RMD160 (kjs-5.21.0.tar.xz) = 41b8731923895da6490d1c1db63d5d389bbe5b4d
+SHA512 (kjs-5.21.0.tar.xz) = a12340b5d9e958090f3ffa29b8713ebe44e1d93e2fdcdd8a45f07dda11adf9656ec38416c6d54aa781f5b7a9e5afa8fa76db4836a0fa3e1028a952590ddddbeb
+Size (kjs-5.21.0.tar.xz) = 290792 bytes
+SHA1 (patch-src_kjs_JSImmediate.h) = 1d8c55b64244cca2faf97cc4367325d69794337d
+SHA1 (patch-src_wtf_DisallowCType.h) = 7fa9115842df5339a457851090b80f072cbf4944
diff --git a/kjs/patches/patch-src_kjs_JSImmediate.h b/kjs/patches/patch-src_kjs_JSImmediate.h
new file mode 100644
index 0000000..2c2ecc8
--- /dev/null
+++ b/kjs/patches/patch-src_kjs_JSImmediate.h
@@ -0,0 +1,13 @@
+$NetBSD: patch-kjs_JSImmediate.h,v 1.3 2012/03/31 21:46:55 hans 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/kjs/patches/patch-src_wtf_DisallowCType.h b/kjs/patches/patch-src_wtf_DisallowCType.h
new file mode 100644
index 0000000..d47cc29
--- /dev/null
+++ b/kjs/patches/patch-src_wtf_DisallowCType.h
@@ -0,0 +1,19 @@
+$NetBSD: patch-kjs_wtf_DisallowCType.h,v 1.1 2013/05/06 15:03:19 joerg 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
Home |
Main Index |
Thread Index |
Old Index