Github messages for voidlinux
 help / color / mirror / Atom feed
From: oreo639 <oreo639@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: power-profiles-daemon-0.10.1
Date: Fri, 11 Feb 2022 10:02:25 +0100	[thread overview]
Message-ID: <20220211090225.jvfK9UfYySK4nRgFqYrhTuKY7sQJ7CTZXPiFNEuVWR8@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-35527@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 1213 bytes --]

There is an updated pull request by oreo639 against master on the void-packages repository

https://github.com/oreo639/void-packages ppd
https://github.com/void-linux/void-packages/pull/35527

New package: power-profiles-daemon-0.10.1
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **briefly**

#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**

<!-- Note: If the build is likely to take more than 2 hours, please [skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration)
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!-- 
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/35527.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-ppd-35527.patch --]
[-- Type: text/x-diff, Size: 5155 bytes --]

From 926bfd058b4d33f9d4b363d97d20cc722b94fcc6 Mon Sep 17 00:00:00 2001
From: oreo639 <31916379+Oreo639@users.noreply.github.com>
Date: Thu, 10 Feb 2022 22:35:22 -0800
Subject: [PATCH 1/2] New package: power-profiles-daemon-0.10.1

---
 .../files/power-profiles-daemon/run           |  2 ++
 srcpkgs/power-profiles-daemon/template        | 19 +++++++++++++++++++
 2 files changed, 21 insertions(+)
 create mode 100644 srcpkgs/power-profiles-daemon/files/power-profiles-daemon/run
 create mode 100644 srcpkgs/power-profiles-daemon/template

diff --git a/srcpkgs/power-profiles-daemon/files/power-profiles-daemon/run b/srcpkgs/power-profiles-daemon/files/power-profiles-daemon/run
new file mode 100644
index 000000000000..d34cc6b20a29
--- /dev/null
+++ b/srcpkgs/power-profiles-daemon/files/power-profiles-daemon/run
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec /usr/libexec/power-profiles-daemon
diff --git a/srcpkgs/power-profiles-daemon/template b/srcpkgs/power-profiles-daemon/template
new file mode 100644
index 000000000000..a5ad7178c533
--- /dev/null
+++ b/srcpkgs/power-profiles-daemon/template
@@ -0,0 +1,19 @@
+# Template file for 'power-profiles-daemon'
+pkgname=power-profiles-daemon
+version=0.10.1
+revision=1
+build_style=meson
+configure_args="-Dsystemdsystemunitdir=false"
+hostmakedepends="pkg-config glib-devel"
+makedepends="libglib-devel libgudev-devel upower0-devel polkit-devel"
+checkdepends="libxml2 python3-dbusmock umockdev-devel"
+short_desc="Makes power profiles handling available over D-Bus"
+maintainer="oreo639 <oreo6391@gmail.com>"
+license="GPL-3.0-or-later"
+homepage="https://gitlab.freedesktop.org/hadess/power-profiles-daemon"
+distfiles="https://gitlab.freedesktop.org/hadess/power-profiles-daemon/-/archive/${version}/power-profiles-daemon-${version}.tar.gz"
+checksum=dcba27018b573d69d34731b5454f6cdd6ec586d4ab18f923b45093a2c2af575f
+
+post_install() {
+	vsv power-profiles-daemon
+}

From 20c9b37d7ed2f6105fa3b5b856117cf55bc0f0da Mon Sep 17 00:00:00 2001
From: oreo639 <31916379+Oreo639@users.noreply.github.com>
Date: Fri, 11 Feb 2022 00:34:11 -0800
Subject: [PATCH 2/2] New package: umockdev-0.17.6_1

---
 common/shlibs             |  1 +
 srcpkgs/libumockdev       |  1 +
 srcpkgs/libumockdev-devel |  1 +
 srcpkgs/umockdev-devel    |  1 +
 srcpkgs/umockdev/template | 44 +++++++++++++++++++++++++++++++++++++++
 5 files changed, 48 insertions(+)
 create mode 120000 srcpkgs/libumockdev
 create mode 120000 srcpkgs/libumockdev-devel
 create mode 120000 srcpkgs/umockdev-devel
 create mode 100644 srcpkgs/umockdev/template

diff --git a/common/shlibs b/common/shlibs
index 39137dbe048f..82ab7ff2f203 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -213,6 +213,7 @@ libgirepository-everything-1.0.so libgirepository-1.30_1
 libgirepository-1.0.so.1 libgirepository-1.30_1
 libudev.so.1 eudev-libudev-1.6_1
 libgudev-1.0.so.0 libgudev-230_1
