[packages/tix] Rel 4
arekm
arekm at pld-linux.org
Sat Mar 14 04:33:02 CET 2026
commit 04339e906b2d51c7ef7e185560219a3816b1aa03
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Sat Mar 14 04:32:55 2026 +0100
Rel 4
fixInterpResult.patch | 4 ++++
tix-scriptpaths.patch | 2 ++
tix.spec | 16 ++++++++++++----
3 files changed, 18 insertions(+), 4 deletions(-)
---
diff --git a/tix.spec b/tix.spec
index 6a10a2e..4c5dc4e 100644
--- a/tix.spec
+++ b/tix.spec
@@ -6,15 +6,19 @@ Summary(pl.UTF-8): Wiele widgetów (takich jak notepad) dla Tk
Summary(tr.UTF-8): Tk için ek arayüz elemanları (not defterleri v.b.)
Name: tix
Version: %{major}.3
-Release: 3
+Release: 4
Epoch: 1
License: BSD
Group: Development/Languages/Tcl
-Source0: http://download.sourceforge.net/tix/Tix%{version}-src.tar.gz
+Source0: https://download.sourceforge.net/tix/Tix%{version}-src.tar.gz
# Source0-md5: 2b8bf4b10a852264678182652f477e59
Patch0: %{name}-scriptpaths.patch
-Patch2: fixInterpResult.patch
-URL: http://tix.sourceforge.net/
+Patch1: fixInterpResult.patch
+Patch2: tix-covscan-fixes.patch
+Patch3: tix-c89.patch
+Patch4: tix-implicit-int.patch
+Patch5: tix-tcl86.patch
+URL: https://tix.sourceforge.net/
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: groff
@@ -82,7 +86,11 @@ Tix - programy demostracjne.
%prep
%setup -q -n Tix%{version}
%patch -P0 -p1
+%patch -P1 -p1
%patch -P2 -p1
+%patch -P3 -p1
+%patch -P4 -p1
+%patch -P5 -p1
%build
%{__aclocal} -I tclconfig
diff --git a/fixInterpResult.patch b/fixInterpResult.patch
index 3ae40cc..0a4659b 100644
--- a/fixInterpResult.patch
+++ b/fixInterpResult.patch
@@ -1,3 +1,7 @@
+Fix Tcl interpreter result access to use Tcl_GetStringResult() API
+instead of directly accessing interp->result, which was removed in
+newer Tcl versions.
+
Index: tix-8.4.3/PyTix-2.0/2.0/_tkinter.c
===================================================================
diff -urNp -x '*.orig' Tix8.4.3.org/PyTix-2.0/2.0/_tkinter.c Tix8.4.3/PyTix-2.0/2.0/_tkinter.c
diff --git a/tix-scriptpaths.patch b/tix-scriptpaths.patch
index a60bae7..db2f959 100644
--- a/tix-scriptpaths.patch
+++ b/tix-scriptpaths.patch
@@ -1,3 +1,5 @@
+Fix script interpreter paths to use /usr/bin instead of /usr/local/bin.
+
diff -urNp -x '*.orig' Tix8.4.3.org/library/bitmaps/mktransgif.tcl Tix8.4.3/library/bitmaps/mktransgif.tcl
--- Tix8.4.3.org/library/bitmaps/mktransgif.tcl 2000-05-17 13:08:46.000000000 +0200
+++ Tix8.4.3/library/bitmaps/mktransgif.tcl 2023-07-23 13:34:43.500717719 +0200
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/tix.git/commitdiff/04339e906b2d51c7ef7e185560219a3816b1aa03
More information about the pld-cvs-commit
mailing list