[PATCH] Add multi-path support
Gwenole Beauchesne
gb.public at free.fr
Tue Dec 30 07:42:41 UTC 2008
Hi,
Le 29 déc. 08 à 21:22, Warren Togami a écrit :
>> viewer_paths="/usr/lib/nspluginwrapper"
>> %if "%{_lib}" != "lib"
>> viewer_paths="%{_libdir}/nspluginwrapper:$viewer_paths"
>> %endif
>> configure --target-cpu=%{_arch} --pkglibdir=%{_libdir}/
>> nspluginwrapper --viewer-paths="$viewer_paths"
>> should provide the desired effect. Only the default behaviour will
>> be supported/tested in the future though.
>
> I haven't built this yet, but is this sufficient for the /usr/lib64
> nspluginwrapper plugin to find the other npviewer?
I have not strictly tested this scenario, but yes, provided you
mention all valid viewer paths for other arches. This is for npconfig,
the tool that generates a wrapped plugin. Then, at run-time, the path
to the actual viewer is now included in the (patched) binary, see
NPW_PluginInfo::viewer_path[]. It should work as desired.
More information about the Nspluginwrapper-devel-list
mailing list