Author Topic: "Luna" is here and converts your .lua files into 3.0.2-compatible .tns files  (Read 57726 times)

0 Members and 1 Guest are viewing this topic.

Offline Juju

  • Incredibly sexy mare
  • Coder Of Tomorrow
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 5730
  • Rating: +500/-19
  • Weird programmer
    • View Profile
    • juju2143's shed
Well yeah, making Debian packages is kinda complicated, but making a PKGBUILD for Arch is more simple. Also I might work on a PKGBUILD. :)

Remember the day the walrus started to fly...

I finally cleared my sig after 4 years you're happy now?
THEGAME
This signature is ridiculously large you've been warned.

The cute mare that used to be in my avatar is Yuki Kagayaki, you can follow her on Facebook and Tumblr.

Offline ExtendeD

  • CoT Emeritus
  • LV8 Addict (Next: 1000)
  • *
  • Posts: 825
  • Rating: +167/-2
    • View Profile
I could include them in the Luna archive put it really depends on their size as Lionel points out.
If they are too big, just upload or attach the one you've built for your own Linux distro, adriweb may then update his post to list them.
Ndless.me with the finest TI-Nspire programs

Offline critor

  • Editor
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2079
  • Rating: +439/-13
    • View Profile
    • TI-Planet
Congratulations ExtendeD! :)
TI-Planet co-admin.

Offline shrear

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 193
  • Rating: +17/-0
    • View Profile
epic!
and ndless 3.0 coming soon? Seems as if I really need to get syntax highlighting working in nwriter.
May I ask how possible it is to port luna to the nspire? ( since there seems to be a lot of includes )

Offline ExtendeD

  • CoT Emeritus
  • LV8 Addict (Next: 1000)
  • *
  • Posts: 825
  • Rating: +167/-2
    • View Profile
OpenSSL and zlib are embedded in the OS. Lionel exported some of the symbols of zlib in Ndless 2.0 so they can be directly used.
For OpenSSL the symbols and functions needs to be defined.
Then there is minizip, I'm not sure how portable it is, since it isn't really well written.
Ndless.me with the finest TI-Nspire programs

Offline Lionel Debroux

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2135
  • Rating: +290/-45
    • View Profile
    • TI-Chess Team
The portability of minizip (well, an older version thereof) is at least decent, since libtifiles uses it :)
At some point, we'll want to somehow get rid of the embedded minizip.

For compilation under 64-bit Debian Lenny/Squeeze/Testing, the LDFLAGS line in Makefile needs -lssl -lcrypto.
EDIT: and compilation of the 32-bit version from 64-bit Linux works just fine if one adds -m32 to the CFLAGS and LDFLAGS.
« Last Edit: August 06, 2011, 07:24:30 am by Lionel Debroux »
Member of the TI-Chess Team.
Co-maintainer of GCC4TI (GCC4TI online documentation), TILP and TIEmu.
Co-admin of TI-Planet.

Offline Cuervo

  • LV2 Member (Next: 40)
  • **
  • Posts: 33
  • Rating: +2/-1
    • View Profile
Thx Lionel Debroux, with your information, I successfully compiled Luna for Mac OS X.  :)

Here are the binaries (Intel, x86 and x86_64 binaries):
http://www.fanofblitzbasic.de/download.php?dlid=LunaMacOSX

Please note:
I had to modify the code and the makefile, but it should still compile on Linux and Windows!

@ExtendeD:
I hope it's ok that I published the binaries? There is no license for Luna itself, only for OpenSSL and minizip^^


I don't know if they work, could somebody please try that out?


TIA
Cuervo
« Last Edit: August 06, 2011, 08:09:35 am by Cuervo »

Offline Loulou 54

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 165
  • Rating: +39/-0
    • View Profile
    • Mes programmes sur TI bank.
Too easy for ExtendeD ! xD
Congrats ! :)
Some of my program available here.. :)
http://ti.bank.free.fr/index.php?mod=archives&ac=voir2&id=1471

     

Offline ExtendeD

  • CoT Emeritus
  • LV8 Addict (Next: 1000)
  • *
  • Posts: 825
  • Rating: +167/-2
    • View Profile
Cuervo: no problem for me.
I'll merge back the changes if they are OK for Mac OS X users.
Ndless.me with the finest TI-Nspire programs

Offline Lionel Debroux

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2135
  • Rating: +290/-45
    • View Profile
    • TI-Chess Team
Here are some binaries [EDIT: of Luna 0.1a] that I've just generated:
http://tict.ticalc.org/misc/luna32 -> static 32-bit Linux build created on current Debian Testing.
http://tict.ticalc.org/misc/luna32_deb -> dynamic 32-bit Linux build, suitable for current Debian Testing.
http://tict.ticalc.org/misc/luna64 -> static 64-bit Linux build created on current Debian Testing.
http://tict.ticalc.org/misc/luna64_deb -> dynamic 64-bit Linux build, suitable for current Debian Testing.
http://tict.ticalc.org/misc/luna64_fed -> dynamic 64-bit Linux build, suitable for Fedora 14.

The links are temporary, I'll remove them soon, whether they're integrated in the main distribution (I think that the static versions should be used) or they aren't :)
« Last Edit: August 06, 2011, 10:33:03 am by Lionel Debroux »
Member of the TI-Chess Team.
Co-maintainer of GCC4TI (GCC4TI online documentation), TILP and TIEmu.
Co-admin of TI-Planet.

Offline apcalc

  • The Game
  • CoT Emeritus
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1393
  • Rating: +120/-2
  • VGhlIEdhbWUh (Base 64 :))
    • View Profile
This looks like it will be extremely useful for future projects, Thank You ExtendeD! :)


Offline ztrumpet

  • The Rarely Active One
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5712
  • Rating: +364/-4
  • If you see this, send me a PM. Just for fun.
    • View Profile
ExtendeD, this is awesome!  Congrats, and thanks!

Offline Adriweb

  • Editor
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1708
  • Rating: +229/-17
    • View Profile
    • TI-Planet.org
Thanks for the Mac build, I don't have the tools to compile it on my on right now :P
My calculator programs
TI-Planet.org co-admin.
TI-Nspire Lua programming : Tutorials  |  API Documentation

Offline Cuervo

  • LV2 Member (Next: 40)
  • **
  • Posts: 33
  • Rating: +2/-1
    • View Profile
@adriweb:
Does the Mac build work?

Offline Ti-Programmer

  • LV3 Member (Next: 100)
  • ***
  • Posts: 84
  • Rating: +3/-0
  • Whats this? so many features...
    • View Profile
    • Ti-Programmer's website
Good job! I hope that we can run c programs on nspire's 3.0 firmware.
Thanks for the program Extended!
Spoiler For Sig: