LazyT/ubpm
Archived
16
62
Fork
You've already forked ubpm
14

Fedora RPM package #157

Open
opened 2025年09月21日 13:04:24 +02:00 by seb-sauer · 10 comments

There were no Fedora RPMs. So after some initial issues, I was able to create a fedora package.
https://lo-res.org/~scb/rpms/

There were no Fedora RPMs. So after some initial issues, I was able to create a fedora package. https://lo-res.org/~scb/rpms/
Owner
Copy link

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

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](https://codeberg.org/LazyT/ubpm#build-options) for disabling/hiding the online updater. <del>Unfortunately on my Fedora it hangs at startup without displaying any errors, maybe a qsqlcipher problem...</del> 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/

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/
Owner
Copy link

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?

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 "on" should be removed. Thanks. re. building: I do it exactly as you assumed. https://codeberg.org/LazyT/ubpm/archive/<version>.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.
Owner
Copy link

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.

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/

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/
Owner
Copy link

Tried to build on clean Fedora 42 and found 2 problems:

  • BuildRequires: libgudev-devel and Requires: libgudev is missing
  • when using the release tar %autosetup -n ubpm is needed
Tried to build on clean Fedora 42 and found 2 problems: - `BuildRequires: libgudev-devel` and `Requires: libgudev` is missing - when using the release tar `%autosetup -n ubpm` is 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.

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.
Owner
Copy link

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.

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: https://copr.fedorainfracloud.org/coprs/scb/ubpm/
Commenting is not possible because the repository is archived.
No Branch/Tag specified
master
1.13.0
1.12.0
1.11.0
1.10.0
1.9.0
1.8.0
1.7.4
1.7.3
1.7.2
1.7.1
1.7.0
1.6.2
1.6.1
1.6.0
1.5.0
1.4.0
1.3.0
1.2.0
1.1.0
1.0.6
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
2 participants Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
LazyT/ubpm#157
Reference in a new issue
LazyT/ubpm
No description provided.
Delete branch "%!s()"

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?