Compare commits
18 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
486e2bf87e | ||
|
|
65379b064c | ||
|
|
84f65b6c78 | ||
|
|
62978c62ca | ||
|
|
76ea6f84d1 | ||
|
|
55d11a8fc9 | ||
|
|
58381a9769 | ||
|
|
7e00743a0c | ||
|
|
e2f5b1d190 | ||
|
|
b3a0de78c6 | ||
|
|
ba0a39ec39 | ||
|
|
292fd7e6ed | ||
|
|
31219fa022 | ||
|
|
9686b29349 | ||
|
|
687d640ed4 | ||
|
|
4f21a9c622 | ||
|
|
cc72dd252c | ||
|
|
e242b95f74 |
5 changed files with 71 additions and 21 deletions
6
gating.yaml
Executable file
6
gating.yaml
Executable file
|
|
@ -0,0 +1,6 @@
|
|||
--- !Policy
|
||||
product_versions:
|
||||
- rhel-*
|
||||
decision_context: osci_compose_gate
|
||||
rules:
|
||||
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}
|
||||
|
|
@ -1,20 +0,0 @@
|
|||
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;
|
||||
|
|
@ -3,11 +3,12 @@ ExcludeArch: %{ix86}
|
|||
|
||||
Name: ocaml-curses
|
||||
Version: 1.0.11
|
||||
Release: 3%{?dist}
|
||||
Release: 16%{?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
|
||||
|
|
@ -57,6 +58,46 @@ 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
|
||||
|
||||
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.11-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Mon Dec 18 2023 Richard W.M. Jones <rjones@redhat.com> - 1.0.11-6
|
||||
- OCaml 5.1.1 + s390x code gen fix for Fedora 40
|
||||
|
||||
* Tue Dec 12 2023 Richard W.M. Jones <rjones@redhat.com> - 1.0.11-5
|
||||
- OCaml 5.1.1 rebuild for Fedora 40
|
||||
|
||||
* Thu Oct 05 2023 Richard W.M. Jones <rjones@redhat.com> - 1.0.11-4
|
||||
- OCaml 5.1 rebuild for Fedora 40
|
||||
|
||||
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.11-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||
|
||||
|
|
|
|||
10
tests/basic-test.sh
Executable file
10
tests/basic-test.sh
Executable file
|
|
@ -0,0 +1,10 @@
|
|||
#!/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
|
||||
13
tests/tests.yml
Executable file
13
tests/tests.yml
Executable file
|
|
@ -0,0 +1,13 @@
|
|||
- hosts: localhost
|
||||
roles:
|
||||
- role: standard-test-basic
|
||||
tags:
|
||||
- classic
|
||||
required_packages:
|
||||
- ocaml
|
||||
- ocaml-findlib
|
||||
- ocaml-curses-devel
|
||||
tests:
|
||||
- simple:
|
||||
dir: .
|
||||
run: ./basic-test.sh
|
||||
Loading…
Add table
Add a link
Reference in a new issue