Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 383145 - app-emulation/virt-viewer[nsplugin]: please support building against net-misc/npapi-sdk
Summary: app-emulation/virt-viewer[nsplugin]: please support building against net-misc...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Virtualization Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 383069
  Show dependency tree
 
Reported: 2011-09-15 20:30 UTC by Michał Górny
Modified: 2012-04-23 09:48 UTC (History)
1 user (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 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2011-09-15 20:30:32 UTC
NPAPI-SDK is a tiny package providing headers necessary to build NPAPI plugins without the need for emerging whole xulrunner.

Migration requires the package to check for npapi-sdk.pc as well as current headers. The pkg-config file doesn't require any additional Mozilla components, and is versioned using NPAPI versions rather than Mozilla versions.
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2012-04-23 09:48:38 UTC
OK, half an year, maintainer timeout:

+  23 Apr 2012; Samuli Suominen <ssuominen@gentoo.org> virt-viewer-0.4.2.ebuild,
+  virt-viewer-0.5.2.ebuild, +files/virt-viewer-0.5.x-npapi-sdk.patch:
+  Support building against net-misc/npapi-sdk instead of obsolete
+  net-libs/xulrunner wrt #383145 by Michał Górny

http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/virt-viewer/files/virt-viewer-0.5.x-npapi-sdk.patch?rev=1.1&content-type=text/plain

http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/virt-viewer/virt-viewer-0.5.2.ebuild?r1=1.1&r2=1.2

The pkg-config check should be for 'npapi-sdk nspr' instead of 'mozilla-plugin' in configure.ac, but as you can see, I've exported _CFLAGS and _LIBS instead to avoid touching configure.ac and rerunning autotools on the package.