Compare commits

..

No commits in common. "rawhide" and "f40" have entirely different histories.

5 changed files with 21 additions and 56 deletions

View file

@ -1,6 +0,0 @@
--- !Policy
product_versions:
- rhel-*
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}

View file

@ -0,0 +1,20 @@
Define NCURSES_WIDECHAR, so that <ncursesw/curses.h> actually declares
the probed addnwstr function. This follows Thomas Dickey's suggestion
on the bug-ncurses list:
<https://lists.nongnu.org/archive/html/bug-ncurses/2023-03/msg00003.html>
Submitted upstream: <https://savannah.nongnu.org/bugs/index.php?64109>
diff --git a/configure.ac b/configure.ac
index 15ca4087b5d9ee2b..24d5fa48960a5601 100644
--- a/configure.ac
+++ b/configure.ac
@@ -126,6 +126,7 @@ then
AC_MSG_CHECKING(for wide character support in ncurses library)
AC_TRY_LINK(
[#include <wchar.h>
+ #define NCURSES_WIDECHAR 1
#include CURSES_HEADER
],
[wchar_t wch = 0;

View file

@ -3,12 +3,11 @@ ExcludeArch: %{ix86}
Name: ocaml-curses
Version: 1.0.11
Release: 16%{?dist}
Release: 8%{?dist}
Summary: OCaml bindings for ncurses
License: LGPL-2.1-or-later WITH OCaml-LGPL-linking-exception
URL: https://github.com/mbacarella/curses
VCS: git:%{url}.git
Source0: %{url}/archive/%{version}/curses-%{version}.tar.gz
BuildRequires: ocaml >= 4.02.0
@ -58,31 +57,6 @@ developing applications that use %{name}.
%changelog
* Mon Oct 13 2025 Richard W.M. Jones <rjones@redhat.com> - 1.0.11-16
- OCaml 5.4.0 rebuild
* Thu Jul 24 2025 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.11-15
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
* Fri Jul 11 2025 Jerry James <loganjerry@gmail.com> - 1.0.11-14
- Rebuild to fix OCaml dependencies
* Fri Jan 17 2025 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.11-13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
* Thu Jan 9 2025 Jerry James <loganjerry@gmail.com> - 1.0.11-12
- OCaml 5.3.0 rebuild for Fedora 42
- Add VCS field
* Thu Jul 18 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.11-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
* Wed Jun 19 2024 Richard W.M. Jones <rjones@redhat.com> - 1.0.11-10
- OCaml 5.2.0 ppc64le fix
* Wed May 29 2024 Richard W.M. Jones <rjones@redhat.com> - 1.0.11-9
- OCaml 5.2.0 for Fedora 41
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.11-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild

View file

@ -1,10 +0,0 @@
#!/bin/bash -
set -e
set -x
# Compile trivial curses program.
echo 'open Curses;; ignore (initscr ()); endwin ()' > cursestest.ml
ocamlfind ocamlopt -package curses cursestest.ml -linkpkg -o cursestest
# We can't run this because there is no controlling terminal in
# the test environment.
#./cursestest

View file

@ -1,13 +0,0 @@
- hosts: localhost
roles:
- role: standard-test-basic
tags:
- classic
required_packages:
- ocaml
- ocaml-findlib
- ocaml-curses-devel
tests:
- simple:
dir: .
run: ./basic-test.sh