Package Details: qtalarm 1:2.5.1-3

Git Clone URL: https://aur.archlinux.org/qtalarm.git (read-only, click to copy)
Package Base: qtalarm
Description: Cross-platform Alarm Clock written with QT5
Upstream URL: https://random-hackery.net/page/qtalarm/
Licenses: GPL3
Submitter: CountMurphy
Maintainer: CountMurphy
Last Packager: CountMurphy
Votes: 14
Popularity: 0.000946
First Submitted: 2012-10-14 23:04 (UTC)
Last Updated: 2024-01-31 16:57 (UTC)

Pinned Comments

CountMurphy commented on 2020-11-03 16:30 (UTC) (edited on 2020-11-03 17:16 (UTC) by CountMurphy)

@mosgerila. This is odd. I'm getting the same error, though the keys do exist on the MIT keyserver. I'll work on figuring out whats wrong, but in the mean time you can import the key manually yourself. You can find a copy at https://random-hackery.net/data/gpg.asc

EDIT: Ok, I got it working. According to https://wiki.archlinux.org/index.php/GnuPG#Use_a_keyserver (the tip section),

hkp-cacert /usr/share/gnupg/sks-keyservers.netCA.pem

must be added to your ~/.gnupg/dirmngr.conf file, and then kill the old dirmngr process. After that gpg --recv-keys E41FF9C889B141CC works.

Why the hell arch doesn't have this config by default I don't know. But I can confirm this fixed it for me.

Latest Comments

1 2 3 4 5 Next › Last »

dreieck commented on 2024-01-26 11:14 (UTC) (edited on 2024-01-26 13:41 (UTC) by dreieck)

@dreieck, for the build error you cannot just download the PKGBUILD file. You need to properly download the package using a git clone https://aur.archlinux.org/qtalarm.git. Many aur packages contain other files that will be skipped if you don't.

I do download as you say.

(In fact I used both: Either via yay -S qtalarm, or a manual download exactly as you said, and then cd qtalarm, and then makepkg -sfi.)

But still you need to add all the files that are used (even if they are served from the AUR git clone) to the source array and then use "${srcdir}/[...]" to refer to them. Which you have not done. The issue is not that I have not downloaded the file (in fact, qtalarm.desktop is there), but that you assumptions about where build takes place and which files are copied to the build directory by makepkg are wrong (your assumptions break if $BUILDDIR is set in /etc/makepkg.conf, which must be supported).

Regards!

CountMurphy commented on 2024-01-23 15:53 (UTC)

Also apologies, only your comment about the quotes showed up in my email, otherwise I would have addressed everything all at once.

CountMurphy commented on 2024-01-23 15:28 (UTC)

@dreieck, for the build error you cannot just download the PKGBUILD file. You need to properly download the package using a git clone https://aur.archlinux.org/qtalarm.git. Many aur packages contain other files that will be skipped if you don't.

As for $pkgver, when I initially made the aur package over 10 years ago, I didn't know what I was doing and used the git commit as the package version. By the time I realized that mistake, the package already had a few users. Since the package release is currently at a 2, and the commit hash started with a 4, those users would never see an update. So I just tacked on the proper version number after the hash. $epoch is a new one for me. That may be the solution I never found. I'll play around with it.

dreieck commented on 2024-01-23 11:07 (UTC) (edited on 2024-01-23 11:29 (UTC) by dreieck)

Ahoj,

I see you updated the package, but this build error is still there. qtalarm.desktop is still not handled correctly.

And $pkgver is still bogous.

And a note: You now have a ""$pkgdir"/usr/bin/$pkgname". In fact, this unquotes $pkgdir. I think this is not intended and you want to have "$pkgdir/usr/bin/$pkgname" instead.

Regards and thanks for the package!

dreieck commented on 2024-01-22 12:22 (UTC)

Please quote "$pkgdir", since it might contain e.g. whitespace.

dreieck commented on 2024-01-22 12:21 (UTC)

Build fails for me:

==> Starting package()...
install: cannot stat '/tmp/makepkg/build/qtalarm.desktop': No such file or directory
==> ERROR: A failure occurred in package().

Turns out that you forgot to add qtalarm.desktop to the source array, and you assume that ${startdir}/qtalarm.desktop is at ${BUILDDIR}/qtalarm.desktop.

This assumption is wrong if $SRCDEST and $BUILDDIR are set by the user!

Please add qtalarm.desktop to the source array and change "${BUILDDIR}/${pkgname}".desktop to "${srcdir}/${pkgname}".desktop.

Regards!

dreieck commented on 2024-01-22 12:07 (UTC)

Official upstream package version is 2.5.1.

Why do you prefix 4700238 to $pkgver?

You should remove it (don't forget to increment $epoch then).

If it is some kind of build number, then please append it to $pkgver, not prepend.

Regards!

CountMurphy commented on 2023-09-23 21:24 (UTC)

That sounds reasonable to me. I'll make the change

frankspace commented on 2023-09-23 21:05 (UTC)

The official readme states that noto-fonts is optional, so may I respectfully suggest that noto-fonts be made an optdepend instead of a dependency?