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

Re: camlzip 1.01-1 uploaded ...



On Fri, Feb 22, 2002 at 02:05:24PM +0100, Stefano Zacchiroli wrote:
> On Thu, Feb 21, 2002 at 03:41:37PM +0100, Sven wrote:
> > Please have a look at it if you are maintaining an ocaml library package, and
> > comment as needed, and take it as example for your work.
> 
> Ok I will look at it and use as an example for the set of libraries I
> maintain.

Thanks, ...

BTW, i have an urgent need for an adapted camlimage package for building the
new version of activedvi.

> BTW what do you do to rename the camlzip package in libzip-ocaml? That
> is, how I manage the renaming? Have I to simply rename the binary

Well, simply by placing the corresponding name in the control file :

Package: libzip-ocaml
...

And then in rules :

        $(MAKE) install DESTDIR=$(CURDIR)/debian/libzip-ocaml-dev
        if [ -x /usr/bin/ocamlopt ]; then \
                $(MAKE) installopt DESTDIR=$(CURDIR)/debian/libzip-ocaml-dev;\
        fi

notice how i install in libzip-ocaml-dev and not camlzip.

Finally you move the stuff around for the libzip-ocaml package:

dh_movefiles -plibzip-ocaml --sourcedir=debian/libzip-ocaml-dev

The only other needed changes is the adding of the -s option to the dh_
scripts, and also a new script call :

dh_ocamlld -plibzip-ocaml /usr/lib/ocaml/zip

The rest is straightforward, you will have to add a libzip-ocaml.files to list
the files to move though, and you also need an libzip-ocaml.dirs and a
libzip-ocaml-dev.dirs.

> packages leaving source packages as they are or I have to create a new
> source package (with related delay for new packages) and ask the release
> manager to remove the old package?

Now, notice the source for camlzip stays camlzip.

the delay will still be there though.

> > users. Maybe this is the better idea anyway, don't know. Will libimages-ocaml
> > or libcamlimages-ocaml be the best name ? I think the latest one, since it is
> > the widely known one, but then camlimages installs under CAMLDIR/camlimages.
> 
> I agree, I will probably choose libcamlimages-ocaml as new camlimages
> package name.

Yes, ...

BTW, there is a new version of camlzip in incoming, with a few changes (mostly
dependencies though).

Friendly,

Sven Luther



Reply to: