Skip to content
This repository has been archived by the owner on May 12, 2020. It is now read-only.

Ubuntu Support #16

Closed
jravetch opened this issue Nov 12, 2014 · 25 comments
Closed

Ubuntu Support #16

jravetch opened this issue Nov 12, 2014 · 25 comments
Assignees

Comments

@jravetch
Copy link

Would be great to have a deb package for Ubuntu

@a-musing-moose
Copy link

👍 I know Atom works on Linux now so even build instructions would be great

@kaihendry
Copy link

On Archlinux over here ... 😸

@deepak1556
Copy link

Actually the script in build\mac will work for any unix system just change a few file and directory names ;) deepak1556@16a0eed . Also atom has mkdeb and mkrpm grunt tasks which can be pulled in here for building packages..

@endorama
Copy link

@deepak1556 I've tried pulling your branch and building from it, but is not working. Here is the log, if you can provide some help :)

@deepak1556
Copy link

@endorama my bad for leaving out incorrect filenames around, fixed it here but it looks like all your atom package dependencies werent downloaded, seems to have failed at obtaining language-coffee-script , maybe some network error. Can you try rebuilding it.

@endorama
Copy link

Yeah! :) Build was successful!

Thanks for your support,
cheers

@suda
Copy link
Contributor

suda commented Nov 15, 2014

@deepak1556 wow man, it's great you're working on Linux build script! Could you wait with it though? We're in the middle of replacing Bash/cmd scripts with one, multiplatform Gruntfile. It should be ready any day.

@deepak1556
Copy link

yup sure 👍 i was just getting it along as i wanted to try spark-dev on my system ;) . Have also a dockerfile ready.

@Ciemaar
Copy link

Ciemaar commented Nov 22, 2014

Are you going to post that dockerfile anywhere?

@suda
Copy link
Contributor

suda commented Nov 22, 2014

@Ciemaar it's right here: Dockerfile. We'll merge it when Linux support will be on its way.

@Ciemaar
Copy link

Ciemaar commented Nov 22, 2014

There may be a better way, but I got this to run with:

docker build linux
docker run --rm -e DISPLAY=$DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix -ti
c7367beb6ff2 /bin/bash
cd ../../dist/linux/Spark\ Dev/
./atom

not sure why I needed bash in the container, but it works.

On Sat, Nov 22, 2014 at 11:45 AM, Wojtek Siudzinski <
[email protected]> wrote:

@Ciemaar https://github.com/Ciemaar it's right here: Dockerfile
https://github.com/deepak1556/spark-dev/blob/nix_patch/build/linux/Dockerfile.
We'll merge it when Linux support will be on its way.


Reply to this email directly or view it on GitHub
#16 (comment).

Blog: http://channel3b.wordpress.com

Drinking good coffee makes you wise, drinking bad coffee only makes you
awake.

@jravetch
Copy link
Author

@suda Any update on native Ubuntu pkg?

@adomenech73
Copy link

Interested on that too ,or in a way to compile it on Linux

@lightx
Copy link

lightx commented Mar 1, 2015

would be great

@suda
Copy link
Contributor

suda commented Mar 2, 2015

There is no Linux support yet but seeing the interest, I could try to tackle it after upgrading Dev to Atom 1.0 API.

@aceperry
Copy link

aceperry commented Apr 4, 2015

Cool, been waiting patiently. Just wanted to let you know that there is still interest out there for deb/linux version.

@zsup
Copy link

zsup commented Apr 4, 2015

@aceperry sorry for the delay, upgrading to Atom 1.0 had some unexpected roadblocks, and @suda's on vacation now; we'll get back to this in a couple of weeks, hopefully

@adomenech73
Copy link

Any advance on this??
I tried to compile, even on the Dockerized environment, but the mac script gives me some:
hdiutil: command not found &
ditto: command not found
that don't seem trivial to bypass

Can anyone upgrade the workaround to compile it on linux? this would be a great feature in future releases, I would like to use it in my favorite SO. Thank's for anyone efforts!!

@suda
Copy link
Contributor

suda commented Jul 20, 2015

@adomenech73 commands you mentioned are used by the package-app task. You can try commenting it out in Gruntfile.coffee.

@adomenech73
Copy link

Thank's @suda
finally I could compile perfectly, cloning git repository as it is and moving to v0.0.23 to avoid a "generate-module-cache" task error. So I did

git fetch
git checkout v0.0.23
script/build

and everything finished with a
Running "install" task
Done, without errors.

@adomenech73
Copy link

Actually I'm watching messages like:

[12087:0726/123401:INFO:CONSOLE(114)] "Fetching local packages failed.", source: /home/albert/Projects/Electronics/Spark/spark-dev/dist/linux/Particle Dev/resources/app/node_modules/settings-view/lib/main.js (114)
[12087:0726/124249:INFO:CONSOLE(285)] "Fetching local packages failed.", source: /home/albert/Projects/Electronics/Spark/spark-dev/dist/linux/Particle Dev/resources/app/node_modules/settings-view/lib/installed-packages-panel.js (285)

On the startup and packages view. Also updates functionality seems to freeze
Is there any post-install task, that I need to do?

@suda
Copy link
Contributor

suda commented Jul 27, 2015

@adomenech73 master was in a non build-able state. I've just fixed it with d6d344b
Can you try it now?

@adomenech73
Copy link

@suda Now it's just perfect!!
I was wondering why there was not possible to access to the device functions from the ide
I solved package manager thing making a copy of apm on node_modules but the ide was not complete at all.

Thank's, really appreciated!

@suda
Copy link
Contributor

suda commented Aug 21, 2015

Instructions for using Particle Dev packages on Linux have been added to readme: https://github.com/spark/spark-dev#linux

@suda
Copy link
Contributor

suda commented Feb 14, 2017

Particle Dev package does not work on Linux. Only thing needed now would be packaging thus I'm closing this one in favor of Build Linux packages #14

@suda suda closed this as completed Feb 14, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests