Compare commits

..

3 commits

Author SHA1 Message Date
b9740407f3
upgpkg: tuned 2.22.1-1
upstream release
2024-02-22 14:26:00 +01:00
81e521c013
upgpkg: tuned 2.22.0-3: split package
* Split package to make ppd service optional since it conflicts with power-profiles-daemon package
* Added missing backup files for tuned so that config files may not be overwritten on update
2024-02-22 07:36:00 +01:00
78cca39e50
upgpkg: sublime-text-dev 4.4172-1
upstream release
2024-02-22 07:02:00 +01:00
4 changed files with 70 additions and 33 deletions

View file

@ -1,6 +1,6 @@
pkgbase = sublime-text-dev pkgbase = sublime-text-dev
pkgdesc = Sophisticated text editor for code, html and prose - dev build pkgdesc = Sophisticated text editor for code, html and prose - dev build
pkgver = 4.4171 pkgver = 4.4172
pkgrel = 1 pkgrel = 1
url = https://www.sublimetext.com/dev url = https://www.sublimetext.com/dev
install = sublime-text-dev.install install = sublime-text-dev.install
@ -11,9 +11,9 @@ pkgbase = sublime-text-dev
depends = gtk3 depends = gtk3
provides = sublime-text provides = sublime-text
conflicts = sublime-text conflicts = sublime-text
source_x86_64 = sublime_text_dev_4_4171_1_x64.tar.xz::https://download.sublimetext.com/sublime_text_build_4171_x64.tar.xz source_x86_64 = sublime_text_dev_4_4172_1_x64.tar.xz::https://download.sublimetext.com/sublime_text_build_4172_x64.tar.xz
sha512sums_x86_64 = de094c80819132d6bdde37b4c29b0315bb355ec72bc25db748a14bb3ee386eafd001dffb8d86b77fefb5c9762118392032560d328b1393cc9c1576a0a98e8b4c sha512sums_x86_64 = 27f4aea7ab87edf0688ca3847e97936fd0a44096bca5df20b1a151d189eb6339b203ab7d9e8ca338c554b20815d53ce1066dc0f7281feec81d6b9f1a306ad133
source_aarch64 = sublime_text_dev_4_4171_1_arm64.tar.xz::https://download.sublimetext.com/sublime_text_build_4171_arm64.tar.xz source_aarch64 = sublime_text_dev_4_4172_1_arm64.tar.xz::https://download.sublimetext.com/sublime_text_build_4172_arm64.tar.xz
sha512sums_aarch64 = 2fa951324aa4372da69750323595fe1f95d59d3d9247320864535ea2dc475caa719f85401c0f60caf16509e5c80fe4b2c7d1b5af6951c136c47c66faab604941 sha512sums_aarch64 = 0b7b9757f80fec82c32960f87b137f990fb6bd5b36249fd3791b06871955ea8165bd8bb1314b8acc1035aea13b67f30d8e7fda2b4bb285ad73884ec63146c367
pkgname = sublime-text-dev pkgname = sublime-text-dev

View file

@ -3,7 +3,7 @@
# Contributor: realitygaps <realitygaps at yahoo dot com> # Contributor: realitygaps <realitygaps at yahoo dot com>
pkgname=sublime-text-dev pkgname=sublime-text-dev
pkgver=4.4171 pkgver=4.4172
pkgrel=1 pkgrel=1
pkgdesc='Sophisticated text editor for code, html and prose - dev build' pkgdesc='Sophisticated text editor for code, html and prose - dev build'
arch=('x86_64' 'aarch64') arch=('x86_64' 'aarch64')
@ -17,8 +17,8 @@ install=${pkgname}.install
source_x86_64=("${pkgname//-/_}_${pkgver/./_}_${pkgrel}_x64.tar.xz::https://download.sublimetext.com/sublime_text_build_${pkgver:2}_x64.tar.xz") source_x86_64=("${pkgname//-/_}_${pkgver/./_}_${pkgrel}_x64.tar.xz::https://download.sublimetext.com/sublime_text_build_${pkgver:2}_x64.tar.xz")
source_aarch64=("${pkgname//-/_}_${pkgver/./_}_${pkgrel}_arm64.tar.xz::https://download.sublimetext.com/sublime_text_build_${pkgver:2}_arm64.tar.xz") source_aarch64=("${pkgname//-/_}_${pkgver/./_}_${pkgrel}_arm64.tar.xz::https://download.sublimetext.com/sublime_text_build_${pkgver:2}_arm64.tar.xz")
sha512sums_x86_64=('de094c80819132d6bdde37b4c29b0315bb355ec72bc25db748a14bb3ee386eafd001dffb8d86b77fefb5c9762118392032560d328b1393cc9c1576a0a98e8b4c') sha512sums_x86_64=('27f4aea7ab87edf0688ca3847e97936fd0a44096bca5df20b1a151d189eb6339b203ab7d9e8ca338c554b20815d53ce1066dc0f7281feec81d6b9f1a306ad133')
sha512sums_aarch64=('2fa951324aa4372da69750323595fe1f95d59d3d9247320864535ea2dc475caa719f85401c0f60caf16509e5c80fe4b2c7d1b5af6951c136c47c66faab604941') sha512sums_aarch64=('0b7b9757f80fec82c32960f87b137f990fb6bd5b36249fd3791b06871955ea8165bd8bb1314b8acc1035aea13b67f30d8e7fda2b4bb285ad73884ec63146c367')
package() { package() {
cd "${srcdir}" cd "${srcdir}"

View file

@ -1,9 +1,8 @@
pkgbase = tuned pkgbase = tuned
pkgdesc = Daemon that performs monitoring and adaptive configuration of devices in the system pkgdesc = Daemon that performs monitoring and adaptive configuration of devices in the system
pkgver = 2.22.0 pkgver = 2.22.1
pkgrel = 2 pkgrel = 1
url = https://github.com/redhat-performance/tuned url = https://github.com/redhat-performance/tuned
install = tuned.install
arch = any arch = any
license = GPL license = GPL
makedepends = desktop-file-utils makedepends = desktop-file-utils
@ -18,10 +17,27 @@ pkgbase = tuned
depends = python-linux-procfs depends = python-linux-procfs
depends = python-perf depends = python-perf
depends = python-pyudev depends = python-pyudev
optdepends = virt-what: virtual machine detection options = !emptydirs
optdepends = systemtap: detailed system monitoring source = https://github.com/redhat-performance/tuned/archive/v2.22.1/tuned-2.22.1.tar.gz
backup = etc/tuned/active_profile sha512sums = 160b1cab5477d84a0da89f584fe646b32162527a138d9b5957799c5f26598b98449733040710133a1c5bdd5588eee72549131ff163e777a105fc24e92edc6d8f
source = https://github.com/redhat-performance/tuned/archive/v2.22.0/tuned-2.22.0.tar.gz
sha512sums = 653f946e8eff57eaa7e26b05c9215d60c8dcec6760b4a41a2855328e86b65f4dcbc0b2fd7d9f9355d00aae93f601c035a38d4e1611f30cb5003b417e31bea4dc
pkgname = tuned pkgname = tuned
install = tuned.install
optdepends = virt-what: virtual machine detection
optdepends = systemtap: detailed system monitoring
optdepends = tuned-ppd: power-profiles-daemon api translation
backup = etc/tuned/active_profile
backup = etc/tuned/bootcmdline
backup = etc/tuned/cpu-partitioning-powersave-variables.conf
backup = etc/tuned/cpu-partitioning-variables.conf
backup = etc/tuned/post_loaded_profile
backup = etc/tuned/realtime-variables.conf
backup = etc/tuned/realtime-virtual-guest-variables.conf
backup = etc/tuned/realtime-virtual-host-variables.conf
backup = etc/tuned/tuned-main.conf
pkgname = tuned-ppd
pkgdesc = Daemon that allows applications to easily transition to TuneD from power-profiles-daemon (PPD)
depends = tuned
conflicts = power-profiles-daemon
backup = etc/tuned/ppd.conf

View file

@ -3,38 +3,59 @@
# Contributor: Timothée Ravier <tim at siosm dot fr> # Contributor: Timothée Ravier <tim at siosm dot fr>
# Contributor: Tom <reztho at archlinux dot org> # Contributor: Tom <reztho at archlinux dot org>
pkgname=tuned pkgbase=tuned
pkgver=2.22.0 pkgname=("${pkgbase}" "${pkgbase}-ppd")
pkgrel=2 pkgver=2.22.1
pkgrel=1
pkgdesc='Daemon that performs monitoring and adaptive configuration of devices in the system' pkgdesc='Daemon that performs monitoring and adaptive configuration of devices in the system'
arch=('any') arch=('any')
url="https://github.com/redhat-performance/${pkgname}" url="https://github.com/redhat-performance/${pkgbase}"
license=('GPL') license=('GPL')
depends=('dbus-glib' 'ethtool' 'gawk' 'hdparm' 'polkit' 'python-configobj' 'python-dbus' 'python-gobject' 'python-linux-procfs' 'python-perf' 'python-pyudev') depends=('dbus-glib' 'ethtool' 'gawk' 'hdparm' 'polkit' 'python-configobj' 'python-dbus' 'python-gobject' 'python-linux-procfs' 'python-perf' 'python-pyudev')
optdepends=('virt-what: virtual machine detection'
'systemtap: detailed system monitoring')
makedepends=('desktop-file-utils') makedepends=('desktop-file-utils')
backup=('etc/tuned/active_profile') options=('!emptydirs')
install="${pkgname}.install" source=("https://github.com/redhat-performance/${pkgbase}/archive/v${pkgver}/${pkgbase}-${pkgver}.tar.gz")
source=("https://github.com/redhat-performance/${pkgname}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz") sha512sums=('160b1cab5477d84a0da89f584fe646b32162527a138d9b5957799c5f26598b98449733040710133a1c5bdd5588eee72549131ff163e777a105fc24e92edc6d8f')
sha512sums=('653f946e8eff57eaa7e26b05c9215d60c8dcec6760b4a41a2855328e86b65f4dcbc0b2fd7d9f9355d00aae93f601c035a38d4e1611f30cb5003b417e31bea4dc')
prepare() { prepare() {
cd "${pkgname}-${pkgver}" cd "${pkgbase}-${pkgver}"
mv libexec lib mv libexec lib
sed -i 's/libexec/lib/g' Makefile sed -i 's/libexec/lib/g' Makefile
sed -i 's/sbin/bin/g' Makefile sed -i 's/sbin/bin/g' Makefile
sed -i 's/install-ppd: install$/install-ppd: install-dirs/' Makefile
} }
package() { package_tuned() {
cd "${pkgname}-${pkgver}" optdepends=('virt-what: virtual machine detection'
'systemtap: detailed system monitoring'
'tuned-ppd: power-profiles-daemon api translation')
backup=('etc/tuned/active_profile'
'etc/tuned/bootcmdline'
'etc/tuned/cpu-partitioning-powersave-variables.conf'
'etc/tuned/cpu-partitioning-variables.conf'
'etc/tuned/post_loaded_profile'
'etc/tuned/realtime-variables.conf'
'etc/tuned/realtime-virtual-guest-variables.conf'
'etc/tuned/realtime-virtual-host-variables.conf'
'etc/tuned/tuned-main.conf')
install="${pkgbase}.install"
make DESTDIR="${pkgdir}" install install-ppd cd "${pkgbase}-${pkgver}"
rm -r "${pkgdir}"/{run,var}
make DESTDIR="${pkgdir}" install
python -m compileall -d /usr/lib "${pkgdir}/usr/lib" python -m compileall -d /usr/lib "${pkgdir}/usr/lib"
python -O -m compileall -d /usr/lib "${pkgdir}/usr/lib" python -O -m compileall -d /usr/lib "${pkgdir}/usr/lib"
}
install -Dm644 tuned.service "${pkgdir}/usr/lib/systemd/system/"
package_tuned-ppd() {
pkgdesc='Daemon that allows applications to easily transition to TuneD from power-profiles-daemon (PPD)'
depends=('tuned')
conflicts=('power-profiles-daemon')
backup=('etc/tuned/ppd.conf')
cd "${pkgbase}-${pkgver}"
make DESTDIR="${pkgdir}" install-ppd
} }