diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-04-28 09:54:45 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-04-28 09:54:45 +0100 |
commit | b7ebc951da8800f711142f69d9d958bde67a112d (patch) | |
tree | e318514216845acb8f2e49fff7a5cba4027e9d91 /sys-apps/fwupd | |
parent | dc7cbdfa65fd814b3b9aa3c56257da201109e807 (diff) |
gentoo resync : 28.04.2019
Diffstat (limited to 'sys-apps/fwupd')
-rw-r--r-- | sys-apps/fwupd/Manifest | 11 | ||||
-rw-r--r-- | sys-apps/fwupd/files/fwupd | 13 | ||||
-rw-r--r-- | sys-apps/fwupd/fwupd-1.2.7.ebuild (renamed from sys-apps/fwupd/fwupd-1.2.6-r1.ebuild) | 21 | ||||
-rw-r--r-- | sys-apps/fwupd/fwupd-1.2.8.ebuild (renamed from sys-apps/fwupd/fwupd-1.2.5.ebuild) | 30 | ||||
-rw-r--r-- | sys-apps/fwupd/metadata.xml | 5 |
5 files changed, 29 insertions, 51 deletions
diff --git a/sys-apps/fwupd/Manifest b/sys-apps/fwupd/Manifest index b9759dcc33f4..7ec3d8f7ca60 100644 --- a/sys-apps/fwupd/Manifest +++ b/sys-apps/fwupd/Manifest @@ -1,7 +1,6 @@ -AUX fwupd 299 BLAKE2B 65d2229e93e03c38d5db2523bf1ca4f1663c12e3308426501b57b6d5d2dbf4c9756d64ea627ca892671e0e2cb97bda0221bf0313eed596a3ce85b83c0b4ad1d9 SHA512 8d9f94754a2b5d65e71134f9c6e2fca49433dc123441b37518acc7b7e68f397e19e12fad498b586f56fe6df887be6bf8f27c6041238a57afe3b5457026af197c AUX fwupd-r1 303 BLAKE2B c940e8272c042ce1f82817f15faa82a3fd1bcd495da187473c8409db21a5e2e10da7cbe4bfd3b89d5b51d4f4d24c7f3c10214fa93e81c78c2c021c74dfd228df SHA512 f69438b16d3fa237cec0e5b48afb37b65835cebb47c682997eb0fa8a05e1ee8872da120c4003a8c8ed0801f7b4fe6bfd252349f9aaa4efe4b9b65517e6826acb -DIST fwupd-1.2.5.tar.gz 1818559 BLAKE2B 0d30248bf3be093d3764624294fdd6e26b979560d70b47e67b3ca5f213177d807e749f5e30abd4d7d7d15e4be507103583834062b6a3243367169019e24a1bc7 SHA512 dc6a0def49225ce50bc89c3f76137497d4c8b71f94e42546fbf5221dc0af504ce6090f803ea9dca175f6166ff1341f6a3eab04652d744257c9e88dbd6875abc7 -DIST fwupd-1.2.6.tar.gz 1861765 BLAKE2B 160af03c0c08bed730657520a15f96c9881996807d186a26074f10b6b340e27b0e783ae7a6b1fc433e4347cba535d49bca60b4d242101a9097fc2749f3cca0ee SHA512 c1111fd881126bf85424dec004e4321948cbdd603ed79989eee51f48197f8f0f391371834964dd1bff52eb3b353cc4c2e5714f6ff674b23dbd8e8d0e8a87ff27 -EBUILD fwupd-1.2.5.ebuild 3481 BLAKE2B b6584f19d1e7a11870b82464fd68f14d9b1439dc3cf1bec274a41613ed66beba7723359a82dc3c32f46931549a1018b5598d805004f087e363bc5a53fec2a570 SHA512 0fbed24f38a96137a290548313aaf46aaf2436020d4a43072c343ed12dc911351ad967ff49c00df52fcdc34182c591d5339ce634ac5d2bf96a407bc519f4f1b6 -EBUILD fwupd-1.2.6-r1.ebuild 3706 BLAKE2B 24d91f6899f2aa8f045191926f1dbcfa7722dc9421edc169975cfa6b85271e978ea42496c1b9de51bd0156a242fa4ea42c65daa2b1febdb0cafcf91d1bd98f0b SHA512 03aa3ad72407fff3dc8b750df04f8ea92908b16af452f619f92294f320503c259f6dc2b4e53c6e71f33bb6dcc3b8ac190453703254b8e2bdf6a234a71730e8b8 -MISC metadata.xml 1137 BLAKE2B ffb495509527dd57cc2f835dd5bb2f37f0874ecf4e973732a56811c5688022072a4365bc5a1ee085f6df0225cd56e9a73c18a320ee4f5ba840398570f38275e2 SHA512 bb268eb8ccc78684bb0639962b4ce86de6c258c9f09a4b0adf8011dea35280d7b7b3e494d366b80d1fb2686845487100995b97291cbcb795d9623350de2428cc +DIST fwupd-1.2.7.tar.gz 1899554 BLAKE2B aed0377135354c6391f63eb0802d27b5359efdb0f9d3b5c1a55ba8fe7ef0c84c9201e689d8a1bdde998e8147b25767e4dc7586c57bcf33e9f9e9d807e38e7a04 SHA512 12b5c193ab6e55e14256ea84273d139e7353618b6524197ba1f4477db32071e33a73b3e2e2b34733ca6269c4dbad5a03f2d3546b27d22b2a6db23989c69be6e5 +DIST fwupd-1.2.8.tar.gz 1911999 BLAKE2B 61a24ce24f778b96f7ad23496890f7a1d20c09e6bbd707f29d154992668d5c0a25cfd31b5d0d11519740e086c098cbdfd440fe9f5cab4dde0ac43fe6b438e911 SHA512 d603f9f4e5a4c0fc6abb0b75f7d884eff47fb8a16285aa545f7140fe98ce781d127ff3769f9c206bb3bfd084bbc5bf6abf9424f70e727ff79162416fe7881154 +EBUILD fwupd-1.2.7.ebuild 3635 BLAKE2B ef585e46a8d923c4b9efa7db3f0be37c8b5edb3f39853698eb2cab6fd65f9bbabdd40eec037945a8f29a8ebc03a1550d8b5076ba3293172b32ef6367e69a841d SHA512 b641c3d787e28a5f0724647d193ed3b4a63d1227abedc0db7c2f7a2663d0dbebe68615b6a6d74ae66fd44c4d8a82495ca2e459efe5088dde6fee3752cacef887 +EBUILD fwupd-1.2.8.ebuild 3635 BLAKE2B ef585e46a8d923c4b9efa7db3f0be37c8b5edb3f39853698eb2cab6fd65f9bbabdd40eec037945a8f29a8ebc03a1550d8b5076ba3293172b32ef6367e69a841d SHA512 b641c3d787e28a5f0724647d193ed3b4a63d1227abedc0db7c2f7a2663d0dbebe68615b6a6d74ae66fd44c4d8a82495ca2e459efe5088dde6fee3752cacef887 +MISC metadata.xml 1093 BLAKE2B 0f2e81196b336c6047ae2df81cf2aed692eb452c396d9b65b726e951be859c43a76638ca635fbca96d6d7dfee7e1ebf7d3fc844eb1633569ecfdbea0dcd9228f SHA512 99344e56a5a3641e65bee382a6ada656cd5c63cf114785b4185f4ee1b3a0c9514f83ca3adc77d38f145d9a1f1e64aa21dd72dcc1e4f78cb50d042f901a5c9c8a diff --git a/sys-apps/fwupd/files/fwupd b/sys-apps/fwupd/files/fwupd deleted file mode 100644 index 156d1562e367..000000000000 --- a/sys-apps/fwupd/files/fwupd +++ /dev/null @@ -1,13 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -description="Firmware update daemon" -pidfile="/var/run/fwupd.pid" -command="/usr/libexec/fwupd/fwupd" -command_background="true" - -depend() { - need consolekit dbus - before xdm -} diff --git a/sys-apps/fwupd/fwupd-1.2.6-r1.ebuild b/sys-apps/fwupd/fwupd-1.2.7.ebuild index 3006840299ec..5951cd35b846 100644 --- a/sys-apps/fwupd/fwupd-1.2.6-r1.ebuild +++ b/sys-apps/fwupd/fwupd-1.2.7.ebuild @@ -3,7 +3,7 @@ EAPI=7 -PYTHON_COMPAT=( python3_{4,5,6,7} ) +PYTHON_COMPAT=( python3_{5,6,7} ) inherit meson python-single-r1 vala xdg-utils @@ -14,10 +14,10 @@ SRC_URI="https://github.com/hughsie/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="LGPL-2.1+" SLOT="0" KEYWORDS="~amd64 ~arm ~x86" -IUSE="agent colorhug dell doc elogind +gpg +man nvme pkcs7 redfish systemd test thunderbolt uefi" +IUSE="agent colorhug consolekit dell doc elogind +gpg +man nvme pkcs7 redfish systemd test thunderbolt uefi" REQUIRED_USE="${PYTHON_REQUIRED_USE} - ?? ( elogind systemd ) + ^^ ( consolekit elogind systemd ) dell? ( uefi ) " @@ -30,7 +30,7 @@ RDEPEND="${PYTHON_DEPS} dev-libs/libgpg-error dev-libs/libgudev:= >=dev-libs/libgusb-0.2.9[introspection] - >=dev-libs/libxmlb-0.1.5 + >=dev-libs/libxmlb-0.1.7 dev-python/pillow[${PYTHON_USEDEP}] dev-python/pycairo[${PYTHON_USEDEP}] dev-python/pygobject:3[cairo,${PYTHON_USEDEP}] @@ -38,10 +38,12 @@ RDEPEND="${PYTHON_DEPS} >=sys-auth/polkit-0.103 virtual/libelf:0= colorhug? ( >=x11-misc/colord-1.2.12:0= ) + consolekit? ( >=sys-auth/consolekit-1.0.0 ) dell? ( sys-libs/efivar >=sys-libs/libsmbios-2.4.0 ) + elogind? ( sys-auth/elogind ) gpg? ( app-crypt/gpgme dev-libs/libgpg-error @@ -49,10 +51,6 @@ RDEPEND="${PYTHON_DEPS} nvme? ( sys-libs/efivar ) pkcs7? ( >=net-libs/gnutls-3.4.4.1:= ) redfish? ( sys-libs/efivar ) - !systemd? ( - !elogind? ( >=sys-auth/consolekit-1.0.0 ) - elogind? ( sys-auth/elogind ) - ) systemd? ( >=sys-apps/systemd-211 ) thunderbolt? ( sys-apps/thunderbolt-software-user-space ) uefi? ( @@ -94,6 +92,7 @@ src_configure() { local emesonargs=( --localstatedir "${EPREFIX}"/var -Dagent="$(usex agent true false)" + -Dconsolekit="$(usex consolekit true false)" -Dgtkdoc="$(usex doc true false)" -Delogind="$(usex elogind true false)" -Dgpg="$(usex gpg true false)" @@ -111,12 +110,6 @@ src_configure() { -Dtests="$(usex test true false)" ) - if use elogind || use systemd ; then - emesonargs+=( -Dconsolekit=false ) - else - emesonargs+=( -Dconsolekit=true ) - fi - meson_src_configure } diff --git a/sys-apps/fwupd/fwupd-1.2.5.ebuild b/sys-apps/fwupd/fwupd-1.2.8.ebuild index ab622891d222..5951cd35b846 100644 --- a/sys-apps/fwupd/fwupd-1.2.5.ebuild +++ b/sys-apps/fwupd/fwupd-1.2.8.ebuild @@ -3,7 +3,7 @@ EAPI=7 -PYTHON_COMPAT=( python3_{4,5,6,7} ) +PYTHON_COMPAT=( python3_{5,6,7} ) inherit meson python-single-r1 vala xdg-utils @@ -14,10 +14,10 @@ SRC_URI="https://github.com/hughsie/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="LGPL-2.1+" SLOT="0" KEYWORDS="~amd64 ~arm ~x86" -IUSE="colorhug dell doc elogind +gpg +man nvme pkcs7 redfish systemd test thunderbolt uefi" +IUSE="agent colorhug consolekit dell doc elogind +gpg +man nvme pkcs7 redfish systemd test thunderbolt uefi" REQUIRED_USE="${PYTHON_REQUIRED_USE} - ?? ( elogind systemd ) + ^^ ( consolekit elogind systemd ) dell? ( uefi ) " @@ -30,7 +30,7 @@ RDEPEND="${PYTHON_DEPS} dev-libs/libgpg-error dev-libs/libgudev:= >=dev-libs/libgusb-0.2.9[introspection] - >=dev-libs/libxmlb-0.1.5 + >=dev-libs/libxmlb-0.1.7 dev-python/pillow[${PYTHON_USEDEP}] dev-python/pycairo[${PYTHON_USEDEP}] dev-python/pygobject:3[cairo,${PYTHON_USEDEP}] @@ -38,10 +38,12 @@ RDEPEND="${PYTHON_DEPS} >=sys-auth/polkit-0.103 virtual/libelf:0= colorhug? ( >=x11-misc/colord-1.2.12:0= ) + consolekit? ( >=sys-auth/consolekit-1.0.0 ) dell? ( sys-libs/efivar >=sys-libs/libsmbios-2.4.0 ) + elogind? ( sys-auth/elogind ) gpg? ( app-crypt/gpgme dev-libs/libgpg-error @@ -49,10 +51,6 @@ RDEPEND="${PYTHON_DEPS} nvme? ( sys-libs/efivar ) pkcs7? ( >=net-libs/gnutls-3.4.4.1:= ) redfish? ( sys-libs/efivar ) - !systemd? ( - !elogind? ( >=sys-auth/consolekit-1.0.0 ) - elogind? ( sys-auth/elogind ) - ) systemd? ( >=sys-apps/systemd-211 ) thunderbolt? ( sys-apps/thunderbolt-software-user-space ) uefi? ( @@ -93,12 +91,16 @@ src_configure() { xdg_environment_reset local emesonargs=( --localstatedir "${EPREFIX}"/var + -Dagent="$(usex agent true false)" + -Dconsolekit="$(usex consolekit true false)" -Dgtkdoc="$(usex doc true false)" -Delogind="$(usex elogind true false)" -Dgpg="$(usex gpg true false)" -Dman="$(usex man true false)" -Dpkcs7="$(usex pkcs7 true false)" -Dplugin_dell="$(usex dell true false)" + # Dependencies are not available (yet?) + -Dplugin_modem_manager="false" -Dplugin_nvme="$(usex nvme true false)" -Dplugin_redfish="$(usex redfish true false)" -Dplugin_synaptics="$(usex dell true false)" @@ -108,18 +110,16 @@ src_configure() { -Dtests="$(usex test true false)" ) - if use elogind || use systemd ; then - emesonargs+=( -Dconsolekit=false ) - else - emesonargs+=( -Dconsolekit=true ) - fi - meson_src_configure } src_install() { meson_src_install - doinitd "${FILESDIR}"/${PN} + + sed "s@%SEAT_MANAGER%@$(usex elogind elogind consolekit)@" \ + "${FILESDIR}"/${PN}-r1 \ + > "${T}"/${PN} || die + doinitd "${T}"/${PN} if ! use systemd ; then # Don't timeout when fwupd is running (#673140) diff --git a/sys-apps/fwupd/metadata.xml b/sys-apps/fwupd/metadata.xml index 64d755cca4f6..d749d5ca31b9 100644 --- a/sys-apps/fwupd/metadata.xml +++ b/sys-apps/fwupd/metadata.xml @@ -7,10 +7,9 @@ </maintainer> <use> <flag name="agent">Enable update notification agent</flag> - <flag name="colorhug">Enable ColorHug support through - <pkg>x11-misc/colord</pkg> package.</flag> + <flag name="colorhug">Enable ColorHug support through<pkg>x11-misc/colord</pkg> package</flag> + <flag name="consolekit">Use <pkg>sys-auth/consolekit</pkg> for session tracking</flag> <flag name="dell">Enable Dell-specific support.</flag> - <flag name="elogind">Use <pkg>sys-auth/elogind</pkg> instead of <pkg>sys-auth/consolekit</pkg> for session tracking</flag> <flag name="gpg">Enable GPG support.</flag> <flag name="man">Build and install man pages</flag> <flag name="nvme">Build and install nvme plugin</flag> |