Package Details: dosage-tracker 1.7.0-2

Git Clone URL: https://aur.archlinux.org/dosage-tracker.git (read-only, click to copy)
Package Base: dosage-tracker
Description: Medication tracker for Linux
Upstream URL: https://github.com/diegopvlk/Dosage
Keywords: adwaita css gtk gtk4 javascript libadwaita medication meson tracker
Licenses: GPL-3.0-or-later
Submitter: begin-theadventu
Maintainer: begin-theadventu
Last Packager: begin-theadventu
Votes: 0
Popularity: 0.000000
First Submitted: 2023-10-15 22:19 (UTC)
Last Updated: 2024-09-20 22:35 (UTC)

Latest Comments

begin-theadventu commented on 2024-09-20 22:36 (UTC)

@vitaliikuzhdin Thank you!

vitaliikuzhdin commented on 2024-09-19 17:44 (UTC) (edited on 2024-09-20 22:37 (UTC) by vitaliikuzhdin)

$ io.github.diegopvlk.Dosage 
(io.github.diegopvlk.Dosage:263603): Gjs-CRITICAL **: 19:39:33.600: JS ERROR: Error: Requiring Xdp, version 1.0: Typelib file for namespace 'Xdp', version '1.0' not found
require@resource:///org/gnome/gjs/modules/esm/gi.js:16:28
@gi://Xdp:3:25
(io.github.diegopvlk.Dosage:263603): Gjs-CRITICAL **: 19:39:33.600: Module file:///usr/bin/io.github.diegopvlk.Dosage threw an exception

Adding libportal as a dependency solves the issue.

begin-theadventu commented on 2024-03-30 01:52 (UTC)

@Tio I had the same error in a clean chroot, but after many various tries I finally updated my system and also the chroot and no longer had the build error, so maybe try updating your system?

Tio commented on 2024-03-30 00:11 (UTC)

I cannot build it:

[20/21] Generating data/blueprints with a custom command
FAILED: data 
/usr/bin/blueprint-compiler batch-compile data/. ../Dosage/data ../Dosage/data/ui/window.blp ../Dosage/data/ui/med-window.blp ../Dosage/data/ui/preferences.blp ../Dosage/data/gtk/help-overlay.blp
error: Namespace Adw does not contain a type called Dialog
at ../Dosage/data/ui/med-window.blp line 5 column 5:
   5 |Adw.Dialog medWindow {
     |    ^
hint: Did you check your spelling?
hint: Are your dependencies up to date?

ninja: build stopped: subcommand failed.
INFO: autodetecting backend as ninja
INFO: calculating backend command to run: /usr/bin/ninja -C /var/tmp/pamac-build-tio/dosage-tracker/src/build
==> ERROR: A failure occurred in build().
    Aborting...

system7 commented on 2024-02-10 06:53 (UTC) (edited on 2024-02-10 06:54 (UTC) by system7)

It is working. Thank you!

begin-theadventu commented on 2024-02-10 01:32 (UTC)

@system7 Program blueprint-compiler found: NO

I added it to makedepends and now the package should build fine. Thanks for the report.

system7 commented on 2024-02-09 08:54 (UTC)

Hello, I got this error. How can I solve this issue?

+ exec meson setup --prefix /usr --libexecdir lib --sbindir bin --buildtype plain --auto-features enabled --wrap-mode nodownload -D b_lto=true -D b_pie=true -D python.bytecompile=1 Dosage build
The Meson build system
Version: 1.3.1
Source dir: /home/system7/.cache/yay/dosage-tracker/src/Dosage
Build dir: /home/system7/.cache/yay/dosage-tracker/src/build
Build type: native build
Project name: dosage
Project version: 1.5.3
Host machine cpu family: x86_64
Host machine cpu: x86_64
Program blueprint-compiler found: NO
Fallback to subproject blueprint-compiler which provides program blueprint-compiler

Dosage/data/meson.build:12:11: ERROR: Automatic wrap-based subproject downloading is disabled

A full log can be found at /home/system7/.cache/yay/dosage-tracker/src/build/meson-logs/meson-log.txt
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: dosage-tracker-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
dosage-tracker - exit status 4

begin-theadventu commented on 2023-11-28 22:34 (UTC) (edited on 2023-11-28 22:35 (UTC) by begin-theadventu)

@Lili1228 AUR helpers such as paru or yay depend on git anyway, and it is much easier to maintain with it.

However, if you would like to download a new file and change the sum for each release, I could add you as a co-maintainer.

Lili1228 commented on 2023-11-28 16:11 (UTC)

https://github.com/diegopvlk/Dosage/archive/refs/tags/v${pkgver}.tar.gz should be used as source, removing the make requirement for git.