Package Details: ubpm-git 1.8.0.r6.f0deede-2

Git Clone URL: https://aur.archlinux.org/ubpm-git.git (read-only, click to copy)
Package Base: ubpm-git
Description: Universal Blood Pressure Manager
Upstream URL: https://codeberg.org/LazyT/ubpm
Licenses: GPL3
Conflicts: ubpm
Provides: ubpm
Submitter: pspacek
Maintainer: pspacek
Last Packager: pspacek
Votes: 0
Popularity: 0.000000
First Submitted: 2023-08-25 20:23 (UTC)
Last Updated: 2023-08-30 15:56 (UTC)

Dependencies (6)

Required by (0)

Sources (2)

Latest Comments

pspacek commented on 2025-05-12 11:33 (UTC)

@entith Thanks! I can see you've done tone of work on it. Would you be willing to become co-maintainer of this package?

entith commented on 2025-05-07 23:22 (UTC)

Looks like the install-to-opt patch isn't needed anymore and there is a git submodule needed now.

diff --git a/PKGBUILD b/PKGBUILD
index 559e8d2..5b8f861 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
 # Maintainer: Petr Spacek <arch@petr.spackovi.net>
 pkgname='ubpm-git'
-pkgver=1.8.0.r6.f0deede
-pkgrel=2
+pkgver=1.12.0.r12.94d85d7
+pkgrel=1
 pkgdesc="Universal Blood Pressure Manager"
 arch=(x86_64)
 url="https://codeberg.org/LazyT/ubpm"
@@ -10,8 +10,16 @@ makedepends=('git' 'qt6-base' 'qt6-charts' 'qt6-connectivity' 'qt6-serialport' '
 provides=("${pkgname%-git}")
 conflicts=("${pkgname%-git}")
 options=('debug')
-source=('git+https://codeberg.org/LazyT/ubpm.git' 'install-to-opt.patch')
-sha256sums=('SKIP' '3162370edbc613a54bb25a89ac6f51d2ab68aa1bb927453257e385390e750de5')
+source=(
+   'git+https://codeberg.org/LazyT/ubpm.git' 
+   'git+https://github.com/libusb/hidapi'
+   'install-to-opt.patch'
+)
+sha256sums=(
+   'SKIP'
+   'SKIP'
+   '3162370edbc613a54bb25a89ac6f51d2ab68aa1bb927453257e385390e750de5'
+)

 pkgver() {
    cd "$srcdir/${pkgname%-git}"
@@ -20,8 +28,9 @@ pkgver() {

 prepare() {
    cd "$srcdir/${pkgname%-git}"
-   # hack to workaround https://codeberg.org/LazyT/ubpm/issues/45
-   patch --directory="${srcdir}//${pkgname%-git}" --forward --strip=1 --input="${srcdir}/install-to-opt.patch"
+  git submodule init
+  git config submodule.sources/plugins/shared/hidapi.url "file://$srcdir/hidapi"
+  git -c protocol.file.allow=always submodule update
 }

 build() {

stronnag commented on 2025-05-04 08:56 (UTC)

Fails as:

==> Starting prepare()...
patching file sources/mainapp/mainapp.pro
Hunk #1 FAILED at 33.
Hunk #2 FAILED at 67.
2 out of 2 hunks FAILED -- saving rejects to file sources/mainapp/mainapp.pro.rej
==> ERROR: A failure occurred in prepare().
    Aborting...

pspacek commented on 2023-10-15 09:11 (UTC)

FTR build currently fails because of https://codeberg.org/LazyT/ubpm/issues/62 and other changes done in https://codeberg.org/LazyT/ubpm/issues/45. I'm trying to reach author to see if we need to patch it or if it can be fixed upstream.

<deleted-account> commented on 2023-09-09 17:34 (UTC)

Hi,

I'm the author of UBPM. Maybe I can help:

1) Project WARNING: SQLCipher

To encrypt the database UBPM uses qsqlcipher. At the moment you need to - checkout git (git clone https://github.com/sjemens/qsqlcipher-qt5 --branch 6.4) - download patch (https://github.com/sjemens/qsqlcipher-qt5/files/12002432/CMakeLists.txt) - build the plugin via cmake (libqsqlcipher.so) - install into Qt installation or bundle with ubpm

UBPM works fine without this, but only with unencrypted database.

2) Version 1.9.0

Current versions uses hardcoded paths and some other things like "make install" builds an AppImage instead installing it to the system.

Version 1.9.0 will fix this and make it more compatible (flatpak, distros).

I would be happy to see ubpm as a direct part of distributions. If you have any questions, please contact me.

pspacek commented on 2023-08-30 15:58 (UTC)

I've added missing qt6-tools make dependency, you can give it a try. I don't have time to test on clean system so there might be some other dependency missing - please poke me if it does not build for you.

dynobo commented on 2023-08-30 14:22 (UTC)

I get the following error during installation:

make[3]: Leaving directory '/var/tmp/pamac-build-holger/ubpm-git/src/ubpm/sources/plugins/vendor/omron/hem-790it'
make[2]: Leaving directory '/var/tmp/pamac-build-holger/ubpm-git/src/ubpm/sources/plugins/vendor/omron'
make[1]: Leaving directory '/var/tmp/pamac-build-holger/ubpm-git/src/ubpm/sources/plugins/vendor'
cd mainapp/ && ( test -e Makefile || /usr/bin/qmake6 -o Makefile /var/tmp/pamac-build-holger/ubpm-git/src/ubpm/sources/mainapp/mainapp.pro ) && make -f Makefile 
Project WARNING: SQLCipher (https://github.com/sjemens/qsqlcipher-qt5) missing, encryption not available!
Project ERROR: Unknown module(s) in QT: help
make: *** [Makefile:73: sub-mainapp-make_first] Error 3
==> ERROR: A failure occurred in build().
    Aborting...

(I tried installing libqsqlcipher, but that didn't make a difference)