caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Sven <luther@dpt-info.u-strasbg.fr>
To: "Jun P.FURUSE" <Jun.Furuse@inria.fr>
Cc: david.marsal@free.fr, caml-list@inria.fr,
	debian-ocaml-maint@lists.debian.org
Subject: Re: [Caml-list] Compiler ActiveDVI (CVS)
Date: Fri, 25 Jan 2002 15:07:04 +0100	[thread overview]
Message-ID: <20020125150704.A16553@dpt-info.u-strasbg.fr> (raw)
In-Reply-To: <20020125.145651.424253831.Jun.Furuse@inria.fr>; from Jun.Furuse@inria.fr on Fri, Jan 25, 2002 at 02:56:51PM +0100

On Fri, Jan 25, 2002 at 02:56:51PM +0100, Jun P.FURUSE wrote:
> Bonjour,
> 
> > /usr/include/caml est l'emplacement correct pour les fichier d'include caml,
> > comme il se doit. C'est une idee bizarre de mettre des fichiers d'include dans
> > /usr/lib, bien que je comprenne pourquoi ocaml fait cela, pour le package
> > debian on a la chance de pouvoir placer les fichier au bon endroit.
> > 
> > L'ideal aurrait ete de pouvoir changer les chemins des includes dans le
> > configure ou le makefile de Advi.
> 
> Since I know nothing about the directory layout of O'Caml system in Debian,
> I am not sure what is happening...

Well, basically, everything is in /usr/lib/ocaml as usual, only i moved the
includes in the more logical /usr/include/caml directory. Which may be one of
the reason of this causing problems. That said, i built activeDVI 0.3.1
without any kind of major problems.

> But I fixed the CFLAGS setting of Advi Makefile so that now ocamlc can use
> its default cc include path (usually -I /usr/local/lib/ocaml) correctly.
> I hope this may help you...

I guess so, will try it out later on.

> # The next release of Advi is soon...

Cool, ...

BTW, i currently ship both mldvi and activedvi as debian package, mldvi being
1.0 and activedvi being 0.3.1. I think this may be overkill, but since i am
not entirely sure of what you or alexandre have thinked about it, i prefer to
keep it as such (and well, going from 1.0 to 0.3.1 version is not nice for
debian packages, i could manage it, but would prefer not to). 

Also, i have written a small manpage for mldvi (which i send to alexandre i
think) and upgraded it for activedvi. You may want to look at it, change
things as needed, and integrate it into the cvs archive. (attached here).

Also, may you consider adding some small changes to the makefile i need in
order to make debianization of it easier ? It is only the following :

--- activedvi-0.3.1.orig/Makefile
+++ activedvi-0.3.1/Makefile
@@ -88,6 +88,15 @@
 .depend: *.mli *.ml
        $(OCAMLDEP) $(INCLUDES) *.mli *.ml > .depend
 
+# debian matters
+#
+install: mldvi
+       install mldvi $(DESTDIR)/usr/bin
+       install mldvi.1 $(DESTDIR)/usr/share/man/man1
+install.opt: mldvi.opt
+       install mldvi.opt $(DESTDIR)/usr/bin
+       install mldvi.opt.1 $(DESTDIR)/usr/share/man/man1
+
 # just for the authors
 WEBSITEDIR=/net/pauillac/infosystems/www/activedvi
 
As you see, i need a install target, which i can modify the directory prefix
with something akin to this $(DESTDIR) variable.

Also we could imagine moving all the debian subdir into cvs, so people could
build packages directly out of cvs, ...

(I still didn't had time to work on the lablgtk frontend to ml/activedvi
wanted to do:((()

Friendly,

Sven Luther
-------------------
Bug reports: http://caml.inria.fr/bin/caml-bugs  FAQ: http://caml.inria.fr/FAQ/
To unsubscribe, mail caml-list-request@inria.fr  Archives: http://caml.inria.fr


  reply	other threads:[~2002-01-25 14:07 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-01-25  7:23 David Marsal
2002-01-25 11:14 ` Sven
2002-01-25 13:56   ` Jun P.FURUSE
2002-01-25 14:07     ` Sven [this message]
2002-01-25 14:10       ` Sven
2002-01-25 13:16 ` Didier Remy
2002-01-25 14:10   ` Sven
2002-01-25 22:59     ` Jacques Garrigue
2002-01-26  0:49       ` Ian Zimmerman
2002-01-26  1:45         ` Jacques Garrigue
2002-01-26  2:00           ` Ian Zimmerman
2002-01-31 11:45           ` Sven
2002-01-31 11:41       ` Sven
2002-01-25 19:18 ` Alan Schmitt
2002-01-25 22:40   ` [Caml-list] CDK support Jacques Garrigue
2002-01-26  8:06     ` Alan Schmitt
2002-01-28  8:53     ` Fabrice Le Fessant
2002-01-25  9:16 [Caml-list] Compiler ActiveDVI (CVS) Roberto Di Cosmo
2002-01-25  9:58 ` Christophe Raffalli
2002-01-27 21:27   ` Roberto Di Cosmo
2002-01-28 16:10   ` Didier Remy
2002-01-31 11:47     ` Sven
2002-01-31 21:30       ` Alan Schmitt
2002-01-29 13:45   ` Didier Remy

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=20020125150704.A16553@dpt-info.u-strasbg.fr \
    --to=luther@dpt-info.u-strasbg.fr \
    --cc=Jun.Furuse@inria.fr \
    --cc=caml-list@inria.fr \
    --cc=david.marsal@free.fr \
    --cc=debian-ocaml-maint@lists.debian.org \
    /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 NNTP newsgroup(s).