Opened 2 years ago

Closed 16 months ago

#63935 closed defect (wontfix)

atom: upgrade to 1.58.0

Reported by: someuser12 Owned by:
Priority: Normal Milestone:
Component: ports Version:
Keywords: haspatch Cc:
Port: atom

Description

The present version of the atom port (1.37.0) requires npm5 which in turns requires nodejs8, which doesn't build (at least on Mac OS 10.15.7). This is a tentative upgrade to 1.58.0 using npm8. However, the present port of npm8 requires nodejs16, and building atom 1.58.0 with nodejs16 fails (see the related issue https://github.com/nodejs/node/issues/38367). In absence of a better solution, atom 1.58.0 can be built the following way:

sudo port install atom
sudo port deactivate nodejs16
sudo port install atom

Attachments (2)

patch-install-prefix.diff.diff (814 bytes) - added by someuser12 2 years ago.
Portfile.diff (2.1 KB) - added by someuser12 2 years ago.

Download all attachments as: .zip

Change History (5)

Changed 2 years ago by someuser12

comment:1 Changed 2 years ago by ryandesign (Ryan Carsten Schmidt)

Keywords: haspatch added
Port: atom added

It should not be necessary to override livecheck.regex. If anything, only override github.livecheck.regex.

Changed 2 years ago by someuser12

Attachment: Portfile.diff added

comment:2 Changed 2 years ago by someuser12

Thanks, done. The new regex ignores beta versions.

comment:3 Changed 16 months ago by kencu (Ken)

Resolution: wontfix
Status: newclosed

atom no longer exists as a port

Note: See TracTickets for help on using tickets.