Package Details: refind-theme-regular-git r67.11300ef-1

Git Clone URL: https://aur.archlinux.org/refind-theme-regular-git.git (read-only, click to copy)
Package Base: refind-theme-regular-git
Description: A simplistic clean and minimal theme for rEFInd
Upstream URL: https://github.com/bobafetthotmail/refind-theme-regular
Licenses: custom:OFL, AGPL3, custom:Ubuntu Font License 1.0
Submitter: codemonkey800
Maintainer: codemonkey800 (Shatur)
Last Packager: Shatur
Votes: 9
Popularity: 0.000000
First Submitted: 2016-11-30 02:54 (UTC)
Last Updated: 2022-01-06 18:14 (UTC)

Dependencies (2)

Required by (0)

Sources (1)

Latest Comments

1 2 3 Next › Last »

Shatur commented on 2022-01-06 18:14 (UTC)

Okay, updated the package, thanks!

prettyvanilla commented on 2022-01-05 17:30 (UTC) (edited on 2022-01-05 17:31 (UTC) by prettyvanilla)

It didn't for me when I rebuilt and upgraded the package - I don't believe the backup mechanism is meant to work when the file in question changes location altogether, or at least it doesn't apply here since the theme.conf won't have been modified by the user. Thanks for the reminder regarding the icons, I was indeed too inattentive to fix them up at first.

KdU7aq commented on 2022-01-05 16:33 (UTC)

@prettyvanilla: Indeed, you're right. One question: It only happens when the package is built and installed for the first time, doesn't it?

Because when updating it, shouldn't

backup=(boot/EFI/refind/refind-theme-regular/theme.conf)

retain the current theme.conf and avoid the breakage?

Also, don't forget to edit any manual boot stanza that has icon /path/to/icon.png to include the new themes directory.

prettyvanilla commented on 2022-01-05 16:02 (UTC)

Building the package right now does result in a broken configuration though, as the current upstream theme.conf references all resources via the new themes directory, as I learned when I was greeted with a stock black refind menu last reboot. ^^ So the changes proposed by @0axde67 will be necessary in any case, maybe with a clear notice/warning.

Shatur commented on 2022-01-05 13:01 (UTC)

@0axde67, I just afraid that even if I put a warning, some people could miss it.

KdU7aq commented on 2022-01-05 11:43 (UTC)

@Shatur it's totally up to you. Personally I'd stick with upstream changes but this one is really not a big deal.

Shatur commented on 2022-01-03 20:53 (UTC)

@0axde67 then maybe leave it as is for now? It works right now, but will break user configurations :(

KdU7aq commented on 2022-01-03 17:24 (UTC)

@Shatur: Yes, it would require a manual intervention of course.

Shatur commented on 2022-01-03 09:37 (UTC)

@0axde67 I afraid that this will break existing user configurations. In their refind.conf they use include refind-theme-regular/theme.conf, but after the change they should use include themes/refind-theme-regular/theme.conf.

KdU7aq commented on 2022-01-02 21:22 (UTC)

@Shatur

Recent commits introduced a new themes directory:

As a result, fonts and icons directories as well as theme.conf are no longer installed to /boot/EFI/refind/refind-theme-regular/ but to /boot/EFI/refind/themes/refind-theme-regular/.


Disclaimer: I'm far from being familiar with PKGBUILDs but I think this should do:

# Old
backup=(boot/EFI/refind/refind-theme-regular/theme.conf)

# New
backup=(boot/EFI/refind/themes/refind-theme-regular/theme.conf)
# Old
package() {
  _refind_home="$pkgdir/boot/EFI/refind"

# New
package() {
  _refind_home="$pkgdir/boot/EFI/refind/themes"
# Old
 warning 'To enable the theme add "include refind-theme-regular/theme.conf" [...]'

# New
  warning 'To enable the theme add "include themes/refind-theme-regular/theme.conf" [...]'
}

Hopefully a more experimented user can check.

The current PKGBUILD is still working as expected regardless, I thought it would be a good idea to update it to reflect these changes. Not to mention the refind directories structure looks cleaner like this.