Skip to content

Commit

Permalink
Merge branch 'install_sources' [#195]
Browse files Browse the repository at this point in the history
  • Loading branch information
Thaodan committed Jul 21, 2022
2 parents c69abea + 6b4120b commit 14a2611
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 21 deletions.
63 changes: 44 additions & 19 deletions INSTALL.org
Original file line number Diff line number Diff line change
@@ -1,36 +1,61 @@
#+TITLE: Building and installing Communi-Sailfish
* Prerequisites

Before you can anything else you should first [[https://docs.sailfishos.org/Tools/Sailfish_SDK/Installation/][install]][fn:1] the Sailfish SDK (or Platform SDK) and have
read the Sailfish Wiki about building [[https://docs.sailfishos.org/Tools/Sailfish_SDK/Building_packages][packages]][fn:2].
* Building on/Installing from the community OBS
Communi can be build individually on the community OBS and is already done so.

We build on the OBS using the OBS service tar_git as explained in
the SailfishOS wiki under [[https://docs.sailfishos.org/Tools/Sailfish_SDK/Building_packages/#tar_git-packaging-structure][Building_packages/#tar_git-packaging-structure]].

** Python-CairoSVG
** SailfishOS-Chum
Communi is present in SailfishOS-Chum and can be installed from the chum repositories.

To build the app need to have python-cairosvg available in your target.
One source for that is for example [[https://github.com/sailfishos-chum/main][SailfishOS-CHUM]], to add it read the SailfishOS wiki
under [[https://docs.sailfishos.org/Tools/Sailfish_SDK/Deploying_packages/#deploying-from-repository][Deploying_packages/#deploying-from-repository]].
Please read [[https://github.com/sailfishos-chum/main#users-guide=][SailfishOS-Chum/main#users-guide]] to do so.

* Building
Communi is present in Chum two versions:

Building Communi-Sailish is not different to any Sailfish App.
- Chum :: Latest stable version (same as in Harbour)

To build the app you just run sfkdk (Sailfish SDK):
- Chum-testing :: Latest nightly version build from master (read [[./docs/chum.org]] for more information)

#+begin_src sh
sfkdk build
#+end_src
** (For-)Harbour
Builds submitted for Harbour are also build on the community OBS.
These builds can be found at [[https://build.sailfishos.org/package/show/home:Thaodan:forharbour:communi/communi-sailfish][home:Thaodan:forharbour:communi/communi-sailfish]].

Or mb2 (Platform SDK):

#+begin_src sh
mb2 build
#+end_src
* Harbour
The for-Harbour builds mentioned above are submitted through Harbour and once approved
can be installed from there.

* OpenRepos
OpenRepos also contains the same Harbour builds but skips the QA process and thous appear
earlier.

* Installing
OpenRepos packages can be found [[https://openrepos.net/content/thaodan/communi][here]].

Follow: https://docs.sailfishos.org/Tools/Sailfish_SDK/Deploying_packages/

* Building locally from source
** Prerequisites

Before you can anything else you should first [[https://docs.sailfishos.org/Tools/Sailfish_SDK/Installation/][install]][fn:1] the Sailfish SDK (or Platform SDK) and have
read the Sailfish Wiki about building [[https://docs.sailfishos.org/Tools/Sailfish_SDK/Building_packages][packages]][fn:2].


*** Python-CairoSVG

To build the app need to have python-cairosvg available in your target.

One source for that is for example [[https://github.com/sailfishos-chum/main][SailfishOS-CHUM]], to add it read the SailfishOS wiki
under [[https://docs.sailfishos.org/Tools/Sailfish_SDK/Deploying_packages/#deploying-from-repository][Deploying_packages/#deploying-from-repository]].

** Building

Building Communi-Sailish is not different to any Sailfish App.

To build the app you just run ~sfkdk build~ (Sailfish SDK) or ~mb2 build~ (Platform SDK):

** Installing

Follow: https://docs.sailfishos.org/Tools/Sailfish_SDK/Deploying_packages/

* Footnotes

Expand Down
4 changes: 2 additions & 2 deletions README.org
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@

The first and foremost IRC client for Sailfish, based on the Communi IRC framework.

* Building
* Building or Installing

Please read [[./INSTALL.org]]

* Contact

+ IRC channel: #communi on [[ircs://irc.libera.chat/communi][irc.libera.chat]]
+ Mailing list: [email protected]
+ Mailing list: mailto:[email protected]
+ Bug reports: https://github.com/communi/communi-sailfish/issues

0 comments on commit 14a2611

Please sign in to comment.