mihakralj / opnsense-theme-dark

Dark theme for OPNsense
36 stars 22 forks source link

Install fails on FreeBSD:13:amd64 #1

Open flyswatta opened 2 years ago

flyswatta commented 2 years ago

running the package installer on OPNsense 22.1 fails with the error: pkg: wrong architecture: FreeBSD:12:amd64 instead of FreeBSD:13:amd64

xijio commented 2 years ago

Also happening for me. My poor eyes :)

CIR-Engineering commented 2 years ago

root@OPNsense:~ # sudo pkg add https://github.com/mihakralj/opnsense-theme-dark/raw/main/os-theme-dark-devel-0.1.txz Fetching os-theme-dark-devel-0.1.txz: 100% 162 KiB 166.1kB/s 00:01 Installing os-theme-dark-devel-0.1... pkg: wrong architecture: FreeBSD:12:amd64 instead of FreeBSD:13:amd64

gorfou commented 2 years ago

Works for me...

root@fw-lte:~ # uname -r 12.1-RELEASE-p22-HBSD root@fw-lte:~ # pkg add https://github.com/mihakralj/opnsense-theme-dark/raw/main/os-theme-dark-devel-0.1.txz Fetching os-theme-dark-devel-0.1.txz: 100% 162 KiB 166.1kB/s 00:01
Installing os-theme-dark-devel-0.1... Extracting os-theme-dark-devel-0.1: 100%

3urobeat commented 2 years ago

Yeah you are using 12.1
Doesn't work for me on 13.0 either

Serphentas commented 2 years ago

I just managed to install it after modifying instances of 12 with 13 inside both manifests. Here it is for reference: os-theme-dark-devel-0.1.txz.zip

zinkerzumper2112 commented 1 year ago

image

mihakralj commented 1 year ago

this is a dead branch. This plugin evolved into Dracula theme and Solarized theme, available here: https://github.com/mimugmail/opn-repo/tree/main/misc

I can also provide a hack to fix this specific .txz if you insist to use this one, let me know.

zinkerzumper2112 commented 1 year ago

thanks

zinkerzumper2112 commented 1 year ago

image

mihakralj commented 1 year ago

That is odd. But, you can replace this command:

fetch -o /usr/local/etc/pkg/repos/mimugmail.conf https://www.routerperformance.net/mimugmail.conf

with this:

sudo echo 'mimugmail: {
  url: "https://opn-repo.routerperformance.net/repo/${ABI}",
  priority: 190,
  enabled: yes
}' > /usr/local/etc/pkg/repos/mimugmail.conf

and then run pkg update to get repo functional and ready to be used.

mihakralj commented 1 year ago

image

my feeling is that you ran both commands as one; fetch is a separate command from pkg update - either execute them one after another or put && between them.

viciousdrop commented 6 months ago

I had success taking just the Dracula theme from your other repo. mihakralj/repo-mihak with command below

sudo pkg add https://repo.mihak.link/plugins/os-theme-dracula-0.6_1.pkg`
root@OPNsense:~ $ sudo pkg add https://repo.mihak.link/plugins/os-theme-dracula-0.6_1.pkg
Fetching os-theme-dracula-0.6_1.pkg: 100%    5 MiB   2.5MB/s    00:02
Installing os-theme-dracula-0.6_1...
Extracting os-theme-dracula-0.6_1: 100%

image