mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-31 10:46:16 +00:00
*/*: Remove expired ports:
2021-06-23 multimedia/gxine: Uses EOL Python 2.7 via lang/spidermonkey185 2020-12-31 lang/spidermonkey185: Uses Python 2.7 which is EOLed upstream
This commit is contained in:
parent
5e1a89f370
commit
e7caeb5848
2
MOVED
2
MOVED
@ -16424,3 +16424,5 @@ lang/pypy||2021-06-26|Has expired: Uses Python 2.7 which is EOLed upstream
|
||||
databases/pypy-gdbm||2021-06-26|Has expired: Uses EOL Python 2.7 via lang/pypy
|
||||
databases/pypy-sqlite3||2021-06-26|Has expired: Uses EOL Python 2.7 via lang/pypy
|
||||
x11-toolkits/pypy-tkinter||2021-06-26|Has expired: Uses EOL Python 2.7 via lang/pypy
|
||||
multimedia/gxine||2021-06-26|Has expired: Uses EOL Python 2.7 via lang/spidermonkey185
|
||||
lang/spidermonkey185||2021-06-26|Has expired: Uses Python 2.7 which is EOLed upstream
|
||||
|
@ -334,7 +334,6 @@
|
||||
SUBDIR += snobol4
|
||||
SUBDIR += solidity
|
||||
SUBDIR += spidermonkey17
|
||||
SUBDIR += spidermonkey185
|
||||
SUBDIR += spidermonkey60
|
||||
SUBDIR += spidermonkey78
|
||||
SUBDIR += spl
|
||||
|
@ -1,129 +0,0 @@
|
||||
# Created by: Kubilay Kocak <koobs@FreeBSD.org>
|
||||
|
||||
PORTNAME= spidermonkey185
|
||||
PORTVERSION= 1.8.5
|
||||
PORTREVISION= 5
|
||||
CATEGORIES= lang
|
||||
MASTER_SITES= MOZILLA/js
|
||||
DISTNAME= js185-1.0.0
|
||||
|
||||
MAINTAINER= koobs@FreeBSD.org
|
||||
COMMENT= Standalone JavaScript (1.8.5) interpreter from Mozilla
|
||||
|
||||
BUILD_DEPENDS= zip:archivers/zip \
|
||||
autoconf-2.13:devel/autoconf213
|
||||
LIB_DEPENDS= libnspr4.so:devel/nspr
|
||||
|
||||
USES= gmake pathfix perl5 pkgconfig python:2.7,build
|
||||
GNU_CONFIGURE= yes
|
||||
USE_LDCONFIG= yes
|
||||
USE_PERL5= build
|
||||
|
||||
WRKSRC= ${WRKDIR}/js-${PORTVERSION}/js/src
|
||||
|
||||
BROKEN_aarch64= Does not compile: error: cacheFlush support is missing on this platform
|
||||
BROKEN_mips64= Does not compile: error: const union jsval_layout has no member named word
|
||||
BROKEN_riscv64= Does not compile: jsiter.cpp:270:16: cannot initialize return object of type 'bool' with an rvalue of type 'nullptr_t'
|
||||
BROKEN_sparc64= Does not build: fails to link
|
||||
BROKEN_FreeBSD_13= does not compile: cannot initialize return object of type 'bool' with an rvalue of type 'nullptr_t'
|
||||
BROKEN_FreeBSD_14= does not compile: cannot initialize return object of type 'bool' with an rvalue of type 'nullptr_t'
|
||||
|
||||
NOT_FOR_ARCHS= powerpc powerpc64
|
||||
NOT_FOR_ARCHS_REASON= PowerPC is not supported
|
||||
|
||||
CONFIGURE_ARGS= --with-pthreads \
|
||||
--with-system-nspr
|
||||
|
||||
# This comes from bsd.gecko.mk, fixes linking issues on 9.0 and higher.
|
||||
post-configure:
|
||||
${ECHO_CMD} "fenv.h" >> ${WRKSRC}/config/system-headers
|
||||
${ECHO_CMD} "pthread_np.h" >> ${WRKSRC}/config/system-headers
|
||||
|
||||
OPTIONS_DEFINE= DEBUG GCZEAL JEMALLOC METHODJIT OPTIMIZE READLINE \
|
||||
THREADSAFE TRACEJIT UTF8 \
|
||||
|
||||
OPTIONS_DEFAULT= METHODJIT OPTIMIZE READLINE THREADSAFE TRACEJIT
|
||||
|
||||
GCZEAL_DESC= Enable Zealous garbage collecting
|
||||
JEMALLOC_DESC= Use jemalloc as memory allocator
|
||||
METHODJIT_DESC= Enable method JIT support
|
||||
OPTIMIZE_DESC= Enable compiler optimizations
|
||||
READLINE_DESC= Link js shell to system readline library
|
||||
THREADSAFE_DESC= Enable multiple thread support
|
||||
TRACEJIT_DESC= Enable tracing JIT support
|
||||
UTF8_DESC= Treat strings as UTF8 instead of ISO-8859-1
|
||||
|
||||
DEBUG_CONFIGURE_ENABLE= debug
|
||||
DEBUG_CONFIGURE_ON= --enable-debug-sumbols
|
||||
GCZEAL_CONFIGURE_ENABLE= gczeal
|
||||
JEMALLOC_CONFIGURE_ENABLE= jemalloc
|
||||
METHODJIT_CONFIGURE_ENABLE= methodjit
|
||||
OPTIMIZE_CONFIGURE_ENABLE= optimize
|
||||
READLINE_CONFIGURE_ENABLE= readline
|
||||
READLINE_USES= readline
|
||||
THREADSAFE_CONFIGURE_ENABLE= threadsafe
|
||||
TRACEJIT_CONFIGURE_ENABLE= tracejit
|
||||
UTF8_CFLAGS= -DJS_C_STRINGS_ARE_UTF8
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${ARCH} == amd64
|
||||
CONFIGURE_TARGET= x86_64-portbld-freebsd${OSREL}
|
||||
.endif
|
||||
|
||||
.if ${ARCH} == "amd64"
|
||||
PLIST_SUB+= AMD64=""
|
||||
.else
|
||||
PLIST_SUB+= AMD64="@comment "
|
||||
.endif
|
||||
|
||||
.if ${ARCH} == "i386"
|
||||
PLIST_SUB+= I386=""
|
||||
.else
|
||||
PLIST_SUB+= I386="@comment "
|
||||
.endif
|
||||
|
||||
.if ${ARCH} == "arm"
|
||||
PLIST_SUB+= ARM=""
|
||||
.else
|
||||
PLIST_SUB+= ARM="@comment "
|
||||
.endif
|
||||
|
||||
.if ${ARCH} == "mips"
|
||||
PLIST_SUB+= MIPS=""
|
||||
.else
|
||||
PLIST_SUB+= MIPS="@comment "
|
||||
.endif
|
||||
|
||||
.if ${ARCH} == "powerpc" || ${ARCH} == "powerpc64"
|
||||
PLIST_SUB+= PPC=""
|
||||
.else
|
||||
PLIST_SUB+= PPC="@comment "
|
||||
.endif
|
||||
|
||||
.if ${ARCH} == "sparc64"
|
||||
PLIST_SUB+= SPARC=""
|
||||
.else
|
||||
PLIST_SUB+= SPARC="@comment "
|
||||
.endif
|
||||
|
||||
pre-configure:
|
||||
(cd ${WRKSRC} && ${LOCALBASE}/bin/autoconf-2.13)
|
||||
|
||||
do-test:
|
||||
@${ECHO_MSG} -n "===> Running jstests.py: "
|
||||
@cd ${WRKSRC} && ${SETENV} TZ=PST8PDT ${PYTHON_CMD} tests/jstests.py \
|
||||
--no-progress --worker-count=${MAKE_JOBS_NUMBER} ./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 \
|
||||
--no-progress --jitflags=,m,j,mj,mjp,am,amj,amjp,amd ./js
|
||||
.endif
|
||||
|
||||
post-install:
|
||||
${LN} -sf libmozjs185.so.1.0.0 ${STAGEDIR}${PREFIX}/lib/libmozjs185.so
|
||||
${LN} -sf libmozjs185.so.1.0.0 ${STAGEDIR}${PREFIX}/lib/libmozjs185.so.1
|
||||
${LN} -sf libmozjs185.so.1.0.0 ${STAGEDIR}${PREFIX}/lib/libmozjs185.so.1.0
|
||||
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libmozjs185.so.1.0.0
|
||||
|
||||
.include <bsd.port.mk>
|
@ -1,2 +0,0 @@
|
||||
SHA256 (js185-1.0.0.tar.gz) = 5d12f7e1f5b4a99436685d97b9b7b75f094d33580227aa998c406bbae6f2a687
|
||||
SIZE (js185-1.0.0.tar.gz) = 6164605
|
@ -1,14 +0,0 @@
|
||||
--- assembler/jit/ExecutableAllocator.h.orig 2016-09-07 UTC
|
||||
+++ assembler/jit/ExecutableAllocator.h
|
||||
@@ -391,6 +391,11 @@ public:
|
||||
{
|
||||
CacheRangeFlush(code, size, CACHE_SYNC_ALL);
|
||||
}
|
||||
+#elif WTF_CPU_ARM_TRADITIONAL && WTF_PLATFORM_FREEBSD
|
||||
+ static void cacheFlush(void* code, size_t size)
|
||||
+ {
|
||||
+ __clear_cache(code, reinterpret_cast<char*>(code) + size);
|
||||
+ }
|
||||
#else
|
||||
#error "The cacheFlush support is missing on this platform."
|
||||
#endif
|
@ -1,18 +0,0 @@
|
||||
--- ./assembler/wtf/Platform.h.orig 2016-09-07 UTC
|
||||
+++ ./assembler/wtf/Platform.h
|
||||
@@ -213,6 +213,7 @@
|
||||
#elif defined(__ARM_ARCH_6__) \
|
||||
|| defined(__ARM_ARCH_6J__) \
|
||||
|| defined(__ARM_ARCH_6K__) \
|
||||
+ || defined(__ARM_ARCH_6KZ__) \
|
||||
|| defined(__ARM_ARCH_6Z__) \
|
||||
|| defined(__ARM_ARCH_6ZK__) \
|
||||
|| defined(__ARM_ARCH_6T2__) \
|
||||
@@ -243,6 +244,7 @@
|
||||
|
||||
#elif defined(__ARM_ARCH_6J__) \
|
||||
|| defined(__ARM_ARCH_6K__) \
|
||||
+ || defined(__ARM_ARCH_6KZ__) \
|
||||
|| defined(__ARM_ARCH_6Z__) \
|
||||
|| defined(__ARM_ARCH_6ZK__) \
|
||||
|| defined(__ARM_ARCH_6M__)
|
File diff suppressed because it is too large
Load Diff
@ -1,291 +0,0 @@
|
||||
jsapi.cpp:3988:16: error: cannot initialize return object of type 'JSIdArray *' with an rvalue of type 'bool'
|
||||
return false;
|
||||
^~~~~
|
||||
jsarray.cpp:497:1: error: non-constant-expression cannot be narrowed from type 'intptr_t' (aka 'long') to 'uintptr_t' (aka 'unsigned long') in initializer list [-Wc++11-narrowing]
|
||||
JS_DEFINE_CALLINFO_3(extern, BOOL, js_EnsureDenseArrayCapacity, CONTEXT, OBJECT, INT32,
|
||||
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
./jsbuiltins.h:350:5: note: expanded from macro 'JS_DEFINE_CALLINFO_3'
|
||||
_JS_DEFINE_CALLINFO(linkage, op, \
|
||||
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
./jsbuiltins.h:294:11: note: expanded from macro '_JS_DEFINE_CALLINFO'
|
||||
{ (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \
|
||||
^~~~~~~~~~~~~~~~
|
||||
jsfun.cpp:2054:16: error: cannot initialize return object of type 'JSString *' with an rvalue of type 'bool'
|
||||
return false;
|
||||
^~~~~
|
||||
jsfun.cpp:2660:20: error: cannot initialize return object of type 'const js::Shape *' with an rvalue of type 'bool'
|
||||
return false;
|
||||
^~~~~
|
||||
jsiter.cpp:428:20: error: cannot initialize return object of type 'JSObject *' with an rvalue of type 'bool'
|
||||
return false;
|
||||
^~~~~
|
||||
jsparse.cpp:3355:20: error: cannot initialize return object of type 'JSParseNode *' with an rvalue of type 'bool'
|
||||
return false;
|
||||
^~~~~
|
||||
jsstr.cpp:1737:24: error: cannot initialize return object of type 'const RegExpPair *' with an rvalue of type 'bool'
|
||||
return false;
|
||||
^~~~~
|
||||
jsstr.cpp:3403:16: error: cannot initialize return object of type 'JSObject *' with an rvalue of type 'JSIntn' (aka 'int')
|
||||
return JS_FALSE;
|
||||
^~~~~~~~
|
||||
./jstypes.h:395:18: note: expanded from macro 'JS_FALSE'
|
||||
#define JS_FALSE (JSIntn)0
|
||||
^~~~~~~~~
|
||||
jstypedarray.cpp:1337:20: error: cannot initialize return object of type 'JSObject *' with an rvalue of type 'bool'
|
||||
return false;
|
||||
^~~~~
|
||||
jstypedarray.cpp:1671:16: error: cannot initialize return object of type 'JSObject *' with an rvalue of type 'bool'
|
||||
return false;
|
||||
^~~~~
|
||||
jsxml.cpp:285:16: error: cannot initialize return object of type 'JSObject *' with an rvalue of type 'JSIntn' (aka 'int')
|
||||
return JS_FALSE;
|
||||
^~~~~~~~
|
||||
jsxml.cpp:434:20: error: cannot initialize return object of type 'JSString *' with an rvalue of type 'JSIntn' (aka 'int')
|
||||
return JS_FALSE;
|
||||
^~~~~~~~
|
||||
./jstypes.h:395:18: note: expanded from macro 'JS_FALSE'
|
||||
#define JS_FALSE (JSIntn)0
|
||||
^~~~~~~~~
|
||||
./methodjit/InvokeHelpers.cpp:731:16: error: cannot initialize return object of type 'void *' with an rvalue of type 'bool'
|
||||
return false;
|
||||
^~~~~
|
||||
./nanojit/NativeX64.cpp:1902:59: error: constant expression evaluates to 9223372036854775808 which cannot be narrowed to type 'int64_t' (aka 'long') [-Wc++11-narrowing]
|
||||
static const AVMPLUS_ALIGN16(int64_t) negateMask[] = {0x8000000000000000LL,0};
|
||||
^~~~~~~~~~~~~~~~~~~~
|
||||
./nanojit/NativeX64.cpp:1902:59: note: insert an explicit cast to silence this issue
|
||||
static const AVMPLUS_ALIGN16(int64_t) negateMask[] = {0x8000000000000000LL,0};
|
||||
^~~~~~~~~~~~~~~~~~~~
|
||||
static_cast<int64_t>( )
|
||||
./nanojit/RegAlloc.h:189:24: error: non-constant-expression cannot be narrowed from type 'int' to 'nanojit::Register' (aka 'unsigned int') in initializer list [-Wc++11-narrowing]
|
||||
Register r = { (sizeof(RegisterMask) == 4) ? lsbSet32(mask) : lsbSet64(mask) };
|
||||
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
./nanojit/RegAlloc.h:189:24: note: insert an explicit cast to silence this issue
|
||||
Register r = { (sizeof(RegisterMask) == 4) ? lsbSet32(mask) : lsbSet64(mask) };
|
||||
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
static_cast<Register>( )
|
||||
./nanojit/RegAlloc.h:197:24: error: non-constant-expression cannot be narrowed from type 'int' to 'nanojit::Register' (aka 'unsigned int') in initializer list [-Wc++11-narrowing]
|
||||
Register r = { (sizeof(RegisterMask) == 4) ? msbSet32(mask) : msbSet64(mask) };
|
||||
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
./nanojit/RegAlloc.h:197:24: note: insert an explicit cast to silence this issue
|
||||
Register r = { (sizeof(RegisterMask) == 4) ? msbSet32(mask) : msbSet64(mask) };
|
||||
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
static_cast<Register>( )
|
||||
|
||||
--- jsapi.cpp.orig 2011-03-31 19:08:36 UTC
|
||||
+++ jsapi.cpp
|
||||
@@ -3985,7 +3985,7 @@ JS_Enumerate(JSContext *cx, JSObject *obj)
|
||||
AutoIdVector props(cx);
|
||||
JSIdArray *ida;
|
||||
if (!GetPropertyNames(cx, obj, JSITER_OWNONLY, &props) || !VectorToIdArray(cx, props, &ida))
|
||||
- return false;
|
||||
+ return NULL;
|
||||
for (size_t n = 0; n < size_t(ida->length); ++n)
|
||||
JS_ASSERT(js_CheckForStringIndex(ida->vector[n]) == ida->vector[n]);
|
||||
return ida;
|
||||
--- jsbuiltins.h.orig 2011-03-31 19:08:36 UTC
|
||||
+++ jsbuiltins.h
|
||||
@@ -284,14 +284,14 @@ struct ClosureVarInfo;
|
||||
#define _JS_DEFINE_CALLINFO(linkage, name, crtype, cargtypes, argtypes, isPure, storeAccSet) \
|
||||
_JS_TN_LINKAGE(linkage, crtype) name cargtypes; \
|
||||
_JS_CI_LINKAGE(linkage) const nanojit::CallInfo _JS_CALLINFO(name) = \
|
||||
- { (intptr_t) &name, argtypes, nanojit::ABI_CDECL, isPure, storeAccSet _JS_CI_NAME(name) };\
|
||||
+ { (uintptr_t) &name, argtypes, nanojit::ABI_CDECL, isPure, storeAccSet _JS_CI_NAME(name) };\
|
||||
JS_STATIC_ASSERT_IF(isPure, (storeAccSet) == nanojit::ACCSET_NONE);
|
||||
|
||||
#else
|
||||
#define _JS_DEFINE_CALLINFO(linkage, name, crtype, cargtypes, argtypes, isPure, storeAccSet) \
|
||||
_JS_TN_LINKAGE(linkage, crtype) FASTCALL name cargtypes; \
|
||||
_JS_CI_LINKAGE(linkage) const nanojit::CallInfo _JS_CALLINFO(name) = \
|
||||
- { (intptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \
|
||||
+ { (uintptr_t) &name, argtypes, nanojit::ABI_FASTCALL, isPure, storeAccSet _JS_CI_NAME(name) }; \
|
||||
JS_STATIC_ASSERT_IF(isPure, (storeAccSet) == nanojit::ACCSET_NONE);
|
||||
#endif
|
||||
|
||||
--- jsfun.cpp.orig 2011-03-31 19:08:36 UTC
|
||||
+++ jsfun.cpp
|
||||
@@ -2051,7 +2051,7 @@ fun_toStringHelper(JSContext *cx, JSObject *obj, uintN
|
||||
|
||||
JSString *str = JS_DecompileFunction(cx, fun, indent);
|
||||
if (!str)
|
||||
- return false;
|
||||
+ return NULL;
|
||||
|
||||
if (!indent)
|
||||
cx->compartment->toSourceCache.put(fun, str);
|
||||
@@ -2657,7 +2657,7 @@ LookupInterpretedFunctionPrototype(JSContext *cx, JSOb
|
||||
const Shape *shape = funobj->nativeLookup(id);
|
||||
if (!shape) {
|
||||
if (!ResolveInterpretedFunctionPrototype(cx, funobj))
|
||||
- return false;
|
||||
+ return NULL;
|
||||
shape = funobj->nativeLookup(id);
|
||||
}
|
||||
JS_ASSERT(!shape->configurable());
|
||||
--- jsiter.cpp.orig 2011-03-31 19:08:36 UTC
|
||||
+++ jsiter.cpp
|
||||
@@ -267,7 +267,7 @@ Snapshot(JSContext *cx, JSObject *obj, uintN flags, Au
|
||||
*/
|
||||
IdSet ht(cx);
|
||||
if (!ht.init(32))
|
||||
- return NULL;
|
||||
+ return false;
|
||||
|
||||
JSObject *pobj = obj;
|
||||
do {
|
||||
@@ -425,7 +425,7 @@ NewIteratorObject(JSContext *cx, uintN flags)
|
||||
*/
|
||||
JSObject *obj = js_NewGCObject(cx, FINALIZE_OBJECT0);
|
||||
if (!obj)
|
||||
- return false;
|
||||
+ return NULL;
|
||||
obj->init(cx, &js_IteratorClass, NULL, NULL, NULL, false);
|
||||
obj->setMap(cx->compartment->emptyEnumeratorShape);
|
||||
return obj;
|
||||
--- jsparse.cpp.orig 2011-03-31 19:08:36 UTC
|
||||
+++ jsparse.cpp
|
||||
@@ -1821,14 +1821,14 @@ Compiler::compileFunctionBody(JSContext *cx, JSFunctio
|
||||
|
||||
JSCodeGenerator funcg(&parser, &codePool, ¬ePool, tokenStream.getLineno());
|
||||
if (!funcg.init())
|
||||
- return NULL;
|
||||
+ return false;
|
||||
|
||||
funcg.flags |= TCF_IN_FUNCTION;
|
||||
funcg.setFunction(fun);
|
||||
funcg.bindings.transfer(cx, bindings);
|
||||
fun->setArgCount(funcg.bindings.countArgs());
|
||||
if (!GenerateBlockId(&funcg, funcg.bodyid))
|
||||
- return NULL;
|
||||
+ return false;
|
||||
|
||||
/* FIXME: make Function format the source for a function definition. */
|
||||
tokenStream.mungeCurrentToken(TOK_NAME);
|
||||
@@ -3352,7 +3352,7 @@ Parser::functionDef(JSAtom *funAtom, FunctionType type
|
||||
if (!outertc->inFunction() && bodyLevel && funAtom && !lambda && outertc->compiling()) {
|
||||
JS_ASSERT(pn->pn_cookie.isFree());
|
||||
if (!DefineGlobal(pn, outertc->asCodeGenerator(), funAtom))
|
||||
- return false;
|
||||
+ return NULL;
|
||||
}
|
||||
|
||||
pn->pn_blockid = outertc->blockid();
|
||||
@@ -5058,7 +5058,7 @@ RebindLets(JSParseNode *pn, JSTreeContext *tc)
|
||||
if (!ale) {
|
||||
ale = MakePlaceholder(pn, tc);
|
||||
if (!ale)
|
||||
- return NULL;
|
||||
+ return false;
|
||||
}
|
||||
LinkUseToDef(pn, ALE_DEFN(ale), tc);
|
||||
}
|
||||
--- jsstr.cpp.orig 2011-03-31 19:08:36 UTC
|
||||
+++ jsstr.cpp
|
||||
@@ -1734,7 +1734,7 @@ class RegExpGuard
|
||||
if (flat) {
|
||||
patstr = flattenPattern(cx, fm.patstr);
|
||||
if (!patstr)
|
||||
- return false;
|
||||
+ return NULL;
|
||||
} else {
|
||||
patstr = fm.patstr;
|
||||
}
|
||||
@@ -2276,7 +2276,7 @@ BuildDollarReplacement(JSContext *cx, JSString *textst
|
||||
{
|
||||
JSLinearString *textstr = textstrArg->ensureLinear(cx);
|
||||
if (!textstr)
|
||||
- return NULL;
|
||||
+ return false;
|
||||
|
||||
JS_ASSERT(repstr->chars() <= firstDollar && firstDollar < repstr->chars() + repstr->length());
|
||||
size_t matchStart = fm.match();
|
||||
@@ -3400,7 +3400,7 @@ js_InitStringClass(JSContext *cx, JSObject *obj)
|
||||
UndefinedValue(), NULL, NULL,
|
||||
JSPROP_READONLY | JSPROP_PERMANENT | JSPROP_SHARED, 0, 0,
|
||||
NULL)) {
|
||||
- return JS_FALSE;
|
||||
+ return NULL;
|
||||
}
|
||||
|
||||
return proto;
|
||||
--- jstypedarray.cpp.orig 2011-03-31 19:08:36 UTC
|
||||
+++ jstypedarray.cpp
|
||||
@@ -1334,7 +1334,7 @@ class TypedArrayTemplate
|
||||
if (size != 0 && count >= INT32_MAX / size) {
|
||||
JS_ReportErrorNumber(cx, js_GetErrorMessage, NULL,
|
||||
JSMSG_NEED_DIET, "size and count");
|
||||
- return false;
|
||||
+ return NULL;
|
||||
}
|
||||
|
||||
int32 bytelen = size * count;
|
||||
@@ -1668,7 +1668,7 @@ TypedArrayConstruct(JSContext *cx, jsint atype, uintN
|
||||
|
||||
default:
|
||||
JS_NOT_REACHED("shouldn't have gotten here");
|
||||
- return false;
|
||||
+ return NULL;
|
||||
}
|
||||
}
|
||||
|
||||
--- jsxml.cpp.orig 2011-03-31 19:08:36 UTC
|
||||
+++ jsxml.cpp
|
||||
@@ -282,7 +282,7 @@ NewXMLNamespace(JSContext *cx, JSLinearString *prefix,
|
||||
|
||||
obj = NewBuiltinClassInstanceXML(cx, &js_NamespaceClass);
|
||||
if (!obj)
|
||||
- return JS_FALSE;
|
||||
+ return NULL;
|
||||
JS_ASSERT(JSVAL_IS_VOID(obj->getNamePrefixVal()));
|
||||
JS_ASSERT(JSVAL_IS_VOID(obj->getNameURIVal()));
|
||||
JS_ASSERT(JSVAL_IS_VOID(obj->getNamespaceDeclared()));
|
||||
@@ -431,7 +431,7 @@ ConvertQNameToString(JSContext *cx, JSObject *obj)
|
||||
size_t length = str->length();
|
||||
jschar *chars = (jschar *) cx->malloc((length + 2) * sizeof(jschar));
|
||||
if (!chars)
|
||||
- return JS_FALSE;
|
||||
+ return NULL;
|
||||
*chars = '@';
|
||||
const jschar *strChars = str->getChars(cx);
|
||||
if (!strChars) {
|
||||
--- methodjit/InvokeHelpers.cpp.orig 2011-03-31 19:08:36 UTC
|
||||
+++ methodjit/InvokeHelpers.cpp
|
||||
@@ -728,7 +728,7 @@ AtSafePoint(JSContext *cx)
|
||||
{
|
||||
JSStackFrame *fp = cx->fp();
|
||||
if (fp->hasImacropc())
|
||||
- return false;
|
||||
+ return NULL;
|
||||
|
||||
JSScript *script = fp->script();
|
||||
return script->maybeNativeCodeForPC(fp->isConstructing(), cx->regs->pc);
|
||||
--- nanojit/NativeX64.cpp.orig 2011-03-31 19:08:36 UTC
|
||||
+++ nanojit/NativeX64.cpp
|
||||
@@ -1899,7 +1899,7 @@ namespace nanojit
|
||||
}
|
||||
}
|
||||
|
||||
- static const AVMPLUS_ALIGN16(int64_t) negateMask[] = {0x8000000000000000LL,0};
|
||||
+ static const AVMPLUS_ALIGN16(int64_t) negateMask[] = {(int64_t)0x8000000000000000LL,0};
|
||||
|
||||
void Assembler::asm_fneg(LIns *ins) {
|
||||
Register rr, ra;
|
||||
--- nanojit/RegAlloc.h.orig 2011-03-31 19:08:36 UTC
|
||||
+++ nanojit/RegAlloc.h
|
||||
@@ -186,7 +186,7 @@ namespace nanojit
|
||||
inline Register lsReg(RegisterMask mask) {
|
||||
// This is faster than it looks; we rely on the C++ optimizer
|
||||
// to strip the dead branch and inline just one alternative.
|
||||
- Register r = { (sizeof(RegisterMask) == 4) ? lsbSet32(mask) : lsbSet64(mask) };
|
||||
+ Register r = { (sizeof(RegisterMask) == 4) ? (Register)lsbSet32(mask) : (Register)lsbSet64(mask) };
|
||||
return r;
|
||||
}
|
||||
|
||||
@@ -194,7 +194,7 @@ namespace nanojit
|
||||
inline Register msReg(RegisterMask mask) {
|
||||
// This is faster than it looks; we rely on the C++ optimizer
|
||||
// to strip the dead branch and inline just one alternative.
|
||||
- Register r = { (sizeof(RegisterMask) == 4) ? msbSet32(mask) : msbSet64(mask) };
|
||||
+ Register r = { (sizeof(RegisterMask) == 4) ? (Register)msbSet32(mask) : (Register)msbSet64(mask) };
|
||||
return r;
|
||||
}
|
||||
|
@ -1,36 +0,0 @@
|
||||
--- ./configure.in.orig 2011-04-01 06:08:36.000000000 +1100
|
||||
+++ ./configure.in 2013-05-26 00:19:28.032315432 +1000
|
||||
@@ -3378,7 +3378,8 @@
|
||||
rm -f conftest.{c,S}
|
||||
])
|
||||
if test "$ac_cv_have_visibility_builtin_bug" = "no" -a \
|
||||
- "$ac_cv_have_visibility_class_bug" = "no"; then
|
||||
+ "$ac_cv_have_visibility_class_bug" = "no" -a \
|
||||
+ "$OS_ARCH" != "FreeBSD" ; then
|
||||
VISIBILITY_FLAGS='-I$(DIST)/system_wrappers_js -include $(topsrcdir)/config/gcc_hidden.h'
|
||||
WRAP_SYSTEM_INCLUDES=1
|
||||
STL_FLAGS='-I$(DIST)/stl_wrappers'
|
||||
@@ -4656,6 +4657,9 @@ MOZ_ARG_HEADER(Individual module options
|
||||
|
||||
dnl Setup default CPU arch for arm target
|
||||
case "$target_cpu" in
|
||||
+ armv6*)
|
||||
+ MOZ_ARM_ARCH=armv6
|
||||
+ ;;
|
||||
arm*)
|
||||
MOZ_ARM_ARCH=armv7
|
||||
;;
|
||||
@@ -4716,6 +4720,13 @@ elif test "$MOZ_ARM_ARCH" = "armv7"; the
|
||||
esac
|
||||
else
|
||||
case "$target_cpu" in
|
||||
+ armv6*)
|
||||
+ if test "$GNU_CC"; then
|
||||
+ CFLAGS="$CFLAGS"
|
||||
+ CXXFLAGS="$CXXFLAGS"
|
||||
+ ASFLAGS="$ASFLAGS"
|
||||
+ fi
|
||||
+ ;;
|
||||
arm*)
|
||||
if test "$GNU_CC"; then
|
||||
CFLAGS="$CFLAGS -march=armv5te -mthumb-interwork -msoft-float"
|
@ -1,48 +0,0 @@
|
||||
# HG changeset patch
|
||||
# User Ehsan Akhgari <ehsan@mozilla.com>
|
||||
# Date 1308340787 14400
|
||||
# Node ID c0e8643e8e60d1c98bff30c78e034f991f75c191
|
||||
# Parent 284ebc48b2cb8e35dc04482ede700e717d8d214f
|
||||
Bug 662962 - Silence the clang warnings issued because of alignment requirements increase when compiling jsscript.h; r=Waldo
|
||||
|
||||
--- ./jsscript.h.orig 2011-04-01 06:08:36.000000000 +1100
|
||||
+++ ./jsscript.h 2013-05-26 00:23:16.202260566 +1000
|
||||
@@ -496,32 +496,32 @@
|
||||
|
||||
JSObjectArray *objects() {
|
||||
JS_ASSERT(isValidOffset(objectsOffset));
|
||||
- return (JSObjectArray *)((uint8 *) (this + 1) + objectsOffset);
|
||||
+ return reinterpret_cast<JSObjectArray *>(uintptr_t(this + 1) + objectsOffset);
|
||||
}
|
||||
|
||||
JSUpvarArray *upvars() {
|
||||
JS_ASSERT(isValidOffset(upvarsOffset));
|
||||
- return (JSUpvarArray *) ((uint8 *) (this + 1) + upvarsOffset);
|
||||
+ return reinterpret_cast<JSUpvarArray *>(uintptr_t(this + 1) + upvarsOffset);
|
||||
}
|
||||
|
||||
JSObjectArray *regexps() {
|
||||
JS_ASSERT(isValidOffset(regexpsOffset));
|
||||
- return (JSObjectArray *) ((uint8 *) (this + 1) + regexpsOffset);
|
||||
+ return reinterpret_cast<JSObjectArray *>(uintptr_t(this + 1) + regexpsOffset);
|
||||
}
|
||||
|
||||
JSTryNoteArray *trynotes() {
|
||||
JS_ASSERT(isValidOffset(trynotesOffset));
|
||||
- return (JSTryNoteArray *) ((uint8 *) (this + 1) + trynotesOffset);
|
||||
+ return reinterpret_cast<JSTryNoteArray *>(uintptr_t(this + 1) + trynotesOffset);
|
||||
}
|
||||
|
||||
js::GlobalSlotArray *globals() {
|
||||
JS_ASSERT(isValidOffset(globalsOffset));
|
||||
- return (js::GlobalSlotArray *) ((uint8 *) (this + 1) + globalsOffset);
|
||||
+ return reinterpret_cast<js::GlobalSlotArray *>(uintptr_t(this + 1) + globalsOffset);
|
||||
}
|
||||
|
||||
JSConstArray *consts() {
|
||||
JS_ASSERT(isValidOffset(constOffset));
|
||||
- return (JSConstArray *) ((uint8 *) (this + 1) + constOffset);
|
||||
+ return reinterpret_cast<JSConstArray *>(uintptr_t(this + 1) + constOffset);
|
||||
}
|
||||
|
||||
JSAtom *getAtom(size_t index) {
|
@ -1,36 +0,0 @@
|
||||
# HG changeset patch
|
||||
# User Ehsan Akhgari <ehsan@mozilla.com>
|
||||
# Date 1308517488 14400
|
||||
# Node ID 284ebc48b2cb8e35dc04482ede700e717d8d214f
|
||||
# Parent cecc5adfc44068fb6f11b9baa78cb5fddc100b27
|
||||
Bug 662961 - Silence the clang warnings issued because of alignment requirements increase when compiling jsstr.cpp; r=Waldo
|
||||
|
||||
--- ./jsstr.cpp.orig 2013-05-26 00:44:33.383765764 +1000
|
||||
+++ ./jsstr.cpp 2013-05-26 00:46:35.842211859 +1000
|
||||
@@ -3147,7 +3147,7 @@
|
||||
*/
|
||||
#define R(c) { \
|
||||
BUILD_LENGTH_AND_FLAGS(1, JSString::FLAT | JSString::ATOMIZED), \
|
||||
- { (jschar *)(((char *)(unitStringTable + (c))) + \
|
||||
+ { (jschar *)(uintptr_t(unitStringTable + (c)) + \
|
||||
offsetof(JSString, inlineStorage)) }, \
|
||||
{ {(c), 0x00} } }
|
||||
|
||||
@@ -3207,7 +3207,7 @@
|
||||
*/
|
||||
#define R(c) { \
|
||||
BUILD_LENGTH_AND_FLAGS(2, JSString::FLAT | JSString::ATOMIZED), \
|
||||
- { (jschar *)(((char *)(length2StringTable + (c))) + \
|
||||
+ { (jschar *)(uintptr_t(length2StringTable + (c)) + \
|
||||
offsetof(JSString, inlineStorage)) }, \
|
||||
{ {FROM_SMALL_CHAR((c) >> 6), FROM_SMALL_CHAR((c) & 0x3F), 0x00} } }
|
||||
|
||||
@@ -3240,7 +3240,7 @@
|
||||
*/
|
||||
#define R(c) { \
|
||||
BUILD_LENGTH_AND_FLAGS(3, JSString::FLAT | JSString::ATOMIZED), \
|
||||
- { (jschar *)(((char *)(hundredStringTable + ((c) - 100))) + \
|
||||
+ { (jschar *)(uintptr_t(hundredStringTable + ((c) - 100)) + \
|
||||
offsetof(JSString, inlineStorage)) }, \
|
||||
{ {((c) / 100) + '0', ((c) / 10 % 10) + '0', ((c) % 10) + '0', 0x00} } }
|
||||
|
@ -1,38 +0,0 @@
|
||||
--- methodjit/MethodJIT.cpp.orig 2011-03-31 19:08:36 UTC
|
||||
+++ methodjit/MethodJIT.cpp
|
||||
@@ -189,7 +189,7 @@ JS_STATIC_ASSERT(offsetof(VMFrame, regs.fp) == 0x38);
|
||||
JS_STATIC_ASSERT(JSVAL_TAG_MASK == 0xFFFF800000000000LL);
|
||||
JS_STATIC_ASSERT(JSVAL_PAYLOAD_MASK == 0x00007FFFFFFFFFFFLL);
|
||||
|
||||
-asm volatile (
|
||||
+asm (
|
||||
".text\n"
|
||||
".globl " SYMBOL_STRING(JaegerTrampoline) "\n"
|
||||
SYMBOL_STRING(JaegerTrampoline) ":" "\n"
|
||||
@@ -236,7 +236,7 @@ SYMBOL_STRING(JaegerTrampoline) ":" "\n"
|
||||
"jmp *0(%rsp)" "\n"
|
||||
);
|
||||
|
||||
-asm volatile (
|
||||
+asm (
|
||||
".text\n"
|
||||
".globl " SYMBOL_STRING(JaegerTrampolineReturn) "\n"
|
||||
SYMBOL_STRING(JaegerTrampolineReturn) ":" "\n"
|
||||
@@ -256,7 +256,7 @@ SYMBOL_STRING(JaegerTrampolineReturn) ":" "\n"
|
||||
"ret" "\n"
|
||||
);
|
||||
|
||||
-asm volatile (
|
||||
+asm (
|
||||
".text\n"
|
||||
".globl " SYMBOL_STRING(JaegerThrowpoline) "\n"
|
||||
SYMBOL_STRING(JaegerThrowpoline) ":" "\n"
|
||||
@@ -281,7 +281,7 @@ SYMBOL_STRING(JaegerThrowpoline) ":" "\n"
|
||||
|
||||
JS_STATIC_ASSERT(offsetof(VMFrame, regs.fp) == 0x38);
|
||||
|
||||
-asm volatile (
|
||||
+asm (
|
||||
".text\n"
|
||||
".globl " SYMBOL_STRING(InjectJaegerReturn) "\n"
|
||||
SYMBOL_STRING(InjectJaegerReturn) ":" "\n"
|
@ -1,10 +0,0 @@
|
||||
--- nanojit/CodeAlloc.cpp.orig 2016-09-07 UTC
|
||||
+++ nanojit/CodeAlloc.cpp
|
||||
@@ -261,7 +261,6 @@ namespace nanojit
|
||||
#endif
|
||||
|
||||
#if defined(AVMPLUS_UNIX) && defined(NANOJIT_ARM)
|
||||
-#include <asm/unistd.h>
|
||||
extern "C" void __clear_cache(char *BEG, char *END);
|
||||
#endif
|
||||
|
@ -1,11 +0,0 @@
|
||||
--- nanojit/njcpudetect.h.orig 2016-09-07 UTC
|
||||
+++ nanojit/njcpudetect.h
|
||||
@@ -77,6 +77,8 @@
|
||||
#elif defined(__ARM_ARCH_6__) || \
|
||||
defined(__ARM_ARCH_6J__) || \
|
||||
defined(__ARM_ARCH_6T2__) || \
|
||||
+ defined(__ARM_ARCH_6K__) || \
|
||||
+ defined(__ARM_ARCH_6KZ__) || \
|
||||
defined(__ARM_ARCH_6Z__) || \
|
||||
defined(__ARM_ARCH_6ZK__) || \
|
||||
defined(__ARM_ARCH_6M__) || \
|
@ -1,3 +0,0 @@
|
||||
Spidermonkey is the JavaScript interpreter from the Mozilla project.
|
||||
|
||||
WWW: http://www.mozilla.org/js/spidermonkey/
|
@ -1,106 +0,0 @@
|
||||
bin/js-config
|
||||
include/js/Allocator.h
|
||||
include/js/Assembler.h
|
||||
include/js/CodeAlloc.h
|
||||
include/js/Containers.h
|
||||
include/js/Fragmento.h
|
||||
include/js/LIR.h
|
||||
include/js/LIRopcode.tbl
|
||||
include/js/Native.h
|
||||
include/js/NativeCommon.h
|
||||
%%ARM%%/include/js/NativeARM.h
|
||||
%%MIPS%%/include/js/NativeMIPS.h
|
||||
%%PPC%%/include/js/NativePPC.h
|
||||
%%SPARC%%/include/js/NativeSparc.h
|
||||
%%AMD64%%include/js/NativeX64.h
|
||||
%%I386%%include/js/Nativei386.h
|
||||
include/js/RegAlloc.h
|
||||
include/js/VMPI.h
|
||||
include/js/Writer.h
|
||||
include/js/avmplus.h
|
||||
include/js/js-config.h
|
||||
include/js/js.msg
|
||||
include/js/jsanalyze.h
|
||||
include/js/jsapi.h
|
||||
include/js/jsarena.h
|
||||
include/js/jsarray.h
|
||||
include/js/jsatom.h
|
||||
include/js/jsautocfg.h
|
||||
include/js/jsautokw.h
|
||||
include/js/jsbit.h
|
||||
include/js/jsbool.h
|
||||
include/js/jsbuiltins.h
|
||||
include/js/jscell.h
|
||||
include/js/jsclist.h
|
||||
include/js/jsclone.h
|
||||
include/js/jscntxt.h
|
||||
include/js/jscompartment.h
|
||||
include/js/jscompat.h
|
||||
include/js/jsdate.h
|
||||
include/js/jsdbgapi.h
|
||||
include/js/jsdhash.h
|
||||
include/js/jsdtoa.h
|
||||
include/js/jsemit.h
|
||||
include/js/jsfriendapi.h
|
||||
include/js/jsfun.h
|
||||
include/js/jsgc.h
|
||||
include/js/jsgcchunk.h
|
||||
include/js/jsgcstats.h
|
||||
include/js/jshash.h
|
||||
include/js/jshashtable.h
|
||||
include/js/jshotloop.h
|
||||
include/js/jsinterp.h
|
||||
include/js/jsinttypes.h
|
||||
include/js/jsiter.h
|
||||
include/js/jslock.h
|
||||
include/js/jslong.h
|
||||
include/js/jsmath.h
|
||||
include/js/jsobj.h
|
||||
include/js/jsobjinlines.h
|
||||
include/js/json.h
|
||||
include/js/jsopcode.h
|
||||
include/js/jsopcode.tbl
|
||||
include/js/jsopcodeinlines.h
|
||||
include/js/jsotypes.h
|
||||
include/js/jsparse.h
|
||||
include/js/jsperf.h
|
||||
include/js/jsprf.h
|
||||
include/js/jsprobes.h
|
||||
include/js/jspropertycache.h
|
||||
include/js/jspropertycacheinlines.h
|
||||
include/js/jspropertytree.h
|
||||
include/js/jsproto.tbl
|
||||
include/js/jsproxy.h
|
||||
include/js/jsprvtd.h
|
||||
include/js/jspubtd.h
|
||||
include/js/jsreflect.h
|
||||
include/js/jsregexp.h
|
||||
include/js/jsscan.h
|
||||
include/js/jsscope.h
|
||||
include/js/jsscript.h
|
||||
include/js/jsscriptinlines.h
|
||||
include/js/jsstaticcheck.h
|
||||
include/js/jsstdint.h
|
||||
include/js/jsstr.h
|
||||
include/js/jstl.h
|
||||
include/js/jstracer.h
|
||||
include/js/jstypedarray.h
|
||||
include/js/jstypes.h
|
||||
include/js/jsutil.h
|
||||
include/js/jsval.h
|
||||
include/js/jsvalue.h
|
||||
include/js/jsvector.h
|
||||
include/js/jsversion.h
|
||||
include/js/jswrapper.h
|
||||
include/js/jsxdrapi.h
|
||||
include/js/jsxml.h
|
||||
include/js/nanojit.h
|
||||
include/js/njconfig.h
|
||||
include/js/njcpudetect.h
|
||||
include/js/prmjtime.h
|
||||
lib/libmozjs185.so
|
||||
lib/libmozjs185-1.0.a
|
||||
lib/libmozjs185.so.1.0.0
|
||||
lib/libmozjs185.so.1.0
|
||||
lib/libmozjs185.so.1
|
||||
libdata/pkgconfig/mozjs185.pc
|
@ -126,7 +126,6 @@
|
||||
SUBDIR += gstreamer1-validate
|
||||
SUBDIR += gstreamermm
|
||||
SUBDIR += gtk-youtube-viewer
|
||||
SUBDIR += gxine
|
||||
SUBDIR += handbrake
|
||||
SUBDIR += haruna
|
||||
SUBDIR += harvid
|
||||
|
@ -1,60 +0,0 @@
|
||||
# Created by: Grigori Goronzy <greg@chown.ath.cx>
|
||||
|
||||
PORTNAME= gxine
|
||||
PORTVERSION= 0.5.910
|
||||
PORTREVISION= 3
|
||||
CATEGORIES= multimedia
|
||||
MASTER_SITES= SF/xine/${PORTNAME}/${PORTVERSION}
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= Alternative GUI for the Xine media player
|
||||
|
||||
LICENSE= GPLv2
|
||||
LICENSE_FILE= ${WRKSRC}/COPYING
|
||||
|
||||
DEPRECATED= Uses EOL Python 2.7 via lang/spidermonkey185
|
||||
EXPIRATION_DATE=2021-06-23
|
||||
|
||||
LIB_DEPENDS= libnspr4.so:devel/nspr \
|
||||
libmozjs185.so:lang/spidermonkey185 \
|
||||
libxine.so:multimedia/libxine
|
||||
|
||||
USES= desktop-file-utils gmake gnome libtool pathfix pkgconfig tar:xz
|
||||
USE_GNOME= gtk30
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ARGS= --without-hal --with-libintl-prefix=${LOCALBASE} \
|
||||
--with-gtk3 --without-dbus --disable-integration-wizard
|
||||
INSTALLS_ICONS= yes
|
||||
LLD_UNSAFE= yes
|
||||
|
||||
OPTIONS_DEFINE= LIRC NLS WEBPLUGIN
|
||||
OPTIONS_SUB= yes
|
||||
|
||||
WEBPLUGIN_DESC= Build and/or install Web browser plugins
|
||||
|
||||
LIRC_LIB_DEPENDS= liblirc_client.so:comms/lirc
|
||||
LIRC_CONFIGURE_ENABLE= lirc
|
||||
LIRC_USES= localbase
|
||||
|
||||
NLS_CONFIGURE_ENABLE= nls
|
||||
NLS_USES= gettext
|
||||
|
||||
WEBPLUGIN_USE= xorg=xaw
|
||||
WEBPLUGIN_USES= webplugin:native xorg
|
||||
WEBPLUGIN_CONFIGURE_WITH= browser-plugin
|
||||
WEBPLUGIN_DIR= ${PREFIX}/lib/gxine
|
||||
WEBPLUGIN_FILES= gxineplugin.so
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e \
|
||||
'/CFLAGS/s|-I/usr/local/include|| ; \
|
||||
/CFLAGS/s|-L/usr/local/lib|| ; \
|
||||
/CPPFLAGS/s|-I/usr/local/include|| ; \
|
||||
s|XINE_LIST=.*|XINE_LIST=|' ${WRKSRC}/configure
|
||||
@${REINPLACE_CMD} -e \
|
||||
's|@MAKE_PNG_TRUE@|#|' ${WRKSRC}/pixmaps/Makefile.in
|
||||
|
||||
post-install-WEBPLUGIN-on:
|
||||
@${STRIP_CMD} ${STAGEDIR}${WEBPLUGIN_DIR}/${WEBPLUGIN_FILES}
|
||||
|
||||
.include <bsd.port.mk>
|
@ -1,3 +0,0 @@
|
||||
TIMESTAMP = 1519264096
|
||||
SHA256 (gxine-0.5.910.tar.xz) = 567a0e14bea30e8bb82080173b61b574a6a22ab074f513c535f276780741fe17
|
||||
SIZE (gxine-0.5.910.tar.xz) = 931616
|
@ -1,11 +0,0 @@
|
||||
--- src/Makefile.in.orig 2018-02-22 07:47:00 UTC
|
||||
+++ src/Makefile.in
|
||||
@@ -470,7 +470,7 @@ gxine_SOURCES = \
|
||||
gxine_LDADD = $(XINE_LIBS) $(GTK2_LIBS) $(GTK3_LIBS) $(GTHREAD2_LIBS) \
|
||||
$(JS_LIBS) $(HAL_LIBS) $(UDEV_LIBS) $(DBUS_LIBS) $(LIRC_LIBS) \
|
||||
$(X_LIBS) $(X_EXTRA_LIBS) $(XEXT_LIBS) $(XTEST_LIBS) \
|
||||
- $(XINERAMA_LIBS) $(XRANDR_LIBS) $(XCB_LIBS) -ldl -lm
|
||||
+ $(XINERAMA_LIBS) $(XRANDR_LIBS) $(XCB_LIBS) -lm
|
||||
|
||||
gxine_client_SOURCES = client.c console_output.c
|
||||
gxine_client_CFLAGS = $(AM_CFLAGS) -DGXINE_CLIENT
|
@ -1,12 +0,0 @@
|
||||
--- src/lirc.c.orig 2017-12-27 17:41:32 UTC
|
||||
+++ src/lirc.c
|
||||
@@ -226,8 +226,8 @@ static JSBool js_reload_lirc (JSContext *cx, uintN arg
|
||||
if (gxine_lirc_thread_created)
|
||||
pthread_join (gxine_lirc_thread, NULL);
|
||||
gxine_lirc_start ();
|
||||
-#endif
|
||||
JS_SET_RVAL (cx, vp, gxine_lirc_thread_created ? JSVAL_TRUE : JSVAL_FALSE);
|
||||
+#endif
|
||||
return JS_TRUE;
|
||||
}
|
||||
|
@ -1,162 +0,0 @@
|
||||
--- src/console_output.c.orig 2017-12-27 17:41:32 UTC
|
||||
+++ src/console_output.c
|
||||
@@ -45,6 +45,159 @@ static void console_push (const char *s, uint8_t e) {}
|
||||
#else
|
||||
/* defines & functions for gxine */
|
||||
|
||||
+#if defined(__FreeBSD__)
|
||||
+#include <osreldate.h>
|
||||
+#if __FreeBSD_version < 800067
|
||||
+
|
||||
+/* from src/contrib/cvs/lib/getline.h */
|
||||
+#if defined (__GNUC__) || (defined (__STDC__) && __STDC__)
|
||||
+#define __PROTO(args) args
|
||||
+#else
|
||||
+#define __PROTO(args) ()
|
||||
+#endif /* GCC. */
|
||||
+
|
||||
+#define GETLINE_NO_LIMIT -1
|
||||
+
|
||||
+int
|
||||
+ getline __PROTO ((char **_lineptr, size_t *_n, FILE *_stream));
|
||||
+int
|
||||
+ getline_safe __PROTO ((char **_lineptr, size_t *_n, FILE *_stream,
|
||||
+ int limit));
|
||||
+int
|
||||
+ getstr __PROTO ((char **_lineptr, size_t *_n, FILE *_stream,
|
||||
+ int _terminator, int _offset, int limit));
|
||||
+
|
||||
+/* getline.h */
|
||||
+/* from src/contrib/cvs/lib/getline.c */
|
||||
+
|
||||
+#include <sys/types.h>
|
||||
+#include <assert.h>
|
||||
+#include <errno.h>
|
||||
+
|
||||
+#define MIN_CHUNK 64
|
||||
+
|
||||
+int
|
||||
+getstr (lineptr, n, stream, terminator, offset, limit)
|
||||
+ char **lineptr;
|
||||
+ size_t *n;
|
||||
+ FILE *stream;
|
||||
+ int terminator;
|
||||
+ int offset;
|
||||
+ int limit;
|
||||
+{
|
||||
+ int nchars_avail; /* Allocated but unused chars in *LINEPTR. */
|
||||
+ char *read_pos; /* Where we're reading into *LINEPTR. */
|
||||
+ int ret;
|
||||
+
|
||||
+ if (!lineptr || !n || !stream)
|
||||
+ {
|
||||
+ errno = EINVAL;
|
||||
+ return -1;
|
||||
+ }
|
||||
+
|
||||
+ if (!*lineptr)
|
||||
+ {
|
||||
+ *n = MIN_CHUNK;
|
||||
+ *lineptr = malloc (*n);
|
||||
+ if (!*lineptr)
|
||||
+ {
|
||||
+ errno = ENOMEM;
|
||||
+ return -1;
|
||||
+ }
|
||||
+ *lineptr[0] = '\0';
|
||||
+ }
|
||||
+
|
||||
+ nchars_avail = *n - offset;
|
||||
+ read_pos = *lineptr + offset;
|
||||
+
|
||||
+ for (;;)
|
||||
+ {
|
||||
+ int save_errno;
|
||||
+ register int c;
|
||||
+
|
||||
+ if (limit == 0)
|
||||
+ break;
|
||||
+ else
|
||||
+ {
|
||||
+ c = getc (stream);
|
||||
+
|
||||
+ /* If limit is negative, then we shouldn't pay attention to
|
||||
+ it, so decrement only if positive. */
|
||||
+ if (limit > 0)
|
||||
+ limit--;
|
||||
+ }
|
||||
+
|
||||
+ save_errno = errno;
|
||||
+
|
||||
+ /* We always want at least one char left in the buffer, since we
|
||||
+ always (unless we get an error while reading the first char)
|
||||
+ NUL-terminate the line buffer. */
|
||||
+
|
||||
+ assert((*lineptr + *n) == (read_pos + nchars_avail));
|
||||
+ if (nchars_avail < 2)
|
||||
+ {
|
||||
+ if (*n > MIN_CHUNK)
|
||||
+ *n *= 2;
|
||||
+ else
|
||||
+ *n += MIN_CHUNK;
|
||||
+
|
||||
+ nchars_avail = *n + *lineptr - read_pos;
|
||||
+ *lineptr = realloc (*lineptr, *n);
|
||||
+ if (!*lineptr)
|
||||
+ {
|
||||
+ errno = ENOMEM;
|
||||
+ return -1;
|
||||
+ }
|
||||
+ read_pos = *n - nchars_avail + *lineptr;
|
||||
+ assert((*lineptr + *n) == (read_pos + nchars_avail));
|
||||
+ }
|
||||
+
|
||||
+ if (ferror (stream))
|
||||
+ {
|
||||
+ /* Might like to return partial line, but there is no
|
||||
+ place for us to store errno. And we don't want to just
|
||||
+ lose errno. */
|
||||
+ errno = save_errno;
|
||||
+ return -1;
|
||||
+ }
|
||||
+
|
||||
+ if (c == EOF)
|
||||
+ {
|
||||
+ /* Return partial line, if any. */
|
||||
+ if (read_pos == *lineptr)
|
||||
+ return -1;
|
||||
+ else
|
||||
+ break;
|
||||
+ }
|
||||
+
|
||||
+ *read_pos++ = c;
|
||||
+ nchars_avail--;
|
||||
+
|
||||
+ if (c == terminator)
|
||||
+ /* Return the line. */
|
||||
+ break;
|
||||
+ }
|
||||
+
|
||||
+ /* Done - NUL terminate and return the number of chars read. */
|
||||
+ *read_pos = '\0';
|
||||
+
|
||||
+ ret = read_pos - (*lineptr + offset);
|
||||
+ return ret;
|
||||
+}
|
||||
+
|
||||
+int
|
||||
+getline (lineptr, n, stream)
|
||||
+ char **lineptr;
|
||||
+ size_t *n;
|
||||
+ FILE *stream;
|
||||
+{
|
||||
+ return getstr (lineptr, n, stream, '\n', 0, GETLINE_NO_LIMIT);
|
||||
+}
|
||||
+
|
||||
+/* getline.c */
|
||||
+#endif /* __FreeBSD_version */
|
||||
+#endif /* defined(__FreeBSD__) */
|
||||
+
|
||||
# include <pthread.h>
|
||||
# include <string.h>
|
||||
# include "log_window.h"
|
@ -1,20 +0,0 @@
|
||||
--- src/desktop_integration.c.orig 2017-12-27 17:41:32 UTC
|
||||
+++ src/desktop_integration.c
|
||||
@@ -120,6 +120,9 @@ static void *get_func (const char *name)
|
||||
|
||||
gboolean gxine_vfs_init (void)
|
||||
{
|
||||
+#ifndef USE_INTEGRATION_WIZARD
|
||||
+ return gnome_vfs_available = 0;
|
||||
+#else
|
||||
void (*init_func) (void) = NULL;
|
||||
|
||||
if (gnome_vfs_available != -1)
|
||||
@@ -170,6 +173,7 @@ gboolean gxine_vfs_init (void)
|
||||
#endif
|
||||
|
||||
return gnome_vfs_available = 1;
|
||||
+#endif
|
||||
}
|
||||
|
||||
/*
|
@ -1,4 +0,0 @@
|
||||
gxine is a simple but effective GUI for the Xine media player.
|
||||
It uses the GTK toolkit, so it nicely fits in into a GNOME desktop.
|
||||
|
||||
WWW: http://www.xine-project.org
|
@ -1,57 +0,0 @@
|
||||
bin/gxine
|
||||
bin/gxine_client
|
||||
%%ETCDIR%%/gtk.css
|
||||
%%ETCDIR%%/gtkrc
|
||||
%%ETCDIR%%/keypad.xml
|
||||
%%ETCDIR%%/startup
|
||||
%%ETCDIR%%/toolbar-fullscreen.xml
|
||||
%%ETCDIR%%/toolbar-window.xml
|
||||
%%WEBPLUGIN%%%%WEBPLUGIN_DIR%%/gxineplugin.so
|
||||
man/de/man1/gxine.1.gz
|
||||
man/de/man1/gxine_client.1.gz
|
||||
man/es/man1/gxine.1.gz
|
||||
man/es/man1/gxine_client.1.gz
|
||||
man/man1/gxine.1.gz
|
||||
man/man1/gxine_client.1.gz
|
||||
share/applications/gxine.desktop
|
||||
%%DATADIR%%/logo.jpg
|
||||
%%DATADIR%%/mediamarks
|
||||
%%DATADIR%%/pixmaps/gxine-icon.xpm
|
||||
%%DATADIR%%/pixmaps/nospeaker.png
|
||||
%%DATADIR%%/pixmaps/set-brightness.svg
|
||||
%%DATADIR%%/pixmaps/set-channel.svg
|
||||
%%DATADIR%%/pixmaps/set-contrast.svg
|
||||
%%DATADIR%%/pixmaps/set-hue.svg
|
||||
%%DATADIR%%/pixmaps/set-saturation.svg
|
||||
%%DATADIR%%/pixmaps/set-sharpness.svg
|
||||
%%DATADIR%%/pixmaps/set-sync.svg
|
||||
%%DATADIR%%/pixmaps/set-volume.svg
|
||||
%%DATADIR%%/pixmaps/speaker.png
|
||||
%%DATADIR%%/pixmaps/splash.png
|
||||
%%DATADIR%%/pixmaps/subtitle.svg
|
||||
share/icons/hicolor/64x64/apps/gxine.png
|
||||
%%NLS%%share/locale/cs/LC_MESSAGES/gxine.mo
|
||||
%%NLS%%share/locale/cs/LC_MESSAGES/gxine.theme.mo
|
||||
%%NLS%%share/locale/de/LC_MESSAGES/gxine.mo
|
||||
%%NLS%%share/locale/de/LC_MESSAGES/gxine.theme.mo
|
||||
%%NLS%%share/locale/es/LC_MESSAGES/gxine.mo
|
||||
%%NLS%%share/locale/es/LC_MESSAGES/gxine.theme.mo
|
||||
%%NLS%%share/locale/fi/LC_MESSAGES/gxine.mo
|
||||
%%NLS%%share/locale/fi/LC_MESSAGES/gxine.theme.mo
|
||||
%%NLS%%share/locale/fr/LC_MESSAGES/gxine.mo
|
||||
%%NLS%%share/locale/fr/LC_MESSAGES/gxine.theme.mo
|
||||
%%NLS%%share/locale/it/LC_MESSAGES/gxine.mo
|
||||
%%NLS%%share/locale/it/LC_MESSAGES/gxine.theme.mo
|
||||
%%NLS%%share/locale/ja/LC_MESSAGES/gxine.mo
|
||||
%%NLS%%share/locale/ja/LC_MESSAGES/gxine.theme.mo
|
||||
%%NLS%%share/locale/pl/LC_MESSAGES/gxine.mo
|
||||
%%NLS%%share/locale/pl/LC_MESSAGES/gxine.theme.mo
|
||||
%%NLS%%share/locale/ru/LC_MESSAGES/gxine.mo
|
||||
%%NLS%%share/locale/ru/LC_MESSAGES/gxine.theme.mo
|
||||
%%NLS%%share/locale/sv/LC_MESSAGES/gxine.mo
|
||||
%%NLS%%share/locale/sv/LC_MESSAGES/gxine.theme.mo
|
||||
%%NLS%%share/locale/uk/LC_MESSAGES/gxine.mo
|
||||
%%NLS%%share/locale/uk/LC_MESSAGES/gxine.theme.mo
|
||||
%%NLS%%share/locale/zh_CN/LC_MESSAGES/gxine.mo
|
||||
%%NLS%%share/locale/zh_CN/LC_MESSAGES/gxine.theme.mo
|
||||
share/pixmaps/gxine.png
|
Loading…
Reference in New Issue
Block a user