Opened 6 years ago

Closed 5 years ago

#57423 closed defect (fixed)

textmate2: Does it really need library dependencies on boost, multimarkdown, openssl, capnproto?

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: neverpanic (Clemens Lang)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: textmate2

Description

Does textmate2 really use all of its library dependencies at runtime?

I can see that it links with libcurl, libiconv, libsqlite3, and libz.

But what about boost, multimarkdown, openssl, and capnproto?

Change History (1)

comment:1 Changed 5 years ago by neverpanic (Clemens Lang)

Resolution: fixed
Status: assignedclosed

In 8064da0ce1b0e7f8562fafc2616c8b7823c37298/macports-ports (master):

textmate2: Fix compilation, clean up deps

Fix compilation of textmate2, fixing two incompatibilities with newer
versions of tools used by its build system.

Clear out the generated build/build.ninja.d list of dependencies because
it contained ".", which newer ninja understands as rebuild if the mtime
of the directory changes. However, since writing build.ninja changes the
mtime of the directory, this causes an endless loop. Work around this
problem by not writing a dependency list at all, since we never
reconfigure without cleaning.

Additionally, work around bugs in ragel 7.x which fails to parse
a second machine statement in a single block (fixed by opening a new
block) and fails to process a 'write data' statement claiming there are
"no machine instantiations to write" -- this is fixed by moving an
equivalent write statement further down the file, where this is
apparently no longer an issue. This seems like an upstream bug in ragel
7 and we should probably never have updated to the 7.x development
versions.

Additionally, move libraries that are only used during the build phase
into depends_build.

Closes: #57266
Closes: #57423

Note: See TracTickets for help on using tickets.