Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 466796 - www-plugins/google-talkplugin doesn't depend on libpng anymore
Summary: www-plugins/google-talkplugin doesn't depend on libpng anymore
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal minor (vote)
Assignee: Christoph Junghans (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-22 12:39 UTC by Tibor Vago
Modified: 2013-04-22 14:07 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tibor Vago 2013-04-22 12:39:05 UTC
oreggin@genie /opt/google/talkplugin/lib $ ldd *.so | grep png

oreggin@genie /opt/google/talkplugin $ ldd *.so | grep png
        libpng15.so.15 => /usr/lib64/libpng15.so.15 (0x00007f5dff70b000)

oreggin@genie /opt/google/talkplugin $ ldd GoogleTalkPlugin | grep png
        libpng15.so.15 => /usr/lib64/libpng15.so.15 (0x00007f8690cc1000)


Reproducible: Always



Expected Results:  
In ebuilds must simply change "media-libs/libpng:1.2" to "media-libs/libpng".
Comment 1 Agostino Sarubbo gentoo-dev 2013-04-22 13:13:06 UTC
This is not true at all.

The stable version is ok. For the unstable if I type:

qlist -e "www-plugins/google-talkplugin" | xargs scanelf -L -n -q -F '%n #F' | tr , ' ' | xargs qfile -Cv | sort -u | awk '{print $1}' | grep png

it is not linked anymore to libpng, so is not needed.
Comment 2 Tibor Vago 2013-04-22 13:19:52 UTC
Erhm. After I build a 9999 versioned plugin, in its files depends on libpng:

genie ~ # ebuild /usr/portage/www-plugins/google-talkplugin/google-talkplugin-9999.ebuild install
 * checking ebuild checksums ;-) ...                                                                                                                                                   [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                                                                 [ ok ]
>>> Unpacking source...
 * Fetching google-talkplugin_current_amd64.deb
--2013-04-22 15:17:01--  http://dl.google.com/linux/direct/google-talkplugin_current_amd64.deb
dl.google.com feloldása… 2a00:1450:4001:c02::88, 173.194.35.142, 173.194.35.135, ...
Csatlakozás a következőhöz: dl.google.com[2a00:1450:4001:c02::88]:80… kapcsolódva.
HTTP kérés elküldve, várakozás válaszra… 200 OK
Hossz: 12723112 (12M) [application/x-debian-package]
Mentés ide: „google-talkplugin_current_amd64.deb”

100%[======================================>] 12.723.112  9,65MB/s  idő 1,3s   

2013-04-22 15:17:02 (9,65 MB/s) -- „google-talkplugin_current_amd64.deb” mentve [12723112/12723112]

>>> Unpacking google-talkplugin_current_amd64.deb to /var/tmp/portage/www-plugins/google-talkplugin-9999/work
>>> Unpacking data.tar.gz to /var/tmp/portage/www-plugins/google-talkplugin-9999/work
>>> Source unpacked in /var/tmp/portage/www-plugins/google-talkplugin-9999/work
>>> Preparing source in /var/tmp/portage/www-plugins/google-talkplugin-9999/work ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/www-plugins/google-talkplugin-9999/work ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/www-plugins/google-talkplugin-9999/work ...
>>> Source compiled.
>>> Test phase [not enabled]: www-plugins/google-talkplugin-9999

>>> Install google-talkplugin-9999 into /var/tmp/portage/www-plugins/google-talkplugin-9999/image/ category www-plugins
>>> Unpacking changelog.Debian.gz to /var/tmp/portage/www-plugins/google-talkplugin-9999/work
>>> Completed installing google-talkplugin-9999 into /var/tmp/portage/www-plugins/google-talkplugin-9999/image/

ecompressdir: bzip2 -9 /usr/share/doc
genie ~ # cd /var/tmp/portage/www-plugins/google-talkplugin-9999/image/opt/google/talkplugin/
genie talkplugin # ldd GoogleTalkPlugin | grep png
        libpng15.so.15 => /usr/lib64/libpng15.so.15 (0x00007fdcabb28000)
genie talkplugin #
Comment 3 Christoph Junghans (RETIRED) gentoo-dev 2013-04-22 13:59:06 UTC
+  22 Apr 2013; Christoph Junghans <ottxor@gentoo.org>
+  google-talkplugin-3.17.0.0.ebuild, google-talkplugin-9999.ebuild:
+  fixed deps (bug #466796, thx to Tibor Vago)
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2013-04-22 14:01:37 UTC
(In reply to comment #2)
> genie talkplugin # ldd GoogleTalkPlugin | grep png
>         libpng15.so.15 => /usr/lib64/libpng15.so.15 (0x00007fdcabb28000)

output of `ldd` is completely meaningless as it will print also dependencies of it's dependencies

use `objdump -p /path/to/file | grep NEEDED` or `scanelf -n /path/to/file`
Comment 5 Christoph Junghans (RETIRED) gentoo-dev 2013-04-22 14:06:59 UTC
(In reply to comment #4)
> (In reply to comment #2)
> > genie talkplugin # ldd GoogleTalkPlugin | grep png
> >         libpng15.so.15 => /usr/lib64/libpng15.so.15 (0x00007fdcabb28000)
> 
> output of `ldd` is completely meaningless as it will print also dependencies
> of it's dependencies
> 
> use `objdump -p /path/to/file | grep NEEDED` or `scanelf -n /path/to/file`
Yeah, I have my own script for that:
<https://code.google.com/p/cj-overlay/source/browse/scripts/scan_deps>
$ scan_deps /opt/google/talkplugin/*

but I haven't ran it for a while ;-)
Comment 6 Tibor Vago 2013-04-22 14:07:23 UTC
Ahha, thanks. As I see google starts statically links libpng v1.2 into its talkplugin binaries and maybe into their other softwares.