+libumockdev.so.0 libumockdev-0.17.6_1
 libext2fs.so.2 e2fsprogs-libs-1.41.5_1
 libcom_err.so.2 e2fsprogs-libs-1.41.5_1
 libe2p.so.2 e2fsprogs-libs-1.41.5_1
diff --git a/srcpkgs/libumockdev b/srcpkgs/libumockdev
new file mode 120000
index 000000000000..6ea0730d6c1c
--- /dev/null
+++ b/srcpkgs/libumockdev
@@ -0,0 +1 @@
+umockdev
\ No newline at end of file
diff --git a/srcpkgs/libumockdev-devel b/srcpkgs/libumockdev-devel
new file mode 120000
index 000000000000..6ea0730d6c1c
--- /dev/null
+++ b/srcpkgs/libumockdev-devel
@@ -0,0 +1 @@
+umockdev
\ No newline at end of file
diff --git a/srcpkgs/umockdev-devel b/srcpkgs/umockdev-devel
new file mode 120000
index 000000000000..6ea0730d6c1c
--- /dev/null
+++ b/srcpkgs/umockdev-devel
@@ -0,0 +1 @@
+umockdev
\ No newline at end of file
diff --git a/srcpkgs/umockdev/template b/srcpkgs/umockdev/template
new file mode 100644
index 000000000000..5572efbbc032
--- /dev/null
+++ b/srcpkgs/umockdev/template
@@ -0,0 +1,44 @@
+# Template file for 'umockdev'
+pkgname=umockdev
+version=0.17.6
+revision=1
+build_style=meson
+hostmakedepends="pkg-config vala"
+makedepends="vala-devel eudev-libudev-devel libpcap-devel gobject-introspection"
+checkdepends="eudev which gphoto2 libgudev-devel python3-gobject usbutils xz"
+short_desc="Mock hardware devices for creating unit tests and bug reporting"
+maintainer="oreo639 <oreo6391@gmail.com>"
+license="LGPL-2.1-or-later"
+homepage="https://github.com/martinpitt/umockdev"
+distfiles="https://github.com/martinpitt/umockdev/releases/download/${version}/umockdev-${version}.tar.xz"
+checksum=5fad33377a2b1d4f2539f45509f6c74ddae578ac41ec82c2206bd74992dda129
+
+if [ "$CROSS_BUILD" ]; then
+	hostmakedepends+=" gobject-introspection qemu-user-static"
+fi
+
+umockdev-devel_package() {
+	depends="umockdev>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove /usr/share/gir-1.0/UMockdev-1.0.gir
+		vmove /usr/share/vala/vapi/
+	}
+}
+
+libumockdev_package() {
+	short_desc+=" - library"
+	pkg_install() {
+		vmove /usr/lib/*.so.*
+	}
+}
+
+libumockdev-devel_package() {
+	depends="libumockdev>=${version}_${revision}"
+	short_desc+=" - library development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/pkgconfig
+		vmove /usr/lib/*.so
+	}
+}

  parent reply	other threads:[~2022-02-11  9:02 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-11  8:36 [PR PATCH] " oreo639
2022-02-11  8:41 ` [PR PATCH] [Updated] " oreo639
2022-02-11  8:44 ` oreo639
2022-02-11  8:49 ` oreo639
2022-02-11  8:56 ` oreo639
2022-02-11  8:57 ` oreo639
2022-02-11  9:02 ` oreo639 [this message]
2022-02-11 21:02 ` oreo639
2022-03-23  0:59 ` oreo639
2022-03-23  1:00 ` oreo639
2022-06-23  2:15 ` github-actions
2022-06-23  2:35 ` [PR PATCH] [Updated] " oreo639
2022-06-23  2:49 ` oreo639
2022-06-24  0:20 ` oreo639
2022-06-24 22:28 ` New package: power-profiles-daemon-0.11.1 cinerea0
2022-07-18 16:33 ` [PR PATCH] [Updated] " oreo639
2022-07-25  2:22 ` [PR PATCH] [Updated] New package: power-profiles-daemon-0.12 oreo639
2022-09-10  8:17 ` oreo639
2022-09-10 10:31 ` [PR REVIEW] " paper42
2022-09-10 16:51 ` [PR PATCH] [Updated] " oreo639
2022-09-10 19:10 ` [PR PATCH] [Merged]: " paper42

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220211090225.jvfK9UfYySK4nRgFqYrhTuKY7sQJ7CTZXPiFNEuVWR8@z \
    --to=oreo639@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).