Package Details: optimus-manager-git 2:785.python3.13-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: 134
Popularity: 0.22
First Submitted: 2019-01-20 22:11 (UTC)
Last Updated: 2025-04-06 02:26 (UTC)

Required by (4)

Sources (1)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 .. 13 Next › Last »

Bad-Mad commented on 2024-07-13 16:33 (UTC)

OMG! Make a simple thing big. Think befor writing.

gromit commented on 2024-07-13 15:30 (UTC) (edited on 2024-07-13 15:50 (UTC) by gromit)

Moderation Notice: With the recent changes to it this package does not conform to the Arch Package Guidelines anymore (downloads and executes build instructions, variable naming etc.), please fix this and also have a look at https://wiki.archlinux.org/title/VCS_package_guidelines, otherwise this package will be deleted.

Edit: Okey wow, I have missed some of the changes to this PKGBUILD and reverted them all because it's a somewhat popular package.

Having something like this (additionally to what I have mentioned before) is just a big no-no:

    for Backup in "${Backups[@]}}"; do
        rm --force "${Backup}."{pacnew,pacsave}*
    done

es20490446e commented on 2024-07-10 13:46 (UTC)

Does using --print-format prevent the translation issue?

pobrn commented on 2024-07-10 11:09 (UTC)

One should probably use pacman --sync --print-format "%v" python to get the version of the python package.

pobrn commented on 2024-07-10 11:04 (UTC)

The PKGBUILD does not handle the case where "Version" in the output of pacman --sync --info is translated, resulting in the error: Failed to retrieve: PythonVersion.

Bad-Mad commented on 2024-07-10 04:28 (UTC)

Yepp!

THX

es20490446e commented on 2024-07-10 02:40 (UTC)

Fixed: Check now.

Bad-Mad commented on 2024-07-09 15:33 (UTC)

Maybe the ":" in the version name is the problem

pacaur -Si optimus-manager-git
:: Package optimus-manager-git not found in repositories, trying AUR...
Repository     : aur
Name           : optimus-manager-git
Version        : 1:r728.97e4f15.python3.12-1 [installed: 1:r730.57596e0.python3.12-1]
URL            : https://github.com/Askannz/optimus-manager
AUR Page       : https://aur.archlinux.org/packages/optimus-manager-git
Depends On     : dbus-python  glxinfo  python  xorg-xrandr
Makedepends    : git  python-build  python-installer  python-setuptools  python-wheel
Provides       : optimus-manager
Conflicts With : bumblebee  optimus-manager
Optional Deps  : bbswitch  acpi_call
Licenses       : MIT
Votes          : 132
Popularity     : 3.178647
Maintainer     : Askannz
Submitted      : So 20 Jan 2019 23:11:55 CET
Last Modified  : Fr 05 Jul 2024 04:25:45 CEST
Description    : Allows switching between the integrated and the dedicated graphics cards on NVIDIA Optimus laptops

Bad-Mad commented on 2024-07-09 15:22 (UTC)

Here is the output. But I think that is only a problem of the terminal language. If I set it to "LANG=en_US.UTF-8" everything works fine.


Output:

pacman --sync --info python
Repositorium             : core
Name                     : python
Version                  : 3.12.4-1
Beschreibung             : The Python programming language
Architektur              : x86_64
URL                      : https://www.python.org/
Lizenzen                 : PSF-2.0
Gruppen                  : Nichts
Stellt bereit            : python3  python-externally-managed
Hängt ab von             : bzip2  expat  gdbm  libffi  libnsl  libxcrypt  openssl  zlib  tzdata  mpdecimal
Optionale Abhängigkeiten : python-setuptools: for building Python packages using tooling that is usually bundled with Python
                           python-pip: for installing Python packages using tooling that is usually bundled with Python
                           python-pipx: for installing Python software not packaged on Arch Linux
                           sqlite: for a default database integration
                           xz: for lzma
                           tk: for tkinter
In Konflikt mit          : Nichts
Ersetzt                  : python3  python-externally-managed
Größe des Downloads      : 12,57 MiB
Installationsgröße       : 70,24 MiB
Packer                   : Jelle van der Waa <jelle@archlinux.org>
Erstellt am              : Fr 07 Jun 2024 08:33:07 CEST
Verifiziert durch        : SHA-256-Summe  Signatur

OR:

LANG=en_US.UTF-8 pacman --sync --info python
Repository      : core
Name            : python
Version         : 3.12.4-1
Description     : The Python programming language
Architecture    : x86_64
URL             : https://www.python.org/
Licenses        : PSF-2.0
Groups          : None
Provides        : python3  python-externally-managed
Depends On      : bzip2  expat  gdbm  libffi  libnsl  libxcrypt  openssl  zlib  tzdata  mpdecimal
Optional Deps   : python-setuptools: for building Python packages using tooling that is usually bundled with Python
                  python-pip: for installing Python packages using tooling that is usually bundled with Python
                  python-pipx: for installing Python software not packaged on Arch Linux
                  sqlite: for a default database integration
                  xz: for lzma
                  tk: for tkinter
Conflicts With  : None
Replaces        : python3  python-externally-managed
Download Size   : 12.57 MiB
Installed Size  : 70.24 MiB
Packager        : Jelle van der Waa <jelle@archlinux.org>
Build Date      : Fri 07 Jun 2024 08:33:07 AM CEST
Validated By    : SHA-256 Sum  Signature

es20490446e commented on 2024-07-09 15:01 (UTC)

What output do you get with: pacman --sync --info python