linphone packaging and testing sbuild
Geert Stappers
stappers at stappers.nl
Sat May 6 22:46:21 UTC 2017
On Thu, Apr 27, 2017 at 04:56:15PM +0200, Johannes Schauer wrote:
> Quoting Geert Stappers (2017-04-27 13:54:29)
> > On Thu, Apr 27, 2017 at 08:42:34AM +0200, Johannes Schauer wrote:
> > > Quoting Johannes Schauer (2017-04-24 10:38:30)
> > > > If I see it correctly, the various source packages depend on each other in
> > > > the following way:
> > [ http://lists.alioth.debian.org/pipermail/pkg-voip-maintainers/2017-April/030499.html ]
> >
> > Would be nice it that dependency graph gets into debian/README.source
>
> done.
>
> > That will need either binaries or build instructions.
>
> Here is how I build everything from scratch using gbp and sbuild:
>
> $ gbp clone --pristine-tar https://anonscm.debian.org/git/pkg-voip/bctoolbox.git
> $ cd bctoolbox
> $ gbp buildpackage --git-pristine-tar --git-builder=sbuild
$ gbp buildpackage --git-pristine-tar --git-builder=sbuild
dh clean --buildsystem=cmake
dh_testdir -O--buildsystem=cmake
dh_auto_clean -O--buildsystem=cmake
dh_autoreconf_clean -O--buildsystem=cmake
dh_clean -O--buildsystem=cmake
dpkg-source: info: using source format '3.0 (quilt)'
dpkg-source: info: building bctoolbox using existing ./bctoolbox_0.5.1.orig.tar.gz
dpkg-source: info: building bctoolbox in bctoolbox_0.5.1-1.debian.tar.xz
dpkg-source: info: building bctoolbox in bctoolbox_0.5.1-1.dsc
sbuild (Debian sbuild) 0.73.0 (23 Dec 2016) on paddy.gpm.stappers.nl
+==============================================================================+
| bctoolbox 0.5.1-1 (amd64) Sat, 06 May 2017 22:43:10 +0000 |
+==============================================================================+
Package: bctoolbox
Version: 0.5.1-1
Source Version: 0.5.1-1
Distribution: UNRELEASED
Machine Architecture: amd64
Host Architecture: amd64
Build Architecture: amd64
Build Type: any
chroot:UNRELEASED chroot does not exist
E: Error creating chroot session: skipping bctoolbox
> $ cd ..
> $ gbp clone --pristine-tar https://anonscm.debian.org/git/pkg-voip/ortp.git
> $ cd ortp
> $ gbp buildpackage --git-pristine-tar --git-builder=sbuild --extra-package=../libbctoolbox-dev_0.5.1-1_amd64.deb --extra-package=../libbctoolbox1_0.5.1-1_amd64.deb
> $ cd ..
> $ gbp clone https://anonscm.debian.org/git/pkg-voip/bzrtp.git
> $ cd bzrtp
> $ gbp buildpackage --git-pristine-tar --git-builder=sbuild --extra-package=../libbctoolbox-dev_0.5.1-1_amd64.deb --extra-package=../libbctoolbox1_0.5.1-1_amd64.deb
> $ cd ..
> $ gbp clone https://anonscm.debian.org/git/pkg-voip/belle-sip.git
> $ cd belle-sip
> $ gbp buildpackage --git-pristine-tar --git-builder=sbuild --extra-package=../libbctoolbox-dev_0.5.1-1_amd64.deb --extra-package=../libbctoolbox1_0.5.1-1_amd64.deb
> $ cd ..
> $ gbp clone https://anonscm.debian.org/git/pkg-voip/mediastreamer2.git
> $ cd mediastreamer2
> $ gbp buildpackage --git-pristine-tar --git-builder=sbuild --extra-package=../libbctoolbox-dev_0.5.1-1_amd64.deb --extra-package=../libbctoolbox1_0.5.1-1_amd64.deb --extra-package=../libbzrtp0_1.0.5-1_amd64.deb --extra-package=../libbzrtp-dev_1.0.5-1_amd64.deb --extra-package=../libortp-dev_1.0.1-1_amd64.deb --extra-package=../libortp13_1.0.1-1_amd64.deb
> $ cd ..
> $ gbp clone https://anonscm.debian.org/git/pkg-voip/linphone.git
> $ cd linphone
> $ gbp buildpackage --git-pristine-tar --git-builder=sbuild --extra-package=../libbctoolbox-dev_0.5.1-1_amd64.deb --extra-package=../libbctoolbox1_0.5.1-1_amd64.deb --extra-package=../libortp-dev_1.0.1-1_amd64.deb --extra-package=../libortp13_1.0.1-1_amd64.deb --extra-package=../libbzrtp0_1.0.5-1_amd64.deb --extra-package=../libbzrtp-dev_1.0.5-1_amd64.deb --extra-package=../libmediastreamer-dev_2.15.1-1_amd64.deb --extra-package=../libmediastreamer-voip9_2.15.1-1_amd64.deb --extra-package=../libmediastreamer-base9_2.15.1-1_amd64.deb --extra-package=../libbellesip0_1.6.1-1_amd64.deb --extra-package=../libbellesip-dev_1.6.1-1_amd64.deb
> $ cd ..
> $ sudo dpkg -i linphone_3.11.1-1_amd64.deb libbctoolbox1_0.5.1-1_amd64.deb libbellesip0_1.6.1-1_amd64.deb liblinphone9_3.11.1-1_amd64.deb libmediastreamer-base9_2.15.1-1_amd64.deb libmediastreamer-voip9_2.15.1-1_amd64.deb libortp13_1.0.1-1_amd64.deb linphone-nogtk_3.11.1-1_amd64.deb libbzrtp0_1.0.5-1_amd64.deb linphone-common_3.11.1-1_all.deb
>
> Thanks!
>
> cheers, josch
> _______________________________________________
> Pkg-voip-maintainers mailing list
> Pkg-voip-maintainers at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-voip-maintainers
--
Groeten
Geert Stappers
--
Leven en laten leven
More information about the Pkg-voip-maintainers
mailing list