@micwoj92 , I think I have not enough competence (and time to increase it right now) in nim and linker options to provide details upstream.
Search Criteria
Package Details: firefox-tridactyl-native 1.24.1-1
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.4.1) |
Upstream URL: | https://github.com/tridactyl/tridactyl |
Licenses: | BSD-2-Clause |
Submitter: | liljaylj |
Maintainer: | liljaylj |
Last Packager: | liljaylj |
Votes: | 18 |
Popularity: | 0.68 |
First Submitted: | 2019-04-22 12:04 (UTC) |
Last Updated: | 2024-08-08 20:20 (UTC) |
Dependencies (5)
- glibc (glibc-gitAUR, glibc-linux4AUR, glibc-eacAUR, glibc-eac-binAUR, glibc-eac-rocoAUR)
- git (git-gitAUR, git-glAUR) (make)
- nim (nim-gitAUR, choosenimAUR, choosenim-binAUR) (make)
- nimble (nimble-gitAUR, choosenimAUR, choosenim-binAUR, nim) (make)
- openssl-1.1 (make)
Required by (0)
Sources (1)
liljaylj commented on 2024-08-08 21:59 (UTC)
micwoj92 commented on 2024-08-08 20:57 (UTC) (edited on 2024-08-08 21:01 (UTC) by micwoj92)
Hmm, that is true, weird that it shows up. I don't know nim, but not all packages I've checked today show this behaviour. Maybe open issue upstream?
liljaylj commented on 2024-08-08 20:37 (UTC)
if I understand correctly, --as-needed
flag is already enabled in /etc/nim/nim.cfg
(see last line of that file)
gcc.options.linker %= "${gcc.options.linker} -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-z,pack-relative-relocs"
micwoj92 commented on 2024-08-08 20:28 (UTC) (edited on 2024-08-08 20:29 (UTC) by micwoj92)
There is only 1 namcap warning left:
firefox-tridactyl-native W: Unused shared library '/usr/lib/libm.so.6' by file ('usr/lib/tridactyl/native_main')
I guess it would work if you passed --as-needed
linker flag to nim, but I didn't try.
liljaylj commented on 2024-08-08 20:25 (UTC)
@micwoj92 , thanks again. i should've checked with namcap...
this change will be released with the next version of tridactyl.
micwoj92 commented on 2024-08-08 20:03 (UTC)
Thanks, for this BSD-2-Clause installation of license is also required in /usr/share/licenses/$pkgname/
liljaylj commented on 2024-08-08 19:40 (UTC) (edited on 2024-08-08 19:42 (UTC) by liljaylj)
@micwoj92, thank you for your review. will update pkgbuild on next version release.
update: in fact, i can update it now, as part of tridactyl's patch release (1.24.1) ...
micwoj92 commented on 2024-08-08 19:17 (UTC)
Please add glibc
to depends and use SPDX identifier for license.
liljaylj commented on 2023-11-21 04:58 (UTC)
@alerque , see pinned comment ☝️
and, revoke your request, please
fra commented on 2023-08-27 15:12 (UTC)
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.
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