From b973734a07ae33d1f07dfffbad45e7be32fcbeae16dc1afd6eeb84a7d44d1afe Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Mon, 7 Jan 2019 13:35:23 +0000 Subject: [PATCH] - Update to new upstream release 0.3.2 OBS-URL: https://build.opensuse.org/package/show/editors/libt3window?expand=0&rev=9 --- libt3window-0.2.3.tar.bz2 | 3 --- libt3window-0.3.2.tar.bz2 | 3 +++ libt3window.changes | 23 +++++++++++++++++++++++ libt3window.spec | 19 +++++++------------ 4 files changed, 33 insertions(+), 15 deletions(-) delete mode 100644 libt3window-0.2.3.tar.bz2 create mode 100644 libt3window-0.3.2.tar.bz2 diff --git a/libt3window-0.2.3.tar.bz2 b/libt3window-0.2.3.tar.bz2 deleted file mode 100644 index 7af2eef..0000000 --- a/libt3window-0.2.3.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:64cb108b65864a3060b43eef760d34979a39f66eaff86f7b55a22e19b1aa13e5 -size 181282 diff --git a/libt3window-0.3.2.tar.bz2 b/libt3window-0.3.2.tar.bz2 new file mode 100644 index 0000000..5932994 --- /dev/null +++ b/libt3window-0.3.2.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3c7d1132fb5eebdfdc4467a5ad00fe08b57e47c0884b223ea176a508373ceac5 +size 95426 diff --git a/libt3window.changes b/libt3window.changes index 214e166..20f0172 100644 --- a/libt3window.changes +++ b/libt3window.changes @@ -1,3 +1,26 @@ +------------------------------------------------------------------- +Mon Jan 7 13:35:16 UTC 2019 - Jan Engelhardt + +- 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 diff --git a/libt3window.spec b/libt3window.spec index dc434f1..e6c127e 100644 --- a/libt3window.spec +++ b/libt3window.spec @@ -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