Skip to content

Files for locally building BibleTime as a snap package

Notifications You must be signed in to change notification settings

bibletime/build-snap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

This builds a snap package for BibleTime.

This snap should be built using Ubuntu 24.04 or later.
Install snapd. See https://snapcraft.io for details. 

NOTE: Remember that a snap runs in its own file system. It will not use
your $HOME/.sword and $HOME/.bibletime.



local build steps:

create a build directory (<builddir>)

cd to <builddir>

git clone git@github.com:bibletime/build-snap.git

From the <builddir> type "snapcraft" to build the snap file.

Install the snap file like this:
    sudo snap install --dangerous bibletime_3.1.0_amd64.snap

Run the installed bibletime:
    snap run bibletime  (run it)

To debug the installed bibletime:
    snap run -shell bibletime 

To change the build edit ./snap/snapcraft.yaml



remote build for snap store:

In the ,/snap/snapcraft.yaml file edit the following values the stable release:

    grade: stable (or devel for non-stable release including release candidate) 

    bibletime:
         source: <path to the release source file archive.>

Use the following command to remotely build BibleTime. This requires a
ubuntu lunchpd login with access to develop BibleTime snaps.
    snapcraft remote-build

When the build is complete push it to the ubuntu store:
    snapcraft push --release beta  bibletime_3.1.0_amd64.snap
where --release is edge, beta, candidate, or don't use option for stable.

To install from snap store:

    sudo snap install bibletime --beta (--candidate or --stable)
    



About

Files for locally building BibleTime as a snap package

Resources

Stars

Watchers

Forks