SHA256
1
0
forked from pool/tk
OBS User unknown 2006-12-18 23:18:05 +00:00 committed by Git OBS Bridge
commit 0b060fb4e3
7 changed files with 598 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

0
ready Normal file
View File

262
tk.changes Normal file
View File

@ -0,0 +1,262 @@
-------------------------------------------------------------------
Tue Oct 17 19:55:05 CEST 2006 - max@suse.de
- New patchlevel release: 8.4.14rc2
- Fix crash on invalid font name from XServer
- Unmap canvas window items on canvas Unmap
- Fix [listbox] crash with namespace var
- Fix [console] std chan refcount
- Fix [console] thread safety
- Prevent excess variable writes by [scale]
- Add WM_UNICHAR window message
- Improve speed on [text] delete
- Alignment fixes in ucs-2be encoding routines
-------------------------------------------------------------------
Thu Sep 14 17:32:36 CEST 2006 - max@suse.de
- New version: 8.4.13
- Fixes the SCIM issues (#77424, obsoletes tk-scim.patch)
- Speeds up photo image updates.
- Fixes a crash in animated GIFs.
-------------------------------------------------------------------
Wed Aug 16 19:57:21 CEST 2006 - aj@suse.de
- Replace xorg-x11-devel BuildRequires with really needed libs.
-------------------------------------------------------------------
Wed Jan 25 21:31:02 CET 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
-------------------------------------------------------------------
Wed Jan 4 15:00:21 CET 2006 - max@suse.de
- Finally fixed the SCIM issues (#77424).
-------------------------------------------------------------------
Fri Dec 9 14:11:19 CET 2005 - max@suse.de
- New version: 8.4.12.
- Enabled support for multithreading.
-------------------------------------------------------------------
Sun Nov 6 18:39:11 CET 2005 - schwab@suse.de
- Fix syntax error in unix configure script.
-------------------------------------------------------------------
Tue Sep 6 16:56:54 CEST 2005 - max@suse.de
- Disabled the SCIM patch, because it causes some focus problems.
- Added a workaround that prevents Tk from using SCIM, so that at
least normal keyboard input is possible (#77424).
-------------------------------------------------------------------
Fri Sep 2 19:10:45 CEST 2005 - max@suse.de
- Added tk-scim.patch to improve XIM support and make Tk work
correctly with SCIM (#77424).
-------------------------------------------------------------------
Fri Jul 29 11:56:37 CEST 2005 - max@suse.de
- Re-added tkUnixDefault.h to tk-devel. It is needed by Tix.
-------------------------------------------------------------------
Wed Jul 27 14:41:18 CEST 2005 - max@suse.de
- New version: 8.4.11.
-------------------------------------------------------------------
Tue Jun 14 15:52:38 CEST 2005 - max@suse.de
- New version 8.4.10.
- Moved script libraries to /usr/share/tcl .
-------------------------------------------------------------------
Mon Mar 21 16:49:14 CET 2005 - max@suse.de
- Fixed a small typo in the trigger script.
-------------------------------------------------------------------
Mon Mar 21 10:13:39 CET 2005 - max@suse.de
- Added prerequisites for the trigger scripts (bug #74027).
-------------------------------------------------------------------
Fri Mar 18 14:15:38 CET 2005 - max@suse.de
- Make sure that tk-32bit finds the script libraries when
installed on a 64bit system.
-------------------------------------------------------------------
Fri Dec 3 12:11:00 CET 2004 - max@suse.de
- New version: 8.4.9
-------------------------------------------------------------------
Mon Nov 22 21:56:52 CET 2004 - max@suse.de
- New version: 8.4.8
-------------------------------------------------------------------
Fri Jul 30 11:17:15 CEST 2004 - max@suse.de
- New 8.4.7 tarball with a last-minute fix for broken Compose key.
-------------------------------------------------------------------
Wed Jul 28 09:53:28 CEST 2004 - max@suse.de
- New version: 8.4.7
-------------------------------------------------------------------
Fri Mar 5 17:29:46 CET 2004 - max@suse.de
- Updated to the official 8.4.6 release tarball.
-------------------------------------------------------------------
Fri Feb 27 15:39:48 CET 2004 - max@suse.de
- New version: 8.4.6
-------------------------------------------------------------------
Fri Feb 6 11:56:33 CET 2004 - max@suse.de
- Added -fno-strict-aliasing to CFLAGS.
-------------------------------------------------------------------
Mon Feb 2 12:12:57 CET 2004 - max@suse.de
- Building as a non-root user.
-------------------------------------------------------------------
Thu Jan 15 16:51:02 CET 2004 - max@suse.de
- Package Tk internal headers again. They are still needed by some
packages (e.g. tix).
-------------------------------------------------------------------
Mon Jan 12 08:52:54 CET 2004 - max@suse.de
- New version: 8.4.5
- Cleaned up the spec file.
-------------------------------------------------------------------
Tue Sep 2 15:17:15 CEST 2003 - max@suse.de
- Disabled building of the static library to save build time and
CD space.
-------------------------------------------------------------------
Wed Jul 23 10:25:44 CEST 2003 - max@suse.de
- New version: 8.4.4
- Split into tk and tk-devel.
-------------------------------------------------------------------
Wed May 21 16:02:48 CEST 2003 - max@suse.de
- New version: 8.4.3
- Removed obsolete patches.
-------------------------------------------------------------------
Wed Mar 5 11:50:26 CET 2003 - max@suse.de
- Updated to official 8.4.2 release tarball.
- Added essential diff to RC1 as tk-20030305.patch.bz2.
-------------------------------------------------------------------
Fri Feb 28 14:50:50 CET 2003 - max@suse.de
- Updated to 8.4.2 RC1, and added an essential diff to the
previous tarball (tk-20030227.patch.bz2).
-------------------------------------------------------------------
Wed Feb 19 16:02:09 CET 2003 - max@suse.de
- Updated to CVS HEAD, and added diff to previous verssion
for completeness.
- Fixes several bugs, see ChangeLog for details.
-------------------------------------------------------------------
Fri Feb 7 16:07:17 CET 2003 - max@suse.de
- Upgrade to CVS HEAD (8.4.2pre).
-------------------------------------------------------------------
Tue Nov 26 18:52:49 CET 2002 - max@suse.de
- Included private header files (needed for Tix).
-------------------------------------------------------------------
Tue Nov 26 15:37:36 CET 2002 - max@suse.de
- New version: 8.4.1
- Added tk-HEAD.patch with fixes that went in after the release.
- Moved the Tk sources back into a separate package, now that Tk
can be built without access to the Tcl source tree.
- For the changes of the last four years see tcl.changes in the
tcl package.
-------------------------------------------------------------------
Tue Nov 24 18:22:29 MET 1998 - max@suse.de
- merged spec-files into tcl_new.spec
-------------------------------------------------------------------
Mon Nov 23 17:29:23 MET 1998 - max@suse.de
- new version: 8.0.4
- cleand up softlinks and compression for man pages
----------------------------------------------------------------------
Thu Jan 8 13:13:31 MET 1998 - hf@suse.de
- bugfix for missing tkConfig8.0.sh
----------------------------------------------------------------------
Mon Nov 10 20:35:04 MET 1997 - hf@suse.de
- new version 8.0p1
----------------------------------------------------------------------
Wed Oct 15 15:20:26 MEST 1997 - hf@suse.de
- ready for autobuild
----------------------------------------------------------------------
Thu Jul 3 17:09:55 GMT 1997 - hf@suse.de
- A new version 8.0b2. The second (and probably last) beta release of
Tk 8.0.
----------------------------------------------------------------------
Tue Jun 3 12:02:56 GMT 1997 - hf@suse.de
- added static librs and all links for the manpages in
the /usr/doc/packages/tk8.0/man
----------------------------------------------------------------------
Fri May 16 10:57:14 GMT 1997 - hf@suse.de
- added new link
----------------------------------------------------------------------
Mon May 12 18:12:37 GMT 1997 - hf@suse.de
- added new patch invisible.patch
----------------------------------------------------------------------
Tue Apr 15 13:56:56 GMT 1997 - hf@suse.de
- Manpages hardlinks removed and added softlinks to compressd manpages
- The new directory for the manpages is /usr/doc/packeges/tcl8.0/man

60
tk.patch Normal file
View File

@ -0,0 +1,60 @@
--- unix/Makefile.in
+++ unix/Makefile.in
@@ -113,7 +113,8 @@
TK_PKG_DIR = @TK_PKG_DIR@
# Directory in which to install the pkgIndex.tcl file for loadable Tk
-PKG_INSTALL_DIR = $(LIB_INSTALL_DIR)/$(TK_PKG_DIR)
+#PKG_INSTALL_DIR = $(LIB_INSTALL_DIR)/$(TK_PKG_DIR)
+PKG_INSTALL_DIR = $(INSTALL_ROOT)/$(TK_LIBRARY)
# Package index file for loadable Tk
PKG_INDEX = $(PKG_INSTALL_DIR)/pkgIndex.tcl
@@ -471,7 +472,8 @@
AQUA_PRIVATE_HDRS = $(MAC_OSX_DIR)/tkMacOSXPort.h $(MAC_OSX_DIR)/tkMacOSXInt.h
-X11_PRIVATE_HDRS = $(UNIX_DIR)/tkUnixPort.h $(UNIX_DIR)/tkUnixInt.h
+X11_PRIVATE_HDRS = $(UNIX_DIR)/tkUnixPort.h $(UNIX_DIR)/tkUnixInt.h \
+ $(UNIX_DIR)/tkUnixDefault.h
HDRS = bltList.h \
default.h ks_names.h tkPatch.h tk.h tkButton.h tkCanvas.h tkInt.h \
@@ -634,7 +636,7 @@
relative=`echo | awk '{ORS=" "; split("$(TK_PKG_DIR)",a,"/"); for (f in a) {print ".."}}'`;\
echo "if {[package vcompare [package provide Tcl] $(TCLVERSION)] != 0} { return }";\
echo "package ifneeded Tk $(MAJOR_VERSION).$(MINOR_VERSION)\
- [list load [file join \$$dir $${relative}$(TK_LIB_FILE)] Tk]";\
+ [list load $(TK_LIB_FILE) Tk]";\
) > $(PKG_INDEX); \
fi
@echo "Installing $(LIB_FILE) to $(LIB_INSTALL_DIR)/"
--- unix/tcl.m4
+++ unix/tcl.m4
@@ -1124,7 +1124,7 @@
# AIX v<=4.1 has some different flags than 4.2+
if test "$system" = "AIX-4.1" -o "`uname -v`" -lt "4" ; then
- LIBOBJS="$LIBOBJS tclLoadAix.o"
+ AC_LIBOBJ(tclLoadAix)
DL_LIBS="-lld"
fi
@@ -1366,7 +1366,7 @@
# is kind of overkill but it works.
# Disable inlining only when one of the
# files in compat/*.c is being linked in.
- if test x"${LIBOBJS}" != x ; then
+ if test x"${LIBO@&t@BJS}" != x ; then
CFLAGS="$CFLAGS -fno-inline"
fi
@@ -2585,7 +2585,7 @@
}], tcl_cv_strtod_buggy=ok, tcl_cv_strtod_buggy=buggy,
tcl_cv_strtod_buggy=buggy)])
if test "$tcl_cv_strtod_buggy" = buggy; then
- LIBOBJS="$LIBOBJS fixstrtod.o"
+ AC_LIBOBJ([fixstrtod])
AC_DEFINE(strtod, fixstrtod)
fi
fi

