Package Details: lib32-x265 1:4.0-5

Git Clone URL: https://aur.archlinux.org/lib32-x265.git (read-only, click to copy)
Package Base: lib32-x265
Description: Open Source H265/HEVC video encoder. 32bit libraries.
Upstream URL: https://bitbucket.org/multicoreware/x265_git
Licenses: GPL
Provides: libx265.so
Submitter: llde
Maintainer: unit73e
Last Packager: unit73e
Votes: 12
Popularity: 0.083454
First Submitted: 2017-08-24 18:30 (UTC)
Last Updated: 2025-04-22 21:36 (UTC)

Required by (19)

Sources (1)

Latest Comments

1 2 3 4 5 Next › Last »

AmbassadorDave commented on 2025-04-23 22:05 (UTC)

@unit73e thank you kindly, the package installed just fine with your fix applied!

unit73e commented on 2025-04-22 21:40 (UTC)

@AmbassadorDave confirmed and fixed. just adding the --no-commit to cherry pick solves the problem.

Are they now required to install/update lib32-x265?

No. They can use the old binary. It's the same thing, this update just fixes the cmake4 problems.

Also, it doesn't hurt, but there is no need to increase the pkgrel when you increase the epoch.

@vitaliikuzhdin having checked the documentation a higher version with same epoch, wins. it's in pacman(8) manual. as you mentioned the epoch cannot go back anymore, it will stay 1 forever. At least until I or someone else messes up again and becomes 2.

AmbassadorDave commented on 2025-04-22 21:13 (UTC) (edited on 2025-04-22 21:13 (UTC) by AmbassadorDave)

Quite appreciative of your efforts, unit73e on maintaining this package, thank you. In updating to this latest version, I received a failure due to git requesting user.email & user.name which the system auto-detect was unable to populate:


==> Making package: lib32-x265 1:4.0-4 (Tue 22 Apr 2025 04:58:55 PM EDT)
[...snip...]
==> Starting prepare()...
Auto-merging source/CMakeLists.txt
Committer identity unknown

*** Please tell me who you are.

Run

  git config --global user.email "you@example.com"
  git config --global user.name "Your Name"

to set your account's default identity.
Omit --global to set the identity only in this repository.

fatal: unable to auto-detect email address (got 'dave@systemname.(none)')
==> ERROR: A failure occurred in prepare().
    Aborting...
 -> error making: lib32-x265-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
lib32-x265 - exit status 4

I do have github credentials, yet have never needed to set them system-wide before. Others using this package may not have them at all. Are they now required to install/update lib32-x265?

vitaliikuzhdin commented on 2025-04-20 21:53 (UTC)

@unit73e, I just noticed we are building from a git repo, which allows for a cleaner solution. I edited my message just a minute before you replied, so you probably didn't see it. If you want, you can update the PKGBUILD to use git cherry-pick without updating the pkgrel, but it's just cosmetic at this point.

Also, it doesn't hurt, but there is no need to increase the pkgrel when you increase the epoch.

Thank you for your very quick responses.

unit73e commented on 2025-04-20 21:53 (UTC)

@vitaliikuzhdin ok lets make it cleaner with a cherry pick and use `${url} instead of $url. Final version, I think.

unit73e commented on 2025-04-20 21:45 (UTC)

@vitaliikuzhdin yes cmake3 was still there. Need to pay more attention, good catch.

Now it should work with cmake4, and it's also a little bit more clean with a url variable and all options are in their own line. I think this is it. Btw I left it with source+= just because it was slightly prettier than a giant line, but with a variable it's ok.

vitaliikuzhdin commented on 2025-04-20 21:29 (UTC) (edited on 2025-04-20 21:43 (UTC) by vitaliikuzhdin)

@unit73e, you need to add epoch=1 to ensure everyone updates. Do not remove it with the next version; it can only be increased.

Also, the current PKGBUILD is still mistakenly using cmake3; you have probably forgotten to change that back.

Additionally, I somehow missed the fact that we are building from a git repo. In this case, it is probably easier not to add the patch to the sources and just use something like this:

prepare() {
  cd "${pkgname#lib32-*}"
  # Fix CMake build error with latest CMake 4.0 release
  git cherry-pick b354c009a60bcd6d7fc04014e200a1ee9c45c167
}

unit73e commented on 2025-04-20 21:23 (UTC)

@sl1pkn07 fixed. now it's 4.0-2. Unfortunately that means whoever updated to 4.1 needs to downgrade manually. Thanks for noticing, I forgot to undo my update version experiment.

@vitaliikuzhdin your suggestion was clever and worked very well. It's compatible with cmake4 now.

unit73e commented on 2025-04-20 21:12 (UTC)

@sl1pkn07 because I messed up. I'll fix it with cmake4 if possible.