4 ms·
Frag is a decade old. Does it still run?
by oxryly1 11y ago
Frag is a decade old. Does it still run?
- codygman 11y agoI'm guessing it still runs on GHC 6.8, maybe GHC 7.6.3? It uses HOpenGL-2.0 and the current version is OpenGL-2.12.0.1 (with a name change apparently). I'll try to compile it.
- codygman 11y agoWhoa... I'm surprised this is building (using ghc 7.8.3). I just did: darcs get http://code.haskell.org/frag cabal sandbox init cabal install It's still building right now. I'm expecting some failures soon, but then again I wasn't expecting to get this far. update: Their cabal file doesn't have any bounds... easiest method would probably be to add bounds and use an older ghc. It depends on Data.HashTable from base 4.2. However I'm wondering if this is the only thing and if I can just use the hashtables package on hackage.
- mightybyte 11y ago> Their cabal file doesn't have any bounds... A surefire recipe for bitrot. If you want to maximize the ability of people to build your code in the future, upper bounds are essential for all your dependencies.
- TazeTSchnitzel 11y agoAs I sadly recently discovered when I went back and revived a node.ja project from 2 years ago. This is an advantage of PHP's Composer over node.js's npm, as it can write your require lines for you, so you resist the temptation to put "*".
- oxryly1 11y agoThat's a sad state of affairs. So there is essentially no guarantee of backwards compatibility?
- salamynder 11y agoif there are problems compiling, it worked for me with this unrust-patch: https://raw.githubusercontent.com/gentoo-haskell/gentoo-haskell/master/games-fps/frag/files/frag-1.1.2-unrust.patch https://raw.githubusercontent.com/gentoo-haskell/gentoo-hask...
- codygman 11y agoLOL, and I spent all that time getting it to compile. Do you know if this compiles with GHC 7.8?
- codygman 11y agoI've gotten it compiling! Though I'm not as excited after just now noticing salamynder's comment: https://raw.githubusercontent.com/gentoo-haskell/gentoo-haskell/master/games-fps/frag/files/frag-1.1.2-unrust.patch https://raw.githubusercontent.com/gentoo-haskell/gentoo-hask... I basically have the same modifications, though I use a StoreableArray instead of an IOArray so theirs is probably faster. I'm very satisifed I was able to fix all of these things so easily thanks to following the types and using ghci.