--- schedtool-1.3.0.orig/Makefile +++ schedtool-1.3.0/Makefile @@ -16,14 +16,12 @@ clean: rm -f *.o $(TARGET) -distclean: clean unzipman +distclean: clean rm -f *~ *.s -install: all install-doc zipman +install: all install -d $(DESTDIR)$(DESTPREFIX)/bin install -p -c $(TARGET) $(DESTDIR)$(DESTPREFIX)/bin - install -d $(DESTDIR)$(MANDIR) - install -p -c schedtool.8.gz $(DESTDIR)$(MANDIR) install-doc: install -d $(DESTDIR)$(DESTPREFIX)/share/doc/$(RELEASE) --- schedtool-1.3.0.orig/debian/compat +++ schedtool-1.3.0/debian/compat @@ -0,0 +1 @@ +5 --- schedtool-1.3.0.orig/debian/docs +++ schedtool-1.3.0/debian/docs @@ -0,0 +1,4 @@ +README +TODO +SCHED_DESIGN +TUNING --- schedtool-1.3.0.orig/debian/watch +++ schedtool-1.3.0/debian/watch @@ -0,0 +1,12 @@ +# Example watch control file for uscan +# Rename this file to "watch" and then you can run the "uscan" command +# to check for upstream updates and more. +# See uscan(1) for format + +# Compulsory line, this is a version 3 file +version=3 + +# Uncomment to examine a Webpage +# +http://freequaos.host.sk/schedtool/ schedtool-(.*)\.tar\.bz2 + --- schedtool-1.3.0.orig/debian/dirs +++ schedtool-1.3.0/debian/dirs @@ -0,0 +1 @@ +usr/bin --- schedtool-1.3.0.orig/debian/copyright +++ schedtool-1.3.0/debian/copyright @@ -0,0 +1,29 @@ +This package was debianized by Thibaut VARENE on +Sat, 6 Jan 2007 23:25:50 +0100. + +It was downloaded from http://freequaos.host.sk/schedtool/ + +Upstream Author: Freek + +Copyright: 2002-2007 Freek + +License: + + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; version 2 of the License. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +On Debian systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL-2'. + +The Debian packaging is (C) 2007, Thibaut VARENE and +is licensed under the GPL, see above. --- schedtool-1.3.0.orig/debian/rules +++ schedtool-1.3.0/debian/rules @@ -0,0 +1,97 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# This file was originally written by Joey Hess and Craig Small. +# As a special exception, when this file is copied by dh-make into a +# dh-make output file, you may use that output file without restriction. +# This special exception was added by Craig Small in version 0.37 of dh-make. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + + + + +CFLAGS = -Wall -g -fomit-frame-pointer -s -pipe + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -Os +endif + +configure: configure-stamp +configure-stamp: + dh_testdir + # Add here commands to configure the package. + + touch configure-stamp + + +build: build-stamp + +build-stamp: configure-stamp + dh_testdir + + # Add here commands to compile the package. + $(MAKE) CFLAGS="$(CFLAGS)" + + touch $@ + +clean: + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + + # Add here commands to clean up after the build process. + [ ! -f Makefile ] || $(MAKE) clean + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Add here commands to install the package into debian/schedtool. + $(MAKE) DESTPREFIX=$(CURDIR)/debian/schedtool/usr install + + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs CHANGES + dh_installdocs + dh_installexamples +# dh_install +# dh_installmenu +# dh_installdebconf +# dh_installlogrotate +# dh_installemacsen +# dh_installpam +# dh_installmime +# dh_python +# dh_installinit +# dh_installcron +# dh_installinfo + dh_installman schedtool.8 + dh_link + dh_strip + dh_compress + dh_fixperms +# dh_perl +# dh_makeshlibs + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure --- schedtool-1.3.0.orig/debian/changelog +++ schedtool-1.3.0/debian/changelog @@ -0,0 +1,38 @@ +schedtool (1.3.0-1) unstable; urgency=low + + * New upstream release + * Uses the new cpu_set_t api found in newer glibcs + + -- Thibaut VARENE Fri, 19 Sep 2008 15:56:39 +0200 + +schedtool (1.2.10-1) unstable; urgency=low + + * New upstream release + * Sync up with upstream version number, no change + + -- Thibaut VARENE Sat, 15 Dec 2007 12:20:15 +0100 + +schedtool (1.2.9-4) unstable; urgency=low + + * Reword description and fix typo on Con's name + + -- Thibaut VARENE Wed, 09 May 2007 01:57:36 +0200 + +schedtool (1.2.9-3) unstable; urgency=low + + * Did we say "1.2.9"? ;) Fix wrong version string. + + -- Thibaut VARENE Fri, 23 Feb 2007 03:43:27 +0100 + +schedtool (1.2.9-2) unstable; urgency=low + + * Upload to unstable after almost a month in experimental. + + -- Thibaut VARENE Tue, 20 Feb 2007 03:20:33 +0100 + +schedtool (1.2.9-1) experimental; urgency=low + + * Initial release (Closes: #377546) + + -- Thibaut VARENE Sat, 6 Jan 2007 23:25:50 +0100 + --- schedtool-1.3.0.orig/debian/control +++ schedtool-1.3.0/debian/control @@ -0,0 +1,27 @@ +Source: schedtool +Section: utils +Priority: extra +Maintainer: Thibaut VARENE +Build-Depends: debhelper (>= 5), linux-kernel-headers +Standards-Version: 3.8.0 + +Package: schedtool +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Queries/alters process' scheduling policy and CPU affinity + Schedtool can query or alter a process' scheduling policy in Linux, + specifically assigning SCHED_NORMAL, _FIFO, _RR, _BATCH, _ISO or _IDLEPRIO. It + can set static priority for _FIFO and _RR. Setting CPU-affinity and (re)nicing + is also possible, making schedtool the definitive interface to Linux scheduler. + . + It can be used to avoid skips and glitches in A/V applications, to lock + processes onto given CPUs on SMP/NUMA systems, which may be beneficial for + networking or benchmarks, or to adjust nice-levels of lesser important jobs to + maintain a high amount of interactive responsiveness under high load. It is + also handy to manage realtime processes. + . + If you don't know about scheduling policies, you probably don't want to use + this program - or learn and read "man sched_setscheduler". + . + Some supported scheduling policies (such as SCHED_ISO, or SCHED_IDLEPRIO) need + a patched kernel (eg. Con Kolivas' -ck patchset).