arts (Re: [Pkg-kde-talk] more KDE 3.4 packaging)
Pierre Habouzit
pierre.habouzit@m4x.org
Sat, 26 Feb 2005 15:10:11 +0100
--nextPart2231577.ADBeFttGd0
Content-Type: multipart/mixed;
boundary="Boundary-01=_DNIICz47SjJV0LW"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
--Boundary-01=_DNIICz47SjJV0LW
Content-Type: text/plain;
charset="iso-8859-15"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
> moreover, I think we should solve #263536 (FTBFS for GNU/Hurd and
> GNU/k*BSD)
>
> but since we now use cdbs, the patch on the BTS does not work. I
> searched in cdbs buildcore.mk and found a way to update a
> debian/control from the debian/control.in ... (some
> DEB_AUTO_UPDATE_DEBIAN_CONTROL var)
>
> but it does not seem to work here.
ok, I'm soooooo stupid.
I finally figured how to do this :=20
DEB_AUTO_UPDATE_DEBIAN_CONTROL :=3D yes
has to be set ... *before* the cdbs includes (I feel so ashame).
attached is a patch (that I cannot commit atm since I'm not in the=20
svn-hooks/commit-access-control.cfg).
the commit log could be :
=2D---------------------------------------------------------
* added automake1.9 to the build-depends
* reworked debian/control a little + closes 266961
* closes 263536 with cdbs magic
* add myself to uploaders
=2D---------------------------------------------------------
I've used this scheme for changelog (because I don't know if there is a=20
policy atm in the team) :
* My Name :
- first change
- second change ...
because I think it's the common way for co-maintained packages. but you=20
can remove the <pierre habouzit> part if you dislike it. I don't seek=20
for celebrity ;)
=2D-=20
=B7O=B7 Pierre Habouzit
=B7=B7O
OOO http://www.madism.org
--Boundary-01=_DNIICz47SjJV0LW
Content-Type: text/x-diff;
charset="iso-8859-15";
name="arts.patch"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
filename="arts.patch"
Index: debian/control
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
=2D-- debian/control (revision 514)
+++ debian/control (working copy)
@@ -2,8 +2,8 @@
Section: libs
Priority: optional
Maintainer: Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
=2DUploaders: Christopher L Cheney <ccheney@debian.org>, Christopher Martin=
<chrsmrtn@freeshell.org>, Adeodato Sim=C3=B3 <asp16@alu.ua.es>
=2DBuild-Depends: cdbs (>=3D 0.4.26), debhelper (>=3D 4.2.30), autotools-de=
v, docbook-to-man, gawk, gettext, libasound2-dev, libaudio-dev, libaudiofil=
e-dev, libesd0-dev, libglib2.0-dev, libjack0.80.0-dev, libmad0-dev, libogg-=
dev, libqt3-mt-dev (>=3D 3.3.3), libvorbis-dev, sharutils, texinfo, xlibs-s=
tatic-pic
+Uploaders: Christopher L Cheney <ccheney@debian.org>, Christopher Martin <=
chrsmrtn@freeshell.org>, Adeodato Sim=C3=B3 <asp16@alu.ua.es>, Pierre Habou=
zit <pierre.habouzit@m4x.org>
+Build-Depends: cdbs (>=3D 0.4.26), debhelper (>=3D 4.2.30), autotools-dev,=
docbook-to-man, gawk, gettext, libasound2-dev [system: linux-gnu], libaudi=
o-dev, libaudiofile-dev, libesd0-dev, libglib2.0-dev, libjack0.80.0-dev, li=
bmad0-dev, libogg-dev, libqt3-mt-dev (>=3D 3.3.3), libvorbis-dev, sharutils=
, texinfo, xlibs-static-pic, automake1.9, libtool, type-handling (>=3D 0.2.=
5)
Build-Conflicts: libmas-dev
Standards-Version: 3.6.1
=20
Index: debian/control.in
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
=2D-- debian/control.in (revision 0)
+++ debian/control.in (revision 0)
@@ -0,0 +1,95 @@
+Source: arts
+Section: libs
+Priority: optional
+Maintainer: Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
+Uploaders: Christopher L Cheney <ccheney@debian.org>, Christopher Martin <=
chrsmrtn@freeshell.org>, Adeodato Sim=C3=B3 <asp16@alu.ua.es>, Pierre Habou=
zit <pierre.habouzit@m4x.org>
+Build-Depends: cdbs (>=3D 0.4.26), debhelper (>=3D 4.2.30), autotools-dev,=
docbook-to-man, gawk, gettext, libasound2-dev [system: linux-gnu], libaudi=
o-dev, libaudiofile-dev, libesd0-dev, libglib2.0-dev, libjack0.80.0-dev, li=
bmad0-dev, libogg-dev, libqt3-mt-dev (>=3D 3.3.3), libvorbis-dev, sharutils=
, texinfo, xlibs-static-pic, automake1.9, libtool, type-handling (>=3D 0.2.=
5)
+Build-Conflicts: libmas-dev
+Standards-Version: 3.6.1
+Cpu: any
+
+Package: arts
+Architecture: all
+Section: sound
+Depends: libartsc0 (>=3D ${Source-Version}), libarts1 (>=3D ${Source-Versi=
on})
+Description: Analog Realtime Synthesizer (aRts) metapackage
+ aRts is a short form for \"analog realtime synthesizer\". The idea of the=
whole
+ thing is to create/process sound using small modules which do certain tas=
ks.
+ These may be create a waveform (oscillators), play samples, filter data, =
add
+ signals, perform effects like delay/flanger/chorus, or output the data to
+ the soundcard.
+ .
+ aRts is the core sound system for KDE (and other systems).
+ .
+ This package is part of the official KDE aRts module.
+
+Package: libarts1
+Architecture: any
+Section: libs
+Depends: ${shlibs:Depends}
+Recommends: akode
+Conflicts: libarts (<< 4:3.0.0), libarts-alsa (<< 4:3.0.0)
+Replaces: libarts (<< 4:3.0.0), libarts-alsa (<< 4:3.0.0)
+Description: aRts Sound system
+ aRts is a short form for \"analog realtime synthesizer\". The idea of the=
whole
+ thing is to create/process sound using small modules which do certain tas=
ks.
+ These may be create a waveform (oscillators), play samples, filter data, =
add
+ signals, perform effects like delay/flanger/chorus, or output the data to
+ the soundcard.
+ .
+ This package contains the sound system itself, and its binaries.
+ .
+ This package is part of the official KDE aRts module.
+
+Package: libarts1-dev
+Architecture: any
+Section: libdevel
+Depends: libarts1 (=3D ${Source-Version}), libartsc0-dev (=3D ${Source-Ver=
sion}), libasound2-dev [systen: linux-gnu], libaudio-dev, libaudiofile-dev,=
libesd0-dev, libglib2.0-dev, libjack0.80.0-dev, libmad0-dev, libogg-dev, l=
ibqt3-mt-dev (>=3D 3.3.3), libvorbis-dev
+Conflicts: kdelibs3 (<< 4:3.0.0), libarts (<< 4:3.0.0), libarts-alsa (<< 4=
:3.0.0), libarts-dev (<< 4:3.0.0), libkmid (<< 4:3.0.0), libkmid-alsa (<< 4=
:3.0.0), libkmid-dev (<< 4:3.0.0)
+Replaces: kdelibs3 (<< 4:3.0.0), libarts (<< 4:3.0.0), libarts-alsa (<< 4:=
3.0.0), libarts-dev (<< 4:3.0.0), libkmid (<< 4:3.0.0), libkmid-alsa (<< 4:=
3.0.0), libkmid-dev (<< 4:3.0.0)
+Description: aRts Sound system (development files)
+ aRts is a short form for \"analog realtime synthesizer\". The idea of the=
whole
+ thing is to create/process sound using small modules which do certain tas=
ks.
+ These may be create a waveform (oscillators), play samples, filter data, =
add
+ signals, perform effects like delay/flanger/chorus, or output the data to
+ the soundcard.
+ .
+ This package contains the header files needed to build apps that use the =
aRts
+ sound daemon.
+ .
+ This package is part of the official KDE aRts module.
+
+Package: libartsc0
+Architecture: any
+Section: libs
+Depends: ${shlibs:Depends}
+Conflicts: libarts (<< 4:3.0.0), libarts-alsa (<< 4:3.0.0)
+Replaces: libarts (<< 4:3.0.0), libarts-alsa (<< 4:3.0.0)
+Description: aRts Sound system C support library
+ aRts is a short form for \"analog realtime synthesizer\". The idea of the=
whole
+ thing is to create/process sound using small modules which do certain tas=
ks.
+ These may be create a waveform (oscillators), play samples, filter data, =
add
+ signals, perform effects like delay/flanger/chorus, or output the data to
+ the soundcard.
+ .
+ This package contains the C binding to the aRts sound daemon.
+ .
+ This package is part of the official KDE aRts module.
+
+Package: libartsc0-dev
+Architecture: any
+Section: libdevel
+Depends: libartsc0 (=3D ${Source-Version}), libglib2.0-dev
+Conflicts: libarts (<< 4:3.0.0), libarts-alsa (<< 4:3.0.0), libarts-dev (<=
< 4:3.0.0)
+Replaces: libarts (<< 4:3.0.0), libarts-alsa (<< 4:3.0.0), libarts-dev (<<=
4:3.0.0)
+Description: aRts Sound system C support library (development files)
+ aRts is a short form for \"analog realtime synthesizer\". The idea of the=
whole
+ thing is to create/process sound using small modules which do certain tas=
ks.
+ These may be create a waveform (oscillators), play samples, filter data, =
add
+ signals, perform effects like delay/flanger/chorus, or output the data to
+ the soundcard.
+ .
+ This package contains the header files needed to build apps that use the =
aRts
+ sound daemon C binding.
+ .
+ This package is part of the official KDE aRts module.
Index: debian/changelog
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
=2D-- debian/changelog (revision 514)
+++ debian/changelog (working copy)
@@ -5,8 +5,16 @@
* Converted packaging to CDBS (initial version by Daniel Schepler, furth=
er
changes by Christopher Martin and Adeodato Sim=C3=B3).
=20
=2D -- Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org> Sat, 26 =
=46eb 2005 08:50:24 +0100
+ * Pierre Habouzit :
=20
+ - Added some explanation on the real aRts binaries location in
+ README.Debian (closes: #266961).
+
+ - Use cdbs magic to auto-generate debian/control and also fix
+ Gnu/{HURD,k*BSD} FTBFS (closes: #263536).
+
+ -- Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org> Sat, 26 Fe=
b 2005 14:56:07 +0100
+
arts (1.3.2-3) UNRELEASED; urgency=3Dlow
=20
+++ Changes by Christopher Martin:
Index: debian/rules
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
=2D-- debian/rules (revision 514)
+++ debian/rules (working copy)
@@ -1,5 +1,7 @@
#! /usr/bin/make -f
=20
+DEB_AUTO_UPDATE_DEBIAN_CONTROL :=3D yes
+
include /usr/share/cdbs/1/rules/debhelper.mk
include debian/cdbs/kde.mk
include /usr/share/cdbs/1/rules/simple-patchsys.mk
Index: debian/README.Debian
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
=2D-- debian/README.Debian (revision 514)
+++ debian/README.Debian (working copy)
@@ -1,27 +1,45 @@
=2DaRts for Debian ships without the SUID bit set on artswrapper, thus
=2Dpreventing the aRts daemon from running with realtime scheduling
=2Dpriority, a feature which helps prevent audio skips and jumps.
+aRts for debian
+=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
=20
=2DThis restriction is in place due to aRts' unfortunate tendency to
=2Dlock the system on exit, when run with realtime priority on systems
=2Dwith a 2.4 series kernel.
+Where are the binaries ?
+------------------------
=20
=2DNB: The akode aRts decoder plug-in, introduced with KDE 3.3,
=2Ddramatically improves aRts' CPU usage and helps to maintain
=2Duninterrupted playback, often making realtime scheduling
=2Dunnecessary (apt-get install akode).
+ arts is a metapackage.
+ =20
+ libarts1 is the package that contains arts binaries :
+ artsd, artsplay, ...
=20
=2DUsers running other kernels, or simply willing to risk it, can set
=2DSUID on artswrapper, thus enabling the possibility of realtime
=2Dscheduling, by running, as root:
+ -- Pierre Habouzit <pierre.habouzit@m4x.org>
+ Sat, 26 Feb 2005 13:38:42 +0100
=20
=2Ddpkg-statoverride --add --update root root 4755 /usr/bin/artswrapper
=20
=2DIf this causes problems, the default permissions can be restored by
=2Drunning, as root:
+artswrapper and SUID
+------------------------
+ =20
+ aRts for Debian ships without the SUID bit set on artswrapper, thus
+ preventing the aRts daemon from running with realtime scheduling
+ priority, a feature which helps prevent audio skips and jumps.
=20
=2Ddpkg-statoverride --remove /usr/bin/artswrapper
=2Dchmod 0755 /usr/bin/artswrapper
+ This restriction is in place due to aRts' unfortunate tendency to
+ lock the system on exit, when run with realtime priority on systems
+ with a 2.4 series kernel.
=20
+ NB: The akode aRts decoder plug-in, introduced with KDE 3.3,
+ dramatically improves aRts' CPU usage and helps to maintain
+ uninterrupted playback, often making realtime scheduling
+ unnecessary (apt-get install akode).
+
+ Users running other kernels, or simply willing to risk it, can set
+ SUID on artswrapper, thus enabling the possibility of realtime
+ scheduling, by running, as root:
+
+ dpkg-statoverride --add --update root root 4755 /usr/bin/artswrapper
+
+ If this causes problems, the default permissions can be restored by
+ running, as root:
+
+ dpkg-statoverride --remove /usr/bin/artswrapper
+ chmod 0755 /usr/bin/artswrapper
+
-- Christopher Martin <chrsmrtn@freeshell.org>
Mon, 6 Dec 2004 12:26:16 -0500
--Boundary-01=_DNIICz47SjJV0LW--
--nextPart2231577.ADBeFttGd0
Content-Type: application/pgp-signature
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
iD8DBQBCIINEvGr7W6HudhwRAmRWAJ4kgOFG35BBnqftg04ny9kFu3Xr+QCfXiYf
R/nEGZgcSmKOcjmVzSSvm4M=
=kIks
-----END PGP SIGNATURE-----
--nextPart2231577.ADBeFttGd0--