1
0
forked from pool/libt3window

Accepting request 663387 from editors

- Update to new upstream release 0.3.2

OBS-URL: https://build.opensuse.org/request/show/663387
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libt3window?expand=0&rev=7
This commit is contained in:
Dominique Leuenberger 2019-01-08 11:29:31 +00:00 committed by Git OBS Bridge
commit 08faafd3eb
4 changed files with 33 additions and 15 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:64cb108b65864a3060b43eef760d34979a39f66eaff86f7b55a22e19b1aa13e5
size 181282

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3c7d1132fb5eebdfdc4467a5ad00fe08b57e47c0884b223ea176a508373ceac5
size 95426

View File

@ -1,3 +1,26 @@
-------------------------------------------------------------------
Mon Jan 7 13:35:16 UTC 2019 - Jan Engelhardt <jengelh@inai.de>
- Update to new upstream release 0.3.2
* Allow compilation in C++ with pre C++11 compilers.
* A new function is provided which determines the width of a
string with explicit length.
* Replacement functions for determining the length are provided
that return a size_t instead of an int.
* Includes a C++ class which wraps a t3_window_t pointer and
forwards all the functions. Otherwise behaves like
std::unique_ptr, to make memory management simpler.
* Prefer to use Unicode line-drawing characters if they are
available. Some terminals explicitly disable the alternate
character set if UTF-8 encoding is enabled, resulting in bad
output.
* Don't use the alternate characterset for line drawing if the
terminal type is ansi, or if the smacs capability is not
defined.
* Internal tables were updated to Unicode 10.0.
* Terminal size detection is done based on cursor position
reporting if no other information is available.
-------------------------------------------------------------------
Thu Feb 19 18:14:25 UTC 2015 - p.drouand@gmail.com

View File

@ -1,7 +1,7 @@
#
# spec file for package libt3window
#
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -12,31 +12,29 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: libt3window
%define lname libt3window0
Version: 0.2.3
Version: 0.3.2
Release: 0
Summary: The Tilde Toolkit's window-based terminal program library
License: GPL-3.0
License: GPL-3.0-only
Group: Development/Libraries/C and C++
Url: http://os.ghalkes.nl/t3/libt3window.html
#Git-Clone: git://github.com/gphalkes/t3widget
Source: http://os.ghalkes.nl/dist/%name-%version.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: fdupes
BuildRequires: gettext-tools
BuildRequires: libtool
BuildRequires: libunistring-devel
BuildRequires: ncurses-devel
BuildRequires: pkgconfig
BuildRequires: pkgconfig(libtranscript) >= 0.2.2
%if 0%{?suse_version}
BuildRequires: fdupes
%endif
%description
libt3window library provides functions for manipulating the terminal
@ -77,12 +75,9 @@ export CC=gcc
make %{?_smp_mflags}
%install
b="%buildroot"
make install DESTDIR="$b"
rm -f "$b/%_libdir"/*.la
%if 0%{?fdupes:1}
%make_install
rm -f "%buildroot/%_libdir"/*.la
%fdupes %buildroot/%_prefix
%endif
%post -p /sbin/ldconfig -n %lname
%postun -p /sbin/ldconfig -n %lname