Update package version to 127

This commit is contained in:
2025-12-19 18:16:33 +02:00
parent 7f56957646
commit 23b8034609
3 changed files with 3 additions and 44 deletions
+3 -3
View File
@@ -1,7 +1,7 @@
name: polkit name: polkit
description: Toolkit for defining and handling authorizations description: Toolkit for defining and handling authorizations
version: "126" version: "127"
revision: 4 revision: 1
url: https://github.com/polkit-org/polkit url: https://github.com/polkit-org/polkit
license: LGPL2-or-later license: LGPL2-or-later
architecture: any architecture: any
@@ -26,4 +26,4 @@ downloads:
- url: https://github.com/polkit-org/polkit/archive/${BPM_PKG_VERSION}/polkit-${BPM_PKG_VERSION}.tar.gz - url: https://github.com/polkit-org/polkit/archive/${BPM_PKG_VERSION}/polkit-${BPM_PKG_VERSION}.tar.gz
extract_to: ${BPM_SOURCE} extract_to: ${BPM_SOURCE}
extract_strip_components: 1 extract_strip_components: 1
checksum: 2814a7281989f6baa9e57bd33bbc5e148827e2721ccef22aaf28ab2b376068e8 checksum: 9b7bc16f086479dcc626c575976568ba4a85d34297a750d8ab3d2e57f6d8b988
-34
View File
@@ -1,34 +0,0 @@
From 55ee1b70456eca8281dda9612c485c619122f202 Mon Sep 17 00:00:00 2001
From: Jan Rybar <[email protected]>
Date: Tue, 14 Jan 2025 13:47:54 +0100
Subject: [PATCH] meson: fix unused dependency, fixes elogind FTBFS
polkit-126 could not be built from source with elogind session service due
to wrong dependencies in meson.build.
Author: @markhindley
---
src/polkitbackend/meson.build | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/src/polkitbackend/meson.build b/src/polkitbackend/meson.build
index fc35e195..a807b41b 100644
--- a/src/polkitbackend/meson.build
+++ b/src/polkitbackend/meson.build
@@ -37,7 +37,6 @@ deps += thread_dep
if enable_logind
sources += files('polkitbackendsessionmonitor-systemd.c')
-
deps += logind_dep
else
sources += files('polkitbackendsessionmonitor.c')
@@ -73,7 +72,7 @@ executable(
program,
program + '.c',
include_directories: top_inc,
- dependencies: libpolkit_gobject_dep,
+ dependencies: deps,
c_args: c_flags,
link_with: libpolkit_backend,
install: true,
-7
View File
@@ -2,13 +2,6 @@
# BPM Expects the source code to be extracted into the automatically created 'source' directory which can be accessed using $BPM_SOURCE # BPM Expects the source code to be extracted into the automatically created 'source' directory which can be accessed using $BPM_SOURCE
# BPM Expects the output files to be present in the automatically created 'output' directory which can be accessed using $BPM_OUTPUT # BPM Expects the output files to be present in the automatically created 'output' directory which can be accessed using $BPM_OUTPUT
# The prepare function is executed in the root of the temp directory
# This function is used for downloading files and putting them into the correct location
prepare() {
cd "$BPM_SOURCE"
patch -Np1 -i "$BPM_WORKDIR"/elogind-support.patch
}
# The build function is executed in the source directory # The build function is executed in the source directory
# This function is used to compile the source code # This function is used to compile the source code
build() { build() {