Package Details: browsh 1.6.4-3

Git Clone URL: https://aur.archlinux.org/browsh.git (read-only, click to copy)
Package Base: browsh
Description: A fully-modern text-based browser, rendering to TTY and browsers
Upstream URL: https://www.brow.sh
Licenses: LGPL2.1
Conflicts: browsh-bin, browsh-git
Submitter: MikuroK
Maintainer: MikuroK
Last Packager: MikuroK
Votes: 24
Popularity: 0.78
First Submitted: 2018-07-26 15:31 (UTC)
Last Updated: 2022-04-16 04:02 (UTC)

Latest Comments

MikuroK commented on 2022-04-19 04:04 (UTC)

zerophase, I don't actually use this program, I only have this package because I wanted to play with it and there wasn't a package for it at the time. I also have zero Go experience, so I really wouldn't know where to start with that.

zerophase commented on 2022-04-19 01:54 (UTC)

Dep is deprecated, and causing issues for my build. Might be a good idea to talk to upstream about switching to go modules.

MikuroK commented on 2022-04-16 04:11 (UTC)

sorted the build problem apparently.

about using firefox forks, how should that be done? i don't much like the idea of just not having any browser as a dependency, since then the package won't "just work" as expected if you don't already have firefox installed. i also don't like the idea of specifying browsers which aren't officially supported by browsh, as that could lead to bug reports to the browsh dev(s) for an unsupported configuration. unless someone has a better idea, i think leaving it as-is (edit the pkgbuild yourself to suit) is the best option.

tallero commented on 2022-04-15 17:42 (UTC) (edited on 2022-04-15 17:43 (UTC) by tallero)

doesn't build

src/main.go:3:8: package browsh/interfacer/src/browsh is not in GOROOT (/usr/lib/go/src/browsh/interfacer/src/browsh)

micwoj92 commented on 2021-03-01 17:32 (UTC)

It should not conflict with browsh-bin, browsh-git, -bin and -git packages should conflict with browsh.

tywyqu commented on 2020-10-12 13:39 (UTC)

Can you please make firefox dependency optional? Some users are using alternative firefox spin-offs https://wiki.archlinux.org/index.php/List_of_applications#Firefox_spin-offs

MikuroK commented on 2020-06-11 14:18 (UTC)

@vyachkonovalov Thanks for the tip!

crabvk commented on 2020-05-11 18:52 (UTC)

Thank you for the package.
I noticed one issue. Since firefox is runtime-only dependency, it should be listed inside package() function and not in global depends variable. Like this:

package() {
    depends=('firefox>=63')
    install -Dm755 $pkgname "${pkgdir}/usr/bin/${pkgname}"
}

So, you could run makepkg without installing firefox (which is not required to build browsh).
docs
example

marcin commented on 2019-06-27 00:11 (UTC)

There is already 1.6.4 (https://github.com/browsh-org/browsh/releases) while the aur has 1.5.2. Any chance to upgrade it?

zerophase commented on 2019-05-01 08:48 (UTC)

Does Waterfox or icecat work in place of firefox?

DragonX256 commented on 2018-07-28 03:41 (UTC) (edited on 2018-07-28 03:43 (UTC) by DragonX256)

I'm doing default package building procedure - running "makepkg -sic" command, which installs all dependencies, installs package after it built and do some clean up after it installed.

New pkgrel, uploaded by you, correctly builds and runs.

It's strange to see, what I'm using all defaults for makepkg and without that fix in build() it won't build .-.

MikuroK commented on 2018-07-28 02:44 (UTC)

@DragonX256, The only thing I can find that can result in that error is if you run makepkg with "--noprepare", is this what you're doing?

I can put them into both functions, but I can't make them global (as $srcdir isn't defined outside of those functions). I do want to know what you're doing though, so I can account for it when writing PKGBUILDs.

DragonX256 commented on 2018-07-27 15:58 (UTC) (edited on 2018-07-27 15:58 (UTC) by DragonX256)

The output of makepkg build() running is:

Build browsh... WORK=/tmp/go-build144121366 stat ./src/main.go: no such file or directory

When I describe GOPATH and _interfacer variables from prepare() in build(), then build process continues.

MikuroK commented on 2018-07-27 11:18 (UTC) (edited on 2018-07-27 12:04 (UTC) by MikuroK)

@DragonX256, I'm not able to repeat your issue with those variables, they are exported for the reason you suggest. Can you post more information about what you're doing and what results you're getting? (makepkg output?)

I've added the architectures listed on the alarm website, I wasn't sure if just adding them alone would work.

Edit: I've added the other architectures to browsh-bin, untested.

DragonX256 commented on 2018-07-27 10:26 (UTC) (edited on 2018-07-27 10:27 (UTC) by DragonX256)

Not building. You should decsribe GOPATH and _interfacer variables in build() too, or describe them globally. Also please, add armv7h arch. It compiles and works correctly on rpi3.

MikuroK commented on 2018-07-27 03:10 (UTC)

@sekret, added git as a makedepend. UPX is optional, it will build without it, to avoid confusion, I've silenced the errors about it not being found. Not having UPX installed will simply result in an uncompressed binary, same as the official binaries. I've also figured out trimming the source paths (including sanitising the embedded xpi path), so no warning about that anymore either.

sekret commented on 2018-07-26 19:43 (UTC)

Please add 'upx' and 'git' to makedepends, doesn't build without those!