Commit Graph

63 Commits

Author SHA1 Message Date
Max b14caa0ab9 libosmocoding: fix .deb building
dpkg-buildpackage fails due to missing file descriptions - add necessary
.install and .doc-base files to fix it.

Change-Id: I5fb7e813c0860a3b5037e805deb84f9bf649ffa3
2017-03-07 15:36:33 +01:00
Vadim Yanitskiy 3262f820b5 libosmocoding: migrate transcoding routines from OsmoBTS
There are some projects, such as GR-GSM and OsmocomBB, which would
benefit from using one shared implementation of GSM 05.03 code. So,
this commit introduces a new sub-library called libosmocoding, which
(for now) provides GSM, GPRS and EDGE transcoding routines, migrated
from OsmoBTS.

The original GSM 05.03 code from OsmoBTS was relicensed under
GPLv2-or-later with permission of copyright holders (Andreas Eversberg,
Alexander Chemeris and Tom Tsou).

The following data types are currently supported:

 - xCCH
 - PDTCH (CS 1-4 and MCS 1-9)
 - TCH/FR
 - TCH/HR
 - TCH/AFS
 - RCH/AHS
 - RACH
 - SCH

Change-Id: I0c3256b87686d878e4e716d12393cad5924fdfa1
2017-03-07 01:06:38 +07:00
Max b632e03f65 Remove obsolete .deb patch
Change-Id: Icbf911540fcc840833c5012363c2ba48fd71db52
Related: OS#1694
2017-01-10 23:29:47 +00:00
Max 126def7105 Integrate Debian packaging changes
debian/control:
* restructure to make it easier to incorporate further changes
* update package descriptions
* move build-depends to a proper place
* update project URL

debian/rules:
* use proper hardening syntax
* strip linker option without explicit shell invocation
* remove useless comment
* add extra cleanup

debian/: package documentation separately

debian/docs: remove empty file

debian/coryright: update to match Debian format

Change-Id: Ia7654d34730e9f269831612bfba70a1338ce29d3
Related: OS#1694
2016-12-22 13:54:32 +00:00
Max 4e72ee0d0f Catch-up with git version tags
* update debian/changelog
* update TODO-RELEASE
* add comments to Makefile.am and TODO-RELEASE to simplify the process
  in future
* add link to libtool docs to Makefile.am to simplify LIBVERSION
  maintenance

Related: OS#1861
Change-Id: I22c257e357f597519120232d742d6a61289db021
2016-12-21 10:31:17 +00:00
Holger Hans Peter Freyther d71257fdb6 debian: Fix packaging by requiring python-minimal
We require the python2 binary to generate code. In Debian this
is provided by python-minimal. Add it to the build-depends to
fix building packages.

Change-Id: Iaa26f4331966d015b193d2ab1e34621b1e319ef1
Reviewed-on: https://gerrit.osmocom.org/37
Tested-by: Jenkins Builder
Reviewed-by: Holger Freyther <holger@freyther.de>
2016-05-10 11:43:25 +00:00
Harald Welte 84da22f964 Add code generator for convolutional codes
Add python utility to generate .c code with convolutional
encoder/decoder based on polynomial description of the code. If argument
given it'll be interpreted as intended output directory, otherwise
current working directory is used.

Codes for *CCH, CS2/3 and TCH/AFS are generated. Corresponding manual
implementations are removed from tests. This introduce build-time
dependency on python.

The main work for this patch was generously contributed by Sylvain
Munaut.

