Re: Future of CDDB replacement projects

Marc van Woerkom (van.woerkom nospam at netcologne.de)
Thu, 29 Apr 1999 04:57:52 +0200 (CEST)

> Marc van Woerkom is in the process of checking in the source to the
> client into CVS. Once that is complete, the client will have
> support for Linux, Win32, FreeBSD and IRIX in one code base.

These versions are checked at the time of this mail:

marc nospam at oranje$ cvs status -v configure
===================================================================
File: configure Status: Up-to-date

Working revision: 1.2
Repository revision: 1.2 /src/repository/cdi_client/configure,v
Sticky Tag: (none)
Sticky Date: (none)
Sticky Options: (none)

Existing Tags:
CDI_1_1_0_PRE5 (revision: 1.2)
CDI_1_1_0_PRE4 (revision: 1.1.1.4)
CDI_1_1_0_PRE3 (revision: 1.1.1.3)
CDI_1_1_0_PRE2 (revision: 1.1.1.2)
CDI_1_0_0 (revision: 1.1.1.1)
CDI_0_4_0 (revision: 1.1.1.1)
CDI_ORG (branch: 1.1.1)

It is easy now and in the future to check out a particular release directly
from the CVS repository. For example:

marc nospam at oranje$ cvs checkout -r CDI_0_4_0 cdi_client
cvs server: Updating cdi_client
U cdi_client/AUTHORS
U cdi_client/COPYING
.
.
U cdi_client/sha_func.c

marc nospam at oranje$ cd ..; diff -r ../../linux/cdindex-0.4.0 cdi_client
Only in cdi_client: CVS
diff -r ../../linux/cdindex-0.4.0/mkinstalldirs cdi_client/mkinstalldirs
7c7
< # $Id: mkinstalldirs,v 1.13 1999/01/05 03:18:55 bje Exp $
---
> # $Id: mkinstalldirs,v 1.1.1.1 1999/04/29 00:47:27 marc Exp $

What is the present state of the client?

- Supposed to run under Linux and Win32/MSVC++
Could someone test this, please?

- Tested under FreeBSD 4.0-current, supposed to
run on older versions too

- The IRIX diffs go into PRE6 after this mail

This, modulo bugs, will yield 1.1.0.

Further plans from my side:

- We are very likely to have support for a free Win32
environment in a few days. I got the Cygwin environment
running under Windows NT yesterday and managed to compile a
CVS client with minor modifications from source (see below).
Next to being free, this plattform has the advantage of
using the usual UNIX build tools.

- A control interface for Netscape navigator (that allows
a client program to tell the browser what page to display
etc.) is documented for the UNIX versions of the browser.
I heard rumors that a DDE based interface is available
for Win32 - can anyone confirm this?

- The result of cleaning up and better separation
will yield 1.2.0 a week later or so.
What we need is a simple access library.

- A prominent cdplayer has to be taught cdindex then,
e.g. the GNOME player.

Regards,
Marc

-------------------------------------------------------------------------------

To build cvs-1.10 under Cygwin:

1. apply patch to rcs.c (quick hack)
2. sh configure
3. ensure that MAKE_MODE=UNIX
4. gmake
5. gmake install
6. cp src/cvs.exe {prefix}/bin

-------------------------------------------------------------------------------

--- cvs-1.10/src/rcs.c.orig Fri Aug 07 02:38:28 1998
+++ cvs-1.10/src/rcs.c Wed Apr 28 16:19:24 1999
nospam at nospam at -6991,7 +6991,7 nospam at nospam at
we define a deltafrag as an add or a delete) need to be applied
in reverse order. So we stick them into a linked list. */
struct deltafrag {
- enum {ADD, DELETE} type;
+ enum {ADD, DEL} type;
unsigned long pos;
unsigned long nlines;
const char *new_lines;
nospam at nospam at -7060,7 +7060,7 nospam at nospam at
--df->pos;

assert (op == 'd');
- df->type = DELETE;
+ df->type = DEL;
}
}

nospam at nospam at -7075,7 +7075,7 nospam at nospam at
df->pos))
return 0;
break;
- case DELETE:
+ case DEL:
if (df->pos > lines->nlines
|| df->pos + df->nlines > lines->nlines)
return 0;

-------------------------------------------------------------------------------

The result is:

C:\mvw\local\bin>cvs -d :pserver:freeamp nospam at cvs.freeamp.org:/src/repository login
cvs -d :pserver:freeamp nospam at cvs.freeamp.org:/src/repository login
(Logging in to freeamp nospam at cvs.freeamp.org)
CVS password: freeamp1

C:\mvw\local\bin>cvs -d :pserver:freeamp nospam at cvs.freeamp.org:/src/repository checkout cdi_client
cvs -d :pserver:freeamp nospam at cvs.freeamp.org:/src/repository checkout cdi_client

cvs server: Updating cdi_client
cvs server: failed to create lock directory in repository `/src/repository/cdi_client': Permission denied
cvs server: failed to obtain dir lock in repository `/src/repository/cdi_client'
cvs [server aborted]: read lock failed - giving up

(The same I got under FreeBSD some moments ago - Robert? :)