SHA256
1
0
forked from pool/tix
OBS User unknown
2007-01-15 23:39:10 +00:00
committed by Git OBS Bridge
commit 7d36f31924
7 changed files with 433 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

3
tix-8.1.4.tar.bz2 Normal file
View File

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

107
tix.changes Normal file
View File

@@ -0,0 +1,107 @@
-------------------------------------------------------------------
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 <xshared> to <x-devel-packages>
- changed neededforbuild <xdevel> 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

154
tix.patch Normal file
View File

@@ -0,0 +1,154 @@
--- generic/tixDef.h
+++ generic/tixDef.h
@@ -19,9 +19,7 @@
/*
* Include the defaults of the TK distriburion
*/
-#ifndef _DEFAULT
-#include <default.h>
-#endif
+#include <tkUnixDefault.h>
#ifndef CTL_FONT
#define CTL_FONT "Helvetica -12 bold"
--- unix/Makefile.in
+++ unix/Makefile.in
@@ -1,4 +1,4 @@
-# -*-mode: makefile; fill-column: 75; tab-width: 8; coding: iso-latin-1-unix -*-
+# -*-mode: makefile; fill-column: 75; tab-width: 8; coding: iso-8859-1 -*-
#
# $Id: Makefile.in,v 1.2.2.5 2002/12/02 04:02:52 idiscovery Exp $
#
@@ -16,6 +16,8 @@
# the configuration script).
#----------------------------------------------------------------
+DESTDIR=
+
# Default top-level directories in which to install architecture-
# specific files (exec_prefix) and machine-independent files such
# as scripts (prefix). The values specified here may be overridden
@@ -24,7 +26,10 @@
prefix = @prefix@
exec_prefix = @exec_prefix@
-libdir = $(exec_prefix)/lib
+libdir = @libdir@
+mandir = @mandir@
+tclscriptdir = $(libdir)
+
@SET_MAKE@
@@ -33,19 +38,19 @@
# Directory in which to install the library of Tix scripts and demos
# (note: you can set the TIX_LIBRARY environment variable at run-time to
# override the compiled-in location):
-TIX_LIBRARY = $(libdir)/tix$(TIX_VERSION)
+TIX_LIBRARY = $(DESTDIR)$(tclscriptdir)/tix$(TIX_VERSION)
# Directory in which to install the archive libtix.a:
-LIB_DIR = $(exec_prefix)/lib
+LIB_DIR = $(DESTDIR)$(libdir)
# Directory in which to install the program wish:
-BIN_DIR = $(exec_prefix)/bin
+BIN_DIR = $(DESTDIR)$(exec_prefix)/bin
# Directory in which to install the include file tix.h:
-INCLUDE_DIR = $(prefix)/include
+INCLUDE_DIR = $(DESTDIR)$(prefix)/include
# Top-level directory for manual entries:
-MAN_DIR = $(prefix)/man
+MAN_DIR = $(DESTDIR)$(mandir)
# Directory in which to install manual entry for wish:
MAN1_DIR = $(MAN_DIR)/man1
--- unix/tk8.4/Makefile.in
+++ unix/tk8.4/Makefile.in
@@ -1,4 +1,4 @@
-# -*-mode: makefile; fill-column: 75; tab-width: 8; coding: iso-latin-1-unix -*-
+# -*-mode: makefile; fill-column: 75; tab-width: 8; coding: iso-8859-1 -*-
#
# $Id: Makefile.in,v 1.1.2.3 2002/12/11 07:18:41 idiscovery Exp $
#
@@ -22,6 +22,8 @@
# the configuration script).
#----------------------------------------------------------------
+DESTDIR=
+
# Default top-level directories in which to install architecture-
# specific files (exec_prefix) and machine-independent files such
# as scripts (prefix). The values specified here may be overridden
@@ -29,8 +31,9 @@
# to the "configure" script.
prefix = @prefix@
+mandir = @mandir@
exec_prefix = @exec_prefix@
-libdir = $(exec_prefix)/lib
+libdir = @libdir@
TIX_VERSION = @TIX_VERSION@
TCL_VERSION = @TCL_VERSION@
@@ -40,15 +43,15 @@
# Directory in which to install the library of Tix scripts and demos
# (note: you can set the TIX_LIBRARY environment variable at run-time to
# override the compiled-in location):
-TIX_LIBRARY = $(libdir)/tix$(TIX_VERSION)
+TIX_LIBRARY = $(DESTDIR)$(libdir)/tix$(TIX_VERSION)
# Directory in which to install the archive libtix.a:
-LIB_DIR = $(exec_prefix)/lib
+LIB_DIR = $(DESTDIR)$(libdir)
LIB_INSTALL_DIR = $(LIB_DIR)
LIB_RUNTIME_DIR = $(LIB_DIR)
# Directory in which to install the program tixwish:
-BIN_DIR = $(exec_prefix)/bin
+BIN_DIR = $(DESTDIR)$(exec_prefix)/bin
# To change the compiler switches, for example to change from -O
# to -g, change the following line:
@@ -497,7 +500,7 @@
fi; \
done;
@echo "Installing $(TIX_LIB_FILE) as $(LIB_DIR)/$(TIX_LIB_FILE)"
- @$(INSTALL_DATA) $(TIX_LIB_FILE) $(LIB_DIR)/$(TIX_LIB_FILE)
+ @$(INSTALL_PROGRAM) $(TIX_LIB_FILE) $(LIB_DIR)/$(TIX_LIB_FILE)
@echo "Installing $(TIX_EXE_FILE) as $(BIN_DIR)/$(INST_EXE)"
@$(INSTALL_PROGRAM) $(TIX_EXE_FILE) $(BIN_DIR)/$(INST_EXE)
@echo "Installing tixConfig.sh"
--- unix/tk8.4/configure.in
+++ unix/tk8.4/configure.in
@@ -128,11 +128,11 @@
if test "$ok" = "yes"; then
TIX_BUILD_SAM="yes"
TIX_SAM_TARGETS='$(SAM_TARGETS)'
+ TIX_SAM_INSTALL=_install_sam_lib_
else
TIX_BUILD_SAM="no"
fi
- TIX_SAM_INSTALL=_install_sam_lib_
IS_ITCL=0
ITCL_BUILD_LIB_SPEC=""
@@ -348,12 +348,12 @@
AC_SUBST(TIX_VERSION_PKG)
TIXSAM_PKG_FILE="[[file join [file dirname \$dir] ${TIX_SAM_FILE}]]"
-# if test "$TIX_BUILD_SAM" = "yes"; then
+if test "$TIX_BUILD_SAM" = "yes"; then
TIX_SAM_PACKAGE_IFNEEDED="package ifneeded Tixsam ${TIX_VERSION_PKG} [[list load \"${TIXSAM_PKG_FILE}\" Tixsam]]"
-# fi
+fi
# The package file, usually a shared library
-TIX_PKG_FILE="[[file join [file dirname \$dir] ${TIX_LIB_FILE}]]"
+TIX_PKG_FILE="${TIX_LIB_FILE}"
AC_SUBST(TIX_PKG_FILE)
AC_SUBST(TIX_SAM_PACKAGE_IFNEEDED)

145
tix.spec Normal file
View File

@@ -0,0 +1,145 @@
#
# spec file for package tix (Version 8.1.4)
#
# Copyright (c) 2005 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://www.suse.de/feedback/
#
# norootforbuild
Name: tix
BuildRequires: itcl tk-devel xorg-x11-devel
%define V_TIX 8.1.%tcl_version
%define prefix /usr
%define mandir /usr/share/man
Version: 8.1.4
Release: 78
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Summary: Tools for tk
Group: Development/Libraries/Tcl
Autoreqprov: on
Source: %name-%version.tar.bz2
Patch0: %name.patch
Group: Development/Libraries/Tcl
License: distributable, Other License(s), see package
Summary: Tools for tk
Provides: tixwish tixwish%V_TIX
%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
find -name .cvsignore | xargs rm -fv
%patch
find -name configure | xargs chmod a+rx
%build
export CFLAGS="$RPM_OPT_FLAGS"
CONFIGURE_OPTS="
--with-tclconfig=%_libdir
--with-tkconfig=%_libdir
--with-tclinclude=%_includedir
--with-tkinclude=%_includedir
--enable-gcc
--disable-sam
--enable-shared
--prefix=%_prefix
--libdir=%_libdir
--mandir=%_mandir
"
chmod a+x install.sh
cd unix
autoconf --force
./configure $CONFIGURE_OPTS
cd tk%tcl_version
autoconf --force
./configure $CONFIGURE_OPTS
make CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
%install
export LD_LIBRARY_PATH=$PWD/%{TCL}/unix
cd unix
#mkdir -p %buildroot/{%_prefix,%_libdir,%_mandir}
mkdir -p %buildroot%tclscriptdir
make install \
DESTDIR=%buildroot \
tclscriptdir=%tclscriptdir
mv %buildroot%_mandir/mann/tixwish.1 %buildroot%_mandir/man1
ln -sf tixwish%V_TIX %buildroot%{_prefix}/bin/tixwish
%clean
rm -rf %buildroot
%files
%defattr(-,root,root)
%doc ABOUT* README* docs Roadmap.html TODO.html
%doc demos/c-code
%doc demos/et
%doc %_mandir/*/*
%_bindir/*
%_libdir/lib*
%_libdir/tixConfig.sh
%tclscriptdir/*
%_includedir/*
%changelog -n tix
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Fri Jul 29 2005 - max@suse.de
- Moved script library to /usr/share/tcl .
* Thu Feb 05 2004 - max@suse.de
- Building as a shared lib again.
- Added -fno-strict-aliasing to CFLAGS.
* Thu Jan 15 2004 - max@suse.de
- New version: 8.1.4
* Sat Jan 10 2004 - adrian@suse.de
- build as user
* Wed Jul 23 2003 - max@suse.de
- Added tk-devel to neededforbuild.
* Wed May 21 2003 - ro@suse.de
- remove .cvsignore files
- fix filelist
* Mon Nov 11 2002 - ro@suse.de
- changed neededforbuild <xshared> to <x-devel-packages>
- changed neededforbuild <xdevel> to <>
* Tue Jul 09 2002 - max@suse.de
- Ready for Tcl/Tk 8.4.
- Doesn't break on KDE3 anymore [Bug #16428].
* Wed Apr 10 2002 - max@suse.de
- Fixed for new version of autobuild.
* Wed Feb 20 2002 - max@suse.de
- Fixed for lib64-s390x.
* Thu Jan 17 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 1998 - max@suse.de
- merged spec-files into tcl_new.spec
* Mon Nov 23 1998 - max@suse.de
- building with new Tcl/Tk version: 8.0.4
- tixwish is now dynamically linked to libtcl
* Wed Sep 23 1998 - ro@suse.de
- added to specfile: applx patch for tcl8.0
* Thu May 14 1998 - hf@suse.de
- english and german README.SuSE
* Mon Feb 23 1998 - hf@suse.de
- changed README.SuSE
* Mon Feb 16 1998 - hf@suse.de
- changes in spec file
* Thu Feb 05 1998 - hf@suse.de
new package Tix for Tcl/Tk 8.0
and new directorypath to tcl/tk in /usr/lib/tcltk