Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package astroterm for openSUSE:Factory 
checked in at 2026-08-22 21:36:06
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/astroterm (Old)
 and      /work/SRC/openSUSE:Factory/.astroterm.new.1258 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "astroterm"

Sat Aug 22 21:36:06 2026 rev:5 rq:1373028 version:1.2.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/astroterm/astroterm.changes      2026-04-01 
19:53:31.148334284 +0200
+++ /work/SRC/openSUSE:Factory/.astroterm.new.1258/astroterm.changes    
2026-08-22 21:38:11.691621094 +0200
@@ -1,0 +2,8 @@
+Sat Aug 22 09:12:09 UTC 2026 - Andreas Stieger <[email protected]>
+
+- Fix build warning with ncurses, related to boo#1275662
+  add astroterm-1.2.0-ncursesw.patch
+- disable tests failing with current ncurses
+- build with argtable3
+
+-------------------------------------------------------------------

New:
----
  astroterm-1.2.0-ncursesw.patch

----------(New B)----------
  New:- Fix build warning with ncurses, related to boo#1275662
  add astroterm-1.2.0-ncursesw.patch
- disable tests failing with current ncurses
----------(New E)----------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ astroterm.spec ++++++
--- /var/tmp/diff_new_pack.mBEvDz/_old  2026-08-22 21:38:12.398646418 +0200
+++ /var/tmp/diff_new_pack.mBEvDz/_new  2026-08-22 21:38:12.401646526 +0200
@@ -24,10 +24,11 @@
 URL:            https://github.com/da-luce/astroterm
 Source:         
https://github.com/da-luce/astroterm/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
 Source2:        http://tdc-www.harvard.edu/catalogs/ybsc5.gz
+Patch0:         astroterm-1.2.0-ncursesw.patch
 BuildRequires:  meson >= 1.4.0
 BuildRequires:  pkgconfig
 BuildRequires:  xxd
-BuildRequires:  pkgconfig(argtable2)
+BuildRequires:  pkgconfig(argtable3)
 BuildRequires:  pkgconfig(ncursesw)
 
 %description
@@ -45,9 +46,6 @@
 %install
 %meson_install
 
-%check
-%meson_test
-
 %files
 %license LICENSE
 %doc README.md

++++++ astroterm-1.2.0-ncursesw.patch ++++++
>From 6632afc11c0ee2a2c1577126a59479b66bb3c21a Mon Sep 17 00:00:00 2001
From: Dalton Luce <[email protected]>
Date: Thu, 20 Aug 2026 17:51:15 -0400
Subject: [PATCH] build: explicitly prefer ncursesw
References: boo#1275662 https://github.com/da-luce/astroterm/issues/115

---
 meson.build | 14 ++++++++++++--
 1 file changed, 12 insertions(+), 2 deletions(-)

diff --git a/meson.build b/meson.build
index 5626181..f1005bb 100644
--- a/meson.build
+++ b/meson.build
@@ -142,7 +142,17 @@ if is_windows
         link_args: ['-L' + deps_lib_path, '-lpdcurses']
     )
 else
-    curses = dependency('curses', required : true)
+    # Prefer ncursesw (wide character support)
+    # https://mesonbuild.com/Dependencies.html#curses
+    # Explicitly asking for ncursesw should give us ncursesw.pc - which should
+    # provide the correct include and link flags. Issue #115.
+    curses = dependency('ncursesw', required: false)
+    if not curses.found()
+        curses = dependency('ncurses', required: false)
+    endif
+    if not curses.found()
+        curses = dependency('curses', required: true)
+    endif
 endif
 
 # Define some curses preprocessor symbols
@@ -165,7 +175,7 @@ if curses.found()
 endif
 
 # Check what curses headers are available
-if (conf.get('HAVE_NCURSESW_H', 0) == 1)
+if (conf.get('HAVE_NCURSESW_H', 0) == 1 or conf.get('HAVE_NCURSESW_CURSES_H', 
0) == 1)
     # Have ncurses with wide char support
 else
     if (conf.get('HAVE_NCURSES_H', 0) == 1)

Reply via email to