Compare commits
2 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 94ac69aea5 | |||
|
|
6c261c9535 |
41
0001-add-project.patch
Normal file
41
0001-add-project.patch
Normal file
@@ -0,0 +1,41 @@
|
||||
From 8d36798abfb56bf6fdd1d63f4f7f7643644dd0a2 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Klaus=20K=C3=A4mpf?= <kkaempf@kkaempf.de>
|
||||
Date: Sat, 20 Dec 2025 17:05:12 +0100
|
||||
Subject: [PATCH] add project()
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
Signed-off-by: Klaus Kämpf <kkaempf@kkaempf.de>
|
||||
---
|
||||
CMakeLists.txt | 2 +-
|
||||
test/CMakeLists.txt | 2 ++
|
||||
2 files changed, 3 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index 11120df..12c71fb 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -15,8 +15,8 @@
|
||||
# * TV_BUILD_AVSCOLOR (default OFF) to build an AviSynth plugin for testing the
|
||||
# terminal color quantization (Unix only).
|
||||
# * TV_BUILD_TESTS (default OFF) to build and run tests.
|
||||
-
|
||||
cmake_minimum_required (VERSION 3.5...3.30)
|
||||
+project(tvision)
|
||||
if (CMAKE_VERSION VERSION_GREATER_EQUAL "3.13.0")
|
||||
cmake_policy(SET CMP0077 NEW) # 'option()' honors normal variables.
|
||||
endif()
|
||||
diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt
|
||||
index 502f847..618e1be 100644
|
||||
--- a/test/CMakeLists.txt
|
||||
+++ b/test/CMakeLists.txt
|
||||
@@ -1,3 +1,5 @@
|
||||
+cmake_minimum_required (VERSION 3.5...3.30)
|
||||
+project(tvision-test)
|
||||
if (TV_BUILD_TESTS)
|
||||
file(GLOB_RECURSE TEST_SRC "${CMAKE_CURRENT_LIST_DIR}/*.cpp")
|
||||
|
||||
--
|
||||
2.52.0
|
||||
|
||||
1
_service
1
_service
@@ -4,6 +4,7 @@
|
||||
<param name="url">https://github.com/magiblot/tvision</param>
|
||||
<param name="revision">master</param>
|
||||
<param name="versionformat">0~git@TAG_OFFSET@</param>
|
||||
<param name="changesgenerate">enable</param>
|
||||
</service>
|
||||
<service name="recompress" mode="manual">
|
||||
<param name="file">*.tar</param>
|
||||
|
||||
4
_servicedata
Normal file
4
_servicedata
Normal file
@@ -0,0 +1,4 @@
|
||||
<servicedata>
|
||||
<service name="tar_scm">
|
||||
<param name="url">https://github.com/magiblot/tvision</param>
|
||||
<param name="changesrevision">423aeb568a181ffebb3695859654385950588a93</param></service></servicedata>
|
||||
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:bda76d912323fe6b6011ffd2be9d5bc66652d0bdecd2b51fb9ee7a4ef5608610
|
||||
size 722060
|
||||
3
tvision-0~git727.tar.xz
Normal file
3
tvision-0~git727.tar.xz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:ffb85b807ef6259cf4985ffd1a6d311eb08dc426d1090ff94e75543ea4966d60
|
||||
size 726404
|
||||
@@ -1,3 +1,20 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Dec 20 16:02:00 UTC 2025 - Klaus Kämpf <kkaempf@suse.de>
|
||||
|
||||
- Update to version 0~git727:
|
||||
* Rename string formatting function into 'formatStr'
|
||||
* Make code page conversion customizable by the developer, not the user
|
||||
* Add Unicode support for TMenuView shortcuts
|
||||
* Implement TText::equalsIgnoreCase
|
||||
* Fix cast of constant variable
|
||||
* platform: reorganize character processing functions
|
||||
* Reorganize and improve comparison and printing operators in tests
|
||||
* Add string-based variants of hotKey, getAltChar and getCtrlChar functions
|
||||
* platform: simplify freeing memory of DisplayBuffer objects
|
||||
* Fix warning in TVDemo::mouse()
|
||||
|
||||
- fix the build: add 0001-add-project.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed May 29 02:38:31 UTC 2024 - Julius Enriquez <win8linux@gmail.com>
|
||||
|
||||
|
||||
13
tvision.spec
13
tvision.spec
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package tvision
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC and contributors
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -18,12 +18,13 @@
|
||||
|
||||
Name: tvision
|
||||
Release: 0
|
||||
Version: 0~git631
|
||||
Version: 0~git727
|
||||
Summary: Modern port of Turbo Vision 2.0
|
||||
Group: Development/Languages/C and C++
|
||||
License: MIT
|
||||
URL: https://github.com/magiblot/tvision
|
||||
Source: %{name}-%{version}.tar.xz
|
||||
Patch1: 0001-add-project.patch
|
||||
|
||||
%description
|
||||
A modern port of Turbo Vision 2.0, the classical
|
||||
@@ -49,9 +50,9 @@ Summary: Static library for Turbo Vision 2.0
|
||||
Group: Development/Languages/C and C++
|
||||
BuildRequires: c++_compiler
|
||||
BuildRequires: cmake
|
||||
BuildRequires: pkgconfig(ncurses)
|
||||
BuildRequires: gtest
|
||||
BuildRequires: gpm
|
||||
BuildRequires: gtest
|
||||
BuildRequires: pkgconfig(ncurses)
|
||||
Suggests: (xclip or xset)
|
||||
|
||||
%description devel-static
|
||||
@@ -63,7 +64,6 @@ A modern port of Turbo Vision 2.0, the classical
|
||||
framework for text-based user interfaces, but with
|
||||
Unicode and cross=platform support.
|
||||
|
||||
|
||||
%package demos
|
||||
Summary: Demo programs of Turbo Vision 2.0
|
||||
Group: Development/Languages/C and C++
|
||||
@@ -101,7 +101,8 @@ popd
|
||||
%license COPYRIGHT
|
||||
%doc README.md
|
||||
%{_bindir}/tvhc
|
||||
%{_includedir}/*
|
||||
%dir %{_includedir}/%{name}
|
||||
%{_includedir}/%{name}/*
|
||||
%{_libdir}/*
|
||||
%{_libdir}/cmake/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user