Ravenports generated: 31 Jul 2020 21:14
[ravenports.git] / bucket_8B / spidermonkey
1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
2
3 NAMEBASE=               spidermonkey
4 VERSION=                78.0.2
5 KEYWORDS=               lang
6 VARIANTS=               standard
7 SDESC[standard]=        Standalone JS interpreter from Mozilla 78-esr
8 HOMEPAGE=               https://developer.mozilla.org/en-US/docs/Mozilla/Projects/SpiderMonkey
9 CONTACT=                Michael_Reim[kraileth@elderlinux.org]
10
11 DOWNLOAD_GROUPS=        main
12 SITES[main]=            MOZILLA/firefox/releases/78.0.2esr/source
13 DISTFILE[1]=            firefox-78.0.2esr.source.tar.xz:main
14 DF_INDEX=               1
15 SPKGS[standard]=        single
16
17 OPTIONS_AVAILABLE=      none
18 OPTIONS_STANDARD=       none
19
20 BROKEN[freebsd]=        function std::sys::unix::process::process_inner::<impl std::sys::unix::process::process_common::Command>::do_exec: error: undefined reference to 'environ'
21 BROKEN[dragonfly]=      function std::sys::unix::process::process_inner::<impl std::sys::unix::process::process_common::Command>::do_exec: error: undefined reference to 'environ'
22
23 BUILD_DEPENDS=          autoconf213:single:standard
24                         zip:single:standard
25                         rust:single:standard
26                         clang:compiler:standard
27                         autoselect-python:single:standard
28 BUILDRUN_DEPENDS=       icu:single:standard
29                         nspr:single:standard
30
31 USES=                   gmake perl pkgconfig python:build zlib readline
32
33 DISTNAME=               firefox-78.0.2/js/src
34
35 LICENSE=                MPL:single
36 LICENSE_TERMS=          single:{{WRKDIR}}/TERMS
37 LICENSE_FILE=           MPL:stock
38 LICENSE_AWK=            TERMS:"^$$"
39 LICENSE_SOURCE=         TERMS:{{WRKSRC}}/js-config.h.in
40 LICENSE_SCHEME=         solo
41
42 MUST_CONFIGURE=         yes
43 CONFIGURE_OUTSOURCE=    yes
44 CONFIGURE_ARGS=         --prefix={{PREFIX}}
45                         --target={{CONFIGURE_TARGET}}
46                         --disable-debug
47                         --disable-debug-symbols
48                         --disable-jemalloc
49                         --enable-readline
50                         --enable-release
51                         --enable-shared-js
52                         --enable-tests
53                         --enable-optimize
54                         --enable-gczeal
55                         --with-intl-api
56                         --with-system-nspr
57                         --with-system-icu
58                         --with-system-zlib
59
60 PLIST_SUB=              MOZJS_MAJOR=78
61                         MOZJS_MINOR=0
62
63 VAR_OPSYS[linux]=       MAKEFILE_LINE=CONFIGURE_TARGET=x86_64-ravenadm-linux-gnu
64
65 post-install:
66         ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/js78
67         ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libmozjs-78.so
68
69 [FILE:126:descriptions/desc.single]
70 SpiderMonkey is Mozilla's JavaScript engine written in C and C++. It is 
71 used in various Mozilla products, including Firefox.
72
73
74 [FILE:110:distinfo]
75 e0b5596644d4f9cb7c3231f66a982e4a6729ff8f36c14245f1ccfdf8c1c79a0a    333100604 firefox-78.0.2esr.source.tar.xz
76
77
78 [FILE:3522:manifests/plist.single]
79 %%ONLY-LINUX%%include/mozjs-%%MOZJS_MAJOR%%/mozilla/LinuxSignal.h
80 bin/
81  js%%MOZJS_MAJOR%%
82  js%%MOZJS_MAJOR%%-config
83 include/mozjs-%%MOZJS_MAJOR%%/
84  fdlibm.h
85  js-config.h
86  js.msg
87  jsapi.h
88  jsfriendapi.h
89  jsperf.h
90  jspubtd.h
91  jstypes.h
92  malloc_decls.h
93  mozjemalloc_types.h
94  mozmemory.h
95  mozmemory_wrap.h
96 include/mozjs-%%MOZJS_MAJOR%%/double-conversion/
97  double-conversion.h
98  utils.h
99 include/mozjs-%%MOZJS_MAJOR%%/js/
100  AllocPolicy.h
101  ArrayBuffer.h
102  BuildId.h
103  CallArgs.h
104  CallNonGenericMethod.h
105  CharacterEncoding.h
106  Class.h
107  CompilationAndEvaluation.h
108  CompileOptions.h
109  ContextOptions.h
110  Conversions.h
111  Date.h
112  Debug.h
113  Equality.h
114  ErrorReport.h
115  ForOfIterator.h
116  GCAPI.h
117  GCAnnotations.h
118  GCHashTable.h
119  GCPolicyAPI.h
120  GCVariant.h
121  GCVector.h
122  HashTable.h
123  HeapAPI.h
124  Id.h
125  Initialization.h
126  JSON.h
127  LocaleSensitive.h
128  MemoryFunctions.h
129  MemoryMetrics.h
130  OffThreadScriptCompilation.h
131  Principals.h
132  Printf.h
133  ProfilingCategory.h
134  ProfilingFrameIterator.h
135  ProfilingStack.h
136  Promise.h
137  PropertyDescriptor.h
138  PropertySpec.h
139  ProtoKey.h
140  Proxy.h
141  Realm.h
142  RealmOptions.h
143  RefCounted.h
144  RegExp.h
145  RegExpFlags.h
146  RequiredDefines.h
147  Result.h
148  RootingAPI.h
149  SavedFrameAPI.h
150  SharedArrayBuffer.h
151  SliceBudget.h
152  SourceText.h
153  StableStringChars.h
154  Stream.h
155  StructuredClone.h
156  SweepingAPI.h
157  Symbol.h
158  TraceKind.h
159  TraceLoggerAPI.h
160  TracingAPI.h
161  TrackedOptimizationInfo.h
162  Transcoding.h
163  TypeDecls.h
164  UbiNode.h
165  UbiNodeBreadthFirst.h
166  UbiNodeCensus.h
167  UbiNodeDominatorTree.h
168  UbiNodePostOrder.h
169  UbiNodeShortestPaths.h
170  UbiNodeUtils.h
171  UniquePtr.h
172  Utility.h
173  Value.h
174  Vector.h
175  Warnings.h
176  WeakMapPtr.h
177  Wrapper.h
178 include/mozjs-%%MOZJS_MAJOR%%/js/experimental/SourceHook.h
179 include/mozjs-%%MOZJS_MAJOR%%/mozilla/
180  Algorithm.h
181  Alignment.h
182  AllocPolicy.h
183  AlreadyAddRefed.h
184  Array.h
185  ArrayUtils.h
186  Assertions.h
187  Atomics.h
188  Attributes.h
189  AutoProfilerLabel.h
190  BinarySearch.h
191  BloomFilter.h
192  Buffer.h
193  BufferList.h
194  Casting.h
195  ChaosMode.h
196  Char16.h
197  CheckedInt.h
198  Compiler.h
199  Compression.h
200  DbgMacro.h
201  DebugOnly.h
202  Decimal.h
203  DefineEnum.h
204  DoublyLinkedList.h
205  EndianUtils.h
206  EnumSet.h
207  EnumTypeTraits.h
208  EnumeratedArray.h
209  EnumeratedRange.h
210  FStream.h
211  FastBernoulliTrial.h
212  FloatingPoint.h
213  FunctionTypeTraits.h
214  GuardObjects.h
215  HashFunctions.h
216  HashTable.h
217  HelperMacros.h
218  IntegerPrintfMacros.h
219  IntegerRange.h
220  IntegerTypeTraits.h
221  JSONWriter.h
222  Likely.h
223  LinkedList.h
224  MacroArgs.h
225  MacroForEach.h
226  MathAlgorithms.h
227  Maybe.h
228  MaybeOneOf.h
229  MemoryChecking.h
230  MemoryReporting.h
231  Move.h
232  NonDereferenceable.h
233  NotNull.h
234  NullPtr.h
235  Opaque.h
236  OperatorNewExtensions.h
237  Pair.h
238  Path.h
239  PlatformConditionVariable.h
240  PlatformMutex.h
241  PodOperations.h
242  Poison.h
243  Printf.h
244  RandomNum.h
245  Range.h
246  RangedArray.h
247  RangedPtr.h
248  RecordReplay.h
249  ReentrancyGuard.h
250  RefCountType.h
251  RefCounted.h
252  RefPtr.h
253  Result.h
254  ResultExtensions.h
255  ReverseIterator.h
256  RollingMean.h
257  SHA1.h
258  SPSCQueue.h
259  Saturate.h
260  ScopeExit.h
261  Scoped.h
262  SegmentedVector.h
263  SharedLibrary.h
264  SmallPointerArray.h
265  Span.h
266  SplayTree.h
267  Sprintf.h
268  StackWalk.h
269  StaticAnalysisFunctions.h
270  TaggedAnonymousMemory.h
271  TemplateLib.h
272  TextUtils.h
273  ThreadLocal.h
274  ThreadSafeWeakPtr.h
275  TimeStamp.h
276  ToString.h
277  Tuple.h
278  TypeTraits.h
279  TypedEnumBits.h
280  Types.h
281  UniquePtr.h
282  UniquePtrExtensions.h
283  Unused.h
284  Utf8.h
285  Variant.h
286  Vector.h
287  WeakPtr.h
288  WrappingOperations.h
289  XorShift128PlusRNG.h
290  fallible.h
291  mozalloc.h
292  mozalloc_abort.h
293  mozalloc_oom.h
294 include/mozjs-%%MOZJS_MAJOR%%/mozilla/glue/Debug.h
295 lib/
296  libjs_static.ajs
297  libmozjs-%%MOZJS_MAJOR%%.so
298 lib/pkgconfig/mozjs-%%MOZJS_MAJOR%%.pc
299
300
301 [FILE:553:patches/patch-build_moz.configure_init.configure]
302 --- ../../build/moz.configure/init.configure.orig       2020-07-08 19:37:00 UTC
303 +++ ../../build/moz.configure/init.configure
304 @@ -705,8 +705,8 @@ def split_triplet(triplet, allow_msvc=Fa
305      if cpu.endswith('86') or (cpu.startswith('i') and '86' in cpu):
306          canonical_cpu = 'x86'
307          endianness = 'little'
308 -    elif cpu in ('x86_64', 'ia64'):
309 -        canonical_cpu = cpu
310 +    elif cpu in ('x86_64', 'ia64', 'amd64'):
311 +        canonical_cpu = 'x86_64'
312          endianness = 'little'
313      elif cpu in ('s390', 's390x'):
314          canonical_cpu = cpu
315
316
317 [FILE:347:patches/patch-config_makefiles_rust.mk]
318 --- ../../config/makefiles/rust.mk.orig 2020-07-08 11:51:15 UTC
319 +++ ../../config/makefiles/rust.mk
320 @@ -61,7 +61,7 @@ ifndef MOZ_DEBUG_RUST
321  # Enable link-time optimization for release builds, but not when linking
322  # gkrust_gtest.
323  ifeq (,$(findstring gkrust_gtest,$(RUST_LIBRARY_FILE)))
324 -cargo_rustc_flags += -Clto
325 +do_nada =
326  endif
327  endif
328  endif
329
330
331 [FILE:366:patches/patch-python_mach_mach_mixin_process.py]
332 --- ../../python/mach/mach/mixin/process.py.orig        2020-07-08 19:37:09 UTC
333 +++ ../../python/mach/mach/mixin/process.py
334 @@ -28,7 +28,7 @@ elif 'MOZILLABUILD' in os.environ:
335  elif 'COMSPEC' in os.environ:
336      _current_shell = os.environ['COMSPEC']
337  else:
338 -    raise Exception('Could not detect environment shell!')
339 +    _current_shell = "/bin/sh"
340  
341  _in_msys = False
342  
343