Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package libzia for openSUSE:Factory checked in at 2026-02-23 16:12:02 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libzia (Old) and /work/SRC/openSUSE:Factory/.libzia.new.1977 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libzia" Mon Feb 23 16:12:02 2026 rev:4 rq:1334285 version:4.71 Changes: -------- --- /work/SRC/openSUSE:Factory/libzia/libzia.changes 2026-01-27 16:14:35.215732358 +0100 +++ /work/SRC/openSUSE:Factory/.libzia.new.1977/libzia.changes 2026-02-23 16:12:04.800180343 +0100 @@ -1,0 +2,6 @@ +Sat Feb 21 18:01:41 UTC 2026 - Andreas Stieger <[email protected]> + +- update to 4.71: + * companion release to tucnak 4.71 + +------------------------------------------------------------------- Old: ---- libzia-4.70.tar.gz New: ---- libzia-4.71.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libzia.spec ++++++ --- /var/tmp/diff_new_pack.eMK09O/_old 2026-02-23 16:12:05.596213157 +0100 +++ /var/tmp/diff_new_pack.eMK09O/_new 2026-02-23 16:12:05.600213322 +0100 @@ -10,9 +10,9 @@ # Please submit bugfixes or comments via https://bugs.opensuse.org/ # -%define soname 4_70 +%define soname 4_71 Name: libzia -Version: 4.70 +Version: 4.71 Release: 0 Summary: Libraries for tucnak License: GPL-2.0-or-later ++++++ libzia-4.70.tar.gz -> libzia-4.71.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libzia-4.70/bin/zia-config new/libzia-4.71/bin/zia-config --- old/libzia-4.70/bin/zia-config 2025-12-14 12:09:09.000000000 +0100 +++ new/libzia-4.71/bin/zia-config 2026-02-16 10:16:29.000000000 +0100 @@ -94,7 +94,7 @@ echo $exec_prefix ;; --version) - echo "4.70" + echo "4.71" ;; --cflags) echo "$cflags -I$prefix/include/libzia" @@ -103,7 +103,7 @@ echo "$cflags" ;; --libs) - echo "$libs -L$prefix/lib -lzia-4.70 -lutil" + echo "$libs -L$prefix/lib -lzia-4.71 -lutil" ;; --libs2) echo "$libs" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libzia-4.70/configure new/libzia-4.71/configure --- old/libzia-4.70/configure 2025-12-14 11:20:29.000000000 +0100 +++ new/libzia-4.71/configure 2026-02-16 09:22:06.000000000 +0100 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.71 for libzia 4.70. +# Generated by GNU Autoconf 2.71 for libzia 4.71. # # # Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation, @@ -618,8 +618,8 @@ # Identity of this package. PACKAGE_NAME='libzia' PACKAGE_TARNAME='libzia' -PACKAGE_VERSION='4.70' -PACKAGE_STRING='libzia 4.70' +PACKAGE_VERSION='4.71' +PACKAGE_STRING='libzia 4.71' PACKAGE_BUGREPORT='' PACKAGE_URL='' @@ -1411,7 +1411,7 @@ # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures libzia 4.70 to adapt to many kinds of systems. +\`configure' configures libzia 4.71 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1483,7 +1483,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of libzia 4.70:";; + short | recursive ) echo "Configuration of libzia 4.71:";; esac cat <<\_ACEOF @@ -1629,7 +1629,7 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -libzia configure 4.70 +libzia configure 4.71 generated by GNU Autoconf 2.71 Copyright (C) 2021 Free Software Foundation, Inc. @@ -2079,7 +2079,7 @@ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by libzia $as_me 4.70, which was +It was created by libzia $as_me 4.71, which was generated by GNU Autoconf 2.71. Invocation command line was $ $0$ac_configure_args_raw @@ -3467,7 +3467,7 @@ # Define the identity of the package. PACKAGE='libzia' - VERSION='4.70' + VERSION='4.71' printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h @@ -17507,7 +17507,7 @@ # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by libzia $as_me 4.70, which was +This file was extended by libzia $as_me 4.71, which was generated by GNU Autoconf 2.71. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -17575,7 +17575,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config='$ac_cs_config_escaped' ac_cs_version="\\ -libzia config.status 4.70 +libzia config.status 4.71 configured by $0, generated by GNU Autoconf 2.71, with options \\"\$ac_cs_config\\" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libzia-4.70/configure.ac new/libzia-4.71/configure.ac --- old/libzia-4.70/configure.ac 2025-12-14 11:20:17.000000000 +0100 +++ new/libzia-4.71/configure.ac 2026-02-16 09:21:57.000000000 +0100 @@ -1,4 +1,4 @@ -AC_INIT([libzia],[4.70]) +AC_INIT([libzia],[4.71]) AC_CONFIG_HEADERS(config.h) AC_CONFIG_SRCDIR(src/eprintf.c) AC_CANONICAL_TARGET diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libzia-4.70/include/android/zconfig.h new/libzia-4.71/include/android/zconfig.h --- old/libzia-4.70/include/android/zconfig.h 2025-12-14 12:09:09.000000000 +0100 +++ new/libzia-4.71/include/android/zconfig.h 2026-02-16 10:16:29.000000000 +0100 @@ -6,7 +6,7 @@ // #define Z_PACKAGE "libzia" -#define Z_VERSION "4.70" +#define Z_VERSION "4.71" #define Z_PACKAGE_NAME Z_PACKAGE #define Z_PACKAGE_VERSION Z_VERSION #include <zsvnversion.h> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libzia-4.70/include/msvc/zconfig.h new/libzia-4.71/include/msvc/zconfig.h --- old/libzia-4.70/include/msvc/zconfig.h 2025-12-14 12:09:09.000000000 +0100 +++ new/libzia-4.71/include/msvc/zconfig.h 2026-02-16 10:16:30.000000000 +0100 @@ -6,7 +6,7 @@ // #define Z_PACKAGE "libzia" -#define Z_VERSION "4.70" +#define Z_VERSION "4.71" #define Z_PACKAGE_NAME Z_PACKAGE #define Z_PACKAGE_VERSION Z_VERSION #include <zsvnver.h> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libzia-4.70/include/zloc.h new/libzia-4.71/include/zloc.h --- old/libzia-4.70/include/zloc.h 2024-08-23 14:40:34.000000000 +0200 +++ new/libzia-4.71/include/zloc.h 2026-02-12 21:42:06.000000000 +0100 @@ -29,6 +29,7 @@ void km2qrbqtf(int kx, int ky, double *qrb, double *qtf); int qrbqtf2hw(double h1, double w1, double qrb, double qtf, double *h2, double *w2); +int qrbqtf2lonlat(double h1, double w1, double qrb, double qtf_deg, double* lon, double* lat); int qsopwr( char *myqth, char *recqth); int qthwr(char *qth,int width); void qrb_qtf_int(char *mywwl, char *wwl, int *qrb_int, int *qtf_int); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libzia-4.70/include/zselect.h new/libzia-4.71/include/zselect.h --- old/libzia-4.70/include/zselect.h 2024-08-23 14:40:34.000000000 +0200 +++ new/libzia-4.71/include/zselect.h 2026-02-16 09:27:49.000000000 +0100 @@ -58,9 +58,10 @@ #define set_handlers(n, r, w, x, a) debug_set_handlers(__FILE__, __LINE__, n, r, w, x, a, #r, #w, #x); #else */ #define zselect_timer_new(zsel, ztime, fn, arg) zselect_timer_new_dbg((zsel), (ztime), (fn), (#fn), arg) -int zselect_timer_new_dbg(struct zselect *zsel, ztime, void (*)(void *), char *fname, void *arg); /* todo argument callbacku */ +int zselect_timer_new_dbg(struct zselect *zsel, ztime, void (*)(void *), const char *fname, void *arg); /* todo argument callbacku */ int zselect_timer_new_at(struct zselect *zsel, struct timeval *at, void (*)(void *), void *arg); -void zselect_timer_kill(struct zselect *zsel, int); +#define zselect_timer_kill(zsel, id) zselect_timer_kill_dbg((zsel), (id), __FUNCTION__) +void zselect_timer_kill_dbg(struct zselect *zsel, int, const char* fname); #define zselect_set(zsel, fd, read_fn, write_fn, error_fn, arg) zselect_set_dbg((zsel), (fd), (read_fn), (#read_fn), (write_fn), (#write_fn), (error_fn), (#error_fn), (arg)) void zselect_set_dbg(struct zselect *zsel, int, void (*)(void *), char *, void (*)(void *), char *, void (*)(void *), char *, void *arg); void zselect_set_read(struct zselect *zsel, int fd, void (*write_func)(void *), void *arg); @@ -96,7 +97,7 @@ void zselect_start_profile(struct zselect *zsel, double limit); void zselect_hint(struct zselect *zsel, const char *fmt, ...); -void zselect_handle_profile(struct zselect *zsel, struct timeval *start, void *fce, char *fname); +void zselect_handle_profile(struct zselect *zsel, struct timeval *start, void *fce, const char *fname); int zselect_profiling(struct zselect *zsel); void zselect_abort_exception(void *arg); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libzia-4.70/include/zsvnversion.h new/libzia-4.71/include/zsvnversion.h --- old/libzia-4.70/include/zsvnversion.h 2025-12-14 11:20:44.000000000 +0100 +++ new/libzia-4.71/include/zsvnversion.h 2026-02-16 09:27:54.000000000 +0100 @@ -1 +1 @@ -#define Z_SVNVER "12696M" +#define Z_SVNVER "12821M" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libzia-4.70/src/zloc.c new/libzia-4.71/src/zloc.c --- old/libzia-4.70/src/zloc.c 2024-11-11 08:51:06.000000000 +0100 +++ new/libzia-4.71/src/zloc.c 2026-02-12 21:42:06.000000000 +0100 @@ -235,6 +235,30 @@ return 0; } +/* qtf in degrees */ +int qrbqtf2lonlat(double h1, double w1, double qrb, double qtf_deg, double* lon, double* lat) { + double dh, d; + + if (qrb > ZLOC_R_EARTH * M_PI) return -1; + d = qrb / ZLOC_R_EARTH; + + double qtf_rad = qtf_deg * M_PI / 180.0; + double h2; + double w2 = asin(sin(w1) * cos(d) + cos(w1) * sin(d) * cos(qtf_rad)); + if (fabs(cos(w2)) < EPSILON) { + h2 = 0; + } + else { + dh = atan2(sin(qtf_rad) * sin(d) * cos(w1), + cos(d) - sin(w1) * sin(w2)); + h2 = fmod(M_PI + h1 + dh, 2 * M_PI) - M_PI; + } + + *lon = h2 * 180.0 / M_PI; + *lat = w2 * 180.0 / M_PI; + return 0; +} + /*************** WWL RING *****************************/ int qthwr(char *qth,int width) { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libzia-4.70/src/zselect.c new/libzia-4.71/src/zselect.c --- old/libzia-4.70/src/zselect.c 2024-08-23 14:40:37.000000000 +0200 +++ new/libzia-4.71/src/zselect.c 2026-02-16 09:27:49.000000000 +0100 @@ -70,7 +70,7 @@ void *arg; int id; //#ifdef Z_LEAK_DEBUG_LIST - char *fname; + const char *fname; //#endif }; @@ -283,7 +283,7 @@ int debug_install_timer(char *file, int line, ztime t, void (*func)(void *), void *arg, char *fname) #else //int zselect_timer_new(struct zselect *zsel, ztime t, void (*func)(void *), void *arg) -int zselect_timer_new_dbg(struct zselect *zsel, ztime t, void (*func)(void *), char *fname, void *arg) +int zselect_timer_new_dbg(struct zselect *zsel, ztime t, void (*func)(void *), const char *fname, void *arg) #endif { struct ztimer *tm, *tt; @@ -317,6 +317,9 @@ } dbg("\n"); #endif +#if 1 + if (strncmp(fname, "rain", 4) == 0) dbg("zselect_timer_new('%s', %ldms) = %d\n", fname, t, tm->id); +#endif return tm->id; } @@ -361,12 +364,11 @@ return tm->id; } -#ifdef Z_LEAK_DEBUG_LIST -void debug_kill_timer(char *file, int line, int id) -#else -void zselect_timer_kill(struct zselect *zsel, int id) -#endif +void zselect_timer_kill_dbg(struct zselect *zsel, int id, const char *fname) { +#if 1 + if (strncmp(fname, "rain", 4) == 0) dbg("zselect_kill_timer(%d)\n", id); +#endif struct ztimer *tm; int k = 0; //dbg("__kill_timer(%d)\n", id); @@ -375,11 +377,7 @@ struct ztimer *tt = tm; del_from_list(tm); tm = tm->prev; -#ifdef Z_LEAK_DEBUG_LIST - debug_g_free(file, line, tt); -#else g_free(tt); -#endif k++; } } @@ -924,7 +922,7 @@ va_end(ap); } -void zselect_handle_profile(struct zselect *zsel, struct timeval *start, void *fce, char *fname){ +void zselect_handle_profile(struct zselect *zsel, struct timeval *start, void *fce, const char *fname){ struct timeval stop; double d;