Fixes: OS#1629
2016-04-29 13:17:22 +02:00
Max 936151bbff Add static lib to -dev .deb package
According to https://www.debian.org/doc/debian-policy/ch-sharedlibs.html
and http://packaging.ubuntu.com/html/libraries.html that's where it
belongs.
2016-04-24 19:52:20 +02:00
Holger Hans Peter Freyther 57f253a792 debian: Make sure that libtalloc-dev is installed
This way libosmo-abis, libosmo-sccp, openggsn, openbsc does not
need to install it.
2016-03-05 08:36:26 +01:00
Holger Hans Peter Freyther e7c18dd59f debian: Avoid linking with -Bsymbolic-functions
Our tests want to be able to change symbols from the library and
even by using --wrap=XYZ it is not possible right now. One option
would be to use static linking but that is not always enabled, the
other is to skip tests on Ubuntu and the third one is to disable
that linking mode. This means that the dynamic linker needs to
spend some more time but we do spend this time on all other distros
and this looks acceptable.
2016-01-18 13:52:59 +01:00
Holger Hans Peter Freyther 62f80fccb8 talloc: Depend on libtalloc-dev being present as well 2015-12-14 20:31:20 +01:00
Harald Welte 84c19a9b36 update debian packaging from libosmocore6 to libosmocore7 2015-12-08 14:17:05 +01:00
Holger Hans Peter Freyther abc46af90f debian: Make a new minor release 2015-11-09 21:35:20 +01:00
Holger Hans Peter Freyther eed4695d06 debian: Roll a new release with the GPRS NS counter fix 2015-11-04 14:48:13 +01:00
Holger Hans Peter Freyther 6e149b1f1a debian: Make new minor release with the NS bugfix 2015-11-04 10:23:57 +01:00
Holger Hans Peter Freyther bb4ae64fbb debian: Install libosmoctrl0 too when installing the dev package 2015-11-03 11:36:18 +01:00
Holger Hans Peter Freyther 8649d57f50 misc: Prepare the release of libosmocore 0.9.0
Bump the ABI version of libosmovty and we need to do this
recursively to force rebuilds of our software.
2015-11-03 09:32:32 +01:00
Holger Hans Peter Freyther d452a48ac6 Prepare new upstream release 2015-08-23 17:39:14 +02:00
Holger Hans Peter Freyther c136da587f release: Prepare the 0.8.2 release
I have kind of used 0.8.1 by accident already so let us move
to 0.8.2 now.
2015-08-01 20:20:24 +02:00
Holger Hans Peter Freyther a6ea50c4ff debian: New development release with APN changes for the SGSN 2015-05-25 14:17:29 +02:00
Holger Hans Peter Freyther 16082fd3cd debian: Bump version for new local packages 2015-05-06 17:58:45 +02:00
Holger Hans Peter Freyther ad69f89b52 debian: Build new version 2015-04-16 21:23:49 +02:00
Holger Hans Peter Freyther 4dafdefa7a debian: Aim for a higher standards version 2015-03-14 19:30:19 +01:00
Holger Hans Peter Freyther 4d45d40c78 debian: Move to multi-arch support in libosmocore
Enable multi-arch support in libosmocore. This means the package
can not be built on squeeze anymore.

