Package Details: oscar-git ..r4286.32bef5b8-1

Git Clone URL: https://aur.archlinux.org/oscar-git.git (read-only, click to copy)
Package Base: oscar-git
Description: Open-source, cross platform, sleep tracking software with a focus on monitoring CPAP treatment. Fork of the sleepyhead project.
Upstream URL: https://gitlab.com/pholy/OSCAR-code
Licenses: GPL
Provides: oscar
Submitter: harre
Maintainer: harre
Last Packager: harre
Votes: 9
Popularity: 0.55
First Submitted: 2019-04-23 22:30 (UTC)
Last Updated: 2023-08-29 23:20 (UTC)

Latest Comments

1 2 3 Next › Last »

harre commented on 2024-12-01 11:12 (UTC)

@gcb0 You have already answered what the differences are between the packages.

Your next step now is to now go to the oscar repo and see for yourself how often new version tags come and what features/bugfixes are in master and not yet released.

gcb0 commented on 2024-12-01 01:24 (UTC)

Hi. Should I adopt this package or oscar? which also seem to build from git but pinning by version tag instead of git id.

pikl commented on 2023-09-05 17:43 (UTC)

Hi @harre. The patch needs to be part of the sources array otherwise it is not part of your AUR package. Without this it will not appear in the $srcdir directory. The only reason this works for you is because git apply ../../*.patch reaches back to the directory above $srcdir to the AUR repo which contains the patch. This will not work for any other build methods, e.g. clean chroot and likely AUR helpers (although I've not tried). Hope this makes sense.

harre commented on 2023-09-04 21:09 (UTC)

@piki How do you build it? It does a cd before the git apply.

I just build the package with "makepkg -si" and it just churns on.

Regarding the patch missing in sources= My idea was to have optional patches added when needed, just adding *.patch and run updatepkgsums doesn't pick it up sadly.

pikl commented on 2023-09-04 20:31 (UTC)

odr-fix.patch is missing from sources=. Also the patch function is reaching back one directory too far, needs to be git apply ../*.patch.

harre commented on 2023-08-29 23:27 (UTC)

I get the same error, I've reported this to upstream

https://gitlab.com/pholy/OSCAR-code/-/issues/87

and have added an ignore of ODR-violations until they have fixed it.

ak2021 commented on 2023-08-15 15:26 (UTC)

Any idea how to fix this error

SleepLib/loader_plugins/resvent_loader.cpp:180:8: error: type ‘struct UsageData’ violates the C++ One Definition Rule [-Werror=odr]
  180 | struct UsageData {
      |        ^
statistics.cpp:945:8: note: a different type is defined in another translation unit
  945 | struct UsageData {
      |        ^
SleepLib/loader_plugins/resvent_loader.cpp:181:13: note: the first difference of corresponding definitions is field ‘number’
  181 |     QString number{};
      |             ^
statistics.cpp:949:11: note: a field with different name is defined in another translation unit
  949 |     QDate date;
      |           ^
lto1: all warnings being treated as errors
lto-wrapper: fatal error: g++ returned 1 exit status
compilation terminated.
/usr/bin/ld: error: lto-wrapper failed
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:727: OSCAR] Error 1
make[1]: Leaving directory '/home/user/.cache/yay/oscar-git/src/OSCAR-code/oscar'
make: *** [Makefile:47: sub-oscar-make_first-ordered] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: oscar-git-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
oscar-git - exit status 4

harre commented on 2022-06-30 18:02 (UTC)

This follows the master branch from git so it's never out of date.

harre commented on 2021-05-12 16:45 (UTC)

@skypixel: thanks for spotting it, I have pushed update where adding it as optional dependency

skypixel commented on 2021-05-12 05:57 (UTC)

Thanks for packaging this. I suggest to add qt5-wayland as optional dependency (optdepends in PKGBUILD), since it's needed when using Wayland instead of X11 (or, at least, I was having issues before installing it as suggested here).