From 7bfe380900da49178eecee53cce4ef6d716099af4020cb02264f0662f9421e9a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Sat, 4 May 2024 01:24:57 +0200 Subject: [PATCH] Sync from SUSE:SLFO:Main tix revision e7e5e77c70dbeb28bcf449a17c2f546b --- .gitattributes | 23 +++++++ Tix8.4.3-src.tar.bz2 | 3 + tix.changes | 143 +++++++++++++++++++++++++++++++++++++++++++ tix.patch | 13 ++++ tix.spec | 75 +++++++++++++++++++++++ 5 files changed, 257 insertions(+) create mode 100644 .gitattributes create mode 100644 Tix8.4.3-src.tar.bz2 create mode 100644 tix.changes create mode 100644 tix.patch create mode 100644 tix.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/Tix8.4.3-src.tar.bz2 b/Tix8.4.3-src.tar.bz2 new file mode 100644 index 0000000..7055631 --- /dev/null +++ b/Tix8.4.3-src.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:54408c207456f4054e5680b1d932599e880e674bb3de3d1847a7f81b0b0b3b66 +size 1598352 diff --git a/tix.changes b/tix.changes new file mode 100644 index 0000000..5c13fcd --- /dev/null +++ b/tix.changes @@ -0,0 +1,143 @@ +------------------------------------------------------------------- +Mon Feb 19 19:22:57 UTC 2018 - crrodriguez@opensuse.org + +- Remove buildrequires on xorg-x11-devel +- apps linked to tcl/tk static stubs must %require_ge tcl tk + +------------------------------------------------------------------- +Thu Jun 20 14:42:27 UTC 2013 - max@suse.com + +- Fix build with Tcl 8.6.0. +- Cleanup spec file. + +------------------------------------------------------------------- +Wed Dec 21 10:46:44 UTC 2011 - coolo@suse.com + +- tcl's license is BSD-3-Clause + +------------------------------------------------------------------- +Wed Dec 21 10:45:53 UTC 2011 - coolo@suse.com + +- add autoconf as buildrequire to avoid implicit dependency + +------------------------------------------------------------------- +Fri Apr 4 17:58:54 CEST 2008 - max@suse.de + +- New version 8.4.3, works with Tcl/Tk 8.5. + +------------------------------------------------------------------- +Tue Jun 5 14:50:21 CEST 2007 - max@suse.de + +- New version: 8.4.0 +- Lots of cleanup and bugs fixed. +- Better per-default compliance with rpmlint. +- The 'tixwish' executable is gone. Use tclsh or wish and load the + Tix package dynamically. + +------------------------------------------------------------------- +Wed Jan 25 21:42:12 CET 2006 - mls@suse.de + +- converted neededforbuild to BuildRequires + +------------------------------------------------------------------- +Fri Jul 29 11:55:53 CEST 2005 - max@suse.de + +- Moved script library to /usr/share/tcl . + +------------------------------------------------------------------- +Thu Feb 5 15:09:57 CET 2004 - max@suse.de + +- Building as a shared lib again. +- Added -fno-strict-aliasing to CFLAGS. + +------------------------------------------------------------------- +Thu Jan 15 17:27:17 CET 2004 - max@suse.de + +- New version: 8.1.4 + +------------------------------------------------------------------- +Sat Jan 10 17:57:52 CET 2004 - adrian@suse.de + +- build as user + +------------------------------------------------------------------- +Wed Jul 23 13:58:51 CEST 2003 - max@suse.de + +- Added tk-devel to neededforbuild. + +------------------------------------------------------------------- +Wed May 21 01:10:38 CEST 2003 - ro@suse.de + +- remove .cvsignore files +- fix filelist + +------------------------------------------------------------------- +Mon Nov 11 23:49:55 CET 2002 - ro@suse.de + +- changed neededforbuild to +- changed neededforbuild to <> + +------------------------------------------------------------------- +Tue Jul 9 13:19:24 CEST 2002 - max@suse.de + +- Ready for Tcl/Tk 8.4. + +- Doesn't break on KDE3 anymore [Bug #16428]. + +------------------------------------------------------------------- +Wed Apr 10 13:19:23 CEST 2002 - max@suse.de + +- Fixed for new version of autobuild. + +------------------------------------------------------------------- +Wed Feb 20 18:22:36 CET 2002 - max@suse.de + +- Fixed for lib64-s390x. + +------------------------------------------------------------------- +Thu Jan 17 17:35:20 CET 2002 - max@suse.de + +- New version 8.1.3 +- Tix is a separate package again. The new version is able to build + without having the Tcl/Tk sources at hand. +- Don't build static libs anymore. + +------------------------------------------------------------------- +Tue Nov 24 18:24:43 MET 1998 - max@suse.de + +- merged spec-files into tcl_new.spec + +------------------------------------------------------------------- +Mon Nov 23 17:24:49 MET 1998 - max@suse.de + +- building with new Tcl/Tk version: 8.0.4 +- tixwish is now dynamically linked to libtcl + +------------------------------------------------------------------- +Wed Sep 23 10:04:40 MEST 1998 - ro@suse.de + +- added to specfile: applx patch for tcl8.0 + +------------------------------------------------------------------- +Thu May 14 17:51:43 MEST 1998 - hf@suse.de + +- english and german README.SuSE + +------------------------------------------------------------------- +Mon Feb 23 13:24:06 MET 1998 - hf@suse.de + +- changed README.SuSE + +---------------------------------------------------------------------- +Mon Feb 16 12:55:29 MET 1998 - hf@suse.de + +- changes in spec file + + +---------------------------------------------------------------------- +Thu Feb 5 16:25:32 MET 1998 - hf@suse.de + + new package Tix for Tcl/Tk 8.0 + and new directorypath to tcl/tk in /usr/lib/tcltk + + diff --git a/tix.patch b/tix.patch new file mode 100644 index 0000000..bcf13cf --- /dev/null +++ b/tix.patch @@ -0,0 +1,13 @@ +--- configure.in ++++ configure.in +@@ -100,8 +100,8 @@ + #-------------------------------------------------------------------- + + # needed for tclPort.h and such ... can be corrected +-TEA_PRIVATE_TCL_HEADERS +-TEA_PRIVATE_TK_HEADERS ++TEA_PUBLIC_TCL_HEADERS ++TEA_PUBLIC_TK_HEADERS + + #-------------------------------------------------------------------- + # For Unix/Tk builds, make sure that the X libraries/headers are found. diff --git a/tix.spec b/tix.spec new file mode 100644 index 0000000..5ae2576 --- /dev/null +++ b/tix.spec @@ -0,0 +1,75 @@ +# +# spec file for package tix +# +# Copyright (c) 2018 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 +# 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 http://bugs.opensuse.org/ +# + + +Name: tix +BuildRequires: autoconf +BuildRequires: fdupes +BuildRequires: tcl-devel +BuildRequires: tk-devel +BuildRequires: pkgconfig(x11) +Version: 8.4.3 +Release: 0 +BuildRoot: %{_tmppath}/%{name}-%{version}-build +Summary: Tools for tk +License: BSD-3-Clause +Group: Development/Libraries/Tcl +Source: Tix%version-src.tar.bz2 +Patch0: %name.patch +%requires_ge tk tcl +%description +The Tix library has, by far, the greatest collection of widgets for +programming with Tcl/Tk. Highlights include: hierarchical list box, +directory list/tree view, spreadsheet, tabular list box, combo box, +Motif style file select box, MS Windows style file select box, paned +window, note book, spin control widget and many more. With these new +widgets, your applications will look great and interact with your users +in intuitive ways. + + + +%prep +%setup -q -n Tix%version +%patch0 +find docs -type f | xargs chmod a-x + +%build +autoreconf +export CFLAGS="$RPM_OPT_FLAGS -DUSE_INTERP_RESULT -fno-strict-aliasing" +%configure \ + --with-tcl=%_libdir \ + --with-tk=%_libdir +make + +%install +make install DESTDIR=%buildroot libdir=%_libdir/tcl +MANN=%buildroot/%_mandir/mann +mkdir -p $MANN +pushd man +for f in *.n; do + sed -e '/man\.macros/r man.macros' -e '/man\.macros/d' $f > $MANN/$f +done +popd + +%files +%defattr(-,root,root) +%doc ABOUT* README* ChangeLog license.terms index.html +%doc docs/Release* docs/*html docs/img docs/pdf/* demos +%doc %_mandir/*/* +%_libdir/tcl + +%changelog