public inbox for cygwin-apps@cygwin.com
 help / color / mirror / Atom feed
From: Jan Nijtmans <jan.nijtmans@gmail.com>
To: cygapps <cygwin-apps@cygwin.com>
Subject: Re: [ITA] tcl-sqlite3
Date: Wed, 15 Jan 2014 09:13:00 -0000	[thread overview]
Message-ID: <CAO1jNwtkWL_KYF0krMdjVP4x7LHV6CSP2P9JKUBD2yr5EP78KQ@mail.gmail.com> (raw)
In-Reply-To: <52D5AFDF.2070604@users.sourceforge.net>

2014/1/14 Yaakov (Cygwin/X):
> I don't see any links to a -src package, or better yet, a URL to the
> .cygport and patches (if any).

That's because  the -src package is the same as
the "sqlite3" src package. Apparently that was not
clear enough from the mailed setup.hint file, it's
already uploaded to cygwin.com:
2014/1/13 Jan Nijtmans <jan.nijtmans@gmail.com>:
> =========================================
> tcl-sqlite3/setup.hint
...
> external-source: sqlite3    <<<<<<<<<<<<
> prev: 3.7.15.2-1
> curr: 3.8.2-3

However, the one with the latest modifications can be found here now:
    <https://dl.dropboxusercontent.com/u/69449580/Cygwin/sqlite3/sqlite3-3.8.2-3-src.tar.xz>

2014/1/14 Warren Young <warren@etr-usa.com>:
> If it's hidden under /usr/lib/tcl or whatever, I don't see a problem with
> the fully-versioned library file.  It's only for tcl-sqlite's use, and it's
> behind a layer of indirection, so it can call its file whatever it wants.

It's not a problem, but partly-versioned (only the "3") library file
has the advantage that no uninstall needs to be done after
an upgrade to a higher version. The directory cannot
accidentally keep old versions of files around, every
upgrade will simply overwrite it with the new version.

If the filename is agreed upon, still agreement is needed on
the directory where those file should be installed. Using
/usr/lib/tcl8.x/sqlite3 is not strange at all: TEA dictates
that there should be a tclConfig.sh file in /usr/lib, but
Debian moves that to /usr/lib/tcl8.x as well. It's
already in the search path of Tcl, so it will work
without the need to patch Tcl itself.

Putting it in /usr/lib/tcl8.6/sqlite3, and create a link
in /usr/lib/tcl8.5 as well, has the advantage that
it is already ready for (my locally compiled) Tcl 8.6.
Of course, it could be the other way around
as well, but then I would like to to put a link
in /usr/lib/tcl8.6 anyway. It just depends on what
plans Cygwin has for Tcl 8.6 in the near future,
I simply don't know.

Summarised:

TEA (without full-version):
       /usr/lib/sqlite3/tclsqlite3.dll
       /usr/lib/sqlite3/pkgIndex.tcl

TM (Tcl module new style):
       /usr/lib/tcl8/8.5/sqlite3/tclsqlite3.dll
       /usr/lib/tcl8/8.5/sqlite3/sqlite3-3.8.2.tm
     (not a good idea, because tm-files are
      expected to contain the full version number)

My suggestion (looks like Fedora's "sqlite-tcl" package):
       /usr/lib/tcl8.5/sqlite3 -> ../tcl8.6/sqlite3
       /usr/lib/tcl8.6/sqlite3/tclsqlite3.dll
       /usr/lib/tcl8.6/sqlite3/pkgIndex.tcl
or
       /usr/lib/tcl8.6/sqlite3 -> ../tcl8.5/sqlite3
       /usr/lib/tcl8.5/sqlite3/tclsqlite3.dll
       /usr/lib/tcl8.5/sqlite3/pkgIndex.tcl

Who has the authority to make such decision? And who can
add the "tcl-sqlite3" package to cygwin-pkg-maint?

Thanks for all your cooperation!

Regards,
        Jan Nijtmans

  reply	other threads:[~2014-01-15  9:13 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-14 15:50 Jan Nijtmans
2014-01-14 16:45 ` Corinna Vinschen
2014-01-14 19:30   ` Yaakov (Cygwin/X)
2014-01-14 19:49     ` Corinna Vinschen
2014-01-14 21:45       ` Yaakov (Cygwin/X)
2014-01-15  9:13         ` Jan Nijtmans [this message]
2014-01-20  3:52           ` Yaakov (Cygwin/X)
2014-01-20  9:37             ` Jan Nijtmans
2014-01-21 14:01               ` Corinna Vinschen
2014-01-14 19:48 ` Yaakov (Cygwin/X)
  -- strict thread matches above, loose matches on Subject: below --
2014-01-21 14:07 Jan Nijtmans
2014-01-21 16:26 ` Christopher Faylor
2014-01-14 12:56 Jan Nijtmans
2014-01-14 12:15 Jan Nijtmans
2014-01-14 12:45 ` Corinna Vinschen
2014-01-14 20:34   ` Warren Young
2014-01-14 20:52     ` Corinna Vinschen
2014-01-14 21:39       ` Yaakov (Cygwin/X)
2014-01-13 10:57 Jan Nijtmans
2014-01-14  9:55 ` Corinna Vinschen
2014-01-14 19:16   ` Yaakov (Cygwin/X)
2014-01-14 20:39 ` Warren Young

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAO1jNwtkWL_KYF0krMdjVP4x7LHV6CSP2P9JKUBD2yr5EP78KQ@mail.gmail.com \
    --to=jan.nijtmans@gmail.com \
    --cc=cygwin-apps@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).