Commit Graph

14 Commits

Author SHA1 Message Date
Vadim Yanitskiy 4de54857ab dist: exclude libgsmhr files downloaded by fetch_sources.py
We deliberately do not include these files in the git repository,
nor do we intend to include them in the release tarballs.  This
is done intentionally to avoid potential licensing issues.

Change-Id: I66e31dec37e53bf1a8c7df948fd9316e1467752c
Related: OS#6227
2023-10-25 17:26:03 +07:00
Vadim Yanitskiy 27694363e0 libgsmhr: fix unneeded dependency for libgsmhr.c
Change-Id: I95900e3d26a7668246ec97d3182bea84156b4725
Related: OS#6227
2023-10-25 17:25:33 +07:00
Vadim Yanitskiy 99a6ba79c8 libgsmhr: make use of unused LIBVERSION variable
Change-Id: I4ef723bdd255fb81393806fdc500dacde2dd917f
2023-03-13 04:29:54 +07:00
Vadim Yanitskiy 62717b6375 build: fix packaging problems and make distcheck happy
The 'distcheck' rule performs all of the operations associated with
packaging a distribution and verifying that the distribution works.

There were several problems:

  - libgsmhr/Makefile.am: 'patches' dir was not listed in EXTRA_DIST
  - libgsmhr/Makefile.am: (dist)clean targets wan't defined properly
  - tests/Makefile.am: 'ref-files' dir was not listed in EXTRA_DIST
  - tests/testsuite.at: wrong path was used for io_sample.txt

Change-Id: Ieb8f6a2a81f9b75c8c6c5db443b0e7be02bc4153
2018-07-09 22:15:39 +07:00
Sylvain Munaut c0f0342596 libgsmhr: Make it safe to decode/encode different streams at once
Basically the reference code has a bunch of global state.
With some minimal patchihg (previous commit) we can ensure that all
that state is within .bss

So what we do it to save/restore the bss section between calls of the
reference code so we can process several in // and we don't have to
completely fix all reference to global state in the reference codec.

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2015-12-30 11:55:03 +01:00
Sylvain Munaut 5e2e0442e0 libgsmhr: Add some code cleanup / speedup patches for reference codec
Mostly this will help witht the upcoming bss switcheroo patch

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2015-12-30 11:55:03 +01:00
Sylvain Munaut 59a6c2dc62 libgsmhr: Use patch instead of 'sed'
Patches are without function-name and without context to minimize what
we have to include.

The current patchset does exactly what the previous 'sed' did, but this
will make it easier to add more.

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2015-12-30 11:55:03 +01:00
Sylvain Munaut 04a705f419 libgsmhr: Fix parallel build dependency
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2015-12-30 11:55:03 +01:00
Sylvain Munaut cddc91428f libgsmhr: fix Makefile.am dependency on source download
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2015-12-30 11:44:37 +01:00
Sylvain Munaut ea1c6c61f4 build: Use autotools 'subdir-objects' option
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2015-12-30 11:44:37 +01:00
Harald Welte bb782d98f3 Fix dist / distcheck targets by including fetch_sources.py in EXTRA_DIST 2015-11-05 21:37:57 +01:00
Sylvain Munaut 2c8b3fd281 build: Use AM_CPPFLAGS in Makefile.am
Since automake 1.13 INCLUDES is depricates and causes a warning

Inspired from similar patches by Alexander Huemer for other osmocom
projects

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2013-06-17 08:53:21 +02:00
Sylvain Munaut aa55d30d20 [2/4] HR support: Add logic to fetch reference source code and build it
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2010-11-12 20:47:30 +01:00
Sylvain Munaut 0d2a82c312 [1/4] HR support: Add autotools skeleton for libgsmhr
Not functional yet, just the autotools magic to make a library

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2010-11-12 20:36:14 +01:00