pkgsrc-Changes archive

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

CVS commit: pkgsrc/www/kjs



Module Name:    pkgsrc
Committed By:   markd
Date:           Sun Aug 21 22:27:17 UTC 2016

Added Files:
        pkgsrc/www/kjs: DESCR Makefile PLIST buildlink3.mk distinfo
        pkgsrc/www/kjs/patches: patch-src_kjs_JSImmediate.h
            patch-src_wtf_DisallowCType.h

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/www/kjs/DESCR pkgsrc/www/kjs/Makefile \
    pkgsrc/www/kjs/PLIST pkgsrc/www/kjs/buildlink3.mk pkgsrc/www/kjs/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/www/kjs/patches/patch-src_kjs_JSImmediate.h \
    pkgsrc/www/kjs/patches/patch-src_wtf_DisallowCType.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/www/kjs/DESCR
diff -u /dev/null pkgsrc/www/kjs/DESCR:1.1
--- /dev/null   Sun Aug 21 22:27:17 2016
+++ pkgsrc/www/kjs/DESCR        Sun Aug 21 22:27:17 2016
@@ -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.
Index: pkgsrc/www/kjs/Makefile
diff -u /dev/null pkgsrc/www/kjs/Makefile:1.1
--- /dev/null   Sun Aug 21 22:27:17 2016
+++ pkgsrc/www/kjs/Makefile     Sun Aug 21 22:27:17 2016
@@ -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"
Index: pkgsrc/www/kjs/PLIST
diff -u /dev/null pkgsrc/www/kjs/PLIST:1.1
--- /dev/null   Sun Aug 21 22:27:17 2016
+++ pkgsrc/www/kjs/PLIST        Sun Aug 21 22:27:17 2016
@@ -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
Index: pkgsrc/www/kjs/buildlink3.mk
diff -u /dev/null pkgsrc/www/kjs/buildlink3.mk:1.1
--- /dev/null   Sun Aug 21 22:27:17 2016
+++ pkgsrc/www/kjs/buildlink3.mk        Sun Aug 21 22:27:17 2016
@@ -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
Index: pkgsrc/www/kjs/distinfo
diff -u /dev/null pkgsrc/www/kjs/distinfo:1.1
--- /dev/null   Sun Aug 21 22:27:17 2016
+++ pkgsrc/www/kjs/distinfo     Sun Aug 21 22:27:17 2016
@@ -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

Index: pkgsrc/www/kjs/patches/patch-src_kjs_JSImmediate.h
diff -u /dev/null pkgsrc/www/kjs/patches/patch-src_kjs_JSImmediate.h:1.1
--- /dev/null   Sun Aug 21 22:27:17 2016
+++ pkgsrc/www/kjs/patches/patch-src_kjs_JSImmediate.h  Sun Aug 21 22:27:17 2016
@@ -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;
Index: pkgsrc/www/kjs/patches/patch-src_wtf_DisallowCType.h
diff -u /dev/null pkgsrc/www/kjs/patches/patch-src_wtf_DisallowCType.h:1.1
--- /dev/null   Sun Aug 21 22:27:17 2016
+++ pkgsrc/www/kjs/patches/patch-src_wtf_DisallowCType.h        Sun Aug 21 22:27:17 2016
@@ -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