1 Commits

6 changed files with 22 additions and 54 deletions

View File

@@ -1,4 +1,4 @@
mtime: 1732705206
commit: 03bb404b370db93e4760f9d5ac715c9e11c7376d6e70579aa82fb1b17f70f3d0
mtime: 1764055077
commit: 042c4afe2435519349e1859564a4200f5d315054bb043cbda9c636253056fd64
url: https://src.opensuse.org/jengelh/intel-lpmd
revision: master

View File

@@ -1,43 +0,0 @@
From: trenn@suse.com
Date: 2024-11-27 10:23:38 +0000
gcc7's cpuid.h is missing an include guard, and since the file does get included
at least twice, compilation fails under Leap-15 gcc7. Work around it by removing
some includes locally.
Index: intel-lpmd-0.0.8/src/lpmd_hfi.c
===================================================================
--- intel-lpmd-0.0.8.orig/src/lpmd_hfi.c
+++ intel-lpmd-0.0.8/src/lpmd_hfi.c
@@ -37,7 +37,6 @@
#include <sys/un.h>
#include <errno.h>
#include <getopt.h>
-#include <cpuid.h>
#include <sched.h>
#include <dirent.h>
#include <ctype.h>
Index: intel-lpmd-0.0.8/src/lpmd_irq.c
===================================================================
--- intel-lpmd-0.0.8.orig/src/lpmd_irq.c
+++ intel-lpmd-0.0.8/src/lpmd_irq.c
@@ -33,7 +33,6 @@
#include <sys/un.h>
#include <errno.h>
#include <getopt.h>
-#include <cpuid.h>
#include <sched.h>
#include <dirent.h>
#include <ctype.h>
Index: intel-lpmd-0.0.8/src/lpmd_socket.c
===================================================================
--- intel-lpmd-0.0.8.orig/src/lpmd_socket.c
+++ intel-lpmd-0.0.8/src/lpmd_socket.c
@@ -36,7 +36,6 @@
#include <sys/un.h>
#include <errno.h>
#include <getopt.h>
-#include <cpuid.h>
#include <sched.h>
#include <dirent.h>
#include <ctype.h>

View File

@@ -1,3 +1,15 @@
-------------------------------------------------------------------
Mon Nov 24 21:26:25 UTC 2025 - Thomas Renninger <trenn@suse.de>
- Update to version 0.1.0:
* Introduced config file option for GFX utilization threshold
* Added support for checking graphics threshold
* Graphics utilization is now calculated based on sysfs and MSR
* Added Power Slider support
- Introduce _service to retrieve sources, version and changes from github repo
- Delete fix_cpuid_double_include.patch (merged as
a9a95bbb7436e38a62e357)
-------------------------------------------------------------------
Wed Nov 27 10:12:23 UTC 2024 - Thomas Renninger <trenn@suse.de>

View File

@@ -1,7 +1,7 @@
#
# spec file for package intel-lpmd
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,26 +17,25 @@
Name: intel-lpmd
Version: 0.0.8
Version: 0.1.0
Release: 0
Summary: Intel Low Power Mode Daemon
License: GPL-2.0-or-later
Group: Hardware/Other
URL: https://github.com/intel/intel-lpmd
Source: https://github.com/intel/intel-lpmd/archive/refs/tags/v%version.tar.gz
Patch0: fix_cpuid_double_include.patch
BuildRequires: automake
BuildRequires: pkg-config
BuildRequires: gtk-doc >= 1.11
BuildRequires: pkgconfig(glib-2.0) >= 2.10.0
BuildRequires: pkg-config
BuildRequires: pkgconfig(gio-unix-2.0) >= 2.22
BuildRequires: pkgconfig(glib-2.0) >= 2.10.0
BuildRequires: pkgconfig(gmodule-2.0)
BuildRequires: pkgconfig(gobject-2.0)
BuildRequires: pkgconfig(libnl-3.0)
BuildRequires: pkgconfig(libnl-genl-3.0)
BuildRequires: pkgconfig(libsystemd)
BuildRequires: pkgconfig(upower-glib)
BuildRequires: pkgconfig(libxml-2.0) >= 2.4
BuildRequires: pkgconfig(upower-glib)
ExclusiveArch: %ix86 x86_64
%description

BIN
v0.0.8.tar.gz LFS

Binary file not shown.

3
v0.1.0.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e5de3dd4ec9496430b3e3c31e69830cc8e974f7a0d0e8bf4e3c1d5cf5834f8ed
size 73067