emmanuel_ has quit [Remote host closed the connection]
emmanuel_ has joined #ocaml
gnuvince has quit [Remote host closed the connection]
yroeht has quit [Ping timeout: 240 seconds]
yroeht has joined #ocaml
sebz has joined #ocaml
sebz has quit [Client Quit]
oriba has quit [Quit: oriba]
sepp2k has quit [Remote host closed the connection]
emmanuel_ has quit [Remote host closed the connection]
emmanuel_ has joined #ocaml
emmanuel_ has quit [Remote host closed the connection]
scrappy_doo_ has left #ocaml []
Drakken has joined #ocaml
bwright has quit [Ping timeout: 240 seconds]
<Drakken>
thelema are you around?
bwright has joined #ocaml
EmmanuelOga has quit [Ping timeout: 244 seconds]
ankit9 has joined #ocaml
testcocoon has quit [Quit: Coyote finally caught me]
testcocoon has joined #ocaml
testcocoon has quit [Client Quit]
testcocoon has joined #ocaml
larhat has joined #ocaml
arubin has quit [Quit: arubin]
pilki has joined #ocaml
pilki has quit [Client Quit]
pilki has joined #ocaml
ocp has joined #ocaml
ocp has quit [Ping timeout: 276 seconds]
pilki has quit [Quit: This computer has gone to sleep]
pilki has joined #ocaml
ttamttam has joined #ocaml
pilki has quit [Quit: This computer has gone to sleep]
edwin has joined #ocaml
cago has joined #ocaml
ikaros has joined #ocaml
jonludlam_home has quit [Remote host closed the connection]
Cyanure has joined #ocaml
ikaros has quit [Quit: Ex-Chat]
sebz has joined #ocaml
Cyanure has quit [Remote host closed the connection]
Cyanure has joined #ocaml
ikaros has joined #ocaml
musically_ut has joined #ocaml
sebz has quit [Quit: Computer has gone to sleep.]
sebz has joined #ocaml
sebz has quit [Client Quit]
eikke has joined #ocaml
ulfdoz has quit [Ping timeout: 252 seconds]
ulfdoz has joined #ocaml
Cyanure has quit [Remote host closed the connection]
vbmithr has joined #ocaml
vbmithr has left #ocaml []
beckerb has joined #ocaml
destrius has quit [Quit: Leaving.]
ocp has joined #ocaml
ocp has left #ocaml []
thomasga has joined #ocaml
ikaros has quit [Read error: Operation timed out]
mcclurmc has quit [Excess Flood]
mcclurmc has joined #ocaml
ftrvxmtrx has quit [Ping timeout: 252 seconds]
ftrvxmtrx has joined #ocaml
jonludlam has joined #ocaml
roha has joined #ocaml
mfp has quit [Read error: Connection reset by peer]
sebz_ has joined #ocaml
sepp2k has joined #ocaml
mfp has joined #ocaml
raichoo has joined #ocaml
roha has quit [Ping timeout: 245 seconds]
EmmanuelOga has joined #ocaml
ttamttam has quit [Ping timeout: 276 seconds]
ikaros has joined #ocaml
beckerb has quit [Remote host closed the connection]
beckerb has joined #ocaml
beckerb has quit [Remote host closed the connection]
roha has joined #ocaml
oriba has joined #ocaml
roha has quit [Ping timeout: 252 seconds]
sebz_ has quit [Quit: Computer has gone to sleep.]
joewilliams has quit [Remote host closed the connection]
roha has joined #ocaml
bobry has quit [Remote host closed the connection]
lopex has quit [Read error: Connection reset by peer]
roha has quit [Ping timeout: 276 seconds]
joewilliams has joined #ocaml
sebz has joined #ocaml
<Drakken>
thelema I have a Q about odb whenever you have some time.
bobry has joined #ocaml
sebz has quit [Quit: Computer has gone to sleep.]
musically_ut has quit [Ping timeout: 240 seconds]
roha has joined #ocaml
<thelema>
Drakken: go ahead
<Drakken>
thelema good morning.
<thelema>
good morning, drakken
<Drakken>
Someone in the archimedes team said they fixed a bug that supposedly caused the prob I was having.
<Drakken>
The fix isn't on oasis-db yet
<Drakken>
so I guess I need to download bzr, checkout the new project tree, and install
<Drakken>
without messing up whatever state info odb keeps.
<thelema>
odb keeps no state info.
<thelema>
go ahead, download, install whatever you like
<Drakken>
So my questions are (a) do you know of any easier options, and (b) if not, what do I have to do to install from the bzr project.
<thelema>
b) bzr branch <url>
<Drakken>
oh, and any odb-specific installation details
<Drakken>
that's to check the project out. what about installing?
* thelema
looks at what build system it uses
<thelema>
ok, it uses oasis.
<thelema>
ocaml setup.ml -configure
<thelema>
ocaml setup.ml -build
<thelema>
to install to ~/.odb/lib, do `OCAMLFIND_DESTDIR=~/.odb/lib ocaml setup.ml -install`
<Drakken>
and the project knows about stublibs? Do I need to install cairo2 first? I don't know what they changed.
<thelema>
cairo2 should be already installed by odb - you don't need to install it.
roha has quit [Ping timeout: 240 seconds]
<Drakken>
assuming the bugfix was in archimedes and not cairo
<thelema>
the project doesn't know about stublibs, but ocamlfind knows about them and will put the right files in the right places
<Drakken>
I guess the guy said it was a new version of archimedes
<thelema>
0.4.11?
<Drakken>
right
<thelema>
already in oasis-db
<thelema>
odb --force archimedes
<Drakken>
dang it
<Drakken>
I knew I should have checked first. I looked last night & it wasn't there.
<thelema>
yup, just yesterday I updated.
<thelema>
and it was there in unstable before that.
cago has quit [Quit: Leaving]
cago has joined #ocaml
jonludlam has quit [Remote host closed the connection]
lopex has joined #ocaml
<hcarty>
thelema: A thought for mixing odb and GODI - it may be worth finding a way to create a GODI package for odb. If the dependencies and build targets are setup properly in GODI, in theory this could be used to at least odb-based package rebuilds to GODI-based OCaml compiler upgrades.
larhat has quit [Quit: Leaving.]
<thelema>
hcarty: on gildor's todo list is generating godi packages from oasis
<thelema>
oh, but you think I should put odb into godi...
<thelema>
hmmm...
<thelema>
godi can rebuils everything on a compiler upgrade
<thelema>
I don't see much use for odb on a computer with a functioning godi
<thelema>
Drakken: did everything work out with archimedes 0.4.11?
<hcarty>
thelema: Once oasis supports generating GODI packages then that may be true
<hcarty>
odb is still a much lower barrier to entry than GODI
<thelema>
yes, that's my reason for it.
<hcarty>
Extending GODI to support oasis-db/oasis-db to act as a GODI repository is another and possibly better option...
<Drakken>
thelema no, I got the same error. The dev said repost the bug report, so I just did that.
Snark has joined #ocaml
srcerer has quit [Ping timeout: 252 seconds]
<oriba>
how can I control the output signature of a functor by it's input signature? Or other forumlated: how to restrict the type 'a t of Map for example, by specifying it at the input of a functor?
<oriba>
(does this make any sense to oyu?)
<oriba>
you
emmanuel_ has joined #ocaml
<thelema>
oriba: module Foo (X : sig type key type value end) : Foo where type t = X.value Map.t = struct ... end
<thelema>
oriba: completely untested, but probably something like this.
<oriba>
hmhhh
<oriba>
syntax error...
<oriba>
defining a module tpye inside a functior also seems not to work
<oriba>
maybe somehow 'a empty used in a module can be used to construct a limitation of type?
<oriba>
wrapping a type restricted funtion around the call of Map?
<thelema>
well, the second "Foo" should be a module type, module type Foo_t = sig type t = int Map.t ... end
<oriba>
thelema, and "where" should be "with" ... that was the reason of the syntax error :)
<oriba>
Also I want to have the type restriction as input
<oriba>
maybe I need a functor which creates a module that is input for another functior
<oriba>
(higher order functor?)
<thelema>
oriba: no problem.
<oriba>
but does it goes without that?
<oriba>
need to explore your code in more detail
<oriba>
maybe that can be used?
<oriba>
I normally use a differnt syntax for fucntors
<oriba>
need to rebuild my thinking ;)
<oriba>
is there an advantage on the syntax you used here?
<thelema>
just like I don't usually use the 'fun' keyword for functions
<thelema>
let foo = fun x -> ...
<oriba>
ah
<thelema>
vs. let foo x = ...
<oriba>
aha here I also use the latter one
<oriba>
but in functors I somehow find it more easy to understand what I'm doing, when using the keyword functor...
<oriba>
also looks nice in the code, if it contains functors explicitly ;)
<oriba>
but thx for the code I will try awound with it soon
eo-helios has joined #ocaml
eo-helios has left #ocaml []
raichoo has quit [Quit: leaving]
srcerer has joined #ocaml
oriba has quit [Ping timeout: 240 seconds]
flux has quit [Remote host closed the connection]
flux has joined #ocaml
eo-helios has joined #ocaml
eo-helios has left #ocaml []
cago has quit [Quit: Leaving]
ttamttam has joined #ocaml
leino has joined #ocaml
ftrvxmtrx has quit [Quit: Leaving]
emmanuel_ has quit [Quit: Ex-Chat]
ttamttam has quit [Remote host closed the connection]
eikke has quit [Ping timeout: 244 seconds]
musically_ut has joined #ocaml
ttamttam has joined #ocaml
ttamttam has quit [Remote host closed the connection]
ikaros has quit [Quit: Ex-Chat]
sepp2k has quit [Ping timeout: 240 seconds]
ikaros has joined #ocaml
jonludlam_home has joined #ocaml
sepp2k has joined #ocaml
raichoo has joined #ocaml
malouin_ is now known as malouin
<gildor>
hcarty, thelema: I have studied the various possibility of GODI/oasis
<gildor>
with Gerd
<gildor>
hcarty, thelema: I think we will build a tool in between oasis2debian and GODIVA
<gildor>
i.e. something that helps to do the 90% of the initial packaging/upgrade
<hcarty>
gildor: Do you think it would be reasonable to provide support for oasis-db acting as a GODI repository?
<gildor>
the 100% is hard to get
<gildor>
hcarty: it is feasible, but will require hand editing for some parts
<gildor>
hcarty: e.g. deciding when to use conf-* package
<gildor>
hcarty: let says that if you want to do it, you can probably do it just as odb.ml was build, you should have enough information from the _oasis
<gildor>
(just use the oasis library from the source and parse/decode _oasis files)
<gildor>
maybe you can use some part of the code found oasis-db sources
<hcarty>
gildor: That is what I expected. Now I just need to find a free week to work on it :-)
<thelema>
gildor: could you explain more what's in the last 10%?
<thelema>
godi packages sometimes have conf- packages that do what?
tlockney has quit [Excess Flood]
tlockney has joined #ocaml
tlockney has quit [Excess Flood]
tlockney has joined #ocaml
tlockney has quit [Excess Flood]
<thelema>
gildor: also, should I file bugs with you to fix entries in oasis-db? (like the Lablgtk2 package with the incorrect uppercase L)
<thelema>
(or maybe the right fix is to do case-insensitive sor)
<hcarty>
thelema: I ran into that after installing 11.10 on my desktop, but figured that I hadn't installed something properly
pilki has joined #ocaml
<gildor>
conf- package (AFAIR) are packages that describes some C libraries (I think)
<thelema>
hcarty: yes, I assumed that for a long time, but after lots of tracking of the bug, I found that the linux linker has become much more picky about argument order
<thelema>
gildor: ah, external C deps... hmmm
<adrien>
gildor: yup
<adrien>
they're not mandatory
<adrien>
I think you should skip them at first
<gildor>
thelema: I removed the Lablgtk2 package (though it will remain in the news for now)
<thelema>
gildor: thanks.
<adrien>
was the issue in lablgtk2 itself?
<thelema>
adrien: no issue with lablgtk2. Although I should send you the _oasis file I wrote for lablgtk2 so you can make it unhacky and put it into lablgtk2's source tree
<adrien>
thelema: handles pkg-config well? and the .ml4 files? and everything?
<thelema>
adrien: just runs the ./configure and make to build, and has its own ocamlfind install command to install
<gildor>
thelema: I think the compile and run C is a cairo project specific oasis functions
<gildor>
thelema: I don't remember coding it
<thelema>
gildor: oh. well then...
<adrien>
thelema: ah, ok, but that's already a nice improvement =)
<thelema>
adrien: as is, it makes it able to be odb-installed
<adrien>
cairo2 has a specific thing to get the C "infos"
agolsme has joined #ocaml
<adrien>
(I remember it has since it was the only part that failed on windows =) )
<thelema>
gildor: btw, should I still have problems with forge.ocamlcore.org's certificate?
<thelema>
adrien: ah.
<thelema>
gildor: you're right - I'll bother upstream
<thelema>
now as to lwt...
<thelema>
I guess they did the same thing too, in a different way
<thelema>
but still with the linking order wrong
<gildor>
thelema: SSL cert shoud be ok, what is the problem and on which sites ?
<gildor>
thelema: concerning your "install a specific version"
edwin has quit [Remote host closed the connection]
ankit9 has joined #ocaml
<adrien>
but you can definitely configure it with environment variables (or findlib.conf as you've stated) (connection is horribl laggy)
<thelema>
adrien: will yypkg fit into this system?
<adrien>
jein :P
<thelema>
"nein"?
<adrien>
jein means ja+nein
<adrien>
currently, it wouldn't be able to upadte the conf file for the stubs in ocamlfind
adrien_web has joined #ocaml
<adrien>
but it's not terribly hard to add
<thelema>
adrien: would it be useful as a binary package manager for ocaml-installer
<adrien>
and apart from that it should be perfectly doable
<adrien>
and if you don't care about bytecode it's already fine
<thelema>
I'm not worried about yypkg configuring ocamlfind on windows, just whether it'd be good for package management in a one-click-install ocaml for windows
<adrien_web>
I should really type on this connection because my screen is way too laggy to do anything
<adrien>
my todo for yypkg is: remove sexplib and use biniou instead (JSON) and avoid syntax extensions; then I need to update the GUI stuff
<adrien>
the s-expression is like hat you'd have in the package db once you've installed the package (so you can poke the server to find out which package has a specific file)
<adrien>
I don't know oasis-db well enough to comment on the matter
<adrien>
yypkg really has a dump package format
<adrien>
you have files in an archive and a doinst.el file
<adrien>
the doinst.el file is an s-expression of "actions" that have to be done upon installation: extract some files, create a symlink, rm a file, ...
<adrien>
the list of possible actions has to be expanded (and will be)
<thelema>
interesting. How easy is it to add more packages? It's sounding like it's going to be hard to get many packages into it
<thelema>
and the duplication of effort will result in few packages available for it...
<thelema>
s/will/may/
<adrien_web>
adding packages is quite simple (it's centralised: I do the work on my computer, create the list of packages and upload everythingà
<adrien_web>
)
<thelema>
the scripting is pretty simple?
<adrien_web>
typically, the difficulty is not to make the package but to make the software build on/for windows and work on windows
<thelema>
granted. I don't see lablgtk2 in your package list, have you tried packaging it?
<thelema>
hmm, cairo2... means gtk+2 includes lablgtk2?
<adrien_web>
I've used slackware package scripts so far and they're very very simple (I'm not sure I'll continue using them, or at least not in the same way because I'm constantly tracking slackware upstream, but it prevents me from forgetting updates!)
<adrien_web>
the package list has only C libs because I've cross-compiled everything
<adrien_web>
I think that in the end I'll cross-compile from cygwin
<adrien_web>
typically, it takes half a day to one day to get a C library packaged and tested
Samae has joined #ocaml
<adrien_web>
and fixed
<adrien_web>
that's why duplicating packaging is actually "fun"
<adrien>
I'll be able to spend time on yypkg from february on
<thelema>
ok. good luck with your work in the meantime.
<adrien>
thanks =)
<adrien>
I'll be doing an internship and I hope I'll be able to do yypkg work *for* the internship itself
<thelema>
nice.
<adrien>
and if not, I'll have free evenings anywya