Real Software Forums

The forum for Real Studio and other Real Software products.
[ REAL Software Website | Board Index ]
It is currently Tue Jul 07, 2020 6:43 pm
xojo

All times are UTC - 5 hours




Post new topic Reply to topic  [ 11 posts ] 
Author Message
 Post subject: Newbie Question
PostPosted: Mon Jul 16, 2007 8:28 am 
Offline

Joined: Fri Jul 13, 2007 9:49 pm
Posts: 58
Well, before seeing RB (that's about 2 days ago!), I was never interested about Linux. So please, pardon my ignorance about this question.

In the build settings, I found that applications built for Linux will run where GTK+ 2.x is present. I didn't know what GTK+ is (still I know a little!), I searched Google for this and found that this a part of GNOME Desktop Environment.

My question is, what will happen to KDE? Suppose, if I have kubuntu, will compiled software will run there? Will there be any significant difference or ANY difference at all in the UI of my software?


-------------------------------

The second question is, how softwares are distributed in Linux? I mean, is there any installer like Inno Setup or Wise or Installshield? I can see a lot of packaging information in Wikipedia, like: deb, RPM, gzip, tar etc. Tar and gzip are known to me, but I am confused with others.

May be the better question is, which one is the most common way to distribute a linux app?


Thanks a lot gor helping this newbie :)


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Mon Jul 16, 2007 9:40 am 
Offline

Joined: Thu Jan 26, 2006 8:38 am
Posts: 334
tar and gzip are just archives usually used for distributing source code, or possibly a standalone binary. Seeing as RB apps are just a single file, you can distribute them as just the executable or you can package them up in a .deb or a .rpm just so that they add a menu entry and install to a system wide area

also .deb packages can pull in any needed dependancies that youve used.

GTK+ is just a toolki, the same as Cocoa is Macs toolkit and win32 is windows toolkit.
KDE is different in that it runs on the QT toolkit, but any GTK apps will still run there and will look like GTk apps so theres no need to worry.

_________________
Faith is a cop-out. It is intellectual bankruptcy. If the only way you can accept an assertion is by faith, then you are conceding that it can't be taken on its own merits.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Mon Jul 16, 2007 9:56 am 
Offline

Joined: Fri Jul 13, 2007 9:49 pm
Posts: 58
Thanks bro, :D

How can I make deb or rpm packages? Is there any easy to use software?


Quote:
GTK+ is just a toolki, the same as Cocoa is Macs toolkit and win32 is windows toolkit.
KDE is different in that it runs on the QT toolkit, but any GTK apps will still run there and will look like GTk apps so theres no need to worry.


That wipes out my confusion. Thanks again :)


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Mon Jul 16, 2007 10:35 am 
Offline

Joined: Sat Oct 01, 2005 12:18 pm
Posts: 1358
Often GTK will be installed by default on major linux distros (at least those meant to be used as desktop OS's), so your apps will work in KDE. However, they will look like GNOME apps to a fair extent. so it is possible that your users will notice, and grumble mildly.

For packing stuff, there are a few OSS projects that make RPMs and debs. I found more RPM packagers than deb, but *ubuntu uses debs.

_________________
Image
Image


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Mon Jul 16, 2007 1:14 pm 
Offline

Joined: Thu Jan 26, 2006 8:38 am
Posts: 334
i cant talk for RPM as i dont know, but debian packages couldnt be easier to make, bascially you take everything you want and put it in a duplicate file structure

then make a file called control that contains information about your program
ill post an example
http://one.fsphost.com/chickenrapist/exampledeb.tar.gz

i dont know of any software thats available on other platforms to build them though.

_________________
Faith is a cop-out. It is intellectual bankruptcy. If the only way you can accept an assertion is by faith, then you are conceding that it can't be taken on its own merits.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Mon Jul 16, 2007 1:56 pm 
Offline

Joined: Sat Oct 01, 2005 12:18 pm
Posts: 1358
RPMs, I think, are a little more complicated, but there is software like RPM Builder that do stuff for you.

Thanks for the info about debs, HP

_________________
Image
Image


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Mon Jul 16, 2007 10:51 pm 
Offline

Joined: Fri Jul 13, 2007 9:49 pm
Posts: 58
Thanks jdiwnab and hairy_palms, those help a lot :D


Top
 Profile  
Reply with quote  
 Post subject: Re: Newbie Question
PostPosted: Wed Apr 15, 2009 7:14 pm 
Offline

Joined: Tue Nov 14, 2006 5:25 pm
Posts: 488
Any update on this old thread ?
There're in the meantime new tools avaible ?
I'm looking for a distribution method that can be able to package not only executable but also some database and an help file too.
Thanks


Top
 Profile  
Reply with quote  
 Post subject: Re: Newbie Question
PostPosted: Wed Aug 05, 2009 5:22 pm 
Offline
User avatar

Joined: Thu Mar 05, 2009 1:03 pm
Posts: 1786
Location: USA
face wrote:
I'm looking for a distribution method that can be able to package not only executable but also some database and an help file too.

I'm also looking for a (freeware) DEB or RPM packager... anybody?

_________________
With great power comes great responsibility.
Learn something new every day, and the rest will take care of itself.
Life is a journey, not a destination. Enjoy the trip! :D


Top
 Profile  
Reply with quote  
 Post subject: Re: Newbie Question
PostPosted: Thu Aug 06, 2009 5:51 pm 
Offline

Joined: Fri Sep 30, 2005 5:54 pm
Posts: 2055
Location: Great Falls, Montana USA
Try this guys! http://cpan.uwinnipeg.ca/dist/CPAN-Packager

_________________
Jonathon Bevar
REALDevelopment: http://www.semielectronics.com/realdevelopment
SemiElectronics http://www.semielectronics.com

RB2005 R4 Pro for Windows XP Pro/SP2
RB2010 R2.1 Studio Enterprise Edition


Top
 Profile  
Reply with quote  
 Post subject: Re: Newbie Question
PostPosted: Thu Aug 06, 2009 6:20 pm 
Offline
User avatar

Joined: Thu Mar 05, 2009 1:03 pm
Posts: 1786
Location: USA
Jonathon wrote:

Thanks, Jonathon, but that's for Perl modules:
Quote:
Create packages(rpm, deb) from perl modules

_________________
With great power comes great responsibility.
Learn something new every day, and the rest will take care of itself.
Life is a journey, not a destination. Enjoy the trip! :D


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 11 posts ] 

All times are UTC - 5 hours


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group