Package Details: optimus-manager-git 2:0-1

Git Clone URL: https://aur.archlinux.org/optimus-manager-git.git (read-only, click to copy)
Package Base: optimus-manager-git
Description: Allows using Nvidia Optimus laptop graphics
Upstream URL: https://github.com/Askannz/optimus-manager
Licenses: MIT
Conflicts: bumblebee, envycontrol, nvidia-exec, nvidia-switch, nvidia-xrun, optimus-manager, switcheroo-control
Provides: optimus-manager
Submitter: dude
Maintainer: Askannz (es20490446e)
Last Packager: es20490446e
Votes: 136
Popularity: 0.94
First Submitted: 2019-01-20 22:11 (UTC)
Last Updated: 2025-05-14 04:33 (UTC)

Required by (4)

Sources (1)

Latest Comments

1 2 3 4 5 6 .. 14 Next › Last »

es20490446e commented on 2025-05-21 13:43 (UTC)

What happened is that I zeroed the pkgver, and AUR managers were using that.

I did so because the generated pkgver would be wrong when building the package from GitHub, when cloning only the last commit.

rcassani commented on 2025-05-21 12:09 (UTC)

@solarisfire, I think you're into something, but rather of pkgver, what it seems it was missing was bumping up pkgrel

es20490446e commented on 2025-05-20 15:03 (UTC)

Maybe AUR managers shall be doing a checksum of the "PKGBUILD" instead.

curl --silent https://aur.archlinux.org/cgit/aur.git/plain/PKGBUILD?h=optimus-manager-git | sha1sum

solarisfire commented on 2025-05-20 14:03 (UTC) (edited on 2025-05-20 14:03 (UTC) by solarisfire)

I have a theory it's something to do with the way this "pkgver = 0" change to automate things works with package manager cache's.

They don't see number go up, so don't think they need to refresh their cache. Shouldn't be too big of a headache if users know to clear their cache to get the latest version.

rcassani commented on 2025-05-20 13:57 (UTC)

@es20490446e, @solarisfire Same thing happened with paru. After cleaning its cache everything worked fine

es20490446e commented on 2025-05-16 16:45 (UTC)

I would report this to yay developers.

solarisfire commented on 2025-05-16 14:06 (UTC) (edited on 2025-05-16 14:35 (UTC) by solarisfire)

Weird. This was during an update and I told it to clean build, so I wonder why the version I'm getting is outdated...

EDIT: Cleared the cache, and now it installs fine... No idea why yay wouldn't fetch the new PKGBUILD and just wanted to use it's cached version.

es20490446e commented on 2025-05-16 13:53 (UTC)

@solarisfire

You are using and old version of the PKGBUILD.

solarisfire commented on 2025-05-16 09:06 (UTC)

This is erroring if logind is not installed:

copying optimus_manager/hooks/post_xorg_start.py -> build/lib/optimus_manager/hooks
copying optimus_manager/config_schema.json -> build/lib/optimus_manager
==> Entering fakeroot environment...
==> Starting package()...
install: cannot stat 'systemd/logind/10-optimus-manager.conf': No such file or directory
==> ERROR: A failure occurred in package().
    Aborting...
 -> error making: optimus-manager-git-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
optimus-manager-git - exit status 4

es20490446e commented on 2025-05-07 20:49 (UTC)

Fixed.