As you suggested, I tried it with version 0.3.6 but it did not work. Therefore I used the latest release (0.4.0 at the time of writing) and it worked with that.
Search Criteria
Package Details: firefox-tridactyl-native 1.24.2-2
Package Actions
Git Clone URL: | https://aur.archlinux.org/firefox-tridactyl-native.git (read-only, click to copy) |
---|---|
Package Base: | firefox-tridactyl-native |
Description: | Tridactyl native messaging host application for Firefox (native: 0.5.0) |
Upstream URL: | https://github.com/tridactyl/tridactyl |
Licenses: | BSD-2-Clause |
Submitter: | liljaylj |
Maintainer: | liljaylj |
Last Packager: | liljaylj |
Votes: | 20 |
Popularity: | 0.20 |
First Submitted: | 2019-04-22 12:04 (UTC) |
Last Updated: | 2024-12-19 19:06 (UTC) |
Dependencies (5)
- gcc-libs (gcc-libs-gitAUR, gccrs-libs-gitAUR, gcc11-libsAUR, gcc-libs-snapshotAUR)
- glibc (glibc-gitAUR, glibc-linux4AUR, glibc-eacAUR)
- git (git-gitAUR, git-glAUR) (make)
- nim (nim-gitAUR, choosenim-binAUR, choosenimAUR) (make)
- nimble (nimble-gitAUR, choosenim-binAUR, choosenimAUR, nim) (make)
Required by (0)
Sources (1)
fra commented on 2023-08-27 15:12 (UTC)
ynakao commented on 2022-11-30 02:47 (UTC)
@liljaylj Ah, sorry for bothering you by my lack of understanding. That makes sense. But, why there is a gap between upstream native_messenger release date and current_native_version
file version update? Is it something like internal compatibility?
Thank you for maintaining this package!
liljaylj commented on 2022-11-29 19:41 (UTC)
TL;DR
please, do not blindly mark this package out-of-date, thanks =)
TS;RE
current native_messenger version is tracked using https://raw.githubusercontent.com/tridactyl/tridactyl/<put current stable version of tridactyl here>/native/current_native_version
.
at the time of writing this message tridactyl is at version 1.23.0
, so native_messaging
's version is:
❯ curl -sL 'https://raw.githubusercontent.com/tridactyl/tridactyl/1.23.0/native/current_native_version'
0.3.6
... 0.3.6
even if there is new 0.3.7
version on GitHub Releases page.
thank you =)
Sharparam commented on 2022-11-14 21:01 (UTC) (edited on 2022-11-14 21:15 (UTC) by Sharparam)
This doesn't seem to currently build, it fails with the following error:
could not import: SSL_get_peer_certificate
From some quick searching, it looks like this might be because some nim packages don't support OpenSSL 3.0?
Edit: Adding openssl-1.1
to makedepends
makes it build, and it seems to work in "runtime" as well (tested a command, :nativeopen
works). Perhaps someone more familiar with the native messaging can do a more thorough test.
liljaylj commented on 2022-04-12 20:29 (UTC)
@vandalt, fixed, thanks
vandalt commented on 2022-04-07 13:26 (UTC) (edited on 2022-04-07 13:27 (UTC) by vandalt)
Hi, thanks for maintaining this! I ran into an issue when updating. There was an error message saying that cd
had too many arguments (sorry, after updating I can't reproduce the exact error message). Updating build()
and package()
to include _nativever
instead of a wildcard in the path seems to fix the issue:
build() {
cd "$srcdir"/native_messenger-"$_nativever"/
sed -i -e "s-REPLACE_ME_WITH_SED-/usr/lib/tridactyl/native_main-" ./tridactyl.json
nimble build -d:release -d:danger --opt:speed -Y
chmod +x ./native_main
}
package() {
cd "$srcdir"/native_messenger-"$_nativever"/
install -D -m755 -t "$pkgdir/usr/lib/tridactyl" "./native_main"
install -D -m644 -t "$pkgdir/usr/lib/mozilla/native-messaging-hosts" "./tridactyl.json"
}
alerque commented on 2021-11-15 20:31 (UTC)
Thanks for getting this updated to build from source. Just FYI when I get back home in a few weeks this is on my list to consider migrating to [community]. For now it will be available in my user repository for anybody interested in the advantages of a prebuilt package while sticking to the source builds.
ynakao commented on 2021-11-02 00:42 (UTC)
In chroot environment, build() fails due to missing git
. Please add it to makedepends?
==> Starting build()...
Verifying dependencies for tridactyl_native@
Prompt: No local packages.json found, download it from internet? -> [forced yes]
Downloading Official package list
Success Package list downloaded.
Installing tempfile@>= 0.1.0
Downloading https://github.com/OpenSystemsLab/tempfile.nim using git
Tip: 5 messages have been suppressed, use --verbose to show them.
Error: 'git' not in PATH.
==> ERROR: A failure occurred in build().
Aborting...
t-8ch commented on 2021-11-01 19:25 (UTC)
@liljaylj, you are welcome. Thanks for taking care of this package!
liljaylj commented on 2021-11-01 18:55 (UTC) (edited on 2021-11-01 18:56 (UTC) by liljaylj)
@t-8ch, thanks a lot for detailed explanation.
- removed glibc from depends (checked the dependencies of base package =))
- removed conflicts/provides (after reading wiki again, now i see)
- for now, added only x86_64 arch. if someone can test if it builds on i686 and/or arm, let me know
Pinned Comments
liljaylj commented on 2022-11-29 19:41 (UTC)
TL;DR
please, do not blindly mark this package out-of-date, thanks =)
TS;RE
current native_messenger version is tracked using
https://raw.githubusercontent.com/tridactyl/tridactyl/<put current stable version of tridactyl here>/native/current_native_version
.at the time of writing this message tridactyl is at version
1.23.0
, sonative_messaging
's version is:...
0.3.6
even if there is new0.3.7
version on GitHub Releases page.thank you =)
liljaylj commented on 2021-11-01 10:26 (UTC)
@t-8ch, @alerque, thanks. now this package builds from sources using nimble. also created new
firefox-tridactyl-native-bin
package to provide binary version