[Lazarus] [OT] About licences

Graeme Geldenhuys graemeg.lists at gmail.com
Thu Apr 14 08:44:16 CEST 2011


On 13/04/2011 08:38, t.wieckowski at gmail.com wrote:
> I'm wondering about one thing, Can I do (at all) application with
> closed source, by Linux ?
> I ask because I saw what dependencies the empty project have:
> 
> 	linux-vdso.so.1 =>  (0x00007ffffcdff000)
...[snip lots of dependencies]...


Yes of course, but in the case of desktop applications, as you have
realized, there is a huge dependency list. This is the negative aspect
of using the larger libraries like Qt, GTK etc... At some point you
application will stop working because a standard install of whatever
Linux distro might not supply the correct dependencies out of the box.

Alternatively, make sure you use a toolkit that has *much less
dependencies*. This is exactly why I started the fpGUI Toolkit project.
Our applications are very "lite" when it comes to dependencies, so have
a greater chance of still running many years from now. Even the reverse
is possible, we can run todays application on a ten year old Linux
distro without problems too (we actually tested this, using Suse 8 &
Suse 9).

Compare a default fpGUI application dependencies against what you
posted. This dependency can be further reduced by switching to non
anti-aliased fonts - but that just makes applications look ugly. :)


$ ldd project1
	linux-vdso.so.1
	libX11.so.6 => /usr/lib64/libX11.so.6
	libXft.so.2 => /usr/lib64/libXft.so.2
	libc.so.6 => /lib64/libc.so.6
	libfontconfig.so.1 => /usr/lib64/libfontconfig.so.1
	libxcb.so.1 => /usr/lib64/libxcb.so.1
	libdl.so.2 => /lib64/libdl.so.2
	libgcc_s.so.1 => /lib64/libgcc_s.so.1
	libfreetype.so.6 => /usr/lib64/freetype.../libfreetype.so.6
	libXrender.so.1 => /usr/lib64/libXrender.so.1
	/lib64/ld-linux-x86-64.so.2
	libexpat.so.1 => /lib64/libexpat.so.1
	libXau.so.6 => /usr/lib64/libXau.so.6





Regards,
  - Graeme -

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/





More information about the Lazarus mailing list