The concept of "foreign" is not really well documented but I
think I use it correctly here.
2015-03-14 19:22:34 +01:00
Holger Hans Peter Freyther 19d00517af debian: Add pcsc build depends and pkg-config for the m4 macro 2015-01-27 11:08:27 +01:00
Holger Hans Peter Freyther 25aeab7a82 Prepare a new libosmocore release 2015-01-18 19:20:42 +01:00
Ciaby 8497b0a786 Fix debian packaging
- Added debian/libosmosim0.install
- Added libosmosim definition in debian/control
2014-11-10 20:28:33 +01:00
Holger Hans Peter Freyther 804590e6d2 debian: Depend on the right version of libosmogsm as well 2014-09-08 07:44:20 +02:00
Holger Hans Peter Freyther 575a5395a6 debian: Depend on libosmocore5 for the legacy package 2014-09-08 07:27:52 +02:00
Ciaby 2cbfb5967c debian: fix build errors with libosmogsm and libosmoctrl
libosmogsm: the transition from 5 to 6 wasn't done properly. Fixed version number.
libosmoctrl: missing definition in debian/control and also missing libosmoctrl0.install.
2014-09-08 07:18:12 +02:00
Harald Welte 336915aa0a prepare for 0.7.0 release 2014-08-21 15:53:20 +02:00
Holger Hans Peter Freyther 0c50b17a26 Release: Prepare the release of 0.6.6 2014-03-31 15:40:46 +02:00
Holger Hans Peter Freyther 050e9c4a1c debian: Build the new upstream version of libosmocore 2014-01-20 10:37:42 +01:00
Holger Hans Peter Freyther 6308c29711 debian: Enable hardening options for debian 2013-12-12 12:41:11 +01:00
Jacob Erlbeck 1fa1664623 debian: Update the changelog
Sponsored-by: On-Waves ehf
2013-11-11 13:04:17 +01:00
Holger Hans Peter Freyther 7fcb3ce2df debian: Update the changelog 2013-10-25 09:52:58 +02:00
Holger Hans Peter Freyther 81286a7f43 debian: Bump the changelog for some new packages 2013-10-17 14:49:02 +02:00
Holger Hans Peter Freyther f41e5e6c5d release: Prepare the 0.6.4 release of libosmocore
New interfaces and ABI incompatible changes in the GB library
2013-10-15 13:22:15 +02:00
Holger Hans Peter Freyther 4cb8b94db8 debian: Print test results in case of a failure 2013-10-10 20:07:07 +02:00
Holger Hans Peter Freyther 9a935e27b5 debian: Split libosmocore into various libs and address lintian warnings
Package the various libraries separately. This will allow to install
libosmogsm3 and libosmogsm4 in parallel.

E: libosmocore-dev: non-empty-dependency_libs-in-la-file usr/lib/libosmocore.la
E: libosmocore-dev: non-empty-dependency_libs-in-la-file usr/lib/libosmogb.la
E: libosmocore-dev: non-empty-dependency_libs-in-la-file usr/lib/libosmogsm.la
E: libosmocore-dev: non-empty-dependency_libs-in-la-file usr/lib/libosmovty.la

W: libosmocore-dbg: wrong-bug-number-in-closes l54:#nnnn
W: libosmocore: wrong-bug-number-in-closes l54:#nnnn

W: libosmocore: package-name-doesnt-match-sonames libosmocodec0 libosmocore4 libosmogb2 libosmogsm4 libosmovty0
2013-08-12 15:29:54 +02:00
Holger Hans Peter Freyther 73fa6427aa debian: Create a new upstream changelog entry 2013-08-09 17:48:23 +02:00
Holger Hans Peter Freyther d24467579d debian: Prepare the 0.6.2 release with a new changelog 2013-07-01 09:33:07 +02:00
Holger Hans Peter Freyther b64b2b0313 debian: Start a new release cycle with libosmocore 0.6.0 2013-03-25 17:41:15 +01:00
Holger Hans Peter Freyther a5007dbdc5 debian: Re-enable the debug packages
Remove the .dirs/.install as things will go wrong then. debhelper
will try to install the debug symbols before they were created. Thanks
to Jan for pointing that out.
2013-02-13 20:00:54 +01:00
Holger Hans Peter Freyther b3f304bc26 debian: Update the change log for a new package 2013-02-13 18:14:29 +01:00
Holger Hans Peter Freyther b73d191c0b debian: Bump the changelog and package osmo-arfcn 2013-01-04 10:10:52 +01:00
Holger Hans Peter Freyther 9e6789da18 debian: Create a git-buildpackage based 0.5.3 2012-11-06 14:01:54 +01:00
Holger Hans Peter Freyther b6cb37fec7 debian: Testing was disabled because of a funny x86 compiler issue caused by us
The bits test will fail on Debian Stable for x86. Somehow the load
of a static const array is ending up accessing random memory. This
only happens when not using any -OX options and this is caused by
us. Do not override the default debian CFLAGS.. and the tests will
pass on debian stable.
2012-11-05 21:28:03 +01:00
Max db75331e06 Fix build with dpkg-buildpackage. 2012-09-17 08:36:46 +02:00
Eric Butler b5372ab110 Use package version since git info won't be available. 2012-08-26 20:11:24 +02:00