iyzsong has quit [Remote host closed the connection]
iyzsong has joined #racket
joebobjoe has quit [Ping timeout: 252 seconds]
longshi has quit [Ping timeout: 260 seconds]
joebobjoe has joined #racket
profmakx has joined #racket
<profmakx>
how did I even fall out of this
<profmakx>
any hints how to compile some external code as part of the setup of a raco package?
joebobjoe has quit [Ping timeout: 252 seconds]
YuGiOhJCJ has joined #racket
acarrico has quit [Ping timeout: 245 seconds]
dddddd has quit [Remote host closed the connection]
quipa has joined #racket
YuGiOhJCJ has quit [Quit: YuGiOhJCJ]
jao has joined #racket
joebobjoe has joined #racket
badkins has quit [Remote host closed the connection]
joebobjoe has quit [Ping timeout: 250 seconds]
badkins has joined #racket
badkins_ has joined #racket
badkins__ has joined #racket
pierpal has quit [Quit: Poof]
pierpal has joined #racket
badkins has quit [Ping timeout: 268 seconds]
badkins_ has quit [Ping timeout: 240 seconds]
iyzsong has quit [Read error: Connection reset by peer]
sleepnap has joined #racket
dbmikus__ has joined #racket
Lowl3v3l has quit [Quit: Leaving.]
P1RATEZ has joined #racket
lockywolf has joined #racket
joebobjoe has joined #racket
lockywolf_ has joined #racket
joebobjoe has quit [Ping timeout: 268 seconds]
lockywolf has quit [Ping timeout: 272 seconds]
lockywolf__ has joined #racket
lockywolf_ has quit [Ping timeout: 246 seconds]
lockywolf_ has joined #racket
lockywolf__ has quit [Ping timeout: 246 seconds]
ZombieChicken has joined #racket
acarrico has joined #racket
badkins__ is now known as badkins
kefin has quit [Ping timeout: 256 seconds]
lockywolf_ has quit [Remote host closed the connection]
lockywolf_ has joined #racket
dddddd has joined #racket
longshi has joined #racket
Sgeo_ has joined #racket
Sgeo has quit [Ping timeout: 244 seconds]
vraid has quit [Quit: Leaving]
badkins has quit [Ping timeout: 252 seconds]
joebobjoe has joined #racket
longshi has quit [Ping timeout: 264 seconds]
joebobjoe has quit [Ping timeout: 245 seconds]
badkins has joined #racket
ziyourenxiang has quit [Ping timeout: 245 seconds]
quipa has quit [Remote host closed the connection]
carmack has joined #racket
<carmack>
I love you!
<dustyweb>
oh boy
<dustyweb>
love racket? :)
<dustyweb>
or love #racket? :)
mzan has quit [Quit: Leaving.]
<carmack>
I love lisp/scheme/racket
<dustyweb>
I agr3ee
<dustyweb>
with or without the 3
orivej has quit [Ping timeout: 272 seconds]
joebobjoe has joined #racket
pierpal has quit [Quit: Poof]
pierpal has joined #racket
dvdmuckle has quit [Quit: Bouncer Surgery]
joebobjoe has quit [Ping timeout: 268 seconds]
dvdmuckle has joined #racket
joebobjoe has joined #racket
joebobjoe has quit [Ping timeout: 252 seconds]
orivej has joined #racket
<nisstyre>
profmakx: you'll probably have to require the user to have external dependencies installed already
<nisstyre>
and then you just compile a shared library
<nisstyre>
run make, etc
<nisstyre>
raco doesn't manage external dependencies like C libraries
Lowl3v3l has joined #racket
dbmikus__ has quit [Ping timeout: 252 seconds]
sauvin has quit [Remote host closed the connection]
orivej has quit [Ping timeout: 272 seconds]
orivej has joined #racket
<lexi-lambda>
nisstyre: That’s not true, you can ship C libraries with Racket packages.
<lexi-lambda>
profmakx: The best way is to precompile the libraries yourself and distribute them with your package, which you can do with the install-platform and copy-foreign-libs options in info.rkt.
vraid has joined #racket
<lexi-lambda>
profmakx: That way, users won’t need to have the right build tools on their machine. But you can also build the code on installation if you want, see https://github.com/samth/bcrypt.rkt for an example of that approach.
<nisstyre>
lexi-lambda: do you have to vendor them or can it actually install external libraries for you? (like libpng for example)
<nisstyre>
I'm guessing you have to vendor them if you want it to work reliably
<lexi-lambda>
nisstyre: What alternative do you imagine to vendoring them? Using the system package manager?
<nisstyre>
lexi-lambda: possibly, or pulling them from somewhere else. But I don't expect Racket to manage anything other than Racket libraries in that way.
dbmikus__ has joined #racket
<nisstyre>
so vendoring them seems like the best option tbh
<lexi-lambda>
The package system doesn’t automatically integrate with any other package source, but you could certainly have a separate “wrapper” package that knows how to install a given package and ships a script to do it upon installation. That doesn’t seem like what you’d usually want, though.
<nisstyre>
yeah you could do that
<nisstyre>
I agree it wouldn't be the best option though
iclon has quit [Remote host closed the connection]
<nisstyre>
I've seen software that ships with "quick start" scripts like that
<nisstyre>
which just try to bootstrap you automatically and make assumptions about your system
iclon has joined #racket
ZombieChicken has quit [Ping timeout: 256 seconds]
davidl has joined #racket
charh has quit [Ping timeout: 268 seconds]
<profmakx>
lexi-lambda thanks that is what I was looking for. The software that I want to package doesn't come installable in any sensible way at the moment
joebobjoe has joined #racket
<profmakx>
though I might also be able to parametrize a module with a path for the time being
ubLIX has joined #racket
joebobjoe has quit [Ping timeout: 264 seconds]
orivej has quit [Ping timeout: 244 seconds]
joebobjoe has joined #racket
acarrico has quit [Ping timeout: 252 seconds]
g00s has joined #racket
ZombieChicken has joined #racket
joebobjoe has quit [Ping timeout: 276 seconds]
jmiven has quit [Remote host closed the connection]
iclon has quit [Quit: Leaving]
jmiven has joined #racket
longshi has joined #racket
Fernando-Basso has joined #racket
g00s has quit [Max SendQ exceeded]
g00s has joined #racket
longshi has quit [Ping timeout: 252 seconds]
evdubs has joined #racket
joebobjoe has joined #racket
dddddd has quit [Ping timeout: 264 seconds]
dddddd has joined #racket
joebobjoe has quit [Ping timeout: 244 seconds]
acarrico has joined #racket
dddddd has quit [Remote host closed the connection]
dddddd has joined #racket
dddddd has quit [Remote host closed the connection]