Page MenuHomeFreeBSD

Update www/otter-browser to its' septembre release
ClosedPublic

Authored by alonso on Sep 24 2015, 10:58 PM.
Tags
None
Referenced Files
Unknown Object (File)
Feb 28 2024, 1:45 AM
Unknown Object (File)
Feb 20 2024, 11:53 AM
Unknown Object (File)
Jan 26 2024, 9:58 PM
Unknown Object (File)
Jan 26 2024, 9:58 PM
Unknown Object (File)
Jan 7 2024, 4:06 PM
Unknown Object (File)
Dec 30 2023, 3:54 PM
Unknown Object (File)
Dec 30 2023, 3:53 PM
Unknown Object (File)
Dec 22 2023, 10:03 PM
Subscribers

Details

Summary

Otter released a new beta earlier this month. Update PORTS to provide it.

Test Plan

Patch a PORTS copy with the attached patch, then install and use www/otter-browser.

Diff Detail

Repository
rP FreeBSD ports repository
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

alonso retitled this revision from to Update www/otter-browser to its' septembre release.
alonso updated this object.
alonso edited the test plan for this revision. (Show Details)
alonso added reviewers: rakuco, makc.
alonso set the repository for this revision to rP FreeBSD ports repository.
alonso added a subscriber: kde.
www/otter-browser/files/patch-CMakeLists.txt
19

Doesn't this upstream change actually make this part of the patch obsolete? Looking at https://github.com/OtterBrowser/otter-browser/commit/2eb9f6648ed5e8b808eb85d9624c0727ba3171c8 it looks it was intended to do precisely what this change is doing.

www/otter-browser/files/patch-CMakeLists.txt
19

Dropping the part of the patch and rebuilding the port however shows that the installed man-page ends up in ${PREFIX}/share/man instead of ${PREFIX}/man and it also is not compressed.

I can probably provide the path using CMAKE_ARGS in the ports Makefile, though I don't understand why it is not compressed any longer - or rather, I don't understand why it used to be compressed in the first place.

The man pages are not compressed in /share because are not supposed to be there, and the compress-man target in bsd.port.mk only looks in MANDIRS.
Looking at CMake's GNUInstallDirs.cmake, only the OpenBSD path seems to be set correctly. I think everything will work if you pass -DCMAKE_INSTALL_MANDIR=man to CMAKE_ARGS.

alonso edited edge metadata.
alonso removed rP FreeBSD ports repository as the repository for this revision.

I see. I remembered having seen man-compress magic in post-build at some ports and wondered where it went...

Updated the diff to set the CMAKE_INSTALL_MANDIR variable

rakuco edited edge metadata.

lgtm!

This revision is now accepted and ready to land.Oct 31 2015, 11:35 AM
This revision was automatically updated to reflect the committed changes.