pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/kjs Add kjs 5.25.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/cbd1dd40f09b
branches:  trunk
changeset: 351556:cbd1dd40f09b
user:      markd <markd%pkgsrc.org@localhost>
date:      Sun Aug 21 22:27:17 2016 +0000

description:
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:

 www/kjs/DESCR                                 |    3 +
 www/kjs/Makefile                              |   18 ++++
 www/kjs/PLIST                                 |  109 ++++++++++++++++++++++++++
 www/kjs/buildlink3.mk                         |   14 +++
 www/kjs/distinfo                              |    8 +
 www/kjs/patches/patch-src_kjs_JSImmediate.h   |   13 +++
 www/kjs/patches/patch-src_wtf_DisallowCType.h |   19 ++++
 7 files changed, 184 insertions(+), 0 deletions(-)

diffs (212 lines):

diff -r e6be2c00c392 -r cbd1dd40f09b www/kjs/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/kjs/DESCR     Sun Aug 21 22:27:17 2016 +0000
@@ -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 -r e6be2c00c392 -r cbd1dd40f09b www/kjs/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/kjs/Makefile  Sun Aug 21 22:27:17 2016 +0000
@@ -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 -r e6be2c00c392 -r cbd1dd40f09b www/kjs/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/kjs/PLIST     Sun Aug 21 22:27:17 2016 +0000
@@ -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 -r e6be2c00c392 -r cbd1dd40f09b www/kjs/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/kjs/buildlink3.mk     Sun Aug 21 22:27:17 2016 +0000
@@ -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 -r e6be2c00c392 -r cbd1dd40f09b www/kjs/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/kjs/distinfo  Sun Aug 21 22:27:17 2016 +0000
@@ -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 -r e6be2c00c392 -r cbd1dd40f09b www/kjs/patches/patch-src_kjs_JSImmediate.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/kjs/patches/patch-src_kjs_JSImmediate.h       Sun Aug 21 22:27:17 2016 +0000
@@ -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 -r e6be2c00c392 -r cbd1dd40f09b www/kjs/patches/patch-src_wtf_DisallowCType.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/kjs/patches/patch-src_wtf_DisallowCType.h     Sun Aug 21 22:27:17 2016 +0000
@@ -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



Home | Main Index | Thread Index | Old Index