You are here

gtk only one time

8 posts / 0 new
Last post
rafi
Offline
Last seen: 13 years 5 months ago
Joined: 2008-06-06 11:18
gtk only one time

Hello,

I am now trying to make an app called Ekiga portable. It works quite well now but not yet finished.

This program uses Gtk-Libraries. Pidgin, Gimp and other portable Apps use Gtk-Libraries v.2 too.

So wouldnt it be faster and saving hdd-space to install this gtk libs only one time for all progs?

OliverK
OliverK's picture
Offline
Last seen: 3 years 8 months ago
Developer
Joined: 2007-03-27 15:21
All the apps support GTK

All the apps support GTK common files in X:\PortableApps\CommonFiles\GTK.

Though, there may be GTK version incompatibility between apps. But you're welcome to try.

Too many lonely hearts in the real world
Too many bridges you can burn
Too many tables you can't turn
Don't wanna live my life in the real world

rafi
Offline
Last seen: 13 years 5 months ago
Joined: 2008-06-06 11:18
not for me

for me f.x. in pidgin i have
PidginPortable\App\GTK

A single death is a tragedy; a million deaths is a statistic.

OliverK
OliverK's picture
Offline
Last seen: 3 years 8 months ago
Developer
Joined: 2007-03-27 15:21
Pidign Portable supports it,

Pidign Portable supports it, xchat supports it, geany supports it, just to name a few.

Too many lonely hearts in the real world
Too many bridges you can burn
Too many tables you can't turn
Don't wanna live my life in the real world

John T. Haller
John T. Haller's picture
Online
Last seen: 5 min 20 sec ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
No

GIMP is only supported with its own internal GTK. As is GnuCash. Only Pidgin uses an independent one in the local install... and it's only partially independent... it's compiled and distributed by the Pidgin developers.

So, for all intents and purposes, the answer is no. GTK has an issue called GTK hell (similar to DLL hell on Windows) where you have to use not only the proper version of GTK that the app wants, but also the proper build as not all GTK builds include the same packages.

Sometimes, the impossible can become possible, if you're awesome!

Chris Morgan
Chris Morgan's picture
Offline
Last seen: 9 years 8 months ago
Joined: 2007-04-15 21:08
Inkscape also

Inkscape uses its own internal GTK as well.

Dependency on a specific version of a "shared" resource has long been a major issue with Linux... and GTK has inherited it, sadly.

I am a Christian and a developer and moderator here.

“A soft answer turns away wrath, but a harsh word stirs up anger.” – Proverbs 15:1

OliverK
OliverK's picture
Offline
Last seen: 3 years 8 months ago
Developer
Joined: 2007-03-27 15:21
so we don't even need to

so we don't even need to support a copy of GTK in common files?

Too many lonely hearts in the real world
Too many bridges you can burn
Too many tables you can't turn
Don't wanna live my life in the real world

Chris Morgan
Chris Morgan's picture
Offline
Last seen: 9 years 8 months ago
Joined: 2007-04-15 21:08
Shouldn't for most

Inkscape Portable 0.46 Pre-Release 2 is removing CommonFiles or App\gtk support (and the GTKDirectory INI option) along with the ProgramDirectory and SettingsDirectory INI options (as recommended by John).

The GIMP might possibly have it as useful. I reckon though that considering all factors, we should probably remove the whole GTK thing from the launchers.

I am a Christian and a developer and moderator here.

“A soft answer turns away wrath, but a harsh word stirs up anger.” – Proverbs 15:1

Log in or register to post comments