There were no Fedora RPMs. So after some initial issues, I was able to create a fedora package.
https://lo-res.org/~scb/rpms/
Fedora RPM package #157
Nice work, thanks for your time.
Do you have any plans to officially maintain and publish it in the Fedora or Fusion repositories?
You should add the parameter "DEFINES+=DISTRIBUTION" to qmake, so it's labelled as distribution version. Please also take a look at the 2 other options for disabling/hiding the online updater.
(削除) Unfortunately on my Fedora it hangs at startup without displaying any errors, maybe a qsqlcipher problem... (削除ここまで)
Edit: qtserialbus should be qtserialport
Hi @LazyT, no I don't plan on making an official RPM. But time permitting, maybe a Fedora COPR repo.
I incorporated your suggestions and corrections and uploaded a new build. Builds with both rpmbuild and mock.
https://lo-res.org/~scb/rpms/
Sorry, there was a bug in the update options. This has now been fixed and the correct settings tab should be disabled/hidden.
%description Universal Blood Pressure Manager: manage your blood pressure data on, view/print/mail as chart/table/statistics, analyze via SQL queries, import/export data as CSV/JSON/XML/SQL and much more.
Should the "on" be removed, or is the "Windows/Linux/macOS" missing?
How do you build the source.tgz? Via git clone --recursive and tar it? Would it be easier to use https://codeberg.org/LazyT/ubpm/archive/<version>.tar.gz and define EXTHIDAPI?
The "on" should be removed. Thanks.
re. building: I do it exactly as you assumed. https://codeberg.org/LazyT/ubpm/archive/.tar.gz would be definitely easier/better. Also in regard of a possible future COPR repo.
With EXTHIDAPI I failed to compile without errors. That's why I ommited it for now.
The EXTHIDAPI may require INCLUDEPATH+=<path> and LIBS+=-L<path> to find the hidapi headers and libs.
Using the tar from releases without EXTHIDAPI should fail to compile.
I already tried INCLUDEPATH+=/usr/include/hidapi/ LIBS+=-L/usr/lib64/ before and failed. But now it seems to work.
Uploaded new RPM: https://lo-res.org/~scb/rpms/
Tried to build on clean Fedora 42 and found 2 problems:
BuildRequires: libgudev-develandRequires: libgudevis missing- when using the release tar
%autosetup -n ubpmis needed
re. the 1st problem:
Strange, i built it with both "rpmbuild -ba ~/rpmbuild/SPECS/ubpm.spec" and also "mock --rebuild rpmbuild/SRPMS/ubpm-git20251003-1.fc42.src.rpm ". Both without errors.
libgudev-devel is not even installed on my FC42. Though libgudev is.
My fault, sorry.
Looks like after installing qt6-qtcharts-devel the "Project ERROR: Package libudev not found, please install and try again!" is solved without the udev package because it's in systemd-devel.
So finally a COPR repo:
No due date set.
No dependencies set.
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?