commit
329269d3d6
11 changed files with 177 additions and 9 deletions
|
@ -2064,3 +2064,4 @@ libmediaart-2.0.so.0 libmediaart2-1.9.0_1
|
||||||
libgegl-0.3.so.0 gegl3-0.3.0_1
|
libgegl-0.3.so.0 gegl3-0.3.0_1
|
||||||
libgegl-npd-0.3.so gegl3-0.3.0_1
|
libgegl-npd-0.3.so gegl3-0.3.0_1
|
||||||
libgegl-sc-0.3.so gegl3-0.3.0_1
|
libgegl-sc-0.3.so gegl3-0.3.0_1
|
||||||
|
libprocps.so.4 procps-ng-3.3.10_8
|
||||||
|
|
3
srcpkgs/ConsoleKit2/files/consolekit/run
Normal file
3
srcpkgs/ConsoleKit2/files/consolekit/run
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
#!/bin/sh
|
||||||
|
sv check dbus >/dev/null || exit 1
|
||||||
|
exec console-kit-daemon --no-daemon
|
|
@ -2,7 +2,7 @@
|
||||||
pkgname=ConsoleKit2
|
pkgname=ConsoleKit2
|
||||||
reverts=0.9.3_1
|
reverts=0.9.3_1
|
||||||
version=0.9.2
|
version=0.9.2
|
||||||
revision=7
|
revision=8
|
||||||
patch_args="-Np1"
|
patch_args="-Np1"
|
||||||
build_pie=yes
|
build_pie=yes
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
|
@ -32,6 +32,10 @@ pre_configure() {
|
||||||
autoreconf -fi
|
autoreconf -fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
vsv consolekit
|
||||||
|
}
|
||||||
|
|
||||||
ConsoleKit2-devel_package() {
|
ConsoleKit2-devel_package() {
|
||||||
short_desc+=" - development files"
|
short_desc+=" - development files"
|
||||||
depends="dbus-devel ${sourcepkg}>=${version}_${revision}"
|
depends="dbus-devel ${sourcepkg}>=${version}_${revision}"
|
||||||
|
|
23
srcpkgs/lua51-BitOp/template
Normal file
23
srcpkgs/lua51-BitOp/template
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
# Template file for 'lua-BitOp'
|
||||||
|
pkgname=lua51-BitOp
|
||||||
|
version=1.0.2
|
||||||
|
revision=1
|
||||||
|
makedepends="lua51-devel lua51"
|
||||||
|
hostmakedepends="lua51"
|
||||||
|
depends="lua51"
|
||||||
|
short_desc="C extension module for Lua which adds bitwise operations on numbers"
|
||||||
|
maintainer="Tj Vanderpoel (bougyman) <tj@rubyists.com>"
|
||||||
|
license="MIT"
|
||||||
|
homepage="http://bitop.luajit.org/"
|
||||||
|
distfiles="${homepage}/download/LuaBitOp-${version}.tar.gz"
|
||||||
|
checksum=1207c9293dcd52eb9dca6538d1b87352bd510f4e760938f5048433f7f272ce99
|
||||||
|
build_style=gnu-makefile
|
||||||
|
wrksrc="LuaBitOp-${version}"
|
||||||
|
make_build_args="INCLUDES=-I/usr/include/lua5.1"
|
||||||
|
|
||||||
|
do_install() {
|
||||||
|
mod_path="${DESTDIR}$(lua5.1 installpath.lua bit)"
|
||||||
|
lua_path=$(dirname $mod_path)
|
||||||
|
install -dm0755 "$lua_path"
|
||||||
|
install -p bit.so "$mod_path"
|
||||||
|
}
|
|
@ -1,11 +1,11 @@
|
||||||
# Template file for 'luaposix'
|
# Template file for 'luaposix'
|
||||||
pkgname=luaposix
|
pkgname=luaposix
|
||||||
version=5.1.28
|
version=5.1.28
|
||||||
revision=3
|
revision=4
|
||||||
lib32disabled=yes
|
lib32disabled=yes
|
||||||
wrksrc="${pkgname}-release-v${version}"
|
wrksrc="${pkgname}-release-v${version}"
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--libdir=/usr/lib/lua/5.1 --datadir=/usr/share/lua/5.1"
|
configure_args="--libdir=/usr/lib/lua/5.2 --datadir=/usr/share/lua/5.2"
|
||||||
hostmakedepends="perl lua-devel"
|
hostmakedepends="perl lua-devel"
|
||||||
makedepends="ncurses-devel lua-devel"
|
makedepends="ncurses-devel lua-devel"
|
||||||
depends="lua"
|
depends="lua"
|
||||||
|
|
22
srcpkgs/luaposix51/template
Normal file
22
srcpkgs/luaposix51/template
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
# Template file for 'luaposix51'
|
||||||
|
pkgname=luaposix51
|
||||||
|
version=5.1.28
|
||||||
|
revision=2
|
||||||
|
lib32disabled=yes
|
||||||
|
wrksrc="luaposix-release-v${version}"
|
||||||
|
build_style=gnu-configure
|
||||||
|
configure_args="--libdir=/usr/lib/lua/5.1 --datadir=/usr/share/lua/5.1"
|
||||||
|
hostmakedepends="perl lua51-devel"
|
||||||
|
makedepends="ncurses-devel lua51-devel"
|
||||||
|
depends="lua51 lua51-BitOp"
|
||||||
|
short_desc="A POSIX library for Lua programming language"
|
||||||
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||||
|
license="GPL-2, LGPL-2.1"
|
||||||
|
homepage="http://luaforge.net/projects/luaposix/"
|
||||||
|
distfiles="https://github.com/luaposix/luaposix/archive/release-v${version}.tar.gz"
|
||||||
|
checksum=d82a322cb93d25ef16ba2cbab79f6fa1d94806249542d771c2c89a5f9cc4345f
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
vmkdir usr/share/$pkgname/examples
|
||||||
|
vcopy "*.lua" usr/share/$pkgname/examples
|
||||||
|
}
|
1
srcpkgs/procps-ng-devel
Symbolic link
1
srcpkgs/procps-ng-devel
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
procps-ng
|
|
@ -1,11 +1,11 @@
|
||||||
# Template file for 'procps-ng'
|
# Template file for 'procps-ng'
|
||||||
pkgname=procps-ng
|
pkgname=procps-ng
|
||||||
version=3.3.10
|
version=3.3.10
|
||||||
revision=7
|
revision=8
|
||||||
build_pie=yes
|
build_pie=yes
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--exec-prefix=/ --bindir=/usr/bin --sbindir=/usr/bin
|
configure_args="--exec-prefix=/ --bindir=/usr/bin --sbindir=/usr/bin
|
||||||
--libdir=/usr/lib --disable-static --disable-kill --enable-watch8bit
|
--libdir=/usr/lib --disable-kill --enable-watch8bit
|
||||||
--disable-modern-top $(vopt_with systemd)"
|
--disable-modern-top $(vopt_with systemd)"
|
||||||
hostmakedepends="automake libtool pkg-config gettext-devel"
|
hostmakedepends="automake libtool pkg-config gettext-devel"
|
||||||
makedepends="ncurses-devel $(vopt_if systemd systemd-devel)"
|
makedepends="ncurses-devel $(vopt_if systemd systemd-devel)"
|
||||||
|
@ -28,8 +28,15 @@ pre_configure() {
|
||||||
}
|
}
|
||||||
post_install() {
|
post_install() {
|
||||||
vconf ${FILESDIR}/sysctl.conf
|
vconf ${FILESDIR}/sysctl.conf
|
||||||
# Remove devel and docs.
|
}
|
||||||
rm -rf ${DESTDIR}/usr/share/doc \
|
procps-ng-devel_package() {
|
||||||
${DESTDIR}/usr/include ${DESTDIR}/usr/lib/pkgconfig
|
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
|
||||||
rm -f ${DESTDIR}/usr/lib/*.so
|
short_desc+=" - development files"
|
||||||
|
pkg_install() {
|
||||||
|
vmove usr/share/man/man3
|
||||||
|
vmove usr/include
|
||||||
|
vmove usr/lib/pkgconfig
|
||||||
|
vmove "usr/lib/*.a"
|
||||||
|
vmove "usr/lib/*.so"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
30
srcpkgs/ulatencyd/files/subtle.lua
Normal file
30
srcpkgs/ulatencyd/files/subtle.lua
Normal file
|
@ -0,0 +1,30 @@
|
||||||
|
--[[
|
||||||
|
Copyright 2010,2011,2012 ulatencyd developers
|
||||||
|
|
||||||
|
This file is part of ulatencyd.
|
||||||
|
|
||||||
|
License: GNU General Public License 3 or later
|
||||||
|
]]--
|
||||||
|
|
||||||
|
SubtleWM = {
|
||||||
|
name = "SubtleWM",
|
||||||
|
re_basename = "subtle",
|
||||||
|
check = function(self, proc)
|
||||||
|
local flag = ulatency.new_flag{name="user.ui"}
|
||||||
|
proc:add_flag(flag)
|
||||||
|
proc:set_oom_score(-400)
|
||||||
|
rv = ulatency.filter_rv(ulatency.FILTER_STOP)
|
||||||
|
return rv
|
||||||
|
end
|
||||||
|
}
|
||||||
|
|
||||||
|
AwesomeFix = RunnerFix.new("SubtleWM", {"subtle"})
|
||||||
|
|
||||||
|
-- on start we have to fix all processes that have descented from kde
|
||||||
|
local function cleanup_awesome_mess()
|
||||||
|
cleanup_desktop_mess({"subtle"})
|
||||||
|
return false
|
||||||
|
end
|
||||||
|
|
||||||
|
ulatency.add_timeout(cleanup_awesome_mess, 1000)
|
||||||
|
ulatency.register_filter(AwesomeUI)
|
3
srcpkgs/ulatencyd/files/ulatencyd/run
Normal file
3
srcpkgs/ulatencyd/files/ulatencyd/run
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
#!/bin/sh
|
||||||
|
sv check consolekit >/dev/null || exit 1
|
||||||
|
exec ulatencyd 2>&1
|
74
srcpkgs/ulatencyd/template
Normal file
74
srcpkgs/ulatencyd/template
Normal file
|
@ -0,0 +1,74 @@
|
||||||
|
# Template file for 'ulatencyd'
|
||||||
|
pkgname=ulatencyd
|
||||||
|
version=0.6.0
|
||||||
|
revision=1
|
||||||
|
_subrelease=alpha.2.1
|
||||||
|
wrksrc="${pkgname}-${version}-${_subrelease}"
|
||||||
|
build_style=cmake
|
||||||
|
hostmakedepends="cmake pkg-config"
|
||||||
|
makedepends="procps-ng-devel glib-devel dbus-glib-devel lua51-devel glibc-devel libxcb-devel"
|
||||||
|
depends="luaposix51 ConsoleKit2"
|
||||||
|
short_desc="Daemon to minimize latency on a linux system using cgroups"
|
||||||
|
maintainer="Andrea Brancaleoni <miwaxe@gmail.com>"
|
||||||
|
license="GPL-3"
|
||||||
|
homepage="https://github.com/poelzi/${pkgname}"
|
||||||
|
distfiles="${homepage}/archive/${version}-${_subrelease}.tar.gz"
|
||||||
|
checksum=efaf0cf814ef36b9d63f6a588482a2f1ac435163ff5e9d8d20ce07de58efbf2e
|
||||||
|
|
||||||
|
configure_args="-DCMAKE_EXE_LINKER_FLAGS=-ldl -DDEVELOP_MODE=false -DCMAKE_BUILD_TYPE=RelWithDebInfo -DSYSTEMD_DIR=''"
|
||||||
|
conf_files="
|
||||||
|
/etc/dbus-1/system.d/org.quamquam.ulatencyd.conf
|
||||||
|
/etc/ulatencyd/simple.conf
|
||||||
|
/etc/ulatencyd/cgroups.conf
|
||||||
|
/etc/ulatencyd/scheduler/20-desktop.lua
|
||||||
|
/etc/ulatencyd/scheduler/30-single-task.lua
|
||||||
|
/etc/ulatencyd/scheduler/30-game.lua
|
||||||
|
/etc/ulatencyd/scheduler/50-video_playback.lua
|
||||||
|
/etc/ulatencyd/scheduler/99-cleanup.lua
|
||||||
|
/etc/ulatencyd/scheduler/00-common.lua
|
||||||
|
/etc/ulatencyd/scheduler/20-one-seat-desktop.lua
|
||||||
|
/etc/ulatencyd/rules/subtle.lua
|
||||||
|
/etc/ulatencyd/rules/zz_isolate.lua
|
||||||
|
/etc/ulatencyd/rules/protectors.lua
|
||||||
|
/etc/ulatencyd/rules/awesome.lua
|
||||||
|
/etc/ulatencyd/rules/desktop.lua
|
||||||
|
/etc/ulatencyd/rules/gnome.lua
|
||||||
|
/etc/ulatencyd/rules/00-fixers.lua
|
||||||
|
/etc/ulatencyd/rules/lxde.lua
|
||||||
|
/etc/ulatencyd/rules/zz_fixers.lua
|
||||||
|
/etc/ulatencyd/rules/system.lua
|
||||||
|
/etc/ulatencyd/rules/kde.lua
|
||||||
|
/etc/ulatencyd/rules/scheduler.lua
|
||||||
|
/etc/ulatencyd/rules/xfce.lua
|
||||||
|
/etc/ulatencyd/rules/io.lua
|
||||||
|
/etc/ulatencyd/ulatencyd.conf
|
||||||
|
/etc/ulatencyd/simple.d/isolate.conf
|
||||||
|
/etc/ulatencyd/simple.d/games.conf
|
||||||
|
/etc/ulatencyd/simple.d/lxde.conf
|
||||||
|
/etc/ulatencyd/simple.d/applications.conf
|
||||||
|
/etc/ulatencyd/simple.d/audio.conf
|
||||||
|
/etc/ulatencyd/simple.d/idle.conf
|
||||||
|
/etc/ulatencyd/simple.d/sessions.conf
|
||||||
|
/etc/ulatencyd/simple.d/dbus.conf
|
||||||
|
/etc/ulatencyd/simple.d/xfce.conf
|
||||||
|
/etc/ulatencyd/simple.d/cinnamon.conf
|
||||||
|
/etc/ulatencyd/simple.d/screencasters.conf
|
||||||
|
/etc/ulatencyd/simple.d/ui.conf
|
||||||
|
/etc/ulatencyd/simple.d/pantheon.conf
|
||||||
|
/etc/ulatencyd/simple.d/portage.conf
|
||||||
|
/etc/ulatencyd/simple.d/fixes.conf
|
||||||
|
/etc/ulatencyd/simple.d/ubuntu.conf
|
||||||
|
/etc/ulatencyd/simple.d/bittorrent.conf
|
||||||
|
/etc/ulatencyd/simple.d/video.conf
|
||||||
|
/etc/ulatencyd/simple.d/unity.conf
|
||||||
|
/etc/ulatencyd/simple.d/media.conf"
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
vsv ulatencyd
|
||||||
|
|
||||||
|
vinstall ${FILESDIR}/subtle.lua 644 etc/ulatencyd/rules
|
||||||
|
|
||||||
|
vmkdir usr/share
|
||||||
|
mv ${DESTDIR}/usr/man ${DESTDIR}/usr/share
|
||||||
|
mv ${DESTDIR}/usr/sbin/* ${DESTDIR}/usr/bin
|
||||||
|
}
|
Loading…
Reference in a new issue