-
Notifications
You must be signed in to change notification settings - Fork 233
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
core: introduce install-eaf.py & standardize dependency installation
Introduce the universal install-eaf.py to install EAF applications along with its dependencies, give the freedom to install any application as one wishes. Introduce dependencies.json in EAF core repo and in all app/foo/, to standardize dependency declaration across the framework. Developing EAF applications has never been this easier, it doesn't have to be within the emacs-eaf organization, you can put it in your own repository. Simply follow these steps: 1. Ensure the dependencies.json in your application repo is following the standard in other EAF applications. 2. Add to .gitmodules in the EAF core, also add it to the EAF core applications.json. 3. Submit a PR at EAF core repo: https://github.com/emacs-eaf/emacs-application-framework Also addresses #726 Signed-off-by: Mingde (Matthew) Zeng <matthewzmd@posteo.net>
- Loading branch information
1 parent
c6d9f33
commit 044b0b8
Showing
31 changed files
with
338 additions
and
171 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
[submodule "app/airshare"] | ||
path = app/airshare | ||
url = https://github.com/emacs-eaf/eaf-airshare.git | ||
[submodule "app/browser"] | ||
path = app/browser | ||
url = https://github.com/emacs-eaf/eaf-browser.git | ||
[submodule "app/camera"] | ||
path = app/camera | ||
url = https://github.com/emacs-eaf/eaf-camera.git | ||
[submodule "app/demo"] | ||
path = app/demo | ||
url = https://github.com/emacs-eaf/eaf-demo.git | ||
[submodule "app/file-browser"] | ||
path = app/file-browser | ||
url = https://github.com/emacs-eaf/eaf-file-browser.git | ||
[submodule "app/file-manager"] | ||
path = app/file-manager | ||
url = https://github.com/emacs-eaf/eaf-file-manager.git | ||
[submodule "app/file-sender"] | ||
path = app/file-sender | ||
url = https://github.com/emacs-eaf/eaf-file-sender.git | ||
[submodule "app/image-viewer"] | ||
path = app/image-viewer | ||
url = https://github.com/emacs-eaf/eaf-image-viewer.git | ||
[submodule "app/js-video-player"] | ||
path = app/js-video-player | ||
url = https://github.com/emacs-eaf/eaf-js-video-player.git | ||
[submodule "app/jupyter"] | ||
path = app/jupyter | ||
url = https://github.com/emacs-eaf/eaf-jupyter.git | ||
[submodule "app/markdown-previewer"] | ||
path = app/markdown-previewer | ||
url = https://github.com/emacs-eaf/eaf-markdown-previewer.git | ||
[submodule "app/mindmap"] | ||
path = app/mindmap | ||
url = https://github.com/emacs-eaf/eaf-mindmap.git | ||
[submodule "app/music-player"] | ||
path = app/music-player | ||
url = https://github.com/emacs-eaf/eaf-music-player.git | ||
[submodule "app/netease-cloud-music"] | ||
path = app/netease-cloud-music | ||
url = https://github.com/emacs-eaf/eaf-netease-cloud-music.git | ||
[submodule "app/org-previewer"] | ||
path = app/org-previewer | ||
url = https://github.com/emacs-eaf/eaf-org-previewer.git | ||
[submodule "app/pdf-viewer"] | ||
path = app/pdf-viewer | ||
url = https://github.com/emacs-eaf/eaf-pdf-viewer.git | ||
[submodule "app/system-monitor"] | ||
path = app/system-monitor | ||
url = https://github.com/emacs-eaf/eaf-system-monitor.git | ||
[submodule "app/terminal"] | ||
path = app/terminal | ||
url = https://github.com/emacs-eaf/eaf-terminal.git | ||
[submodule "app/video-player"] | ||
path = app/video-player | ||
url = https://github.com/emacs-eaf/eaf-video-player.git | ||
[submodule "app/vue-demo"] | ||
path = app/vue-demo | ||
url = https://github.com/emacs-eaf/eaf-vue-demo.git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule file-browser
added at
1d00de
Submodule file-manager
added at
bb54dd
Submodule file-sender
added at
59206b
Submodule image-viewer
added at
b984a5
Submodule js-video-player
added at
fa1cef
Submodule markdown-previewer
added at
538b28
Submodule music-player
added at
c24dab
Submodule netease-cloud-music
added at
7012a7
Submodule org-previewer
added at
144b59
Submodule pdf-viewer
added at
dc8473
Submodule system-monitor
added at
bbfe20
Submodule video-player
added at
e6c7c3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
"airshare": "EAF Airshare", | ||
"browser": "EAF Browser", | ||
"camera": "EAF Camera", | ||
"demo": "EAF Demo", | ||
"file-browser": "EAF File Browser", | ||
"file-manager": "EAF File Manager", | ||
"file-sender": "EAF File Sender", | ||
"image-viewer": "EAF Image Viewer", | ||
"js-video-player": "EAF Video Player (JS)", | ||
"jupyter": "EAF Jupyter", | ||
"markdown-previewer": "EAF Markdown Previewer", | ||
"mindmap": "EAF Mindmap", | ||
"music-player": "EAF Music Player", | ||
"netease-cloud-music": "EAF NetEase Cloud Music", | ||
"org-previewer": "EAF Org Previewer", | ||
"pdf-viewer": "EAF PDF Viewer", | ||
"system-monitor": "EAF System Monitor", | ||
"terminal": "EAF Terminal", | ||
"video-player": "EAF Video Player", | ||
"vue-demo": "EAF Vue Demo" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
{ | ||
"pacman": [ | ||
"wmctrl", | ||
"python-pyqt5", | ||
"python-pyqt5-sip", | ||
"python-pyqtwebengine" | ||
], | ||
"apt": [ | ||
"wmctrl", | ||
"nodejs", | ||
"npm", | ||
"libglib2.0-dev", | ||
"python3-pyqt5", | ||
"python3-sip", | ||
"python3-pyqt5.qtwebengine", | ||
"python3-pygit2" | ||
], | ||
"dnf": [ | ||
"wmctrl", | ||
"nodejs", | ||
"npm", | ||
"glib2-devel", | ||
"python3-qt5", | ||
"python3-pyqt5-sip", | ||
"pyqtwebengine-devel", | ||
"python3-pygit2" | ||
], | ||
"pkg": [ | ||
"wmctrl", | ||
"node", | ||
"npm", | ||
"glib", | ||
"py38-qt5-sip", | ||
"py38-qt5-webengine" | ||
], | ||
"pip": { | ||
"linux": [ | ||
"epc", | ||
"lxml" | ||
], | ||
"win32": [ | ||
"pyqt5", | ||
"pyqt5-sip", | ||
"pyqtwebengine", | ||
"pygetwindow" | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
044b0b8
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For anyone reading this far, I have to make an adjustment to this commit message, which will further simplify developing your own application:
Developing EAF applications has never been this easier, it doesn't
have to be within the emacs-eaf organization, you can put it in
your own repository. Simply follow these steps:
dependencies.json
in your application repo is following the standard in other EAF applications.applications.json
.https://github.com/emacs-eaf/emacs-application-framework