diff options
-rw-r--r-- | system/system76-power/README | 19 | ||||
-rw-r--r-- | system/system76-power/system76-power.SlackBuild | 103 | ||||
-rw-r--r-- | system/system76-power/system76-power.info | 178 |
3 files changed, 188 insertions, 112 deletions
diff --git a/system/system76-power/README b/system/system76-power/README index 59f0b219f4ff..6e1f40fa8fa3 100644 --- a/system/system76-power/README +++ b/system/system76-power/README @@ -3,12 +3,23 @@ system76-power is a utility for managing graphics and power profiles. When run in daemon mode, system76-power manages the fan speed of fans connected to the System76 Io board on Thelio desktops. -To start the daemon at boot, add the following to your /etc/rc.d/rc.local -script and make sure rc.system76-power has executable permissions set: +To start the daemon at boot, add the following to your +/etc/rc.d/rc.local script and make sure rc.system76-power has executable +permissions set: if [ -x /etc/rc.d/rc.system76-power ]; then /etc/rc.d/rc.system76-power start fi The system76-power daemon log messages are logged to -/var/log/system76-power.log by default. Logging can be disabled by setting -LOG_FILE=/dev/null in /etc/rc.d/rc.system76-power. +/var/log/system76-power.log by default. Logging can be disabled by +setting LOG_FILE=/dev/null in /etc/rc.d/rc.system76-power. + +This project is pinned to a specific Rust version, currently 1.41.0. As +such, rustup is a compile time only dependency. If this specific +version of the Rust toolchain is not already installed, it will be +downloaded and installed automatically during build script execution. +It can be installed manually beforehand by running + rustup toolchain install 1.41.0 + +NOTE: The directions in rustup's README must be followed so that the +rust installed by rustup is preferred over the system rust. diff --git a/system/system76-power/system76-power.SlackBuild b/system/system76-power/system76-power.SlackBuild index c0cd3c0e07d8..616b23c72bf4 100644 --- a/system/system76-power/system76-power.SlackBuild +++ b/system/system76-power/system76-power.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for system76-power -# Copyright 2019 Erich Ritz, Scottsdale, Arizona, USA +# Copyright 2019-2020 Erich Ritz, Scottsdale, Arizona, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=system76-power -VERSION=${VERSION:-1.1.2} +VERSION=${VERSION:-1.1.10} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -95,44 +95,67 @@ mkdir vendor ( cd vendor - for dependency in ansi_term=0.11.0 \ - atty=0.2.11 \ - bitflags=0.7.0 \ - bitflags=1.0.4 \ - cfg-if=0.1.7 \ - clap=2.33.0 \ - dbus=0.7.1 \ - err-derive=0.1.5 \ - fern=0.5.8 \ - intel-pstate=0.2.0 \ - libc=0.2.66 \ - libdbus-sys=0.2.1 \ - log=0.4.6 \ - numtoa=0.1.0 \ - numtoa=0.2.3 \ - pkg-config=0.3.14 \ - proc-macro2=0.4.30 \ - quote=0.6.12 \ - redox_syscall=0.1.54 \ - redox_termios=0.1.1 \ - rustc_version=0.2.3 \ - semver=0.9.0 \ - semver-parser=0.7.0 \ - smart-default=0.5.2 \ - strsim=0.8.0 \ - syn=0.15.34 \ - synstructure=0.10.1 \ - sysfs-class=0.1.2 \ - termion=1.5.2 \ - textwrap=0.11.0 \ - time=0.1.42 \ - unicode-width=0.1.5 \ - unicode-xid=0.1.0 \ - vec_map=0.8.1 \ - vergen=0.1.1 \ - winapi=0.3.7 \ - winapi-i686-pc-windows-gnu=0.4.0 \ - winapi-x86_64-pc-windows-gnu=0.4.0; do + for dependency in \ + ansi_term=0.11.0 \ + atty=0.2.14 \ + autocfg=1.0.1 \ + bitflags=1.2.1 \ + bytes=0.5.6 \ + cc=1.0.59 \ + cfg-if=0.1.10 \ + chrono=0.4.15 \ + clap=2.33.3 \ + dbus=0.8.4 \ + err-derive=0.2.4 \ + fern=0.6.0 \ + fuchsia-zircon=0.3.3 \ + fuchsia-zircon-sys=0.3.3 \ + futures-core=0.3.5 \ + hermit-abi=0.1.15 \ + hidapi=1.2.3 \ + inotify=0.8.3 \ + inotify-sys=0.1.3 \ + intel-pstate=0.2.1 \ + iovec=0.1.4 \ + kernel32-sys=0.2.2 \ + lazy_static=1.4.0 \ + libc=0.2.76 \ + libdbus-sys=0.2.1 \ + log=0.4.11 \ + mio=0.6.22 \ + miow=0.2.1 \ + net2=0.2.34 \ + num-integer=0.1.43 \ + num-traits=0.2.12 \ + numtoa=0.2.3 \ + pin-project-lite=0.1.7 \ + pkg-config=0.3.18 \ + proc-macro-error=1.0.4 \ + proc-macro-error-attr=1.0.4 \ + proc-macro2=1.0.19 \ + quote=1.0.7 \ + rustversion=1.0.3 \ + slab=0.4.2 \ + smart-default=0.6.0 \ + strsim=0.8.0 \ + syn=1.0.39 \ + synstructure=0.12.4 \ + sysfs-class=0.1.3 \ + textwrap=0.11.0 \ + time=0.1.43 \ + tokio=0.2.22 \ + unicode-width=0.1.8 \ + unicode-xid=0.2.1 \ + vec_map=0.8.2 \ + vergen=3.1.0 \ + version_check=0.9.2 \ + winapi=0.2.8 \ + winapi=0.3.9 \ + winapi-build=0.1.1 \ + winapi-i686-pc-windows-gnu=0.4.0 \ + winapi-x86_64-pc-windows-gnu=0.4.0 \ + ws2_32-sys=0.2.1; do + dep="$(echo "$dependency" | cut -d= -f1)" ver="$(echo "$dependency" | cut -d= -f2)" diff --git a/system/system76-power/system76-power.info b/system/system76-power/system76-power.info index 2a808eb79fbc..4b48ba97c14c 100644 --- a/system/system76-power/system76-power.info +++ b/system/system76-power/system76-power.info @@ -1,86 +1,128 @@ PRGNAM="system76-power" -VERSION="1.1.2" +VERSION="1.1.10" HOMEPAGE="https://github.com/pop-os/system76-power" -DOWNLOAD="https://github.com/pop-os/system76-power/archive/1.1.2/system76-power-1.1.2.tar.gz \ +DOWNLOAD="https://github.com/pop-os/system76-power/archive/1.1.10/system76-power-1.1.10.tar.gz \ https://crates-io.s3-us-west-1.amazonaws.com/crates/ansi_term/ansi_term-0.11.0.crate \ - https://crates-io.s3-us-west-1.amazonaws.com/crates/atty/atty-0.2.11.crate \ - https://crates-io.s3-us-west-1.amazonaws.com/crates/bitflags/bitflags-0.7.0.crate \ - https://crates-io.s3-us-west-1.amazonaws.com/crates/bitflags/bitflags-1.0.4.crate \ - https://crates-io.s3-us-west-1.amazonaws.com/crates/cfg-if/cfg-if-0.1.7.crate \ - https://crates-io.s3-us-west-1.amazonaws.com/crates/clap/clap-2.33.0.crate \ - https://crates-io.s3-us-west-1.amazonaws.com/crates/dbus/dbus-0.7.1.crate \ - https://crates-io.s3-us-west-1.amazonaws.com/crates/err-derive/err-derive-0.1.5.crate \ - https://crates-io.s3-us-west-1.amazonaws.com/crates/fern/fern-0.5.8.crate \ - https://crates-io.s3-us-west-1.amazonaws.com/crates/intel-pstate/intel-pstate-0.2.0.crate \ - https://crates-io.s3-us-west-1.amazonaws.com/crates/libc/libc-0.2.66.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/atty/atty-0.2.14.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/autocfg/autocfg-1.0.1.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/bitflags/bitflags-1.2.1.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/bytes/bytes-0.5.6.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/cc/cc-1.0.59.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/cfg-if/cfg-if-0.1.10.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/chrono/chrono-0.4.15.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/clap/clap-2.33.3.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/dbus/dbus-0.8.4.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/err-derive/err-derive-0.2.4.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/fern/fern-0.6.0.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/fuchsia-zircon/fuchsia-zircon-0.3.3.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/fuchsia-zircon-sys/fuchsia-zircon-sys-0.3.3.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/futures-core/futures-core-0.3.5.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/hermit-abi/hermit-abi-0.1.15.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/hidapi/hidapi-1.2.3.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/inotify/inotify-0.8.3.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/inotify-sys/inotify-sys-0.1.3.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/intel-pstate/intel-pstate-0.2.1.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/iovec/iovec-0.1.4.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/kernel32-sys/kernel32-sys-0.2.2.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/lazy_static/lazy_static-1.4.0.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/libc/libc-0.2.76.crate \ https://crates-io.s3-us-west-1.amazonaws.com/crates/libdbus-sys/libdbus-sys-0.2.1.crate \ - https://crates-io.s3-us-west-1.amazonaws.com/crates/log/log-0.4.6.crate \ - https://crates-io.s3-us-west-1.amazonaws.com/crates/numtoa/numtoa-0.1.0.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/log/log-0.4.11.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/mio/mio-0.6.22.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/miow/miow-0.2.1.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/net2/net2-0.2.34.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/num-integer/num-integer-0.1.43.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/num-traits/num-traits-0.2.12.crate \ https://crates-io.s3-us-west-1.amazonaws.com/crates/numtoa/numtoa-0.2.3.crate \ - https://crates-io.s3-us-west-1.amazonaws.com/crates/pkg-config/pkg-config-0.3.14.crate \ - https://crates-io.s3-us-west-1.amazonaws.com/crates/proc-macro2/proc-macro2-0.4.30.crate \ - https://crates-io.s3-us-west-1.amazonaws.com/crates/quote/quote-0.6.12.crate \ - https://crates-io.s3-us-west-1.amazonaws.com/crates/redox_syscall/redox_syscall-0.1.54.crate \ - https://crates-io.s3-us-west-1.amazonaws.com/crates/redox_termios/redox_termios-0.1.1.crate \ - https://crates-io.s3-us-west-1.amazonaws.com/crates/rustc_version/rustc_version-0.2.3.crate \ - https://crates-io.s3-us-west-1.amazonaws.com/crates/semver/semver-0.9.0.crate \ - https://crates-io.s3-us-west-1.amazonaws.com/crates/semver-parser/semver-parser-0.7.0.crate \ - https://crates-io.s3-us-west-1.amazonaws.com/crates/smart-default/smart-default-0.5.2.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/pin-project-lite/pin-project-lite-0.1.7.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/pkg-config/pkg-config-0.3.18.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/proc-macro-error/proc-macro-error-1.0.4.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/proc-macro-error-attr/proc-macro-error-attr-1.0.4.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/proc-macro2/proc-macro2-1.0.19.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/quote/quote-1.0.7.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/rustversion/rustversion-1.0.3.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/slab/slab-0.4.2.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/smart-default/smart-default-0.6.0.crate \ https://crates-io.s3-us-west-1.amazonaws.com/crates/strsim/strsim-0.8.0.crate \ - https://crates-io.s3-us-west-1.amazonaws.com/crates/syn/syn-0.15.34.crate \ - https://crates-io.s3-us-west-1.amazonaws.com/crates/synstructure/synstructure-0.10.1.crate \ - https://github.com/pop-os/sysfs-class/archive/0.1.2/sysfs-class-0.1.2.tar.gz \ - https://crates-io.s3-us-west-1.amazonaws.com/crates/termion/termion-1.5.2.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/syn/syn-1.0.39.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/synstructure/synstructure-0.12.4.crate \ + https://github.com/pop-os/sysfs-class/archive/0.1.3/sysfs-class-0.1.3.tar.gz \ https://crates-io.s3-us-west-1.amazonaws.com/crates/textwrap/textwrap-0.11.0.crate \ - https://crates-io.s3-us-west-1.amazonaws.com/crates/time/time-0.1.42.crate \ - https://crates-io.s3-us-west-1.amazonaws.com/crates/unicode-width/unicode-width-0.1.5.crate \ - https://crates-io.s3-us-west-1.amazonaws.com/crates/unicode-xid/unicode-xid-0.1.0.crate \ - https://crates-io.s3-us-west-1.amazonaws.com/crates/vec_map/vec_map-0.8.1.crate \ - https://crates-io.s3-us-west-1.amazonaws.com/crates/vergen/vergen-0.1.1.crate \ - https://crates-io.s3-us-west-1.amazonaws.com/crates/winapi/winapi-0.3.7.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/time/time-0.1.43.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/tokio/tokio-0.2.22.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/unicode-width/unicode-width-0.1.8.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/unicode-xid/unicode-xid-0.2.1.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/vec_map/vec_map-0.8.2.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/vergen/vergen-3.1.0.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/version_check/version_check-0.9.2.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/winapi/winapi-0.2.8.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/winapi/winapi-0.3.9.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/winapi-build/winapi-build-0.1.1.crate \ https://crates-io.s3-us-west-1.amazonaws.com/crates/winapi-i686-pc-windows-gnu/winapi-i686-pc-windows-gnu-0.4.0.crate \ - https://crates-io.s3-us-west-1.amazonaws.com/crates/winapi-x86_64-pc-windows-gnu/winapi-x86_64-pc-windows-gnu-0.4.0.crate" -MD5SUM="41dcd1b9733b23c5da0e41977327b500 \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/winapi-x86_64-pc-windows-gnu/winapi-x86_64-pc-windows-gnu-0.4.0.crate \ + https://crates-io.s3-us-west-1.amazonaws.com/crates/ws2_32-sys/ws2_32-sys-0.2.1.crate" +MD5SUM="c23b756f1a70721aa75a3b46f1594338 \ 294a49d3c53865fa7ac5d0ce2f5d5735 \ - 5d7155b7fbc0e234c017f418f0dc9d64 \ - 1dd9b755c91f0f7bb401e393a9ed69f2 \ - e5767560aad375059c975285c07022c0 \ - 0cd2bb93a82da2e4ca526b40ae8b341e \ - 135f6d6306e50606f0475ada50c33ce2 \ - 94a04e88c1b4994f8cd5bd2ee6195a4c \ - f2f2aaa1f19b52785665e4079ae6b903 \ - 0659d17c4a1530155d8aac2d9cab7cdb \ - a55e4bbf06ebb689ed245fbfbf3f1dd2 \ - 36ccbe3ad01b8cdf8ae1f0e28568eae5 \ + 142cb4b9a653e56e56311f0c883b8582 \ + c6443ec8d007c729ba5482008d0c864d \ + 6799c26a7eacaf8e58d3e45c6c5add89 \ + d123f33f646e37ca5b825ea6eb2dd150 \ + 1e6c2fa88c44a0822243fee42526719b \ + 882dbbc613a93f64c3709b0a2bd0d6dc \ + a47dd336c3099e7986f926b48c64ec6a \ + bc79e0eb364df515a33755ac9a581cfd \ + ff4619d1e15ab5c4ca25d549589f1046 \ + 9d53a61cdf8af705fd38cc26481b610d \ + 9bb99bc31c32da009e64621f4c635748 \ + dd7c80c2d04d2e9ceba82826cf69764d \ + 54cfab480b7a5f7302eadf44129d3f4b \ + 4554d3a0b77373fba853c413f30d6f59 \ + 9e4eacf58977b54f76be2b80d7d3b776 \ + c5287d42ccd4b81389cc8c08939b0218 \ + e7696ea7bac5b2d62b5306498960430b \ + 50929c2de8a472031f43c9fc371f2111 \ + 1c4f7ad251632c854fa67dc1f1f314e3 \ + f1c40b9836035b69e464df711a1d2950 \ + 9d033cc2daa6924420a4a89e6705773f \ + fba3b040a55c01be7376d3dd5c4d4920 \ + 1e624bdaaecfb8c58f030d6adf405c04 \ 78e11acb853ee9a9c1b905e209b33d4a \ - cc65f96341390c0f60f5216e829486e7 \ - bbda7e9c572f651774dfdb0006b9f085 \ + f50d2e280b4a3491fffda43b90982544 \ + e820082de1cf13e1111d2acbae898fcc \ + a82e0b9efe7f6385071c9fd9b3bccfa3 \ + 683a998da434a7ff8558bdf6eaa7b8c7 \ + 759816fe5b617674ae5dee83e3c3e6e2 \ + 2daa59d0efd38e9b5fbb2658b080eaa1 \ 28a4e2e962d9723f131cdd5acb140b6d \ - 87a9d36f5ebe5eae0c3e8d69d58752e1 \ - 020c7d0be083642e24a1499122793006 \ - 54694fe2ab822610b6ee4ccc048752eb \ - 14fab6ea3c2c94779d3c50dd2dffd10e \ - 01cb5402c0fd99cebac702b76f2f2669 \ - 4d101ab24d14c54937c5f45ece8fad5f \ - 64111c20b69aa1532fb66b70c4660b55 \ - 8b4d8c7b6e3a060d365bc1ad650929fa \ - 2d3e63b50a8d82c4dccd51981e332da8 \ + 62e9fc18f293722fdded066f34714585 \ + 0c860c0d0fa0dde03bd6be862fb1b6b4 \ + 6a32bab57772c3a1146d599b65ffb0cb \ + 7d76a523677de261dda1b65d29a93c4e \ + 2e821a99ce8067bee8c1007c07a5d1e8 \ + 63b29211eef9ccee0b0401d423db0efd \ + 322ae19fb8b0ec961b1168bab243c08a \ + c7bfa89e6da163f1474bb3787987bb12 \ + 26b4ac1432c227434bc943817f42872e \ 781d4ccf5d04c98fa02af207a9639249 \ - f84584b1a3e6311ffcb517ff3e1aff0b \ - d155c08de6c18bd55639ffed629894b9 \ - 4d96a8caaddec44a7cc692fb32f9753d \ - 9f1f6e2fe9afbbcc351a7430962a7571 \ + acc287a32cea7e35d5d35207a1c9e14a \ + 09f09b3f56045183393726a31d8a0192 \ + 80ca0de72168dc03e90bc3c519153305 \ a8de006fe0c7e373c560dd51599287a8 \ - 3d311d2cedf2d3d7b11b32baf470b178 \ - d7c493ca4f84a7d50b53646421a37487 \ - 5aaf04f9a94a6450e3e4963ddd62b92d \ - 0eedbc32447f40b3045d6de3910b5415 \ - 03910f37dc041fd9402bda7825e8404f \ - 38569b37293d94fc57b6e1449a1c38aa \ + 9d66208e00715217a8c1f2e40efe4a0c \ + 4d130fad86abe7c08cddf9275e031bd6 \ + 4272c279b06b88f8b0ffce7109348e27 \ + a51c43692084979295641a7ffba4b297 \ + 333b4ba3f64c35b6f89b521e8d64548b \ + 63630c8b8aeb092854a6e47f5d6468e1 \ + 8b01b016a9b6deebc1b43f296057efb5 \ + b44489eb4799c4fabac3fceb48de54f7 \ + 0498c4a11448bfc35dc7bb2caa64c753 \ + c900e7dbce808ff8ced375077b17a163 \ db96b50050277bf05a3c68534bbb9586 \ - 09de9d01e7331ff3da11f58be8bef0df" + 09de9d01e7331ff3da11f58be8bef0df \ + 38346bab0933c9eb1e36d22fe4220ba7" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="system76-io-dkms" +REQUIRES="system76-io-dkms rustup %README%" MAINTAINER="Erich Ritz" EMAIL="erich.public@protonmail.com" |