249
tk.spec Normal file
View File

@ -0,0 +1,249 @@
#
# spec file for package tk (Version 8.4.14)
#
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: tk
BuildRequires: tcl-devel xorg-x11-libX11-devel xorg-x11-libXt-devel
URL: http://www.tcl.tk
Version: 8.4.14
Release: 1
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Summary: Graphical User Interface Toolkit for Tcl
License: BSD License and BSD-like
Group: Development/Languages/Tcl
Autoreqprov: on
Summary: Graphical User Interface Toolkit for Tcl
Provides: wish wish8.4
Requires: tcl >= %version tcl < 8.5
Prereq: /bin/rm
Source0: %name%{version}rc2-src.tar.bz2
Patch0: %name.patch
%description
Tk is a graphical user interface toolkit that takes developing desktop
applications to a higher level than conventional approaches. Tk is the
standard GUI not only for Tcl, but for many other dynamic languages,
and can produce rich, native applications that run unchanged across
Windows, Mac OS X, Linux and more.
Authors:
--------
The Tcl Core Team <tcl-core@lists.sourceforge.net>
%package devel
Group: Development/Libraries/Tcl
License: BSD License and BSD-like
Summary: Header Files and C API Documentation for Tk
Requires: tk = %version, tcl-devel
%description devel
This package contains header files and documentation needed for writing
Tk extensions in compiled languages like C, C++, etc., or for embedding
Tk in programs written in such languages.
This package is not needed for writing extensions or applications for
Tk in the Tcl language itself.
Authors:
--------
The Tcl Core Team <tcl-core@lists.sourceforge.net>
%define V_TKK 8.4
%prep
%setup -q -n %name%version
%patch0
pushd unix
%{?suse_update_config:%{suse_update_config}}
autoconf
popd
%build
mkdir build
pushd build
../unix/configure \
--prefix=%_prefix \
--libdir=%_libdir \
--mandir=%_mandir \
--with-tcl=%_libdir \
--enable-threads \
--enable-man-symlinks \
--enable-man-compression=gzip
make %{?jobs:-j%jobs} \
TK_LIBRARY="%_datadir/tcl/tk%V_TKK" \
CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" \
CFLAGS_WARNING=""
popd
%install
# these renamings are needed to avoid some file name clashes with other packages
mv doc/menubar.n doc/tk_menubar.n
mv doc/dialog.n doc/tk_dialog.n
mv doc/panedwindow.n doc/tk_panedwindow.n
make -C build install install-private-headers \
TK_LIBRARY="%_datadir/tcl/tk%V_TKK" \
INSTALL_ROOT=%buildroot
ln -sf wish%V_TKK %buildroot%_prefix/bin/wish
%clean
rm -rf %buildroot
%if %_lib == lib64
%post
test -L /usr/lib/tk%V_TKK && rm -f /usr/lib/tk%V_TKK
exit 0
%endif
%files
%defattr(-,root,root)
%doc README changes license.terms ChangeLog*
%docdir %_mandir/mann
%doc %_mandir/man1/*
%doc %_mandir/mann/*
%_prefix/bin/*
%_datadir/tcl
%_libdir/*.so
%files devel
%defattr(-,root,root)
%doc %_mandir/man3/*
%_prefix/include/*
%_libdir/*.a
%_libdir/tkConfig.sh
%changelog -n tk
* Tue Oct 17 2006 - max@suse.de
- New patchlevel release: 8.4.14rc2
- Fix crash on invalid font name from XServer
- Unmap canvas window items on canvas Unmap
- Fix [listbox] crash with namespace var
- Fix [console] std chan refcount
- Fix [console] thread safety
- Prevent excess variable writes by [scale]
- Add WM_UNICHAR window message
- Improve speed on [text] delete
- Alignment fixes in ucs-2be encoding routines
* Thu Sep 14 2006 - max@suse.de
- New version: 8.4.13
- Fixes the SCIM issues (#77424, obsoletes tk-scim.patch)
- Speeds up photo image updates.
- Fixes a crash in animated GIFs.
* Wed Aug 16 2006 - aj@suse.de
- Replace xorg-x11-devel BuildRequires with really needed libs.
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Wed Jan 04 2006 - max@suse.de
- Finally fixed the SCIM issues (#77424).
* Fri Dec 09 2005 - max@suse.de
- New version: 8.4.12.
- Enabled support for multithreading.
* Sun Nov 06 2005 - schwab@suse.de
- Fix syntax error in unix configure script.
* Tue Sep 06 2005 - max@suse.de
- Disabled the SCIM patch, because it causes some focus problems.
- Added a workaround that prevents Tk from using SCIM, so that at
least normal keyboard input is possible (#77424).
* Fri Sep 02 2005 - max@suse.de
- Added tk-scim.patch to improve XIM support and make Tk work
correctly with SCIM (#77424).
* Fri Jul 29 2005 - max@suse.de
- Re-added tkUnixDefault.h to tk-devel. It is needed by Tix.
* Wed Jul 27 2005 - max@suse.de
- New version: 8.4.11.
* Tue Jun 14 2005 - max@suse.de
- New version 8.4.10.
- Moved script libraries to /usr/share/tcl .
* Mon Mar 21 2005 - max@suse.de
- Fixed a small typo in the trigger script.
* Mon Mar 21 2005 - max@suse.de
- Added prerequisites for the trigger scripts (bug #74027).
* Fri Mar 18 2005 - max@suse.de
- Make sure that tk-32bit finds the script libraries when
installed on a 64bit system.
* Fri Dec 03 2004 - max@suse.de
- New version: 8.4.9
* Mon Nov 22 2004 - max@suse.de
- New version: 8.4.8
* Fri Jul 30 2004 - max@suse.de
- New 8.4.7 tarball with a last-minute fix for broken Compose key.
* Wed Jul 28 2004 - max@suse.de
- New version: 8.4.7
* Fri Mar 05 2004 - max@suse.de
- Updated to the official 8.4.6 release tarball.
* Fri Feb 27 2004 - max@suse.de
- New version: 8.4.6
* Fri Feb 06 2004 - max@suse.de
- Added -fno-strict-aliasing to CFLAGS.
* Mon Feb 02 2004 - max@suse.de
- Building as a non-root user.
* Thu Jan 15 2004 - max@suse.de
- Package Tk internal headers again. They are still needed by some
packages (e.g. tix).
* Mon Jan 12 2004 - max@suse.de
- New version: 8.4.5
- Cleaned up the spec file.
* Tue Sep 02 2003 - max@suse.de
- Disabled building of the static library to save build time and
CD space.
* Wed Jul 23 2003 - max@suse.de
- New version: 8.4.4
- Split into tk and tk-devel.
* Wed May 21 2003 - max@suse.de
- New version: 8.4.3
- Removed obsolete patches.
* Wed Mar 05 2003 - max@suse.de
- Updated to official 8.4.2 release tarball.
- Added essential diff to RC1 as tk-20030305.patch.bz2.
* Fri Feb 28 2003 - max@suse.de
- Updated to 8.4.2 RC1, and added an essential diff to the
previous tarball (tk-20030227.patch.bz2).
* Wed Feb 19 2003 - max@suse.de
- Updated to CVS HEAD, and added diff to previous verssion
for completeness.
- Fixes several bugs, see ChangeLog for details.
* Fri Feb 07 2003 - max@suse.de
- Upgrade to CVS HEAD (8.4.2pre).
* Tue Nov 26 2002 - max@suse.de
- Included private header files (needed for Tix).
* Tue Nov 26 2002 - max@suse.de
- New version: 8.4.1
- Added tk-HEAD.patch with fixes that went in after the release.
- Moved the Tk sources back into a separate package, now that Tk
can be built without access to the Tcl source tree.
- For the changes of the last four years see tcl.changes in the
tcl package.
* Tue Nov 24 1998 - max@suse.de
- merged spec-files into tcl_new.spec
* Mon Nov 23 1998 - max@suse.de
- new version: 8.0.4
- cleand up softlinks and compression for man pages
* Thu Jan 08 1998 - hf@suse.de
- bugfix for missing tkConfig8.0.sh
* Mon Nov 10 1997 - hf@suse.de
- new version 8.0p1
* Wed Oct 15 1997 - hf@suse.de
- ready for autobuild
* Thu Jul 03 1997 - hf@suse.de
- A new version 8.0b2. The second (and probably last) beta release of
Tk 8.0.
* Tue Jun 03 1997 - hf@suse.de
- added static librs and all links for the manpages in
the /usr/doc/packages/tk8.0/man
* Fri May 16 1997 - hf@suse.de
- added new link
* Mon May 12 1997 - hf@suse.de
- added new patch invisible.patch
* Tue Apr 15 1997 - hf@suse.de
- Manpages hardlinks removed and added softlinks to compressd manpages
- The new directory for the manpages is /usr/doc/packeges/tcl8.0/man

3
tk8.4.14rc2-src.tar.bz2 Normal file
View File

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