Comments (7)
Hi, .deb is definitely planned, such as Windows installers.
However I belive that a PPA would be too difficult to maintain now (although I would love it too).
from abricotine.
Hello,
just tried to create a Debian package for my Ubuntu software site getdeb.net.
Unfortunately, I fail at building the package.
Never built a JS package before actually.
Can someone tell me what is going wrong here?
debian/rules override_dh_auto_build
make[1]: Entering directory '/home/korn/packages/abri/abricotine-0.2.2'
# Remove interactive part
sed -i '36,41d;' scripts/packager.js
sed -i "36i var arch = \"x64\"," scripts/packager.js
npm install
> [email protected] postinstall /home/korn/packages/abri/abricotine-0.2.2
> electron-rebuild && bower install
sh: 1: electron-rebuild: not found
npm ERR! [email protected] postinstall: `electron-rebuild && bower install`
npm ERR! Exit status 127
npm ERR!
npm ERR! Failed at the [email protected] postinstall script.
npm ERR! This is most likely a problem with the Abricotine package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! electron-rebuild && bower install
npm ERR! You can get their info via:
npm ERR! npm owner ls Abricotine
npm ERR! There is likely additional logging output above.
npm ERR! System Linux 4.2.0-30-generic
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install"
npm ERR! cwd /home/korn/packages/abri/abricotine-0.2.2
npm ERR! node -v v0.10.25
npm ERR! npm -v 1.4.21
npm ERR! code ELIFECYCLE
npm WARN This failure might be due to the use of legacy binary "node"
npm WARN For further explanations, please read
/usr/share/doc/nodejs/README.Debian
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/korn/packages/abri/abricotine-0.2.2/npm-debug.log
npm ERR! not ok code 0
Took the Arch PKGBUILD as starting point:
https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=abricotine
from abricotine.
Don't tell me first ALL of this needs to be packaged :O
$ npm2deb depends -b -r electron-packager
Dependencies:
NPM Debian
electron-packager (5.2.1) None
├─ asar (^0.8.2) None
│ ├─ chromium-pickle-js (^0.1.0) None
│ ├─ commander (^2.9.0) node-commander (2.4.0-1)
│ ├─ cuint (^0.2.1) None
│ ├─ glob (^6.0.4) node-glob (4.0.5-1)
│ ├─ minimatch (^3.0.0) node-minimatch (1.0.0-1)
│ ├─ mkdirp (^0.5.0) node-mkdirp (0.5.0-1)
│ └─ mksnapshot (^0.1.0) None
│ ├─ decompress-zip (0.1.0) None
│ │ ├─ binary (^0.3.0) None
│ │ │ ├─ buffers (~0.1.1) None
│ │ │ └─ chainsaw (~0.1.0) node-chainsaw (0.1.0-1)
│ │ ├─ graceful-fs (^3.0.0) node-graceful-fs (3.0.2-1)
│ │ ├─ mkpath (^0.1.0) None
│ │ ├─ nopt (^3.0.1) node-nopt (3.0.1-1)
│ │ ├─ q (^1.1.2) node-q (1.4.1-1)
│ │ ├─ readable-stream (^1.1.8) None
│ │ │ ├─ core-util-is (~1.0.0) None
│ │ │ ├─ inherits (~2.0.1) node-inherits (2.0.1-3)
│ │ │ ├─ isarray (0.0.1) None
│ │ │ ├─ process-nextick-args (~1.0.6) None
│ │ │ ├─ string_decoder (~0.10.x) None
│ │ │ └─ util-deprecate (~1.0.1) None
│ │ └─ touch (0.0.3) None
│ │ └─ nopt (~1.0.10) node-nopt (3.0.1-1)
│ ├─ fs-extra (0.18.2) None
│ │ ├─ graceful-fs (^4.1.2) node-graceful-fs (3.0.2-1)
│ │ ├─ jsonfile (^2.1.0) None
│ │ ├─ klaw (^1.0.0) None
│ │ ├─ path-is-absolute (^1.0.0) None
│ │ └─ rimraf (^2.2.8) node-rimraf (2.2.8-1)
│ └─ request (2.55.0) node-request (2.26.1-1)
├─ electron-download (^1.0.0) None
│ ├─ debug (^2.2.0) node-debug (2.1.0+dfsg-2)
│ ├─ home-path (^1.0.1) None
│ ├─ minimist (^1.2.0) node-minimist (1.1.3-1)
│ ├─ mkdirp (^0.5.0) node-mkdirp (0.5.0-1)
│ ├─ mv (^2.0.3) None
│ │ ├─ mkdirp (~0.5.1) node-mkdirp (0.5.0-1)
│ │ ├─ ncp (~2.0.0) node-ncp (0.6.0-1)
│ │ └─ rimraf (~2.4.0) node-rimraf (2.2.8-1)
│ ├─ nugget (^1.5.1) None
│ │ ├─ debug (^2.1.3) node-debug (2.1.0+dfsg-2)
│ │ ├─ minimist (^1.1.0) node-minimist (1.1.3-1)
│ │ ├─ pretty-bytes (^1.0.2) None
│ │ │ └─ number-is-nan (^1.0.0) None
│ │ ├─ progress-stream (^1.1.0) None
│ │ │ ├─ speedometer (~0.1.2) None
│ │ │ └─ through2 (~0.2.3) node-through2 (1.1.1-1)
│ │ ├─ request (^2.45.0) node-request (2.26.1-1)
│ │ ├─ single-line-log (^0.4.1) None
│ │ └─ throttleit (0.0.2) None
│ ├─ path-exists (^1.0.0) None
│ │ └─ pinkie-promise (^2.0.0) None
│ │ └─ pinkie (^2.0.0) None
│ └─ rc (^1.1.2) None
│ ├─ deep-extend (~0.4.0) None
│ ├─ ini (~1.3.0) node-ini (1.1.0-1)
│ ├─ minimist (^1.2.0) node-minimist (1.1.3-1)
│ └─ strip-json-comments (~1.0.4) node-strip-json-comments (1.0.2-1)
├─ extract-zip (^1.0.3) None
│ ├─ concat-stream (1.5.0) None
│ │ ├─ inherits (~2.0.1) node-inherits (2.0.1-3)
│ │ ├─ readable-stream (~2.0.0) None
│ │ └─ typedarray (~0.0.5) None
│ ├─ debug (0.7.4) node-debug (2.1.0+dfsg-2)
│ ├─ mkdirp (0.5.0) node-mkdirp (0.5.0-1)
│ └─ yauzl (2.4.1) node-yauzl (2.1.0-1)
├─ get-package-info (0.0.2) None
│ ├─ bluebird (^3.1.1) None
│ ├─ lodash.get (^4.0.0) None
│ │ └─ lodash.tostring (^4.0.0) None
│ └─ resolve (^1.1.6) node-resolve (0.3.1-1)
├─ minimist (^1.1.1) node-minimist (1.1.3-1)
├─ mkdirp (^0.5.0) node-mkdirp (0.5.0-1)
├─ mv (^2.0.3) None
├─ ncp (^2.0.0) node-ncp (0.6.0-1)
├─ plist (^1.1.0) None
│ ├─ base64-js (0.0.8) None
│ ├─ util-deprecate (1.0.2) None
│ ├─ xmlbuilder (4.0.0) None
│ │ └─ lodash (^4.0.0) node-lodash (2.4.1+dfsg-3)
│ └─ xmldom (0.1.x) None
├─ rcedit (^0.3.0) None
├─ resolve (^1.1.6) node-resolve (0.3.1-1)
├─ rimraf (^2.3.2) node-rimraf (2.2.8-1)
└─ run-series (^1.1.1) None
from abricotine.
Why don't you create the deb from the linux x64 prebuild binary?
All those dependencies are node modules, they are packaged in the app when you build it. Not to be confused with deb dependencies.
You may find interesting information in Electron documentation.
from abricotine.
Is there also a x86 prebuild binary?
from abricotine.
@ckorn Yes, it's the ia32 release. But we still have issues with this build. See #6.
from abricotine.
If you make a Flatpak package (#78), making a .deb is not needed since Flatpak work across distro.
http://flatpak.org/getting.html
from abricotine.
Related Issues (20)
- Version 1.1.2 doesn't work on Ubuntu 20.04 HOT 16
- Inconsistencies of "Table of contents" HOT 1
- Display table and cells borders in preview/default template HOT 1
- Editing default theme to change font does not seem to work HOT 3
- Add support for GitLab fold tags "<summary>" HOT 1
- Upgrade Electron version HOT 1
- Codeblock and LaTeX Highlighting conflict
- "Open links on click" feature is broken HOT 7
- Update Docs for OpenSUSE 15 HOT 2
- Cannot open file from file manager (.desktop file issue)
- word intelligence boxed by default HOT 1
- Cannot change theme font HOT 2
- Images: import relative path? From clipboard? HOT 1
- fails to select Abricotine for opening file HOT 4
- Feature requests: import links of many images
- Chinese input problem
- Code syntax highlighting missing HOT 1
- Android build? Ubuntu Touch? :-) HOT 1
- heading and code autopreview HOT 1
- Process keeps running when closed (Windows 11, v. 1.1.4) HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from abricotine.