[prev in list] [next in list] [prev in thread] [next in thread] 

List:       nix-dev
Subject:    [Nix-dev] handling /usr/lib/foo-plugins
From:       ierton () gmail ! com (Sergey Mironov)
Date:       2012-05-15 11:02:21
Message-ID: CAD+npnpSgAq-1ys9eP0RKLHqObFTcDU-5FK2EA4VQPuqUx5hHA () mail ! gmail ! com
[Download RAW message or body]

Thanks, I've looked under the zathura's hood - it uses following
scheme: 1) gui part - zathura - is a core component, it should be
compiled first 2) each plugin needs zathura to be built, but user may
set target directory to put .so into (/usr/lib/zathura obtained from
pkgconfig by default). 3) zathura scans default dir for plugins when
executed. Fortunately, it accepts command line argument to set new
path, multiple dirs separated with ':' are supported.

Since it probably can't be done purely without introducing new
entities, I've included an expression for wrapper shell script
'zathura' of higher priority which runs a binary and supplying it with
correct paths. Please, comment/commit.

Sergey
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-zathura-version-0.1.2-with-plugins.patch
Type: application/octet-stream
Size: 12211 bytes
Desc: not available
Url : http://lists.science.uu.nl/pipermail/nix-dev/attachments/20120515/caec45aa/attachment.obj 

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic