mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-24 06:59:27 -05:00
added info for building/packaging on debian stretch
This commit is contained in:
parent
3ae85dbc6f
commit
545bcde5ad
@ -2,7 +2,7 @@ Source: retroshare
|
||||
Section: devel
|
||||
Priority: standard
|
||||
Maintainer: Cyril Soler <csoler@users.sourceforge.net>
|
||||
Build-Depends: debhelper (>= 7), libglib2.0-dev, libupnp-dev, libssl-dev, libxss-dev, libgnome-keyring-dev, libbz2-dev, libspeex-dev, libspeexdsp-dev, libxslt1-dev, cmake, libcurl4-openssl-dev, libopencv-dev, tcl8.6, libsqlcipher-dev (>= 3.4.0), libmicrohttpd-dev, libavcodec-dev, qtmultimedia5-dev, qttools5-dev, libqt5x11extras5-dev, qt5-default
|
||||
Build-Depends: debhelper (>= 7), libglib2.0-dev, libupnp-dev, libssl-dev, libxss-dev, libgnome-keyring-dev, libbz2-dev, libspeex-dev, libspeexdsp-dev, libxslt1-dev, cmake, libcurl4-openssl-dev, libopencv-dev, tcl8.6, libsqlcipher-dev (>= 3.4.1), libmicrohttpd-dev, libavcodec-dev, qtmultimedia5-dev, qttools5-dev, libqt5x11extras5-dev, qt5-default
|
||||
Standards-Version: 3.9.6
|
||||
Homepage: http://retroshare.sourceforge.net
|
||||
|
||||
|
36
build_scripts/Debian+Ubuntu/how_to_build_for_stretch.txt
Normal file
36
build_scripts/Debian+Ubuntu/how_to_build_for_stretch.txt
Normal file
@ -0,0 +1,36 @@
|
||||
Aug 09, 2017
|
||||
============
|
||||
|
||||
Building packages for debian stretch requires an extra dependency of libsqlcipher0-3.4.1, which is not shipped mainstream with Debian.
|
||||
As a consequence, the package needs to be added to pbuilder before it's creating the .deb
|
||||
|
||||
0 - create the .dsc for debian stretch using the RS packaging script
|
||||
|
||||
> ./makeSourcePackage.sh -distribution stretch
|
||||
|
||||
This should produce the file retroshare_0.6.3-1.20170806.3ae85dbc~stretch.dsc
|
||||
|
||||
1 - add /home/csoler/pbuilder/stretch_result as an extra deb repository for pbuilder:
|
||||
|
||||
> cat ~/.pbuilderrc
|
||||
HOOKDIR="/var/cache/pbuilder/hook.d"
|
||||
BINDMOUNTS="/home/csoler/pbuilder/stretch_result"
|
||||
|
||||
> cat /var/cache/pbuilder/hook.d/D70results
|
||||
cd /home/csoler/pbuilder/stretch_result
|
||||
/usr/bin/dpkg-scanpackages . /dev/null > /home/csoler/pbuilder/stretch_result/Packages
|
||||
/usr/bin/apt-get update
|
||||
|
||||
2 - make sure that the directory /home/csoler/pbuilder/stretch-result/ contains the packages needed:
|
||||
|
||||
> ls -l ~/pbuilder/stretch_result/
|
||||
total 1344
|
||||
-rw-r--r-- libsqlcipher0_3.4.1-1_amd64.deb
|
||||
-rw-r--r-- libsqlcipher-dev_3.4.1-1_amd64.deb
|
||||
|
||||
3 - build the package using additional arguments to pbuilder-dist:
|
||||
|
||||
> pbuilder-dist stretch build --override-config --othermirror "deb [trusted=yes] file:///home/csoler/pbuilder/stretch_result ./" retroshare_0.6.3-1.20170806.3ae85dbc~stretch.dsc
|
||||
|
||||
Sources:
|
||||
* http://blog.anthonywong.net/2014/10/26/how-to-include-local-packages-for-pbuilder/
|
Loading…
Reference in New Issue
Block a user