diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-05-04 12:02:00 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-05-04 12:02:00 +0100 |
commit | eab5731cdf11d4ae8cdf111461d46fd96c5bdd37 (patch) | |
tree | ce35c6d01b5ff5de95c3a20fef853b9a6518ad2e /sys-power/upower | |
parent | b7ebc951da8800f711142f69d9d958bde67a112d (diff) |
gentoo resync : 04.05.2019
Diffstat (limited to 'sys-power/upower')
-rw-r--r-- | sys-power/upower/Manifest | 7 | ||||
-rw-r--r-- | sys-power/upower/files/upower-0.99.8-keyboard-backlight.patch | 30 | ||||
-rw-r--r-- | sys-power/upower/files/upower-0.99.8-udev-events.patch | 32 | ||||
-rw-r--r-- | sys-power/upower/upower-0.99.8-r1.ebuild | 99 | ||||
-rw-r--r-- | sys-power/upower/upower-0.99.9-r1.ebuild | 2 | ||||
-rw-r--r-- | sys-power/upower/upower-0.99.9.ebuild | 91 |
6 files changed, 2 insertions, 259 deletions
diff --git a/sys-power/upower/Manifest b/sys-power/upower/Manifest index b38de0e8eb87..5711f41bd410 100644 --- a/sys-power/upower/Manifest +++ b/sys-power/upower/Manifest @@ -1,10 +1,5 @@ -AUX upower-0.99.8-keyboard-backlight.patch 831 BLAKE2B 530ca1f8a4a7d9caf830813c99c9a1619b540a7a1e45384ab01a348e3830e34edd8972d313becc4cc0eb84ec3517a90a0d153ad05cdf80ee867936cc313105ec SHA512 43e33447769696c99a96cd801d4397ab21400814e5df40d1dfb22504b25caa0be2f0a28a54fa27cc579505b184fb29f29e161e54b568a600156b7e1ef2237d33 -AUX upower-0.99.8-udev-events.patch 915 BLAKE2B 8f951b607bbe0237d71bec20d55310c227680f6df4035ac53c335215234c48d40a120bcd1ac2a992a280263525797981c7316bb3e269fcb3507292bf5cb7222d SHA512 9ed2522a45318c8c7b2fd4b9d6c10f029df0909c76625b553ba8f76f4a4af8018bef3f56a30913eb5eed53dc9bdf2d71486ec5930d00375e24597997f26cf2c8 AUX upower-0.99.9-pending-charge1.patch 1351 BLAKE2B 719581956d7bed9efb148bb84a83b0b90cabadf1113fece846416b980c1919895bd1e85575bba0198d856d5a39209ab7c919e2142361ee2cf6361f631f312fc9 SHA512 f100c9cb06c8407fdb8cc2ea27651f3e1eb563e40b98b2a0d7589577652d5c14d824a4de3d503cb858fa5d4360993f63da49cd5f4c8caaec43fde4f20e075f47 AUX upower-0.99.9-pending-charge2.patch 2016 BLAKE2B 87a3078acf6c95dd8237f894aa25dbf803d42f766682e3e53f5ec30fcd7725178ebab94111945fbf0b4d0e16b656e8723240b14358d1c6e5285086b30da541d2 SHA512 15aa04bcd892feec125508d6a9edb8df98cd5317fce27d9c8907994f1d735be32934c5010566f0a38221ef20b48d8faf73841df6e35447ef0efccdaab371fb0b -DIST upower-0.99.8.tar.xz 448664 BLAKE2B e101e7d1b2aede77c1ed2da1fd23b87a95ccac8d901bd8d1f8bebcd5de7052a66f1840cf578a48453538e166aae56ef4bc6d3a2b85f7ba148ecac5cc0a486809 SHA512 dfd2960cae382195dfc7a703a02af298d9de55bc626cde2a1f97e7983842191ba9d99eb2044190214e792539e7d6c9d8e00b5aed17e5e86b04544e9ab90278b1 DIST upower-0.99.9.tar.xz 448408 BLAKE2B 5fa2436f33c94cffb736d8e3fad433acf58954cf06ccd403a0361214be5afc45d79ea279f3c5c48dcd58b92ccaf995777c95987d1749fd8c8c8958317e439570 SHA512 45eb587b0e5ffcce88bad8c56bc5efa30559748913016a55d58313280f5159378e5fbb4a9842c3a6409257bb97822d235f96b03704268b8471455c93eb05fe2f -EBUILD upower-0.99.8-r1.ebuild 2372 BLAKE2B 05870dca284b3a0288fbd8bdaf1509fb7c099d56a6f5c55adf60046c1c80645e3e3aa08534fdb89ed5d3c480b61bac7291dff487fe5a8d831634b5c3053c878a SHA512 8997f794ece5ccd9ec617e8ba1747abecfa5d0273fb9a6c3dd82c357a12a545e6239c0fa1d6bd8f0a0936f0e9f9664ea4e97ac0162ca9209716f3763a6edecad -EBUILD upower-0.99.9-r1.ebuild 2354 BLAKE2B 212c8cbd6ac9b0a8f92db65c3865c614819814663103f9a0ac004157fb6e705e2fd1d22627fc8c79049f60e4f447b81a8ab8973c67374ec26254a81423bc11af SHA512 b25ac8b0149ae86ae05e69b029f5996dab8b4b757156b6cf325850cad2672ecdb775818699b4a29e897e1c65d0301af1783eb8cd9385202a55ec3f3c5402a5d8 -EBUILD upower-0.99.9.ebuild 2174 BLAKE2B d2397d31fe8c5134f5eb2dbe20662de6e94428c3b59384ebf5797bf9042a37e6af1af74487a1d908199f4ad0de603bec0e7a0fd17d9d02bc98e6f7290ba2b2bd SHA512 327131fb34743dfc992fad6ca1144021afa3954dcc7b7f02bb483ead32a780d9bb5b9f693bdcd3fc47cd0a9079e1333ffc4df431d11d26a8188045e936d33f8a +EBUILD upower-0.99.9-r1.ebuild 2352 BLAKE2B f194709d07e2d26f64771ef66131ebcdf953215e167db06bc12b0859289ea566a37b6e5deae89aa6a2f7a300470304250f14da5726e2b396a1db36e4ad7cedbd SHA512 8eaf0350a1bfae0a4de40e9a3297eed1e3e25017bd937deec81d40cfd7511f3f102b5dba64bdf35decd0c06153ea3222f901936872af88648c13819c4aa4878e MISC metadata.xml 228 BLAKE2B 6b6559027915d8578c02e363cc855e812c338acf7716fe4108a8b85c09152a086cb578e7361f4613a44e8b550d7e205ff43aea39dd9488951fa18c6e15042278 SHA512 4f5e63f918a0f8790db49c5b12173c673f86935f00796a04acfed573f618379b73b05b1869941e11f881fe69d4958f5287ce815fd710eadb6ac9f2680894caae diff --git a/sys-power/upower/files/upower-0.99.8-keyboard-backlight.patch b/sys-power/upower/files/upower-0.99.8-keyboard-backlight.patch deleted file mode 100644 index 07b1731ad2c4..000000000000 --- a/sys-power/upower/files/upower-0.99.8-keyboard-backlight.patch +++ /dev/null @@ -1,30 +0,0 @@ -From 0a9d9ab4949effb20e77aa52e7b4ee07e776fc0d Mon Sep 17 00:00:00 2001 -From: Bastien Nocera <hadess@hadess.net> -Date: Tue, 4 Sep 2018 09:58:21 +0200 -Subject: daemon: Fix upower's keyboard backlight support - -Disabling kernel tunables blocked us from accessing /sys, meaning we -couldn't change keyboard backlight levels. - -Closes: #73 ---- - src/upower.service.in | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -diff --git a/src/upower.service.in b/src/upower.service.in -index 8838655..4566ad3 100644 ---- a/src/upower.service.in -+++ b/src/upower.service.in -@@ -10,7 +10,8 @@ Restart=on-failure - - # Filesystem lockdown - ProtectSystem=strict --ProtectKernelTunables=true -+# Needed by keyboard backlight support -+ProtectKernelTunables=false - ProtectControlGroups=true - ReadWritePaths=@historydir@ - ProtectHome=true --- -cgit v1.1 - diff --git a/sys-power/upower/files/upower-0.99.8-udev-events.patch b/sys-power/upower/files/upower-0.99.8-udev-events.patch deleted file mode 100644 index d164824b735f..000000000000 --- a/sys-power/upower/files/upower-0.99.8-udev-events.patch +++ /dev/null @@ -1,32 +0,0 @@ -From fe356951a9d45fee73036aaa72661f0319dffba3 Mon Sep 17 00:00:00 2001 -From: Bastien Nocera <hadess@hadess.net> -Date: Tue, 21 Aug 2018 13:30:44 +0200 -Subject: daemon: Fix upower not having access to udev events - -PrivateNetwork=true will cut off upower from the udev netlink socket, so -it's not what we want to use, as we want those events. - -See https://lists.freedesktop.org/archives/systemd-devel/2018-July/041000.html - -Closes: #68 ---- - src/upower.service.in | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -diff --git a/src/upower.service.in b/src/upower.service.in -index 835529a..8838655 100644 ---- a/src/upower.service.in -+++ b/src/upower.service.in -@@ -17,7 +17,8 @@ ProtectHome=true - PrivateTmp=true - - # Network --PrivateNetwork=true -+# PrivateNetwork=true would block udev's netlink socket -+RestrictAddressFamilies=AF_UNIX AF_NETLINK - - # Execute Mappings - MemoryDenyWriteExecute=true --- -cgit v1.1 - diff --git a/sys-power/upower/upower-0.99.8-r1.ebuild b/sys-power/upower/upower-0.99.8-r1.ebuild deleted file mode 100644 index 21fa3ae93623..000000000000 --- a/sys-power/upower/upower-0.99.8-r1.ebuild +++ /dev/null @@ -1,99 +0,0 @@ -# Copyright 1999-2018 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -inherit systemd xdg-utils - -DESCRIPTION="D-Bus abstraction for enumerating power devices, querying history and statistics" -HOMEPAGE="https://upower.freedesktop.org/" - -# No tarball released, use the same commit as Fedora -#SRC_URI="https://${PN}.freedesktop.org/releases/${P}.tar.xz" -COMMIT="9125ab7ee96fdc4ecc68cfefb50c1cab" -SRC_URI="https://gitlab.freedesktop.org/upower/upower/uploads/${COMMIT}/${P}.tar.xz" - -LICENSE="GPL-2" -SLOT="0/3" # based on SONAME of libupower-glib.so -KEYWORDS="alpha amd64 arm ~arm64 ia64 ~mips ppc ppc64 sparc x86 ~x86-fbsd" - -# gtk-doc files are not available as prebuilt in the tarball -IUSE="doc +introspection ios kernel_FreeBSD kernel_linux selinux" - -COMMON_DEPS=" - >=dev-libs/dbus-glib-0.100 - >=dev-libs/glib-2.34:2 - sys-apps/dbus:= - introspection? ( dev-libs/gobject-introspection:= ) - kernel_linux? ( - virtual/libusb:1 - virtual/libgudev:= - virtual/udev - ios? ( - >=app-pda/libimobiledevice-1:= - >=app-pda/libplist-1:= - ) - ) -" -RDEPEND=" - ${COMMON_DEPS} - selinux? ( sec-policy/selinux-devicekit ) -" -DEPEND="${COMMON_DEPS} - doc? ( dev-util/gtk-doc ) - dev-libs/libxslt - app-text/docbook-xsl-stylesheets - dev-util/intltool - >=sys-devel/gettext-0.17 - virtual/pkgconfig -" - -QA_MULTILIB_PATHS="usr/lib/${PN}/.*" - -DOCS=( AUTHORS HACKING NEWS README ) - -PATCHES=( - # daemon: Fix upower not having access to udev events - "${FILESDIR}"/${P}-udev-events.patch - - # daemon: Fix upower's keyboard backlight support - "${FILESDIR}"/${P}-keyboard-backlight.patch -) - -src_prepare() { - default - xdg_environment_reset - sed -i -e '/DISABLE_DEPRECATED/d' configure || die -} - -src_configure() { - local backend - - if use kernel_linux ; then - backend=linux - elif use kernel_FreeBSD ; then - backend=freebsd - else - backend=dummy - fi - - local myeconfargs=( - --disable-static - --disable-tests - --enable-man-pages - --libexecdir="${EPREFIX%/}"/usr/lib/${PN} - --localstatedir="${EPREFIX%/}"/var - --with-backend=${backend} - --with-systemdsystemunitdir="$(systemd_get_systemunitdir)" - --with-systemdutildir="$(systemd_get_utildir)" - $(use_enable doc gtk-doc) - $(use_enable introspection) - $(use_with ios idevice) - ) - econf "${myeconfargs[@]}" -} - -src_install() { - default - find "${D}" -name '*.la' -delete || die - keepdir /var/lib/upower #383091 -} diff --git a/sys-power/upower/upower-0.99.9-r1.ebuild b/sys-power/upower/upower-0.99.9-r1.ebuild index 8ffe85c2cd2e..ff6119f7893d 100644 --- a/sys-power/upower/upower-0.99.9-r1.ebuild +++ b/sys-power/upower/upower-0.99.9-r1.ebuild @@ -14,7 +14,7 @@ SRC_URI="https://gitlab.freedesktop.org/upower/upower/uploads/${COMMIT}/${P}.tar LICENSE="GPL-2" SLOT="0/3" # based on SONAME of libupower-glib.so -KEYWORDS="~alpha amd64 arm ~arm64 ia64 ~mips ppc ppc64 ~sparc x86 ~x86-fbsd" +KEYWORDS="alpha amd64 arm ~arm64 ia64 ~mips ppc ppc64 sparc x86 ~x86-fbsd" # gtk-doc files are not available as prebuilt in the tarball IUSE="doc +introspection ios kernel_FreeBSD kernel_linux selinux" diff --git a/sys-power/upower/upower-0.99.9.ebuild b/sys-power/upower/upower-0.99.9.ebuild deleted file mode 100644 index 8219ae1eaea0..000000000000 --- a/sys-power/upower/upower-0.99.9.ebuild +++ /dev/null @@ -1,91 +0,0 @@ -# Copyright 1999-2018 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -inherit systemd xdg-utils - -DESCRIPTION="D-Bus abstraction for enumerating power devices, querying history and statistics" -HOMEPAGE="https://upower.freedesktop.org/" - -# No tarball released, use the same commit as Fedora -#SRC_URI="https://${PN}.freedesktop.org/releases/${P}.tar.xz" -COMMIT="2282c7c0e53fb31816b824c9d1f547e8" -SRC_URI="https://gitlab.freedesktop.org/upower/upower/uploads/${COMMIT}/${P}.tar.xz" - -LICENSE="GPL-2" -SLOT="0/3" # based on SONAME of libupower-glib.so -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" - -# gtk-doc files are not available as prebuilt in the tarball -IUSE="doc +introspection ios kernel_FreeBSD kernel_linux selinux" - -COMMON_DEPS=" - >=dev-libs/dbus-glib-0.100 - >=dev-libs/glib-2.34:2 - sys-apps/dbus:= - introspection? ( dev-libs/gobject-introspection:= ) - kernel_linux? ( - virtual/libusb:1 - virtual/libgudev:= - virtual/udev - ios? ( - >=app-pda/libimobiledevice-1:= - >=app-pda/libplist-1:= - ) - ) -" -RDEPEND=" - ${COMMON_DEPS} - selinux? ( sec-policy/selinux-devicekit ) -" -DEPEND="${COMMON_DEPS} - doc? ( dev-util/gtk-doc ) - dev-libs/libxslt - app-text/docbook-xsl-stylesheets - dev-util/intltool - >=sys-devel/gettext-0.17 - virtual/pkgconfig -" - -QA_MULTILIB_PATHS="usr/lib/${PN}/.*" - -DOCS=( AUTHORS HACKING NEWS README ) - -src_prepare() { - default - xdg_environment_reset - sed -i -e '/DISABLE_DEPRECATED/d' configure || die -} - -src_configure() { - local backend - - if use kernel_linux ; then - backend=linux - elif use kernel_FreeBSD ; then - backend=freebsd - else - backend=dummy - fi - - local myeconfargs=( - --disable-static - --disable-tests - --enable-man-pages - --libexecdir="${EPREFIX}"/usr/lib/${PN} - --localstatedir="${EPREFIX}"/var - --with-backend=${backend} - --with-systemdsystemunitdir="$(systemd_get_systemunitdir)" - --with-systemdutildir="$(systemd_get_utildir)" - $(use_enable doc gtk-doc) - $(use_enable introspection) - $(use_with ios idevice) - ) - econf "${myeconfargs[@]}" -} - -src_install() { - default - find "${ED}" -name '*.la' -delete || die - keepdir /var/lib/upower #383091 -} |