Page 1 of 2

Creating Livecode .DEB package

Posted: Sat Jun 28, 2014 11:15 pm
by MaxV
Hi all,
I'm thinking about creating a .deb package installer for Livecode. I just want to put the original Livecode installer in a .deb package with all dependencies list. This way all dependencies will be downloaded and installed automatically. :wink:
What are the required packages now?
I was thinking about this control file inside the package:

Code: Select all

Package: livecodecommunity
Version: 7.0.0
Architecture: i386
Installed-Size: 233200
Section: devel
Priority: optional
Homepage: http://www.livecode.com
Depends: libc6, libc6-dev, libc6-i386, libc6:i386, xorg, ligtk2.0-0, ligtk2.0-0:i386, libgdk-pixbuf2.0.0,  libgdk-pixbuf2.0.0:i386, liglib2.0-0, liglib2.0-0:i386, libpango-1.0-0, libxft2, liblcms1, gksu, mplayer, pulseaudio-esound-compat
postinst: /tmp/LiveCodeCommunityInstaller-7_0_0_dp_6-Linux.x86
Maintainer: Massimiliano Vessi <angerangel@gmail.com>
Description: Create apps for multiple platforms. 10x easier. Free.
RunRev based in Edinburgh, Scotland has a vision that everyone can code.  It makes the open source LiveCode platform for building native mobile, desktop and server applications.
The visual workflow allows the user to develop apps live, while the natural language syntax is powerful and uniquely accessible.  The company is committed to promoting digital literacy – schools using the platform have seen a doubling of uptake for their CS courses.
Commercial successes include both SMEs and Fortune 500 companies. LiveCode apps have grossed over US $100 million and include #1 best sellers, enterprise business systems, games and productivity tools. 
In 2013 RunRev began an exciting initiative to provide an open source version of the LiveCode software. The first version of this, LiveCode Community, launched in April 2013.
Find out more about RunRev on runrev.com
.
This package contains the livecode installer and dependencies
Is the Depends line complete? Is something missing?

Re: Creating Livecode .DEB package

Posted: Thu Jul 10, 2014 2:36 pm
by MaxV
Ok, I tried to create Linux installation packages, you can downland packages here: http://www.maxvessi.net/livecode/linux/

Let me know if you encounter problems on your systems. :wink:

Re: Creating Livecode .DEB package

Posted: Thu Jul 10, 2014 3:31 pm
by FourthWorld
Thanks for doing that, Max. So cool! I'll try to get some time soon to spin out a VM to test it with. If anyone else here has time to test, it would be helpful to know how well this addresses LC's dependencies on 32-bit libraries within a 64-bit system (though thankfully a 64-bit build of the LiveCode engine for Linux is in the works, slated for release with v7).

Re: Creating Livecode .DEB package

Posted: Thu Jul 10, 2014 6:07 pm
by richmond62
Ubuntu Studio 14.04

No joy:
1a.png
1c.png
What I do NOT understand is why, when I install with RunRev's installer, it does not
require the extra library.

Re: Creating Livecode .DEB package

Posted: Fri Jul 11, 2014 8:43 am
by MaxV
Hi,
I added in deb package all dependencies needed to work without problem. Since Linux Livecode is i386 compiled, I put in the package libc6-i386.

However try:

Code: Select all

sudo apt-get update
then try to reinstall the Livecode package. libc6-i386 is in the current stable release (Debian wheezy, Ubuntu Uptic), see:

Re: Creating Livecode .DEB package

Posted: Fri Jul 11, 2014 9:03 am
by richmond62
The latest stable release for Ubuntu is 'trusty' 14.04, NOT 'utopic'.

Maybe that's the problem.

Re: Creating Livecode .DEB package

Posted: Fri Jul 11, 2014 10:27 am
by MaxV
Ok, I just changed the package. The 32 bit compatibility packages are moved to a "Recommended" section, but they are no more mandatory.

Try again to download the package from http://www.maxvessi.net/livecode/linux/

Probably 32bit compatibility packages are missing on 32 bit systems... :?:

Re: Creating Livecode .DEB package

Posted: Fri Jul 11, 2014 11:58 am
by richmond62
dependencyHell.png

Re: Creating Livecode .DEB package

Posted: Fri Jul 11, 2014 2:50 pm
by MaxV
Ooops! :oops: I misspelled that library, it's libgtk2.0-0. I'll correct this soon.

Re: Creating Livecode .DEB package

Posted: Fri Jul 11, 2014 3:45 pm
by MaxV
Ok, now it should work. Please download the new version from: http://www.maxvessi.net/livecode/linux/

Re: Creating Livecode .DEB package

Posted: Sat Jul 12, 2014 9:04 pm
by richmond62
andSoItGoes.png
andSoItGoes.png (15.15 KiB) Viewed 13533 times

Re: Creating Livecode .DEB package

Posted: Mon Jul 14, 2014 9:00 am
by MaxV
Danm, another misspelling: it's libgdk-pixbuf2.0-0 :oops:
I'll correct soon.

Re: Creating Livecode .DEB package

Posted: Mon Jul 14, 2014 10:23 am
by MaxV
OK, I controlled all packages. It seems they are typed correctly now.

Please download again from http://www.maxvessi.net/livecode/linux/ and let me know. :D

Re: Creating Livecode .DEB package

Posted: Mon Jul 14, 2014 9:27 pm
by richmond62
x1.png
x2.png
x2.png (10.56 KiB) Viewed 13494 times
x3.png
That last one may make some people feel 'funny'.

Whacko; Congratulations: everything worked!

Re: Creating Livecode .DEB package

Posted: Fri Jul 18, 2014 10:48 am
by richmond62
Not so good later on:
baddy.png