Hello community, here is the log from the commit of package multimon-ng for openSUSE:Factory checked in at 2018-10-25 08:13:12 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/multimon-ng (Old) and /work/SRC/openSUSE:Factory/.multimon-ng.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "multimon-ng" Thu Oct 25 08:13:12 2018 rev:4 rq:642787 version:1.1.6+git.20181017 Changes: -------- --- /work/SRC/openSUSE:Factory/multimon-ng/multimon-ng.changes 2018-06-13 15:36:40.598552551 +0200 +++ /work/SRC/openSUSE:Factory/.multimon-ng.new/multimon-ng.changes 2018-10-25 08:14:15.756124390 +0200 @@ -1,0 +2,9 @@ +Wed Oct 17 18:11:27 UTC 2018 - mar...@gmx.de + +- Update to version 1.1.6+git.20181017: + * version 1.1.6 + * Add a stub replacement for BCHCode.c + * Restore copyright notice from bch3121.c + * Restore FSF notice on the FLEX decoder derived from GNU Radio + +------------------------------------------------------------------- Old: ---- multimon-ng-1.1.5+git.20180527.tar.xz New: ---- multimon-ng-1.1.6+git.20181017.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ multimon-ng.spec ++++++ --- /var/tmp/diff_new_pack.5Np0bn/_old 2018-10-25 08:14:16.624124018 +0200 +++ /var/tmp/diff_new_pack.5Np0bn/_new 2018-10-25 08:14:16.624124018 +0200 @@ -18,7 +18,7 @@ Name: multimon-ng -Version: 1.1.5+git.20180527 +Version: 1.1.6+git.20181017 Release: 0 Summary: A fork of multimon, decodes multiple digital transmission modes License: GPL-2.0-only ++++++ _servicedata ++++++ --- /var/tmp/diff_new_pack.5Np0bn/_old 2018-10-25 08:14:16.664124001 +0200 +++ /var/tmp/diff_new_pack.5Np0bn/_new 2018-10-25 08:14:16.664124001 +0200 @@ -1,4 +1,4 @@ <servicedata> <service name="tar_scm"> <param name="url">https://github.com/EliasOenal/multimon-ng.git</param> - <param name="changesrevision">9b4936ccc688018ffc1040429f3e1cc4d9b4ec07</param></service></servicedata> \ No newline at end of file + <param name="changesrevision">46c3b0a88fd58642e0350af7cc5d4e56aec89d13</param></service></servicedata> \ No newline at end of file ++++++ multimon-ng-1.1.5+git.20180527.tar.xz -> multimon-ng-1.1.6+git.20181017.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/multimon-ng-1.1.5+git.20180527/BCHCode.c new/multimon-ng-1.1.6+git.20181017/BCHCode.c --- old/multimon-ng-1.1.5+git.20180527/BCHCode.c 2018-05-27 20:10:42.000000000 +0200 +++ new/multimon-ng-1.1.6+git.20181017/BCHCode.c 2018-10-17 13:38:23.000000000 +0200 @@ -1,4 +1,52 @@ /* + * File: bch3121.c + * Author: Robert Morelos-Zaragoza + * + * %%%%%%%%%%% Encoder/Decoder for a (31,21,5) binary BCH code %%%%%%%%%%%%% + * + * This code is used in the POCSAG protocol specification for pagers. + * + * In this specific case, there is no need to use the Berlekamp-Massey + * algorithm, since the error locator polynomial is of at most degree 2. + * Instead, we simply solve by hand two simultaneous equations to give + * the coefficients of the error locator polynomial in the case of two + * errors. In the case of one error, the location is given by the first + * syndrome. + * + * This program derivates from the original bch2.c, which was written + * to simulate the encoding/decoding of primitive binary BCH codes. + * Part of this program is adapted from a Reed-Solomon encoder/decoder + * program, 'rs.c', to the binary case. + * + * rs.c by Simon Rockliff, University of Adelaide, 21/9/89 + * bch2.c by Robert Morelos-Zaragoza, University of Hawaii, 5/19/92 + * + * COPYRIGHT NOTICE: This computer program is free for non-commercial purposes. + * You may implement this program for any non-commercial application. You may + * also implement this program for commercial purposes, provided that you + * obtain my written permission. Any modification of this program is covered + * by this copyright. + * + * %%%% Copyright 1994 (c) Robert Morelos-Zaragoza. All rights reserved. %%%%% + * + * m = order of the field GF(2**5) = 5 + * n = 2**5 - 1 = 31 = length + * t = 2 = error correcting capability + * d = 2*t + 1 = 5 = designed minimum distance + * k = n - deg(g(x)) = 21 = dimension + * p[] = coefficients of primitive polynomial used to generate GF(2**5) + * g[] = coefficients of generator polynomial, g(x) + * alpha_to [] = log table of GF(2**5) + * index_of[] = antilog table of GF(2**5) + * data[] = coefficients of data polynomial, i(x) + * bb[] = coefficients of redundancy polynomial ( x**(10) i(x) ) modulo g(x) + * numerr = number of errors + * errpos[] = error positions + * recd[] = coefficients of received polynomial + * decerror = number of decoding errors (in MESSAGE positions) + * + */ +/* * BCHCode.c * * Copyright (C) 2015 Craig Shelley (cr...@microtron.org.uk) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/multimon-ng-1.1.5+git.20180527/BCHCode_stub.c new/multimon-ng-1.1.6+git.20181017/BCHCode_stub.c --- old/multimon-ng-1.1.5+git.20180527/BCHCode_stub.c 1970-01-01 01:00:00.000000000 +0100 +++ new/multimon-ng-1.1.6+git.20181017/BCHCode_stub.c 2018-10-17 13:38:23.000000000 +0200 @@ -0,0 +1,50 @@ +/* + * BCHCode_stub.c + * + * Copyright (C) 2018 Göran Weinholt <weinh...@debian.org> + * + * Stub replacement for BCHCode.c, whose license is GPL incompatible + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ + +#include <stdlib.h> +#include "BCHCode.h" + +struct BCHCode { +}; + +struct BCHCode *BCHCode_New(int p[], int m, int n, int k, int t) +{ + /* Ignore unused variables */ + (void) p; + (void) m; + (void) n; + (void) k; + (void) t; + return malloc(sizeof(struct BCHCode)); +} + +void BCHCode_Delete(struct BCHCode *BCHCode_data) +{ + free(BCHCode_data); +} + +int BCHCode_Decode(struct BCHCode *BCHCode_data, int recd[]) +{ + (void) BCHCode_data; + (void) recd; + return 0; +} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/multimon-ng-1.1.5+git.20180527/CMakeLists.txt new/multimon-ng-1.1.6+git.20181017/CMakeLists.txt --- old/multimon-ng-1.1.5+git.20180527/CMakeLists.txt 2018-05-27 20:10:42.000000000 +0200 +++ new/multimon-ng-1.1.6+git.20181017/CMakeLists.txt 2018-10-17 13:38:23.000000000 +0200 @@ -11,10 +11,10 @@ endif( NOT WIN32 ) set( TARGET "${PROJECT_NAME}" ) -set( VERSION "1.1.5" ) +set( VERSION "1.1.6" ) set( MAJOR "1" ) set( MINOR "1" ) -set( PATCH "5" ) +set( PATCH "6" ) set( CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra" ) if( WIN32 ) @@ -67,6 +67,15 @@ endif( NOT MSVC ) add_definitions( "-DMAX_VERBOSE_LEVEL=3" "-DCHARSET_UTF8" ) +if ( EXISTS "${multimon-ng_SOURCE_DIR}/BCHCode.c" ) + set( SOURCES ${SOURCES} + BCHCode.c ) +else() + message(STATUS "Using the BCH decoder stub") + set( SOURCES ${SOURCES} + BCHCode_stub.c ) +endif() + set( HEADERS ${HEADERS} multimon.h gen.h @@ -102,7 +111,6 @@ demod_afsk24_2.c demod_afsk12.c demod_flex.c - BCHCode.c costabi.c costabf.c clip.c diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/multimon-ng-1.1.5+git.20180527/demod_flex.c new/multimon-ng-1.1.6+git.20181017/demod_flex.c --- old/multimon-ng-1.1.5+git.20180527/demod_flex.c 2018-05-27 20:10:42.000000000 +0200 +++ new/multimon-ng-1.1.6+git.20181017/demod_flex.c 2018-10-17 13:38:23.000000000 +0200 @@ -1,23 +1,25 @@ /* * demod_flex.c * + * Copyright 2004,2006,2010 Free Software Foundation, Inc. * Copyright (C) 2015 Craig Shelley (cr...@microtron.org.uk) * * FLEX Radio Paging Decoder - Adapted from GNURadio for use with Multimon * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * GNU Radio is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 3, or (at your option) + * any later version. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * GNU Radio is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + * You should have received a copy of the GNU General Public License + * along with GNU Radio; see the file COPYING. If not, write to + * the Free Software Foundation, Inc., 51 Franklin Street, + * Boston, MA 02110-1301, USA. */ /* * Version 0.9.0v (22 May 2018) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/multimon-ng-1.1.5+git.20180527/unixinput.c new/multimon-ng-1.1.6+git.20181017/unixinput.c --- old/multimon-ng-1.1.5+git.20180527/unixinput.c 2018-05-27 20:10:42.000000000 +0200 +++ new/multimon-ng-1.1.6+git.20181017/unixinput.c 2018-10-17 13:38:23.000000000 +0200 @@ -778,7 +778,7 @@ if ( !quietflg ) { // pay heed to the quietflg - fprintf(stderr, "multimon-ng 1.1.5\n" + fprintf(stderr, "multimon-ng 1.1.6\n" " (C) 1996/1997 by Tom Sailer HB9JNX/AE4WA\n" " (C) 2012-2018 by Elias Oenal\n" "Available demodulators:");