Creating Livecode .DEB package

Deploying to Linux? Get penguinated here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

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

Creating Livecode .DEB package

Post by MaxV » Sat Jun 28, 2014 11:15 pm

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?
Livecode Wiki: http://livecode.wikia.com
My blog: https://livecode-blogger.blogspot.com
To post code use this: http://tinyurl.com/ogp6d5w

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

Re: Creating Livecode .DEB package

Post by MaxV » Thu Jul 10, 2014 2:36 pm

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:
Livecode Wiki: http://livecode.wikia.com
My blog: https://livecode-blogger.blogspot.com
To post code use this: http://tinyurl.com/ogp6d5w

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9834
Joined: Sat Apr 08, 2006 7:05 am
Location: Los Angeles
Contact:

Re: Creating Livecode .DEB package

Post by FourthWorld » Thu Jul 10, 2014 3:31 pm

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).
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9385
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: Creating Livecode .DEB package

Post by richmond62 » Thu Jul 10, 2014 6:07 pm

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.

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

Re: Creating Livecode .DEB package

Post by MaxV » Fri Jul 11, 2014 8:43 am

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:
Livecode Wiki: http://livecode.wikia.com
My blog: https://livecode-blogger.blogspot.com
To post code use this: http://tinyurl.com/ogp6d5w

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9385
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: Creating Livecode .DEB package

Post by richmond62 » Fri Jul 11, 2014 9:03 am

The latest stable release for Ubuntu is 'trusty' 14.04, NOT 'utopic'.

Maybe that's the problem.

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

Re: Creating Livecode .DEB package

Post by MaxV » Fri Jul 11, 2014 10:27 am

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... :?:
Livecode Wiki: http://livecode.wikia.com
My blog: https://livecode-blogger.blogspot.com
To post code use this: http://tinyurl.com/ogp6d5w

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9385
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: Creating Livecode .DEB package

Post by richmond62 » Fri Jul 11, 2014 11:58 am

dependencyHell.png

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

Re: Creating Livecode .DEB package

Post by MaxV » Fri Jul 11, 2014 2:50 pm

Ooops! :oops: I misspelled that library, it's libgtk2.0-0. I'll correct this soon.
Livecode Wiki: http://livecode.wikia.com
My blog: https://livecode-blogger.blogspot.com
To post code use this: http://tinyurl.com/ogp6d5w

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

Re: Creating Livecode .DEB package

Post by MaxV » Fri Jul 11, 2014 3:45 pm

Ok, now it should work. Please download the new version from: http://www.maxvessi.net/livecode/linux/
Livecode Wiki: http://livecode.wikia.com
My blog: https://livecode-blogger.blogspot.com
To post code use this: http://tinyurl.com/ogp6d5w

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9385
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: Creating Livecode .DEB package

Post by richmond62 » Sat Jul 12, 2014 9:04 pm

andSoItGoes.png
andSoItGoes.png (15.15 KiB) Viewed 11082 times

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

Re: Creating Livecode .DEB package

Post by MaxV » Mon Jul 14, 2014 9:00 am

Danm, another misspelling: it's libgdk-pixbuf2.0-0 :oops:
I'll correct soon.
Livecode Wiki: http://livecode.wikia.com
My blog: https://livecode-blogger.blogspot.com
To post code use this: http://tinyurl.com/ogp6d5w

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

Re: Creating Livecode .DEB package

Post by MaxV » Mon Jul 14, 2014 10:23 am

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
Livecode Wiki: http://livecode.wikia.com
My blog: https://livecode-blogger.blogspot.com
To post code use this: http://tinyurl.com/ogp6d5w

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9385
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: Creating Livecode .DEB package

Post by richmond62 » Mon Jul 14, 2014 9:27 pm

x1.png
x2.png
x2.png (10.56 KiB) Viewed 11043 times
x3.png
That last one may make some people feel 'funny'.

Whacko; Congratulations: everything worked!

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9385
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: Creating Livecode .DEB package

Post by richmond62 » Fri Jul 18, 2014 10:48 am

Not so good later on:
baddy.png

Post Reply

Return to “Linux”