Skip to content

Build curated applications for elementary OS for other distros

License

Notifications You must be signed in to change notification settings

sudo-give-me-coffee/elementary4all

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

elementary4all

What is?

Elementary OS has a set of applications called "curated apps" that is only available for Elementary OS, normally these apps can't be run installed by .deb package (elementary uses .deb for application distribution), so theonly alternative is compile from GitHub, but it is complicated and tedious, this tool turn the process much more easy, for example:

After install build dependencies (usually elementary-sdk dependencies) the workflow for build a "curated app" is:

  1. Translate app name to corresponding GitHub repo:

Project name: com.github.hannesschulze.optimizer

GitHub repo: https://github.com/hannesschulze/optimizer

  1. Determine which type of build mechanism (cmake or meson)

  2. Configure build environment

  3. Run build mechanism

  4. Install gschema of application

With elementary4all you can do:

./elementary4all <project name>

Example:

./elementary4all com.github.donadigo.appeditor

And all above will be done automatically


Which is the dependendencies?

Except git all dependendencies is for application build (note that this doesn't cover all apps)

  • git
  • meson
  • ninja
  • cmake
  • vala
  • gobject-2.0
  • glib-2.0
  • granite
  • gtk+-3.0
  • libgee
  • libwnck-3.0
  • libunity

You can install by running in the elementary4all folder:


./elementary4all --configure


Where Applications is installed?

As elementary4all is a working-in-progress tool the "dist" version of compiled applications aren't finalized, but a runnable version is created on:

 com.github.<developer name>.<app name>/<app name>.AppDir

You can run with:


./elementary4all --run <project name>

For example:


./elementary4all --run com.github.donadigo.appeditor

Alternatively, you can run the application by double clicking on AppRun file


What features is missing?:

The objective of this this tools is be the most seamless possible so are a variety of feature missing, but some already made:

  • Download automatically app source code
  • Determine build mechanism and compile the app automatically
  • Install build dependendencies automatically
  • Configure the basic build environment
  • Fetch app runtime libs and copy to AppDir
  • Create an AppImage
  • Integrate the AppImage on system after build automatically

I really need help to finish it 😃

About

Build curated applications for elementary OS for other distros

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages