Apnea Board Forum - CPAP | Sleep Apnea
OSCAR Release v1.1.0 [older version] - Printable Version

+- Apnea Board Forum - CPAP | Sleep Apnea (https://www.apneaboard.com/forums)
+-- Forum: Public Area (https://www.apneaboard.com/forums/Forum-Public-Area)
+--- Forum: Software Support Forum (https://www.apneaboard.com/forums/Forum-Software-Support-Forum)
+--- Thread: OSCAR Release v1.1.0 [older version] (/Thread-OSCAR-Release-v1-1-0-older-version)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15


RE: OSCAR Release v1.1.0 - untoutseul05 - 04-30-2020

End of the test with a fedora 32 (with Qt 5.13.2)
It works well :
After a fresh install, you have to install the packet :
- qconf
- qt5-qtbase-devel
- make
- qt5-linguist
- qt5-qtserialport
- qt5-qtserialport-devel
- zlib zlib-devel
- glut-devel

make works and you can test ~/OSCAR/build/oscar/OSCAR
The program runs and import data works.


RE: OSCAR Release v1.1.0 - johanh - 05-01-2020

I've updated my Fedora repo on https://copr.fedorainfracloud.org/coprs/johanh/oscar/

The latest 1.1.0 version is built for Fedora 32, 31 and 30.

I haven't yet managed to build 1.1.0 for CentOS 7, there are some issues.

Note that with my rpm spec, all dependencies are automatically installed when you install oscar.


RE: OSCAR Release v1.1.0 - untoutseul05 - 05-01-2020

(05-01-2020, 02:42 AM)johanh Wrote: I haven't yet managed to build 1.1.0 for CentOS 7, there is some issues.

I've tried also and don't managed like you did.
If I remember well, the Qt version was too old.
qmake --version tells the version of qmake but also the Qt version.


RE: OSCAR Release v1.1.0 - johanh - 05-01-2020

No, it has nothing to do with the QT version. It is just that Fedora 32 has more strict compiler arguments (possibly because of gcc 10.0). CentOS 7 also has different compiler arguments by default.

Now I also got it to build in CentOS 7 by adding:


Code:
QMAKE_CXXFLAGS+=-Wno-error=unused-parameter QMAKE_CFLAGS+=-Wno-error=strict-aliasing

So the copr repo is now completely updated to latest version 1.1.0 Grin


Now it only remains to create a repo for CentOS 8. Unfortunately, there is no quazip package available yet in CentOS 8, so I haven't decided yet what to do.


RE: OSCAR Release v1.1.0 - johanh - 05-01-2020

If someone is interested in the rpm spec, you can find it here: https://github.com/hevanaa/oscar-spec


RE: OSCAR Release v1.1.0 - slowriter - 05-01-2020

(05-01-2020, 02:42 AM)johanh Wrote: I've updated my Fedora repo on https://copr.fedorainfracloud.org/coprs/johanh/oscar/

The latest 1.1.0 version is built for Fedora 32, 31 and 30.

I haven't yet managed to build 1.1.0 for CentOS 7, there are some issues.

Note that with my rpm spec, all dependencies are automatically installed when you install oscar.

Great; thanks!

I can confirm it works as expected on fedora 32.


RE: OSCAR Release v1.1.0 - johanh - 05-01-2020

CentOS/RHEL 8 package is live in the copr repository.  Dancing

(Update: quazip now built in same repo, but doesn't have to be installed by the user)


RE: OSCAR Release v1.1.0 - sawinglogz - 05-01-2020

I don't think OSCAR 1.1.0 requires quazip any more. Is it showing up in a dependency somewhere?


RE: OSCAR Release v1.1.0 - johanh - 05-01-2020

Good point. It was only as a build dependency in my spec file. I need to check through dependencies again, makes it easier to build, for sure.

It doesn't matter for the built package, though. If it is not required, then it's just left unused when building.


RE: OSCAR Release v1.1.0 - johanh - 05-01-2020

(04-30-2020, 01:50 PM)untoutseul05 Wrote: End of the test with a fedora 32 (with Qt 5.13.2)
It works well :
After a fresh install, you have to install the packet :
- qconf
- qt5-qtbase-devel
- make
- qt5-linguist
- qt5-qtserialport
- qt5-qtserialport-devel
- zlib zlib-devel
- glut-devel

I can't find any direct dependency on (free)glut in sources. On the other hand the built OSCAR binary has a direct dependency on libGL, whereby in the spec file I have added build requirements for mesa-libGL-devel (among other). This package happens to have freeglut-devel as a dependency, so that is also installed automatically when installing build dependencies (with dnf builddep).

When I build on a clean machine, I first download the SRPM as user (dnf download --source oscar), then install it as user (rpm -ivh oscar-1.1.0-1.el8.src.rpm), then install build dependencies (sudo dnf builddep oscar.spec) and build the rpm (rpmbuild -ba oscar.spec). If it is an update, I replace the source tar ball and update the spec file accordingly. The same source rpm can be used to build in several environments (different Fedora versions and RHEL).