Giter VIP home page Giter VIP logo

atom-armv7l's Introduction

Atom

Atom is a hackable text editor for the 21st century, built on Electron, and based on everything we love about our favorite editors. We designed it to be deeply customizable, but still approachable using the default configuration.

Visit atom.io to learn more or visit the Atom forum.

Follow @AtomEditor on Twitter for important announcements.

Building Atom 1.15.0 for armv7l machine

atom-1.15.0-armv7l I was unable to build the newest version of Atom due to broken mksnapshot binaries for armv7l, so in this guide we will be using the latest stable version (1.15.0).

This for was made only for armv7l machines, and should only be built on it!

All builds tested on Xubuntu 14.04 @ ASUS Transformer Pad TF300TG. I don't guarantee that this guide will work for all devices. I succesfully built Atom on my machine and just want to share some build advice.

Prerequisites

  • armv7l machine. You can check it by typing uname -m to terminal emulator.

  • Node.js 6.10.2. Highly recommended to install it via Node.js version manager. Installation guide can be found here.

nvm install 6.10.2 - install Node.js 6.10.2.

nvm alias default 6.10.2 - set Node.js 6.10.2 as system default Node.js version.

nvm use 6.10.2 - set Node.js version to 6.10.2 for this session.

  • Node.js package manager.

sudo apt-get install npm - install Node.js package manager.

sudo npm install -g npm - update Node.js package manager.

npm config set python /usr/bin/python2 - locate Python 2 path for Node-GYP.

  • Git.

sudo apt-get install git

  • C++ 11 Toolchain, development headers for GNOME Keyring, and other build tools.

sudo apt-get install build-essential git libgnome-keyring-dev fakeroot rpm libx11-dev libxkbfile-dev

Building

  • Clone my Atom fork via Git:

git clone https://github.com/hypersad/atom-armv7l.git

  • Go into your Atom repository folder:

cd atom-armv7l

  • Start building:

node script/build

  • Install packages after successfull building:

chmod a+x atom.firstboot.sh

./atom.firstboot.sh

Also, you can install Atom or create a Debian package.

node script/build --create-debian-package - creates debian package.

sudo dpkg -i atom-armhf.deb - installs Atom from previously built debian package (because -install flag doesn't work properly now)

Troubleshooting

  • After building and launching Atom I got white screen, developer tools and string where I can type. Where is the interface?

It looks like Atom packages that are normally downloaded during the install are missing. You will need to launch Atom for first time, to let it create the profile folder (~/.atom), close Atom, then run ./atom.firstboot.sh from the git repository.

  • When I launch Atom, I got succesfull launch, but tree-view package throw's an error on start and didn't launch. How to fix it and launch tree-view package?

Newer versions of tree-view package works only with the newer versions of Atom. Our Atom version (1.15.0) works only with tree-view 0.214.1 (this version will be installed after executing atom.firstboot.sh). So you can have troubles with it only if you updated tree-view package. To get working tree-view package back, open terminal in your atom binaries directory (e.g if you just now compiled it cd ~/atom-armv7l/out/atom-1.15.0-armv7l/) and complete following commands in terminal: ./resources/app/apm/bin/apm uninstall tree-view wait for successfull uninstall, then ./resources/app/apm/bin/apm install [email protected].

  • After "Wrote dependencies fingerprint" I got following error: Error: Cannot find module '../build/Release/runas.node'

Runas was installed incorrectly. You need to remove it and start building again. Open your git repository folder in teminal and complete the following commands:

sudo rm -r node_modules/runas

sudo rm -r lib/node_modules/runas

Then start building again:

node script/build

F.A.Q.

  • Q: Can I built this fork on ia32, 64, arm, my cat, etc.?

A: No, you can't. This fork is ONLY for armv7l machines. If you want to build for any other architectures, use the official atom repo.

  • Q: Do I need to avoid package updates?

A: No, you don't. You can freely update all packages exclude tree-view package, because newer versions work only with the newer versions of Atom. Our version of Atom (1.15.0) works only with tree-view package 0.214.1. This version installed by atom.firstboot.sh.

  • Q: Do i need to execute, edit something after build?

A: You need to execute Atom binary to let it create the folder that contains configs, packages, etc. (~/.atom/), close it, then run atom.firstboot.sh to install default packages (for unknown reasons packages installed during build are missing). After package install you can freely using Atom.

License

MIT

When using the Atom or other GitHub logos, be sure to follow the GitHub logo guidelines.

atom-armv7l's People

Contributors

kevinsawicki avatar benogle avatar maxbrunsfeld avatar as-cii avatar probablycorey-and-nathan avatar zcbenz avatar joshaber avatar 50wliu avatar defunkt avatar damieng avatar kevinnathan avatar simurai avatar mnquintana avatar lee-dohm avatar izuzak avatar gjtorikian avatar thedaniel avatar jonrohan avatar probablykevin avatar kuychaco avatar thomasjo avatar binarymuse avatar bolinfest avatar jlord avatar anaisbetts avatar aroben avatar nathansobo avatar iolsen avatar raelyard avatar abe33 avatar

Stargazers

 avatar  avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.