You are not logged in.

#1 2022-08-21 18:12:21

merlock
Member
Registered: 2018-10-30
Posts: 235

[PARTIALLY ABANDONED] PKGBUILD for pdf.js bisecting

pdf.js 2.15.349 does not work in qutebrowser.  Reverting to 2.14.305 works.

Interested in bisecting; but at a loss on how to create a PKGBUILD for bisecting purposes.

Last edited by merlock (2022-08-22 01:19:48)


Eenie meenie, chili beanie, the spirits are about to speak -- Bullwinkle J. Moose
It's a big club...and you ain't in it -- George Carlin
Registered Linux user #149839
perl -e 'print$i=pack(c5,(41*2),sqrt(7056),(unpack(c,H)-2),oct(115),10); '

Offline

#2 2022-08-21 19:14:01

mpan
Member
Registered: 2012-08-01
Posts: 1,206
Website

Re: [PARTIALLY ABANDONED] PKGBUILD for pdf.js bisecting

PKGBUILD usually stays the same. Instead, makepkg invocation is different.

First invoke makepkg with the `-o` option. That will obtain sources, extract them and run `prepare()`.
Then start bisecting.
Then, for each bisect step, invoke makepkg with the `-e` option in addition to your normal ones. This way you build from the currently bisected sources, without makepkg interfering.

Last edited by mpan (2022-08-21 19:15:00)


Sometimes I seem a bit harsh — don’t get offended too easily!

Offline

#3 2022-08-22 01:18:57

merlock
Member
Registered: 2018-10-30
Posts: 235

Re: [PARTIALLY ABANDONED] PKGBUILD for pdf.js bisecting

Thanks for the `-o` hint, @mpan.  Was able to get started, but ended up getting into an npm dependency hell.

This will probably be beyond my capability.  I'll mark this as partially abandoned, in case someone wants to chime in with some tips.


Eenie meenie, chili beanie, the spirits are about to speak -- Bullwinkle J. Moose
It's a big club...and you ain't in it -- George Carlin
Registered Linux user #149839
perl -e 'print$i=pack(c5,(41*2),sqrt(7056),(unpack(c,H)-2),oct(115),10); '

Offline

Board footer

Powered by FluxBB