Package Base Details: protonmail-bridge

Git Clone URL: https://aur.archlinux.org/protonmail-bridge.git (read-only, click to copy)
Keywords: bridge email mail protonmail protonmail-bridge
Submitter: aimileus
Maintainer: ali.molaei (PMBridge-Devs, BenTheTechGuy, carsme)
Last Packager: BenTheTechGuy
Votes: 107
Popularity: 3.41
First Submitted: 2018-03-02 16:03 (UTC)
Last Updated: 2024-03-21 17:22 (UTC)

Pinned Comments

carsme commented on 2023-12-08 22:34 (UTC) (edited on 2023-12-08 22:35 (UTC) by carsme)

NOTICE: This pkgbase is now produces two packages:

  • protonmail-bridge-core: Containing the core daemon & CLI program.
  • protonmail-bridge: Containing the Qt desktop application.

The second package depends on the first. If you don't have a need for the desktop application, you can now choose to only install protonmail-bridge-core.

This packaging change should be seamless and no action should be required before or after the upgrade.

Thanks to @ali.molaei and @BenTheTechGuy for the feedback regarding this change!

bthompson commented on 2021-06-17 04:13 (UTC)

Just having pass installed with a key set up wasn't enough for me, I had to follow this: https://pychao.com/2020/06/10/update-on-using-protonmail-bridge-on-headless-wordpress-linux-servers/

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 11 .. 27 Next › Last »

ali.molaei commented on 2023-12-05 11:52 (UTC)

@betashaft @aDogCalledSpot I still can make the package with no errors, don't know what you are dealing with, did you try a clean build?

ali.molaei commented on 2023-12-05 11:14 (UTC)

@carsme I read the changes you made and I agree, added you as a co-maintainer

betashaft commented on 2023-12-04 19:48 (UTC)

I have the same issue as @aDogCalledSpot, and I don't see any fix for it as of yet. Any updates on how to resolve?

carsme commented on 2023-11-21 16:15 (UTC)

Hey,

I've spent some time reverse engineering the build process and come up with an alternative PKGBUILD for this package, available here: https://github.com/carlsmedstad/protonmail-bridge. It is more compliant with the packaging guidelines and resolves a few pain-points:

  • All bundling is removed. This removes the need for the patches qt-dir.patch and modern-icu.patch and greatly reduces the installed size (down to 30.18 MiB).

  • The the vcpkg dependency is removed and system dependencies are dynamically linked to instead of built source. This massively reduces the build time and is generally how Arch Linux packages should handle dependencies.

I would need some help testing the new PKGBUILD first, but I'd gladly contribute it if you'd add me as co-maintainer. Thanks!

aDogCalledSpot commented on 2023-11-20 08:40 (UTC)

For me the build fails with

cp -pf ./dist/bridge.svg cmd/Desktop-Bridge/deploy/linux/logo.svg
cp -pf ./LICENSE cmd/Desktop-Bridge/deploy/linux/
cp -pf ./Changelog.md cmd/Desktop-Bridge/deploy/linux/
cp -pf ./dist/proton-bridge.desktop cmd/Desktop-Bridge/deploy/linux/
mv proton-bridge cmd/Desktop-Bridge/deploy/linux/
mv: cannot stat 'proton-bridge': No such file or directory
make: *** [Makefile:134: cmd/Desktop-Bridge/deploy/linux] Error 1

Relevant line in Makefile

There don't seem to be any failures before that.

ali.molaei commented on 2023-11-16 21:27 (UTC)

@k31n_n4m3 thanks for letting me know, should be fixed now

k31n_n4m3 commented on 2023-11-16 20:00 (UTC)

unzip and python are missing from makedepends:

cd ./utils/ && ./credits.sh bridge
go build -tags='' -ldflags '-X github.com/ProtonMail/proton-bridge/v3/internal/constants.Version=3.6.1+git -X github.com/ProtonMail/proton-bridge/v3/internal/constants.Revision=248fbf5e33 -X github.com/ProtonMail/proton-bridge/v3/internal/constants.Tag=v3.6.1 -X github.com/ProtonMail/proton-bridge/v3/internal/constants.BuildTime=2023-11-16T20:21:12+0100 -X "github.com/ProtonMail/proton-bridge/v3/internal/constants.FullAppName=Proton Mail Bridge" -X github.com/ProtonMail/proton-bridge/v3/internal/constants.BuildEnv=dev' -o "proton-bridge" "/build/protonmail-bridge/src/proton-bridge/cmd/launcher/"
which: no unzip in (/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/build/go/bin/)
Please install unzip
make: *** [Makefile:218: check-build-essentials] Error 1
make: *** Waiting for unfinished jobs....
-- Using source at /build/protonmail-bridge/src/proton-bridge/extern/vcpkg/buildtrees/upb/src/07a7e882e2-67ea24d098.clean
CMake Error at scripts/cmake/vcpkg_find_acquire_program.cmake:163 (message):
  Could not find python3.  Please install it via your package manager:

      sudo apt-get install python3
Call Stack (most recent call first):
  ports/upb/portfile.cmake:14 (vcpkg_find_acquire_program)
  scripts/ports.cmake:147 (include)


error: building upb:x64-linux failed with: BUILD_FAILED

BenTheTechGuy commented on 2023-11-15 13:33 (UTC)

@ali.molaei, sure

usenetuser commented on 2023-11-15 11:06 (UTC)

Great news @ali.molaei & @BenTheTechGuy.

ali.molaei commented on 2023-11-15 10:10 (UTC)

Thanks @BenTheTechGuy it works fine for me too, I Updated the package, Would you want to be a co-maintainer of this package?