What is needed to build the Atom package?

3 posts / 0 new
Last post
#1 Sun, 2016-08-14 18:14
greencopper
  • greencopper's picture
  • Offline
  • Last seen: 1 year 2 months ago
  • Joined: 2014-12-15

Hi,

I would VERY much like to use the Atom editor on Alpine Linux and I have feature requested a package. I have also recommended the Atom team to make an Alpine Linux package https://github.com/atom/atom/issues/12347 available.

But I would like to build my own in the mean time.

Coming from Debian I am looking at the build instructions:

https://github.com/atom/atom/blob/master/docs/build-instructions/linux.md#ubuntu--debian

But I do now know what corresponds to Debians "build-essentials" package on Alpine Linux or some of the other packages from the other distributions mentioned in the build examples.

Which packages are needed to compile Atom from source on Alpine Linux?

Kind regards!

Mon, 2016-11-21 09:41
cheetopet
  • cheetopet's picture
  • Offline
  • Last seen: 1 year 4 months ago
  • Joined: 2016-11-21

Disclaimer: I am not a programmer, I just like to compile and package things for fun.

I'm a huge fan of atom also, so I gave it a shot. No dice. Sticking point is the npm minidump package pulls in breakpad from chromium. Depending on how I tried to build that I either get a a missing a.out.h header (circumventable), an undeclared NATIVE_ELF_ARCH symbol, or an error with basename (similar problem in other projects, looks like a fairly easy fix). All comes down to musl porting issues & looks like more of a rabbit hole than I wanna tackle at the moment.

Alternately there is there is https://github.com/jamesnetherton/docker-atom-editor which could also theoritically work. The latest image from dockerhub is missing a libXss.so.1 library (prolly do a PR on principle) & fails to run and a rebuild with that package gives pthread and rtprio errors. Whee. So, eh, also fail for now.

It'll get sorted eventually. Or I'll get more time & figure something else out.

Mon, 2016-11-21 14:18
ScrumpyJack
  • ScrumpyJack's picture
  • Offline
  • Last seen: 6 months 3 weeks ago
  • Joined: 2013-06-20

Have you looked at how void linux package it, if at all?

Log in or register to post comments