Bug 261221 - editors/parinfer-rust: Update to latest snapshot
Summary: editors/parinfer-rust: Update to latest snapshot
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Mikael Urankar
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-01-15 10:35 UTC by Ashish SHUKLA
Modified: 2022-01-18 14:49 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (mikael)


Attachments
Patch to update (32.36 KB, patch)
2022-01-15 10:35 UTC, Ashish SHUKLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ashish SHUKLA freebsd_committer freebsd_triage 2022-01-15 10:35:21 UTC
Created attachment 231020 [details]
Patch to update

The attached patch updates to the latest git snapshot of parinfer-rust. The version 0.4.3 does not seem to work with GNU Emacs[0]. 

If you like to test Emacs support, then once port, and the Emacs package[1] is installed, one need to '(setq parinfer-rust-library "%%PREFIX%%/lib/libparinfer_rust.so")' replacing with %%PREFIX%% with the installation prefix.

[0] https://github.com/justinbarclay/parinfer-rust-mode/issues/37
[1] https://github.com/justinbarclay/parinfer-rust-mode

Following are the summary of changes:

- Update to latest git snapshot
- Remove the already upstream-ed vim support patch


Thanks!
Comment 1 Ashish SHUKLA freebsd_committer freebsd_triage 2022-01-15 13:44:28 UTC
Also, I forgot to mention, as Emacs dlopens the .so file, the .so file need to preserve the symbols, and so "STRIP=".
Comment 2 Mikael Urankar freebsd_committer freebsd_triage 2022-01-18 13:42:44 UTC
Feel free to commit.
Approved by: mikael
Comment 3 commit-hook freebsd_committer freebsd_triage 2022-01-18 14:48:50 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=32227949c17ad754b953a2c6332f2a4dbfe3c046

commit 32227949c17ad754b953a2c6332f2a4dbfe3c046
Author:     Ashish SHUKLA <ashish@FreeBSD.org>
AuthorDate: 2022-01-18 14:42:59 +0000
Commit:     Ashish SHUKLA <ashish@FreeBSD.org>
CommitDate: 2022-01-18 14:47:37 +0000

    editors/parinfer-rust: Update to latest git snapshot

    - Explicitly enable support for Emacs
    - Remove the already upstream-ed vim support patch

    PR:             261221
    Approved by:    mikael (maintainer)

 editors/parinfer-rust/Makefile                     | 151 +++++----
 editors/parinfer-rust/distinfo                     | 340 ++++++++++-----------
 .../files/patch-plugin_parinfer.vim (gone)         |  13 -
 3 files changed, 230 insertions(+), 274 deletions(-)
Comment 4 Ashish SHUKLA freebsd_committer freebsd_triage 2022-01-18 14:49:14 UTC
Committed, thanks!