trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: January 2017

Re: [trinity-devel] dbus-1-tqt vs dbus-tqt-1

From: Slávek Banko <slavek.banko@...>
Date: Thu, 12 Jan 2017 01:19:34 +0100
On Wednesday 11 of January 2017 19:46:32 deloptes wrote:
> Hi,
> I was wondering why is there two different packages with similar name
> ... but I think I am too lazy to look in detail into the code. I use
> [1] while kmplayer[3] is dependant on [2]. I don't have any other
> application depending on [2] and as I have my kplayer I dropped [2]
> completely, but still curious why is it like this.
>
> thanks and regards
>
> [1]
> dpkg -L libdbus-1-tqt
> /.
> /usr
> /usr/share
> /usr/share/doc
> /usr/share/doc/libdbus-1-tqt
> /usr/share/doc/libdbus-1-tqt/README
> /usr/share/doc/libdbus-1-tqt/AUTHORS
> /usr/share/doc/libdbus-1-tqt/changelog.gz
> /usr/share/doc/libdbus-1-tqt/changelog.Debian.gz
> /usr/share/doc/libdbus-1-tqt/TODO
> /usr/share/doc/libdbus-1-tqt/copyright
> /usr/lib
> /usr/lib/libdbus-1-tqt.so.0.0.0
> /usr/lib/libdbus-1-tqt.so.0
>
> [2]
> dpkg -c libdbus-tqt-1-1c2_14.1.0-0debian8.0.5+eko3_amd64.deb  | awk
> '{print $6}'
> ./
> ./usr/
> ./usr/share/
> ./usr/share/doc/
> ./usr/share/doc/libdbus-tqt-1-1c2/
> ./usr/share/doc/libdbus-tqt-1-1c2/copyright
> ./usr/share/doc/libdbus-tqt-1-1c2/changelog.gz
> ./usr/share/doc/libdbus-tqt-1-1c2/NEWS.gz
> ./usr/share/doc/libdbus-tqt-1-1c2/changelog.Debian.gz
> ./usr/share/doc/libdbus-tqt-1-1c2/README.gz
> ./usr/share/doc/libdbus-tqt-1-1c2/AUTHORS
> ./usr/lib/
> ./usr/lib/libdbus-tqt-1.so.0.0.0
> ./usr/lib/libdbus-tqt-1.so.0
>
> [3]
> apt-get install kmplayer-trinity
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> The following extra packages will be installed:
>   kmplayer-base-trinity libdbus-tqt-1-1c2
> Suggested packages:
>   vdr
> Recommended packages:
>   kmplayer-plugin-trinity
> The following NEW packages will be installed:
>   kmplayer-base-trinity kmplayer-trinity libdbus-tqt-1-1c2
> 0 upgraded, 3 newly installed, 0 to remove and 1 not upgraded.
> Need to get 893 kB of archives.
> After this operation, 3,882 kB of additional disk space will be used.
> Do you want to continue? [Y/n] n
>

Yes, the names are very similar. However, the code is very different.

Older library dbus-tqt (built as libdbus-tqt-1-1c2) is primitive, provides 
fewer capabilities, harder to work with it and is usually not used when 
developing new code. In truth, I'm surprised that it is used in 
KMPlayer - I expected that now is used only in kpowersave.

Newer library dbus-1-tqt (built as libdbus-1-tqt) is more versatile, its 
use is natural for TQt applications. If you need to use dbus, it is 
certainly a better option to use dbus-1-tqt.

Cheers
-- 
Slávek