Prerequisites for a StandAlone on Linux?

Deploying to Linux? Get penguinated here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
AxWald
Posts: 578
Joined: Thu Mar 06, 2014 2:57 pm

Prerequisites for a StandAlone on Linux?

Post by AxWald » Thu Jul 24, 2014 11:09 am

Hi,

I have to ask for your knowledge and your experience - I have to persuade the "coding chieftain" of another company to get an LC-App of mine installed on his highly-customized Linux gadgets.

So I'll at first explain what my App will look like:
  • A standalone with a helper stack ("start using stack ..."), a text file for my Prefs, maybe a SQLite DB.
  • The app would display article data that it gets via TCP sockets from an in-house LC socket server, and add small png/jpg pictures fetched from a web site.
  • I'll need Database, Internet and some more of the standard modules included, as well as some database drivers (SQLite, MySQL, maybe PostgreSQL).
  • (Maybe even Browser additionally - but that's not sure yet. Dunno if does what I want of it ... The Linux gadget comes with a most castrated Firefox clone that doesn't do what I need, thus this action) *1)
What I know from the Linux system:
  • It is a modified SuSe.
  • It is heavily modified.
  • It has a graphical interface, but no idea what. X?
So my questions for you that do know better than me:
  • Are there certain prerequisites that the Linux distribution has to meet?
  • Any special packages that have to be installed?
  • Any special window managers required?
  • Can my App directory just be dropped somewhere, and made read/write/executable?
  • And where would this be best, from the view of a pro Linuxer?
  • Can my StandAlone then be started from a browser with a "<a href=...</a>" construct?
My plan is to compile a small demo app, for him to try. He's fearing that he has to "install additional frameworks", and such ...
I'm not good enough in Linux to know about it. A quick test on my CentOS server was successful (using Xfce), but no idea how LC would behave on a stripped-down machine as described. On a Win-2K server via RDP there's no problem ...

Thx a lot for any input! Any of your knowledge and experience is highly appreciated!

Kind regards.

*1) The Linux gadget is a touch screen POS terminal, the browser is a modified Minimo, and the web site in question requires JS to navigate, and crashes the Minimo ... No idea if this would work with the LC Browser tool.
All code published by me here was created with Community Editions of LC (thus is GPLv3).
If you use it in closed source projects, or for the Apple AppStore, or with XCode
you'll violate some license terms - read your relevant EULAs & Licenses!

MaxV
Posts: 1579
Joined: Tue May 28, 2013 2:20 pm
Location: Italy
Contact:

Re: Prerequisites for a StandAlone on Linux?

Post by MaxV » Thu Jul 24, 2014 12:09 pm

From Livecode User Guide (the free PDF inside Livecode):
All Operating Systems
To use LiveCode you will need:
  • 1024x768 or larger monitor
  • True color display (16-bit or 32-bit depth)
  • At least 256Mb of memory
  • At least 150Mb of disk space

Requirements for Linux Systems
The minimal requirements for LiveCode to run on Linux are:
  • 32-bit installation, or a 64-bit linux distribution that has a 32-bit compatibility layer
  • 2.4.x or later kernel
  • glibc 2.3.2 or later
  • X11R5 capable Xserver running locally on a 24-bit display*
  • compositing window manager (optional - required for alpha-blended window shapes)
  • gtk/gdk/glib (optional - required for native theme support)
  • pango/xft (optional - required for pdf printing, anti-aliased text and unicode font support)
  • lcms (optional - required for color profile support in JPEGs and PNGs)
  • gksu (optional - required for elevate process support)
  • mplayer (optional - required for video playback)
  • esd (optional - required for audio playback)
Although impossible to test every existing Linux distribution, we are aiming to ensure that LiveCode runs on as wide a variety of systems as possible. To achieve this, the engine has been implemented to have minimal direct dependencies on system software, and will gracefully degrade in feature set if it cannot find the libraries it needs. Generally any recent linux distribution including Gnome/GTK support will have the required libraries for full feature support – for example, Ubuntu 7 supports all these features (although alpha blended window shape support requires you to be running with 'Advance Desktop Effects' turned on).
I add also libssl libraries for Livecode encryption and decryption functionality.
It works also on RaspberyPI Raspbian (Linux) OS.
Livecode Wiki: http://livecode.wikia.com
My blog: https://livecode-blogger.blogspot.com
To post code use this: http://tinyurl.com/ogp6d5w

AxWald
Posts: 578
Joined: Thu Mar 06, 2014 2:57 pm

Re: Prerequisites for a StandAlone on Linux?

Post by AxWald » Thu Jul 24, 2014 2:43 pm

Awesomeness!

How could I forget to check this information?
This is a start now, and it looks nerdy enough to present it to my "coding chieftain".
Let's see what he'll answer.

Thx a lot, have fun!
All code published by me here was created with Community Editions of LC (thus is GPLv3).
If you use it in closed source projects, or for the Apple AppStore, or with XCode
you'll violate some license terms - read your relevant EULAs & Licenses!

MaxV
Posts: 1579
Joined: Tue May 28, 2013 2:20 pm
Location: Italy
Contact:

Re: Prerequisites for a StandAlone on Linux?

Post by MaxV » Fri Jul 25, 2014 10:30 am

If you use mplayer and the player keyword, esd is superfluous.
Livecode Wiki: http://livecode.wikia.com
My blog: https://livecode-blogger.blogspot.com
To post code use this: http://tinyurl.com/ogp6d5w

Post Reply

Return to “Linux”