[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: New tcl8.4.15 is released



Michael Thomas wrote:
Marcela Maslanova wrote:
I'm certainly interested in upgrading to 8.4.15.  I would hope that some
of the auto_path patches could be added at the same time (but I won't
hold my breath).

--Wart

If you want to add some patches to auto_path let me know. But changes
for example /usr/lib
to /usr/lib64 could break some dependencies. Isn't too late for this
change?

Let me know your opinion on auto_path. It should be fixed.

The main change I want to make to auto_path is to add /usr/lib/tcl8.4
(or /usr/lib64/tcl8.4 on x86_64) to the auto_path so that extensions can
be installed in either %_datadir or %_libdir and still be found.  This
won't impact existing extensions because their installation directories
would still be part of auto_path.

When tcl 8.5 is available then we can look at removing some directories
from auto_path (namely /usr/lib and /usr/share) to speed up the initial
startup time for Tcl applications.  But this is a more invasive change
that will require patching almost all of the current Tcl extensions.

For now, adding %{_libdir}/tcl8.4 will be a good intermediate step that
will allow extensions to slowly migrate to the proper tcl-specific
install directories before we remove the generic /usr/share and /usr/lib
 from auto_path.

With your permission I'll update the tcl package in CVS to use this
extra auto_path directory.

Below is a trivial patch to the existing patch in CVS to make this fix.

--Wart

Index: tcl-confi.patch
===================================================================
RCS file: /cvs/extras/rpms/tcl/devel/tcl-confi.patch,v
retrieving revision 1.1
diff -u -r1.1 tcl-confi.patch
--- tcl-confi.patch     31 Jul 2007 09:54:53 -0000      1.1
+++ tcl-confi.patch     4 Aug 2007 23:27:08 -0000
@@ -41,7 +41,7 @@
      TCL_PACKAGE_PATH="${libdir} ${prefix}/lib"
  else
 -    TCL_PACKAGE_PATH="${prefix}/lib"
-+    TCL_PACKAGE_PATH="${libdir} ${prefix}/share"
++ TCL_PACKAGE_PATH="${libdir} ${prefix}/share ${prefix}/share/tcl8.4 ${libdir}/tcl8.4"
  fi

  #--------------------------------------------------------------------


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]