ptpb / pb

pb is a formerly-lightweight pastebin and url shortener
Other
549 stars 52 forks source link

AUR updates #191

Closed Nic321 closed 7 years ago

Nic321 commented 7 years ago

Really appreciate your quick response to this issue:

https://github.com/ptpb/pb/issues/189

Will there be an update coming to AUR soon? Just noticed you're the maintainer :) but it hasn't been updated since 2016-01-23 21:51 :(

Thanks again. Loving pb.

buhman commented 7 years ago

I'll check it out.

buhman commented 7 years ago

The aur comments are correct, and the problem is I never tried this in a clean chroot. Luckily, grunt-run-grunt makes this super easy by hiding the real error from gm:

>> Command failed: gm convert: Unable to load module ("/usr/lib/GraphicsMagick-1.3.25/modules-Q16/coders/svg.la: file not found").

This is actually an incorrect error message, because that file definitely exists. I repo'ed the gm convert, then found during strace the error message is written after opening /usr/lib/GraphicsMagick-1.3.25/modules-Q16/coders/svg.so.

$ ldd /usr/lib/GraphicsMagick-1.3.25/modules-Q16/coders/svg.so
    libxml2.so.2 => not found

This is clearly a packaging error by the archlinux gm package maintainer. However, it's easy enough to hack around this in pb-git's makedepends.

buhman commented 7 years ago

Also someone conveniently removed python-flask-git, even though pb no longer actually needs that (0.11 is released and packaged).

buhman commented 7 years ago

So, I fixed a few longstanding issues:

This means pb and pbs can now be built separately, so the aur packaging now reflects this:

and, pbs-git is an optdepends, so you can use the ptpb.pw/other cdn prefix if desired instead, if you have no need to build a separate pbs.

:+1: :100: :shipit:

buhman commented 7 years ago

Let me know if you have any other problems not related to building.