comp.lang.ada
 help / color / mirror / Atom feed
From: Blady <p.p11@orange.fr>
Subject: Re: [ANN] SparForte 2.0.3
Date: Sat, 5 Aug 2017 01:09:58 -0700 (PDT)
Date: 2017-08-05T01:09:58-07:00	[thread overview]
Message-ID: <b6153868-e7d0-48dd-9d36-10cb51cbbf4d@googlegroups.com> (raw)
In-Reply-To: <0b48a20d-1c3f-4b4b-9f32-4e6899dd396b@googlegroups.com>

Hello,

I tried to build SparForte on macOS with success but it is not straight forward :-(

You need first SDL 1.2 from https://www.libsdl.org/download-1.2.php and SDL_Image 1.2 from https://www.libsdl.org/projects/SDL_image/release-1.2.html.

You need also libssl, I've installed XNAdalib from https://sourceforge.net/projects/gnuada/files/GNAT_GPL%20Mac%20OS%20X/2016-el-capitan.

Then take SparForte with some source code changes, see fork from GItHub:
https://github.com/Blady-Com/SparForte

Then configure and make:

$ PATH=/usr/local/xnadalib-2016/bin:$PATH ./configure --prefix=build --without-bdb --without-mysql --without-opengl --without-postgres --without-readline --without-sound
$ make

Then enjoy:
cmd$ src/spar 
Type "help" for help
=> help
help - SparForte command prompt help - reference

  The help command gives short advice on keywords, packages, scripts, operating
  system commands and other topics.  Enter 'help' and a topic to get advice.
  For example, 'help arrays' briefly explains the arrays package. These are the
  internal topics:
  
  "?"                  arrays               btree_io
  calendar             case                 cd
  cgi                  chains               clear
  close                command_line         create
  db                   dbm                  declare
  delay                delete               directory_operations
  doubly_linked_lists  dynamic_hash_tables  end_of_file
  end_of_line          enums                env
  exceptions           exit                 expressions
  files                for                  function
  get                  get_immediate        get_line
  glossary             gnat.cgi             gnat.crc32
  hash_io              history              if
  inkey                is_open              jobs
  keys                 line                 loop
  memcache             mode                 mysql
  mysqlm               name                 new_line
  null                 numerics             open
  os                   pen                  pen.gl
  pragma               procedure            put
  put_line             raise                records
  reset                return               set_input
  skip_line            sound                source_info
  stats                step                 strings
  strings.match        subtype              System
  teams                templates            trace
  type                 types                typeset
  units                unset                variables
  wait                 while                with

For full details, see the SparForte documentation.  To leave SparForte, enter
'return' (or 'logout' if this is your login session).
=> put_line ("hello again");
hello again
=> return

Feel free to share your feedbacks on CLA.

HTH, Pascal.


      reply	other threads:[~2017-08-05  8:09 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-26 20:47 [ANN] SparForte 2.0.3 koburtch
2017-08-05  8:09 ` Blady [this message]
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox