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

Re: Suggestion for ocaml-source



On Wed, Oct 01, 2003 at 02:02:32PM +0200, Stefano Zacchiroli wrote:
> On Wed, Oct 01, 2003 at 11:32:53AM +0200, Sven Luther wrote:
> > Mmm, yes, sure i could do that, we have made no progress on removing
> > the need for it, right, so this would make sense, i think.
> 
> BTW1: please keep us informed of this change, I have a package that
> depend on ocaml sources and I would like to know when he will break :)

Ok, i am currently uploading it :

luther@iliana:~/debian/ocaml/3.07$ dpkg -c ocaml-source_3.07-1_all.deb
drwxr-xr-x root/root         0 2003-10-01 14:12:52 ./
drwxr-xr-x root/root         0 2003-10-01 14:12:41 ./usr/
drwxr-xr-x root/root         0 2003-10-01 14:12:51 ./usr/src/
-rw-r--r-- root/root   1896059 2003-10-01 14:12:51 ./usr/src/ocaml-source.tar.bz2
drwxr-xr-x root/root         0 2003-10-01 14:12:51 ./usr/share/
drwxr-xr-x root/root         0 2003-10-01 14:12:41 ./usr/share/lintian/
drwxr-xr-x root/root         0 2003-10-01 14:12:41 ./usr/share/lintian/overrides/
drwxr-xr-x root/root         0 2003-10-01 14:12:51 ./usr/share/doc/
drwxr-xr-x root/root         0 2003-10-01 14:12:52 ./usr/share/doc/ocaml-source/
-rw-r--r-- root/root     24341 2003-09-29 11:42:21 ./usr/share/doc/ocaml-source/changelog.gz
-rw-r--r-- root/root      6494 2003-09-30 22:05:18 ./usr/share/doc/ocaml-source/copyright
-rw-r--r-- root/root      7102 2003-10-01 13:31:31 ./usr/share/doc/ocaml-source/changelog.Debian.gz

And ocaml-source.tar.bz2 unpacks into ocaml/ocaml-3.07 ... Mmm, this is
not nice, i suppose that just ocaml or just ocaml-3.07, maybe the latest
would have been better, i will fix it.

The nice thing about doing it this way, is that you can use bzip2, and
thus save around 450K in the package size :)))


> 
> BTW2: actually the ocaml sources installed in /usr/src aren't equal to
> the distributed tarball. For example, the "lex" dir has no prebuilt
> ocamllex/yacc stuff and no .depend file. This is because that files
> aren't listed in the corresponding debian/*.files. Due to this

Well, they should be, i did a find . in a cleanly unpacked tarball, and
removed by hand all directories, .cvsignore, .depend and mac/win32
stuff. I guess we need none of them, not sure about the .depend though.

> differency I had to patch the wlex Makefile which (correctly) expect a
> source dir as obtained unpacking INRIA's tarball. I suppose this problem
> will be solved shippping directly the tarball too ...

What was the exact problem ? 

Also, maybe if i built the ocaml-source _before_ building the rest of
the stuff, it would be better, don't know. I will most certainly not use
the full upstream tarball, and as said, it would be best to remove all
need for the sources, but shipping the compilation result when needed,
or duplicating the source files.

Friendly,

Sven Luther



Reply to: