[info=e05d5dea342e2c5e31693df82253fbfea5e228d1ed7c2e566d74958824703fe1]

OBS-URL: https://build.opensuse.org/package/show/editors/libt3window?expand=0&rev=15
This commit is contained in:
Jan Engelhardt 2024-11-02 21:46:06 +00:00 committed by Git OBS Bridge
commit 527a5c107e
9 changed files with 230 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

4
_scmsync.obsinfo Normal file
View File

@ -0,0 +1,4 @@
mtime: 1661778993
commit: e05d5dea342e2c5e31693df82253fbfea5e228d1ed7c2e566d74958824703fe1
url: https://src.opensuse.org/jengelh/libt3window
revision: master

3
build.specials.obscpio Normal file
View File

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

View File

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

Binary file not shown.

61
libt3window.changes Normal file
View File

@ -0,0 +1,61 @@
-------------------------------------------------------------------
Mon Aug 29 09:49:32 UTC 2022 - Jan Engelhardt <jengelh@inai.de>
- Update to release 0.4.1
* Fix incorrect length computation of buffer in t3_win_clrtoeol
when the current paint position is in the middle of a
double-width character. This could cause segmentation faults.
-------------------------------------------------------------------
Thu Dec 19 23:54:10 UTC 2019 - Jan Engelhardt <jengelh@inai.de>
- Update eto release 0.4.0
* This release allows explicitly unsetting the binary
attributes when combining attributes using
t3_term_combine_attrs.
-------------------------------------------------------------------
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
- Update to version 0.2.3
* Re-release of version 0.2.2 to update the configure script.
-------------------------------------------------------------------
Mon Jul 21 19:10:29 UTC 2014 - jengelh@inai.de
- Update to new upstream release 0.2.2
* This release fixes the handling of the nul character.
-------------------------------------------------------------------
Fri Feb 7 22:08:26 UTC 2014 - dimstar@opensuse.org
- Declare CC=gcc to ensure we build with gcc; seems make falls back
to 'c99' otherwise (instead of requiring posix_cc).
-------------------------------------------------------------------
Mon Jun 10 13:04:05 UTC 2013 - jengelh@inai.de
- Initial package (version 0.2.1) for build.opensuse.org

38
libt3window.keyring Normal file
View File

@ -0,0 +1,38 @@
-----BEGIN PGP PUBLIC KEY BLOCK-----
mQMuBFEIGNsRCACrnPIiiWApLChXo0Q/pJ3/Ngd22fHLHDS4ga4JIvyLU1OZyNrA
XccCRZ7R+DMtzEI9QqmDQeS5WHLJ0ehBQaccw9J8lQ5OfRLd89ZKpKbhTZhdaiGQ
1zrPvT1tsX8aF8Pwqz9CMPSsPny0tCcvfbjumOuhli/qIboHS2BcE6tKyFX4wohv
B9ZVsJtKa2APqJSffquu5pfC37sfu5gD3komOHWsCx1gPPXyE6o+R2p3Y9KfX/tr
1sVfcyhGBdQbNn59vvVfAHp6fidiiGFImOLvg38PBTfMOBXNQwbTOFFWDz3HMGu9
FaotG8oG76wqQnc+T2uyfdSLzWpfK17cM9BXAQCWxCIc401soHdNCux7RSgTvM+M
m2Vjf3VnqdLKJLbaNwf/cBuxGBjM1QYE4bFpFt7EEqRGfHFBaVE+eAsMK/yE2vgZ
5zWd1IenzU26VgDZFzpu0puZxi9rGi6SsAvkHdLup98PisOBYcv0pWZega76yOcQ
JKlvY2HohhDqqR94I0Y5hn1fO+QN2hq6TTOFYJ3mDGK/R8B+Ezk5VuNh/7Sxs8Dk
yLGvHdh8EuCgjwKIU8FLJ+4AgZjnWEoiau7jRagy/CBEMdai/wVD3LpAqHTyB0tL
DbguGvC7dVTotTyCY65BiLIwhMb7of+IDEkoNYIf/i2Fkk+Zb7jKQYxu7tqe+reb
ov2MwPCwsKDcEsC2b9BkvJT2Zyc+o1ZSmif2TA9TlAf/dqHYhz9HCmSyZd3Vdd0T
QPVQ4fCjkBliTIOO0Oi/0ItMJwALZTaiYGTnxqsIYzWC4kw85IMSEc5/XwcaUm4N
AcXV95IJ2bY+tCSsvvHOGxvWz6tJ+lCs3/vyeVom9372ubebnXFL38VMK7EbZlNn
3ZrnCOHj0LnEz04hukL/KDequpF8h9t5b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vLYkGIYQQYEQgACQUCUQgY2wIbDAAKCRBaIve0XzneUZbpAP99
a6+840t31YBBVQKiIPziSufMI6BOsfzp8q6XSBCJIwD/X2szcgVGOrG6DXYp+yLg
gxlPsZP8Ibkb/kclOvRwNzo=
=yATM
-----END PGP PUBLIC KEY BLOCK-----

97
libt3window.spec Normal file
View File

@ -0,0 +1,97 @@
#
# spec file for package libt3window
#
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: libt3window
%define lname libt3window0
Version: 0.4.1
Release: 0
Summary: The Tilde Toolkit's window-based terminal program library
License: GPL-3.0-only
Group: Development/Libraries/C and C++
URL: https://os.ghalkes.nl/t3/libt3window.html
#Git-Clone: https://github.com/gphalkes/t3widget
Source: https://os.ghalkes.nl/dist/%name-%version.tar.bz2
Source2: https://os.ghalkes.nl/dist/%name-%version.tar.bz2.sig
Source3: %name.keyring
BuildRequires: fdupes
BuildRequires: gettext-tools
BuildRequires: libtool
BuildRequires: libunistring-devel
BuildRequires: ncurses-devel
BuildRequires: pkg-config
BuildRequires: pkgconfig(libtranscript) >= 0.2.2
%description
libt3window library provides functions for manipulating the terminal
and for creating (possibly overlapping) windows on a terminal.
libt3window can be used instead of (n)curses for drawing on the
terminal.
%package -n %lname
Summary: The Tilde Toolkit's window-based terminal program library
Group: System/Libraries
%description -n %lname
libt3window library provides functions for manipulating the terminal
and for creating (possibly overlapping) windows on a terminal.
libt3window can be used instead of (n)curses for drawing on the
terminal.
%package devel
Summary: Development files for libt3window, a library for window-based terminal drawing
Group: Development/Libraries/C and C++
Requires: %lname = %version
%description devel
libt3window library provides functions for manipulating the terminal
and for creating (possibly overlapping) windows on a terminal.
libt3window can be used instead of (n)curses for drawing on the
terminal.
This subpackage contains libraries and header files for developing
applications that want to make use of libt3window.
%prep
%autosetup
%build
export CC=gcc
./configure --prefix="%_prefix" --libdir="%_libdir" --docdir="%_docdir/%name"
%make_build
%install
%make_install
rm -f "%buildroot/%_libdir"/*.la
%fdupes %buildroot/%_prefix
%post -p /sbin/ldconfig -n %lname
%postun -p /sbin/ldconfig -n %lname
%files -n %lname
%_libdir/libt3window.so.0*
%license COPYING
%files devel
%_includedir/t3window/
%_libdir/libt3window.so
%_libdir/pkgconfig/libt3window.pc
%_docdir/%name/
%exclude %_docdir/%name/COPYING
%changelog