New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #10914 (closed defect: fixed)

Opened 7 years ago

Last modified 6 years ago

BUG: spidermonkey port does not install all required development headers

Reported by: jin@… Owned by: macosforge@…
Priority: High Milestone:
Component: ports Version: 1.3.2
Keywords: spidermonkey headers missing Cc: jin@…, markd@…
Port:

Description

spidermonkey 1.5_1, Darwin 7.9.0

The spidermoneky port does not install all required development headers.

The only two header files being installed are "jsapi.h" and "jsautocfg.h", the result is that it is not possible to build anything that uses spidermonkey (jsapi.h #include's headers that are missing in the port).

By the way, why was the path include/spidermonkey chosen? There are several variations already (like include/smjs on Debian or include/js on SuSE), would be nice to have less variations of that.

Here is the list of files that are installed by the js-1.5-6.fc5 package on Fedora Core 5:

/usr/bin/jscpucfg
/usr/include/jsapi.h
/usr/include/jsarena.h
/usr/include/jsarray.h
/usr/include/jsatom.h
/usr/include/jsautocfg.h
/usr/include/jsbit.h
/usr/include/jsbool.h
/usr/include/jsclist.h
/usr/include/jscntxt.h
/usr/include/jscompat.h
/usr/include/jsconfig.h
/usr/include/jscpucfg.h
/usr/include/jsdate.h
/usr/include/jsdbgapi.h
/usr/include/jsdhash.h
/usr/include/jsdtoa.h
/usr/include/jsemit.h
/usr/include/jsexn.h
/usr/include/jsfile.h
/usr/include/jsfun.h
/usr/include/jsgc.h
/usr/include/jshash.h
/usr/include/jsinterp.h
/usr/include/jslibmath.h
/usr/include/jslock.h
/usr/include/jslong.h
/usr/include/jsmath.h
/usr/include/jsnum.h
/usr/include/jsobj.h
/usr/include/jsopcode.h
/usr/include/jsosdep.h
/usr/include/jsotypes.h
/usr/include/jsparse.h
/usr/include/jsprf.h
/usr/include/jsprvtd.h
/usr/include/jspubtd.h
/usr/include/jsregexp.h
/usr/include/jsscan.h
/usr/include/jsscope.h
/usr/include/jsscript.h
/usr/include/jsstddef.h
/usr/include/jsstr.h
/usr/include/jstypes.h
/usr/include/jsutil.h
/usr/include/jsxdrapi.h
/usr/lib/libjs.a
/usr/lib/libjs.so
/usr/lib/pkgconfig/libjs.pc

P.S. darwinports@… is listed as maintainer but there is no such address in the "Assign to:" list, I hope the ticket finds its way.

Attachments

Portfile.diff (1022 bytes) - added by markd@… 6 years ago.
Portfile.diff

Change History

Changed 6 years ago by markd@…

Portfile.diff

comment:1 Changed 6 years ago by markd@…

  • Cc markd@… added
  • Status changed from new to closed
  • Resolution set to fixed

The patch I attached is invalid. I just commited an update (revision 2) that straightens out the port. All the headers are now added, and threadsafe support is now on.

Note: See TracTickets for help on using tickets.