Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 604128 - www-client/netsurf lists librosprite as DEPEND instead of RDEPEND
Summary: www-client/netsurf lists librosprite as DEPEND instead of RDEPEND
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Michael Weber (RETIRED)
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2016-12-30 11:21 UTC by Another Mortal
Modified: 2017-01-24 01:18 UTC (History)
0 users

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


Attachments
ebuild.patch (ebuild.patch,807 bytes, patch)
2016-12-30 11:21 UTC, Another Mortal
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Another Mortal 2016-12-30 11:21:11 UTC
Created attachment 457974 [details, diff]
ebuild.patch

When built with USE=rosprite 'netsurf' needs 'librosprite' at run-time.



Symptoms:
---------

> netsurf
netsurf: error while loading shared libraries: librosprite.so.0: cannot open shared object file: No such file or directory

> ldd /usr/bin/netsurf | grep found
        librosprite.so.0 => not found


Fix (also attached):
--------------------

--- netsurf-3.5.ebuild.orig     2016-12-30 12:08:57.390154619 +0100
+++ netsurf-3.5.ebuild  2016-12-30 12:09:12.835154796 +0100
@@ -52,11 +52,11 @@
        png? ( >=media-libs/libpng-1.2.51:0[${MULTILIB_USEDEP}] )
        svg? ( svgtiny? ( >=media-libs/libsvgtiny-0.1.3-r1[${MULTILIB_USEDEP}] )
                !svgtiny? ( gnome-base/librsvg:2[${MULTILIB_USEDEP}] ) )
-       webp? ( >=media-libs/libwebp-0.3.0[${MULTILIB_USEDEP}] )"
+       webp? ( >=media-libs/libwebp-0.3.0[${MULTILIB_USEDEP}] )
+       rosprite? ( >=media-libs/librosprite-0.1.2-r1[${MULTILIB_USEDEP}] )"
 DEPEND="${RDEPEND}
        dev-libs/check[${MULTILIB_USEDEP}]
-       dev-perl/HTML-Parser
-       rosprite? ( >=media-libs/librosprite-0.1.2-r1[${MULTILIB_USEDEP}] )"
+       dev-perl/HTML-Parser"
 
 PATCHES=( "${FILESDIR}"/${PN}-3.4-CFLAGS.patch
        "${FILESDIR}"/${PN}-3.4-framebuffer-pkgconfig.patch
Comment 1 Michael Weber (RETIRED) gentoo-dev 2017-01-24 01:18:45 UTC
commit f82babb8c1793c61fcb41f56bdb05fc0f3b329da
Author: Michael Weber <xmw@gentoo.org>
Date:   Tue Jan 24 02:14:59 2017 +0100

    www-client/netsurf: Version bump (bug 602526, thanks Philipp Ammann), add support for GTK3, fix librosprite RDEPEND (bug 604128, thanks Another Mortal).
    
    Package-Manager: Portage-2.3.3, Repoman-2.3.1