fdroid-repomaker/debian
Hans-Christoph Steiner 3f99397053 set supported versions for django tinymce, use embedded tinymce 2020-10-08 11:46:26 +02:00
..
data release v1.0.0b2 (#223) 2020-10-07 20:59:38 +02:00
source Add Debian files for building package with dh_virtualenv 2017-07-31 19:02:15 -03:00
README.md Add Debian build instructions and some packaging fixes 2017-09-18 18:02:34 -03:00
changelog Add a window with pywebview and an application shortcut 2017-09-22 10:18:05 -03:00
compat Add Debian files for building package with dh_virtualenv 2017-07-31 19:02:15 -03:00
control purge all references to aapt and a specific JDK version 2020-10-08 10:51:38 +02:00
repomaker.install Make first letter of Repomaker in app ID upper case 2018-12-15 15:12:27 +01:00
requirements.txt set supported versions for django tinymce, use embedded tinymce 2020-10-08 11:46:26 +02:00
rules Update packaging 2019-01-03 22:02:25 +01:00

README.md

Building Debian Package

As of writing, not all dependencies are in Debian. That is why a virtualenv approach is used that is shipping various dependencies without the package.

Before building the package, call the following command to prepare all non-code files for inclusion:

./pre-release.sh

Using dpkg-buildpackage

In the repository root execute the following command to build a Debian package.

dpkg-buildpackage -b -us -uc

It is advised to build packages in a minimal chroot instead, so dependencies can be detected and added properly.

Setup

Install pbuilder:

sudo apt install pbuilder

Enable network access during builds to download python dependencies:

echo USENETWORK=yes >> ~/.pbuilderrc

Create chroot environment image:

sudo pbuilder create --distribution stable

Building

Build the package:

pdebuild

If everything goes well, you should find the Debian package in

/var/cache/pbuilder/result/