Index: lang/gjs/Makefile =================================================================== --- lang/gjs/Makefile +++ lang/gjs/Makefile @@ -2,8 +2,7 @@ # $FreeBSD$ PORTNAME= gjs -PORTVERSION= 1.44.0 -PORTREVISION= 2 +PORTVERSION= 1.50.1 CATEGORIES= lang gnome MASTER_SITES= GNOME DIST_SUBDIR= gnome3 @@ -11,20 +10,21 @@ MAINTAINER= gnome@FreeBSD.org COMMENT= GNOME Javascript binding -LIB_DEPENDS= libdbus-glib-1.so:devel/dbus-glib \ - libmozjs-24.so:lang/spidermonkey24 +LICENSE= MPL11 LGPL20+ GPLv2+ +LICENSE_COMB= multi +LICENSE_FILE_MPL11= ${WRKSRC}/COPYING +LICENSE_FILE_LGPL20+= ${WRKSRC}/COPYING.LGPL +LIB_DEPENDS= libmozjs-52.so:lang/spidermonkey52 \ + libffi.so:devel/libffi + USES= compiler:c++11-lib gettext gmake gnome libtool \ - pathfix pkgconfig python:build tar:xz -USE_GNOME= cairo glib20 gnomeprefix introspection:build \ - intlhack + localbase pathfix pkgconfig python:build readline tar:xz +USE_GNOME= cairo gdkpixbuf2 gtk30 introspection +USE_XORG= x11 xext GNU_CONFIGURE= yes +CONFIGURE_ARGS= --with-pkgconfigdir=${PREFIX}/libdata/pkgconfig USE_LDCONFIG= yes -CPPFLAGS+= -I${LOCALBASE}/include -LIBS+= -L${LOCALBASE}/lib INSTALL_TARGET= install-strip - -post-install: - @${RM} -r ${STAGEDIR}${PREFIX}/libexec/gjs .include Index: lang/gjs/distinfo =================================================================== --- lang/gjs/distinfo +++ lang/gjs/distinfo @@ -1,2 +1,3 @@ -SHA256 (gnome3/gjs-1.44.0.tar.xz) = 88c960f6ad47a6931d123f5d6317d13704f58572f68a4391913a254ff27dce80 -SIZE (gnome3/gjs-1.44.0.tar.xz) = 486144 +TIMESTAMP = 1507579603 +SHA256 (gnome3/gjs-1.50.1.tar.xz) = 41519fd63978745d17dbccb688a55f1850a7ba72f3c86274ca985d88dbff9fdf +SIZE (gnome3/gjs-1.50.1.tar.xz) = 623620 Index: lang/gjs/pkg-plist =================================================================== --- lang/gjs/pkg-plist +++ lang/gjs/pkg-plist @@ -1,37 +1,12 @@ bin/gjs bin/gjs-console -include/gjs-1.0/gi/arg.h -include/gjs-1.0/gi/boxed.h -include/gjs-1.0/gi/closure.h -include/gjs-1.0/gi/enumeration.h -include/gjs-1.0/gi/foreign.h -include/gjs-1.0/gi/function.h -include/gjs-1.0/gi/fundamental.h -include/gjs-1.0/gi/gerror.h -include/gjs-1.0/gi/gtype.h -include/gjs-1.0/gi/interface.h -include/gjs-1.0/gi/keep-alive.h -include/gjs-1.0/gi/ns.h -include/gjs-1.0/gi/object.h -include/gjs-1.0/gi/param.h -include/gjs-1.0/gi/repo.h -include/gjs-1.0/gi/union.h -include/gjs-1.0/gi/value.h -include/gjs-1.0/gjs/byteArray.h -include/gjs-1.0/gjs/compat.h include/gjs-1.0/gjs/context.h include/gjs-1.0/gjs/coverage.h -include/gjs-1.0/gjs/gjs-module.h include/gjs-1.0/gjs/gjs.h -include/gjs-1.0/gjs/importer.h -include/gjs-1.0/gjs/jsapi-util.h -include/gjs-1.0/gjs/mem.h -include/gjs-1.0/gjs/native.h -include/gjs-1.0/gjs/runtime.h -include/gjs-1.0/gjs/type-module.h +include/gjs-1.0/gjs/macros.h +include/gjs-1.0/util/error.h lib/gjs/girepository-1.0/GjsPrivate-1.0.typelib lib/libgjs.so lib/libgjs.so.0 lib/libgjs.so.0.0.0 libdata/pkgconfig/gjs-1.0.pc -libdata/pkgconfig/gjs-internals-1.0.pc Index: lang/spidermonkey52/Makefile =================================================================== --- /dev/null +++ lang/spidermonkey52/Makefile @@ -0,0 +1,94 @@ +# Created by: Kubilay Kocak +# $FreeBSD$ + +PORTNAME= spidermonkey +PORTVERSION= 52.4.1 +PORTREVISION= 0 +CATEGORIES= lang +MASTER_SITES= MOZILLA/firefox/releases/${PORTVERSION}esr/source +DISTNAME= firefox-${PORTVERSION}esr.source +PKGNAMESUFFIX= ${SP_VER} + +MAINTAINER= kwm@FreeBSD.org +COMMENT= Standalone JavaScript based from Mozilla ${SP_VER}-esr + +BUILD_DEPENDS= autoconf-2.13:devel/autoconf213 +LIB_DEPENDS= libnspr4.so:devel/nspr \ + libicudata.so:devel/icu + +HAS_CONFIGURE= yes +USES= compiler:c++14-lang gmake pathfix perl5 pkgconfig \ + python:2.7,build tar:xz +USE_PERL5= build +USE_LDCONFIG= yes +SP_VER= 52 + +WRKSRC= ${WRKDIR}/firefox-${PORTVERSION}esr/js/src +PATCH_WRKSRC= ${WRKDIR}/firefox-${PORTVERSION}esr/ + +CONFIGURE_ARGS= --with-pthreads \ + --target=${CONFIGURE_TARGET} \ + --with-intl-api \ + --with-system-zlib \ + --disable-gold \ + --with-system-icu \ + --with-system-nspr + +OPTIONS_DEFINE= DEBUG GCZEAL JEMALLOC OPTIMIZE READLINE \ + UTF8 DTRACE +OPTIONS_DEFAULT=READLINE +OPTIONS_SUB= yes + +DEBUG_CONFIGURE_ENABLE= debug debug-symbols +DEBUG_CONFIGURE_DISABLE=debug + +DTRACE_CONFIGURE_ENABLE=dtrace profiling +DTRACE_LIBS= -lelf + +GCZEAL_DESC= Enable Zealous garbage collecting +GCZEAL_CONFIGURE_ENABLE=gczeal + +JEMALLOC_DESC= Use jemalloc as memory allocator +JEMALLOC_CONFIGURE_ENABLE= jemalloc + +OPTIMIZE_DESC= Enable compiler optimizations +OPTIMIZE_CONFIGURE_ENABLE= optimize + +READLINE_DESC= Link js shell to system readline library +READLINE_USES= readline +READLINE_CONFIGURE_ENABLE= readline + +UTF8_DESC= Treat strings as UTF8 instead of ISO-8859-1 +UTF8_CFLAGS= -DJS_C_STRINGS_ARE_UTF8 + +.include + +.if ${ARCH} == amd64 +CONFIGURE_TARGET=x86_64-portbld-freebsd${OSREL} +.endif + +post-patch: +# Skip some tests because bundled icu differs from system + @${RM} ${WRKSRC}/tests/test262/intl402/ch10/10.2/10.2.3_b.js \ + ${WRKSRC}/tests/Intl/DateTimeFormat/format.js \ + ${WRKSRC}/tests/ecma_6/String/normalize-generateddata-part1-not-listed.js + +regression-test: build + @${ECHO_MSG} -n "===> Running jstests.py: " + @cd ${WRKSRC} && ${SETENV} TZ=PST8PDT ${PYTHON_CMD} tests/jstests.py \ + -d -s --no-progress ./js/src/shell/js +.if ${PORT_OPTIONS:MMETHODJIT} || ${PORT_OPTIONS:MTRACEJIT} + @${ECHO_MSG} -n "===> Running jit_test.py: " + @cd ${WRKSRC} && ${SETENV} TZ=PST8PDT ${PYTHON_CMD} jit-test/jit_test.py \ + -d -s --no-progress --jitflags=,m,j,mj,mjp,am,amj,amjp,amd ./js/src/shell/js +.endif + +post-install: + ${RM} ${STAGEDIR}${PREFIX}/lib/libjs_static.ajs + ${LN} -fs libmozjs-${SP_VER}.so ${STAGEDIR}${PREFIX}/lib/libmozjs-${SP_VER}.so.1 +.if ! ${PORT_OPTIONS:MDTRACE} + @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/js${SP_VER} + @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libmozjs-${SP_VER}.* +.endif + +.include Index: lang/spidermonkey52/distinfo =================================================================== --- /dev/null +++ lang/spidermonkey52/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1507633046 +SHA256 (firefox-52.4.1esr.source.tar.xz) = 96fab11b7e5bd016f80718161ee8dd8afdf989a2cd03106a148b15def2569457 +SIZE (firefox-52.4.1esr.source.tar.xz) = 211950124 Index: lang/spidermonkey52/pkg-descr =================================================================== --- /dev/null +++ lang/spidermonkey52/pkg-descr @@ -0,0 +1,3 @@ +Spidermonkey is the JavaScript interpreter from the Mozilla project. + +WWW: https://developer.mozilla.org/en-US/docs/Mozilla/Projects/SpiderMonkey Index: lang/spidermonkey52/pkg-plist =================================================================== --- /dev/null +++ lang/spidermonkey52/pkg-plist @@ -0,0 +1,157 @@ +bin/js52 +bin/js52-config +include/mozjs-52/fdlibm.h +include/mozjs-52/js-config.h +include/mozjs-52/js.msg +include/mozjs-52/js/CallArgs.h +include/mozjs-52/js/CallNonGenericMethod.h +include/mozjs-52/js/CharacterEncoding.h +include/mozjs-52/js/Class.h +include/mozjs-52/js/Conversions.h +include/mozjs-52/js/Date.h +include/mozjs-52/js/Debug.h +include/mozjs-52/js/GCAPI.h +include/mozjs-52/js/GCAnnotations.h +include/mozjs-52/js/GCHashTable.h +include/mozjs-52/js/GCPolicyAPI.h +include/mozjs-52/js/GCVariant.h +include/mozjs-52/js/GCVector.h +include/mozjs-52/js/HashTable.h +include/mozjs-52/js/HeapAPI.h +include/mozjs-52/js/Id.h +include/mozjs-52/js/Initialization.h +include/mozjs-52/js/LegacyIntTypes.h +include/mozjs-52/js/MemoryMetrics.h +include/mozjs-52/js/Principals.h +include/mozjs-52/js/ProfilingFrameIterator.h +include/mozjs-52/js/ProfilingStack.h +include/mozjs-52/js/Proxy.h +include/mozjs-52/js/Realm.h +include/mozjs-52/js/RequiredDefines.h +include/mozjs-52/js/RootingAPI.h +include/mozjs-52/js/SliceBudget.h +include/mozjs-52/js/StructuredClone.h +include/mozjs-52/js/SweepingAPI.h +include/mozjs-52/js/TraceKind.h +include/mozjs-52/js/TracingAPI.h +include/mozjs-52/js/TrackedOptimizationInfo.h +include/mozjs-52/js/TypeDecls.h +include/mozjs-52/js/UbiNode.h +include/mozjs-52/js/UbiNodeBreadthFirst.h +include/mozjs-52/js/UbiNodeCensus.h +include/mozjs-52/js/UbiNodeDominatorTree.h +include/mozjs-52/js/UbiNodePostOrder.h +include/mozjs-52/js/UbiNodeShortestPaths.h +include/mozjs-52/js/UniquePtr.h +include/mozjs-52/js/Utility.h +include/mozjs-52/js/Value.h +include/mozjs-52/js/Vector.h +include/mozjs-52/js/WeakMapPtr.h +include/mozjs-52/jsalloc.h +include/mozjs-52/jsapi.h +include/mozjs-52/jsbytecode.h +include/mozjs-52/jsclist.h +include/mozjs-52/jscpucfg.h +include/mozjs-52/jsfriendapi.h +include/mozjs-52/jsperf.h +include/mozjs-52/jsprf.h +include/mozjs-52/jsprototypes.h +include/mozjs-52/jspubtd.h +include/mozjs-52/jstypes.h +include/mozjs-52/jsversion.h +include/mozjs-52/jswrapper.h +include/mozjs-52/mozilla/Alignment.h +include/mozjs-52/mozilla/AllocPolicy.h +include/mozjs-52/mozilla/AlreadyAddRefed.h +include/mozjs-52/mozilla/Array.h +include/mozjs-52/mozilla/ArrayUtils.h +include/mozjs-52/mozilla/Assertions.h +include/mozjs-52/mozilla/Atomics.h +include/mozjs-52/mozilla/Attributes.h +include/mozjs-52/mozilla/BinarySearch.h +include/mozjs-52/mozilla/BloomFilter.h +include/mozjs-52/mozilla/BufferList.h +include/mozjs-52/mozilla/Casting.h +include/mozjs-52/mozilla/ChaosMode.h +include/mozjs-52/mozilla/Char16.h +include/mozjs-52/mozilla/CheckedInt.h +include/mozjs-52/mozilla/Compiler.h +include/mozjs-52/mozilla/Compression.h +include/mozjs-52/mozilla/DebugOnly.h +include/mozjs-52/mozilla/Decimal.h +include/mozjs-52/mozilla/EndianUtils.h +include/mozjs-52/mozilla/EnumSet.h +include/mozjs-52/mozilla/EnumTypeTraits.h +include/mozjs-52/mozilla/EnumeratedArray.h +include/mozjs-52/mozilla/EnumeratedRange.h +include/mozjs-52/mozilla/FastBernoulliTrial.h +include/mozjs-52/mozilla/FloatingPoint.h +include/mozjs-52/mozilla/Function.h +include/mozjs-52/mozilla/GuardObjects.h +include/mozjs-52/mozilla/HashFunctions.h +include/mozjs-52/mozilla/IndexSequence.h +include/mozjs-52/mozilla/IntegerPrintfMacros.h +include/mozjs-52/mozilla/IntegerRange.h +include/mozjs-52/mozilla/IntegerTypeTraits.h +include/mozjs-52/mozilla/JSONWriter.h +include/mozjs-52/mozilla/Likely.h +include/mozjs-52/mozilla/LinkedList.h +include/mozjs-52/mozilla/MacroArgs.h +include/mozjs-52/mozilla/MacroForEach.h +include/mozjs-52/mozilla/MathAlgorithms.h +include/mozjs-52/mozilla/Maybe.h +include/mozjs-52/mozilla/MaybeOneOf.h +include/mozjs-52/mozilla/MemoryChecking.h +include/mozjs-52/mozilla/MemoryReporting.h +include/mozjs-52/mozilla/Move.h +include/mozjs-52/mozilla/NotNull.h +include/mozjs-52/mozilla/NullPtr.h +include/mozjs-52/mozilla/Opaque.h +include/mozjs-52/mozilla/OperatorNewExtensions.h +include/mozjs-52/mozilla/Pair.h +include/mozjs-52/mozilla/PodOperations.h +include/mozjs-52/mozilla/Poison.h +include/mozjs-52/mozilla/Range.h +include/mozjs-52/mozilla/RangedArray.h +include/mozjs-52/mozilla/RangedPtr.h +include/mozjs-52/mozilla/ReentrancyGuard.h +include/mozjs-52/mozilla/RefCountType.h +include/mozjs-52/mozilla/RefCounted.h +include/mozjs-52/mozilla/RefPtr.h +include/mozjs-52/mozilla/ReverseIterator.h +include/mozjs-52/mozilla/RollingMean.h +include/mozjs-52/mozilla/SHA1.h +include/mozjs-52/mozilla/Saturate.h +include/mozjs-52/mozilla/ScopeExit.h +include/mozjs-52/mozilla/Scoped.h +include/mozjs-52/mozilla/SegmentedVector.h +include/mozjs-52/mozilla/SizePrintfMacros.h +include/mozjs-52/mozilla/SplayTree.h +include/mozjs-52/mozilla/Sprintf.h +include/mozjs-52/mozilla/StackWalk.h +include/mozjs-52/mozilla/StaticAnalysisFunctions.h +include/mozjs-52/mozilla/TaggedAnonymousMemory.h +include/mozjs-52/mozilla/TemplateLib.h +include/mozjs-52/mozilla/ThreadLocal.h +include/mozjs-52/mozilla/TimeStamp.h +include/mozjs-52/mozilla/ToString.h +include/mozjs-52/mozilla/Tuple.h +include/mozjs-52/mozilla/TypeTraits.h +include/mozjs-52/mozilla/TypedEnumBits.h +include/mozjs-52/mozilla/Types.h +include/mozjs-52/mozilla/UniquePtr.h +include/mozjs-52/mozilla/UniquePtrExtensions.h +include/mozjs-52/mozilla/Unused.h +include/mozjs-52/mozilla/Variant.h +include/mozjs-52/mozilla/Vector.h +include/mozjs-52/mozilla/WeakPtr.h +include/mozjs-52/mozilla/XorShift128PlusRNG.h +include/mozjs-52/mozilla/double-conversion.h +include/mozjs-52/mozilla/fallible.h +include/mozjs-52/mozilla/mozalloc.h +include/mozjs-52/mozilla/mozalloc_abort.h +include/mozjs-52/mozilla/mozalloc_oom.h +include/mozjs-52/mozilla/utils.h +lib/libmozjs-52.so +lib/libmozjs-52.so.1 +libdata/pkgconfig/mozjs-52.pc