Ravenports generated: 29 Mar 2019 13:15
[ravenports.git] / bucket_8B / spidermonkey
1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
2
3 NAMEBASE=               spidermonkey
4 VERSION=                60.6.0
5 KEYWORDS=               lang
6 VARIANTS=               standard
7 SDESC[standard]=        Standalone JS interpreter from Mozilla 60-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/60.6.0esr/source
13 DISTFILE[1]=            firefox-60.6.0esr.source.tar.xz:main
14 DF_INDEX=               1
15 SPKGS[standard]=        single
16
17 OPTIONS_AVAILABLE=      none
18 OPTIONS_STANDARD=       none
19
20 BUILD_DEPENDS=          autoconf213:single:standard
21                         zip:single:standard
22 BUILDRUN_DEPENDS=       icu:single:standard
23                         nspr:single:standard
24
25 USES=                   gmake perl pkgconfig python:py27,build zlib readline
26
27 DISTNAME=               firefox-60.6.0/js/src
28
29 LICENSE=                MPL:single
30 LICENSE_TERMS=          single:{{WRKDIR}}/TERMS
31 LICENSE_FILE=           MPL:stock
32 LICENSE_AWK=            TERMS:"^$$"
33 LICENSE_SOURCE=         TERMS:{{WRKSRC}}/js-config.h.in
34 LICENSE_SCHEME=         solo
35
36 MUST_CONFIGURE=         gnu
37 CONFIGURE_OUTSOURCE=    yes
38 CONFIGURE_ARGS=         --disable-debug
39                         --disable-debug-symbols
40                         --enable-readline
41                         --enable-release
42                         --enable-shared-js
43                         --enable-tests
44                         --with-intl-api
45                         --with-pthreads
46                         --with-system-nspr
47                         --with-system-icu
48                         --with-system-zlib
49
50 PLIST_SUB=              MOZJS_MAJOR=60
51                         MOZJS_MINOR=6
52
53 VAR_OPSYS[dragonfly]=   CONFIGURE_ARGS=--disable-jemalloc
54
55 post-install:
56         ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/js60
57         ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libmozjs-60.so
58
59 [FILE:126:descriptions/desc.single]
60 SpiderMonkey is Mozilla's JavaScript engine written in C and C++. It is 
61 used in various Mozilla products, including Firefox.
62
63
64 [FILE:110:distinfo]
65 7c80d82c347ff6163e3d5d72448a38911b30e4e627183caac4264bcf613b85d5    267508680 firefox-60.6.0esr.source.tar.xz
66
67
68 [FILE:2723:manifests/plist.single]
69 bin/
70  js%%MOZJS_MAJOR%%
71  js%%MOZJS_MAJOR%%-config
72 include/mozjs-%%MOZJS_MAJOR%%/
73  fdlibm.h
74  js-config.h
75  js.msg
76  jsapi.h
77  jsfriendapi.h
78  jsperf.h
79  jspubtd.h
80  jstypes.h
81  malloc_decls.h
82  mozjemalloc_types.h
83  mozmemory.h
84  mozmemory_wrap.h
85 include/mozjs-%%MOZJS_MAJOR%%/double-conversion/
86  double-conversion.h
87  utils.h
88 include/mozjs-%%MOZJS_MAJOR%%/js/
89  AllocPolicy.h
90  CallArgs.h
91  CallNonGenericMethod.h
92  CharacterEncoding.h
93  Class.h
94  Conversions.h
95  Date.h
96  Debug.h
97  GCAPI.h
98  GCAnnotations.h
99  GCHashTable.h
100  GCPolicyAPI.h
101  GCVariant.h
102  GCVector.h
103  HashTable.h
104  HeapAPI.h
105  Id.h
106  Initialization.h
107  MemoryMetrics.h
108  Principals.h
109  Printf.h
110  ProfilingFrameIterator.h
111  ProfilingStack.h
112  ProtoKey.h
113  Proxy.h
114  Realm.h
115  RefCounted.h
116  RequiredDefines.h
117  Result.h
118  RootingAPI.h
119  SliceBudget.h
120  Stream.h
121  StructuredClone.h
122  SweepingAPI.h
123  TraceKind.h
124  TracingAPI.h
125  TrackedOptimizationInfo.h
126  TypeDecls.h
127  UbiNode.h
128  UbiNodeBreadthFirst.h
129  UbiNodeCensus.h
130  UbiNodeDominatorTree.h
131  UbiNodePostOrder.h
132  UbiNodeShortestPaths.h
133  UniquePtr.h
134  Utility.h
135  Value.h
136  Vector.h
137  WeakMapPtr.h
138  Wrapper.h
139 include/mozjs-%%MOZJS_MAJOR%%/mozilla/
140  Alignment.h
141  AllocPolicy.h
142  AlreadyAddRefed.h
143  Array.h
144  ArrayUtils.h
145  Assertions.h
146  Atomics.h
147  Attributes.h
148  AutoProfilerLabel.h
149  BinarySearch.h
150  BloomFilter.h
151  BufferList.h
152  Casting.h
153  ChaosMode.h
154  Char16.h
155  CheckedInt.h
156  Compiler.h
157  Compression.h
158  DebugOnly.h
159  Decimal.h
160  DefineEnum.h
161  DoublyLinkedList.h
162  EndianUtils.h
163  EnumSet.h
164  EnumTypeTraits.h
165  EnumeratedArray.h
166  EnumeratedRange.h
167  FStream.h
168  FastBernoulliTrial.h
169  FloatingPoint.h
170  GuardObjects.h
171  HashFunctions.h
172  IndexSequence.h
173  IntegerPrintfMacros.h
174  IntegerRange.h
175  IntegerTypeTraits.h
176  JSONWriter.h
177  Likely.h
178  LinkedList.h
179  MacroArgs.h
180  MacroForEach.h
181  MathAlgorithms.h
182  Maybe.h
183  MaybeOneOf.h
184  MemoryChecking.h
185  MemoryReporting.h
186  Move.h
187  NotNull.h
188  NullPtr.h
189  Opaque.h
190  OperatorNewExtensions.h
191  Pair.h
192  Path.h
193  PlatformConditionVariable.h
194  PlatformMutex.h
195  PodOperations.h
196  Poison.h
197  Printf.h
198  Range.h
199  RangedArray.h
200  RangedPtr.h
201  ReentrancyGuard.h
202  RefCountType.h
203  RefCounted.h
204  RefPtr.h
205  Result.h
206  ResultExtensions.h
207  ReverseIterator.h
208  RollingMean.h
209  SHA1.h
210  Saturate.h
211  ScopeExit.h
212  Scoped.h
213  SegmentedVector.h
214  SmallPointerArray.h
215  Span.h
216  SplayTree.h
217  Sprintf.h
218  StackWalk.h
219  StaticAnalysisFunctions.h
220  TaggedAnonymousMemory.h
221  TemplateLib.h
222  TextUtils.h
223  ThreadLocal.h
224  ThreadSafeWeakPtr.h
225  TimeStamp.h
226  ToString.h
227  Tuple.h
228  TypeTraits.h
229  TypedEnumBits.h
230  Types.h
231  UniquePtr.h
232  UniquePtrExtensions.h
233  Unused.h
234  Variant.h
235  Vector.h
236  WeakPtr.h
237  WrappingOperations.h
238  XorShift128PlusRNG.h
239  fallible.h
240  mozalloc.h
241  mozalloc_abort.h
242  mozalloc_oom.h
243 lib/
244  libjs_static.ajs
245  libmozjs-%%MOZJS_MAJOR%%.so
246 lib/pkgconfig/mozjs-%%MOZJS_MAJOR%%.pc
247
248
249 [FILE:553:patches/patch-build_moz.configure_init.configure]
250 --- ../../build/moz.configure/init.configure.orig       2019-03-13 21:33:39 UTC
251 +++ ../../build/moz.configure/init.configure
252 @@ -637,8 +637,8 @@ def split_triplet(triplet, allow_unknown
253      if cpu.endswith('86') or (cpu.startswith('i') and '86' in cpu):
254          canonical_cpu = 'x86'
255          endianness = 'little'
256 -    elif cpu in ('x86_64', 'ia64'):
257 -        canonical_cpu = cpu
258 +    elif cpu in ('x86_64', 'ia64', 'amd64'):
259 +        canonical_cpu = 'x86_64'
260          endianness = 'little'
261      elif cpu in ('s390', 's390x'):
262          canonical_cpu = cpu
263
264
265 [FILE:366:patches/patch-python_mach_mach_mixin_process.py]
266 --- ../../python/mach/mach/mixin/process.py.orig        2019-03-13 21:33:48 UTC
267 +++ ../../python/mach/mach/mixin/process.py
268 @@ -26,7 +26,7 @@ elif 'MOZILLABUILD' in os.environ:
269  elif 'COMSPEC' in os.environ:
270      _current_shell = os.environ['COMSPEC']
271  else:
272 -    raise Exception('Could not detect environment shell!')
273 +    _current_shell = "/bin/sh"
274  
275  _in_msys = False
276  
277
278
279 [FILE:572:patches/patch-python_mozbuild_mozbuild_configure_____init____.py]
280 --- ../../python/mozbuild/mozbuild/configure/__init__.py.orig   2019-03-13 21:33:48 UTC
281 +++ ../../python/mozbuild/mozbuild/configure/__init__.py
282 @@ -421,7 +421,7 @@ class ConfigureSandbox(dict):
283          # All options should have been removed (handled) by now.
284          for arg in self._helper:
285              without_value = arg.split('=', 1)[0]
286 -            raise InvalidOptionError('Unknown option: %s' % without_value)
287 +            print('Ignoring', without_value, ': Unknown option')
288  
289          # Run the execution queue
290          for func, args in self._execution_queue:
291
292
293 [FILE:659:patches/patch-python_mozbuild_mozbuild_configure_options.py]
294 --- ../../python/mozbuild/mozbuild/configure/options.py.orig    2019-03-13 21:33:46 UTC
295 +++ ../../python/mozbuild/mozbuild/configure/options.py
296 @@ -420,7 +420,11 @@ class CommandLineHelper(object):
297  
298      def add(self, arg, origin='command-line', args=None):
299          assert origin != 'default'
300 -        prefix, name, values = Option.split_option(arg)
301 +        try:
302 +            prefix, name, values = Option.split_option(arg)
303 +        except InvalidOptionError as e:
304 +            print('Ignoring', arg, ':', e)
305 +            return
306          if args is None:
307              args = self._extra_args
308          if args is self._extra_args and name in self._extra_args:
309