diff options
Diffstat (limited to 'dilos/dependencies/arts')
12 files changed, 62 insertions, 366 deletions
diff --git a/dilos/dependencies/arts/debian/cdbs/debian-tde.mk b/dilos/dependencies/arts/debian/cdbs/debian-tde.mk index e2b1dc666..82994a844 100644 --- a/dilos/dependencies/arts/debian/cdbs/debian-tde.mk +++ b/dilos/dependencies/arts/debian/cdbs/debian-tde.mk @@ -82,7 +82,7 @@ DEB_SHLIBDEPS_INCLUDE = $(foreach p,$(PACKAGES_WITH_LIBS),debian/$(p)/usr/lib/$( DEB_AC_AUX_DIR = $(DEB_SRCDIR)/admin DEB_CONFIGURE_INCLUDEDIR = "\$${prefix}/include" -DEB_COMPRESS_EXCLUDE = .dcl .docbook -license .tag .sty .el +DEB_COMPRESS_EXCLUDE_ALL += .dcl .docbook -license .tag .sty .el # The default gzip compressor has been changed in dpkg >= 1.17.0. deb_default_compress = $(shell LANG=C dpkg-deb --version | head -n1 | \ @@ -202,6 +202,11 @@ $(patsubst %,binary-install/%,$(DEB_PACKAGES)) :: binary-install/%: install -p -D -m644 debian/$(cdbs_curpkg).presubj \ debian/$(cdbs_curpkg)/usr/share/bug/$(cdbs_curpkg)/presubj; \ fi + if test -d debian/$(cdbs_curpkg)/usr/lib && \ + test $$(find debian/$(cdbs_curpkg)/usr/lib -name "*.so" | wc -l) -gt 0; then \ + echo "# Triggers added by cdbs/debian-tde.mk" >> debian/.debhelper/generated/$(cdbs_curpkg)/triggers; \ + echo "activate-noawait ldconfig" >> debian/.debhelper/generated/$(cdbs_curpkg)/triggers; \ + fi binary-install/$(DEB_SOURCE_PACKAGE)-doc-html:: set -e; \ diff --git a/dilos/dependencies/arts/debian/compat b/dilos/dependencies/arts/debian/compat index ec635144f..f599e28b8 100644 --- a/dilos/dependencies/arts/debian/compat +++ b/dilos/dependencies/arts/debian/compat @@ -1 +1 @@ -9 +10 diff --git a/dilos/dependencies/arts/debian/control b/dilos/dependencies/arts/debian/control index 980e2a77e..e850901d6 100644 --- a/dilos/dependencies/arts/debian/control +++ b/dilos/dependencies/arts/debian/control @@ -4,7 +4,7 @@ Maintainer: TDE Debian Team <team-debian@trinitydesktop.org> XSBC-Original-Maintainer: Debian Qt/TDE Maintainers <debian-qt-tde@lists.debian.org> Priority: optional Uploaders: Adeodato Sim <dato@net.com.org.es>, Ana Beatriz Guerrero Lopez <ana@debian.org>, Fathi Boudra <fabo@debian.org>, Modestas Vainius <modestas@vainius.eu> -Build-Depends: cdbs, debhelper (>= 9~), quilt, cmake-trinity, ninja-build, +Build-Depends: cdbs, debhelper (>= 10~), quilt, tde-cmake, ninja-build, docbook-to-man, texinfo, libasound2-dev [!kfreebsd-i386 !kfreebsd-amd64 !hurd-i386 !solaris-any], libaudio-dev, libaudiofile-dev, libglib2.0-dev, libmad0-dev, @@ -18,7 +18,7 @@ Architecture: all Section: sound Replaces: arts-trinity (<< 4:14.0.0~) Breaks: arts-trinity (<< 4:14.0.0~) -Depends: libartsc0-trinity (>= ${source:Version}), libarts1c2a-trinity (>= ${source:Version}) +Depends: libartsc0-trinity (>= ${source:Version}), libarts1c2a-trinity (>= ${source:Version}) | libarts1t64-trinity (>= ${source:Version}) Description: sound system from the official TDE release TDE (the Trinity Desktop Environment) is a powerful Open Source graphical desktop environment for Unix workstations. It combines ease of use, diff --git a/dilos/dependencies/arts/debian/docs b/dilos/dependencies/arts/debian/docs new file mode 100644 index 000000000..6f7727790 --- /dev/null +++ b/dilos/dependencies/arts/debian/docs @@ -0,0 +1,2 @@ +README.md +TODO diff --git a/dilos/dependencies/arts/debian/libarts1c2a-trinity.install b/dilos/dependencies/arts/debian/libarts1c2a-trinity.install index d0eb2e316..3281c7b85 100644 --- a/dilos/dependencies/arts/debian/libarts1c2a-trinity.install +++ b/dilos/dependencies/arts/debian/libarts1c2a-trinity.install @@ -60,3 +60,5 @@ debian/tmp/usr/lib/*/mcop/kmedia2.mcopclass debian/tmp/usr/lib/*/mcop/kmedia2.mcoptype debian/tmp/usr/lib/*/mcop/soundserver.mcopclass debian/tmp/usr/lib/*/mcop/soundserver.mcoptype +debian/tmp/usr/share/man/man1/artscat-trinity.1 +debian/tmp/usr/share/man/man1/artsdsp-trinity.1 diff --git a/dilos/dependencies/arts/debian/libarts1c2a-trinity.manpages b/dilos/dependencies/arts/debian/libarts1c2a-trinity.manpages deleted file mode 100644 index 8d7f5c573..000000000 --- a/dilos/dependencies/arts/debian/libarts1c2a-trinity.manpages +++ /dev/null @@ -1,3 +0,0 @@ -debian/man/out/artscat-trinity.1 -debian/man/artsdsp-trinity.1 - diff --git a/dilos/dependencies/arts/debian/libartsc0-dev-trinity.manpages b/dilos/dependencies/arts/debian/libartsc0-dev-trinity.manpages deleted file mode 100644 index cef6ee689..000000000 --- a/dilos/dependencies/arts/debian/libartsc0-dev-trinity.manpages +++ /dev/null @@ -1 +0,0 @@ -debian/man/out/artsc-config-trinity.1 diff --git a/dilos/dependencies/arts/debian/libartsc0-trinity-dev.install b/dilos/dependencies/arts/debian/libartsc0-trinity-dev.install index 47133e9b8..6f8af8383 100644 --- a/dilos/dependencies/arts/debian/libartsc0-trinity-dev.install +++ b/dilos/dependencies/arts/debian/libartsc0-trinity-dev.install @@ -4,6 +4,7 @@ debian/tmp/usr/include/artsc/artsc_export.h debian/tmp/usr/lib/*/libartsc.la debian/tmp/usr/lib/*/libartsc.so debian/tmp/usr/lib/*/libartsgsl.a +debian/tmp/usr/share/man/man1/artsc-config-trinity.1 debian/tmp/usr/lib/*/pkgconfig/arts.pc debian/tmp/usr/lib/*/pkgconfig/artsc.pc diff --git a/dilos/dependencies/arts/debian/man/artsc-config-trinity.sgml b/dilos/dependencies/arts/debian/man/artsc-config-trinity.sgml deleted file mode 100644 index 8072e337d..000000000 --- a/dilos/dependencies/arts/debian/man/artsc-config-trinity.sgml +++ /dev/null @@ -1,160 +0,0 @@ -<!doctype refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [ - -<!-- Process this file with docbook-to-man to generate an nroff manual - page: `docbook-to-man manpage.sgml > manpage.1'. You may view - the manual page with: `docbook-to-man manpage.sgml | nroff -man | - less'. A typical entry in a Makefile or Makefile.am is: - -manpage.1: manpage.sgml - docbook-to-man $< > $@ - - - The docbook-to-man binary is found in the docbook-to-man package. - Please remember that if you create the nroff version in one of the - debian/rules file targets (such as build), you will need to include - docbook-to-man in your Build-Depends control field. - - --> - - <!-- Fill in your name for FIRSTNAME and SURNAME. --> - <!ENTITY dhfirstname "<firstname>Chris</firstname>"> - <!ENTITY dhsurname "<surname>Cheney</surname>"> - <!-- Please adjust the date whenever revising the manpage. --> - <!ENTITY dhdate "<date>November 6, 2002</date>"> - <!-- SECTION should be 1-8, maybe w/ subsection other parameters are - allowed: see man(7), man(1). --> - <!ENTITY dhsection "<manvolnum>1</manvolnum>"> - <!ENTITY dhemail "<email>ccheney@debian.org</email>"> - <!ENTITY dhusername "Chris Cheney"> - <!ENTITY dhucpackage "<refentrytitle>ARTSC-CONFIG</refentrytitle>"> - <!ENTITY dhpackage "artsc-config"> - - <!ENTITY debian "<productname>Debian</productname>"> - <!ENTITY gnu "<acronym>GNU</acronym>"> -]> - -<refentry> - <refentryinfo> - <address> - &dhemail; - </address> - <author> - &dhfirstname; - &dhsurname; - </author> - <copyright> - <year>2002</year> - <holder>&dhusername;</holder> - </copyright> - &dhdate; - </refentryinfo> - <refmeta> - &dhucpackage; - - &dhsection; - </refmeta> - <refnamediv> - <refname>&dhpackage;</refname> - - <refpurpose>Get information about a libartsc installation</refpurpose> - </refnamediv> - <refsynopsisdiv> - <cmdsynopsis> - <command>&dhpackage;</command> - - <arg><option>--arts-prefix<replaceable></replaceable></option></arg> - <arg><option>--arts-version<replaceable></replaceable></option></arg> - <arg><option>--cflags<replaceable></replaceable></option></arg> - <arg><option>--libs<replaceable></replaceable></option></arg> - <arg><option>--version<replaceable></replaceable></option></arg> - - </cmdsynopsis> - </refsynopsisdiv> - <refsect1> - <title>DESCRIPTION</title> - - <para>This manual page documents briefly the - <command>&dhpackage;</command> command.</para> - - <para><command>&dhpackage;</command> displays information about a previous libartsc installation.</para> - - </refsect1> - <refsect1> - <title>OPTIONS</title> - - <para>This program follows the usual GNU command line syntax, - with long options starting with two dashes (`-'). A summary of - options is included below.</para> - - <variablelist> - <varlistentry> - <term><option>--arts-prefix</option> - </term> - <listitem> - <para>This is the prefix used when libartsc was installed.</para> - </listitem> - </varlistentry> - <varlistentry> - <term><option>--arts-version</option> - </term> - <listitem> - <para>Outputs version information about the installed arts.</para> - </listitem> - </varlistentry> - <varlistentry> - <term><option>--cflags</option> - </term> - <listitem> - <para>Set of compiler options (CFLAGS) to use when compiling files that use libartsc.</para> - </listitem> - </varlistentry> - <varlistentry> - <term><option>--libs</option> - </term> - <listitem> - <para>Shows the complete set of libs and other linker options you will need in order to link your application with libartsc.</para> - </listitem> - </varlistentry> - <varlistentry> - <term><option>--version</option> - </term> - <listitem> - <para>Outputs version information about the installed libartsc.</para> - </listitem> - </varlistentry> - </variablelist> - </refsect1> - <refsect1> - <title>AUTHOR</title> - - <para>This manual page was written by &dhusername; - <&dhemail;> for the &debian; system (but may be used by - others). Permission is granted to copy, distribute and/or - modify this document under the terms of the &gnu; General Public - License, Version 2 or any later version published by the Free - Software Foundation. - </para> - - <para>On Debian systems, the complete text of the GNU General - Public License can be found in /usr/share/common-licenses/GPL. - </para> - - </refsect1> -</refentry> - -<!-- Keep this comment at the end of the file -Local variables: -mode: sgml -sgml-omittag:t -sgml-shorttag:t -sgml-minimize-attributes:nil -sgml-always-quote-attributes:t -sgml-indent-step:2 -sgml-indent-data:t -sgml-parent-document:nil -sgml-default-dtd-file:nil -sgml-exposed-tags:nil -sgml-local-catalogs:nil -sgml-local-ecat-files:nil -End: ---> diff --git a/dilos/dependencies/arts/debian/man/artscat-trinity.sgml b/dilos/dependencies/arts/debian/man/artscat-trinity.sgml deleted file mode 100644 index 7dff34d95..000000000 --- a/dilos/dependencies/arts/debian/man/artscat-trinity.sgml +++ /dev/null @@ -1,164 +0,0 @@ -<!doctype refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [ - -<!-- Process this file with docbook-to-man to generate an nroff manual - page: `docbook-to-man manpage.sgml > manpage.1'. You may view - the manual page with: `docbook-to-man manpage.sgml | nroff -man | - less'. A typical entry in a Makefile or Makefile.am is: - -manpage.1: manpage.sgml - docbook-to-man $< > $@ - - - The docbook-to-man binary is found in the docbook-to-man package. - Please remember that if you create the nroff version in one of the - debian/rules file targets (such as build), you will need to include - docbook-to-man in your Build-Depends control field. - - --> - - <!-- Fill in your name for FIRSTNAME and SURNAME. --> - <!ENTITY dhfirstname "<firstname>Chris</firstname>"> - <!ENTITY dhsurname "<surname>Cheney</surname>"> - <!-- Please adjust the date whenever revising the manpage. --> - <!ENTITY dhdate "<date>November 6, 2002</date>"> - <!-- SECTION should be 1-8, maybe w/ subsection other parameters are - allowed: see man(7), man(1). --> - <!ENTITY dhsection "<manvolnum>1</manvolnum>"> - <!ENTITY dhemail "<email>ccheney@debian.org</email>"> - <!ENTITY dhusername "Chris Cheney"> - <!ENTITY dhucpackage "<refentrytitle>ARTSCAT</refentrytitle>"> - <!ENTITY dhpackage "artscat"> - - <!ENTITY debian "<productname>Debian</productname>"> - <!ENTITY gnu "<acronym>GNU</acronym>"> -]> - -<refentry> - <refentryinfo> - <address> - &dhemail; - </address> - <author> - &dhfirstname; - &dhsurname; - </author> - <copyright> - <year>2002</year> - <holder>&dhusername;</holder> - </copyright> - &dhdate; - </refentryinfo> - <refmeta> - &dhucpackage; - - &dhsection; - </refmeta> - <refnamediv> - <refname>&dhpackage;</refname> - - <refpurpose>pipe data to sound device</refpurpose> - </refnamediv> - <refsynopsisdiv> - <cmdsynopsis> - <command>&dhpackage;</command> - - <arg><option><replaceable> options </replaceable></option></arg> - <arg><option><replaceable> filename </replaceable></option></arg> - - </cmdsynopsis> - </refsynopsisdiv> - <refsect1> - <title>DESCRIPTION</title> - - <para>This manual page documents briefly the - <command>&dhpackage;</command> command.</para> - - <para><command>&dhpackage;</command> pipes data from a pipe to the sound device through arts.</para> - - </refsect1> - <refsect1> - <title>OPTIONS</title> - - <para>This program follows the usual GNU command line syntax, - with long options starting with two dashes (`-'). A summary of - options is included below.</para> - - <variablelist> - <varlistentry> - <term><option>-b <replaceable>bits</replaceable></option> - </term> - <listitem> - <para>set number of bits (8 or 16)</para> - </listitem> - </varlistentry> - <varlistentry> - <term><option>-c <replaceable>channels</replaceable></option> - </term> - <listitem> - <para>set number of channels (1 or 2)</para> - </listitem> - </varlistentry> - <varlistentry> - <term><option>-h</option> - </term> - <listitem> - <para>display help and exit</para> - </listitem> - </varlistentry> - <varlistentry> - <term><option>-r <replaceable>samplingrate</replaceable></option> - </term> - <listitem> - <para>set samplingrate to use</para> - </listitem> - </varlistentry> - <varlistentry> - <term><option>-t <replaceable>title</replaceable></option> - </term> - <listitem> - <para>set stream title</para> - </listitem> - </varlistentry> - <varlistentry> - <term><option>-v</option> - </term> - <listitem> - <para>show version</para> - </listitem> - </varlistentry> - </variablelist> - </refsect1> - <refsect1> - <title>AUTHOR</title> - - <para>This manual page was written by &dhusername; - <&dhemail;> for the &debian; system (but may be used by - others). Permission is granted to copy, distribute and/or - modify this document under the terms of the &gnu; General Public - License, Version 2 or any later version published by the Free - Software Foundation. - </para> - - <para>On Debian systems, the complete text of the GNU General - Public License can be found in /usr/share/common-licenses/GPL. - </para> - - </refsect1> -</refentry> - -<!-- Keep this comment at the end of the file -Local variables: -mode: sgml -sgml-omittag:t -sgml-shorttag:t -sgml-minimize-attributes:nil -sgml-always-quote-attributes:t -sgml-indent-step:2 -sgml-indent-data:t -sgml-parent-document:nil -sgml-default-dtd-file:nil -sgml-exposed-tags:nil -sgml-local-catalogs:nil -sgml-local-ecat-files:nil -End: ---> diff --git a/dilos/dependencies/arts/debian/man/artsdsp-trinity.1 b/dilos/dependencies/arts/debian/man/artsdsp-trinity.1 deleted file mode 100644 index 2615f47c2..000000000 --- a/dilos/dependencies/arts/debian/man/artsdsp-trinity.1 +++ /dev/null @@ -1,31 +0,0 @@ -.TH ARTSDSP "1" "February 2008" "artsdsp" "User Commands" -.SH NAME -artsdsp \- manual page for artsdsp -.SH DESCRIPTION -artsdsp \- attempt to reroute audio device to artsd -.PP -artsdsp [options] binary -.PP -options: -.TP -.B \-h, \-\-help -Show brief help. -.TP -.B \-n, \-\-name\fR=\fINAME\fR -Use name to identify player to artsd. -.TP -.B \-m, \-\-mmap -Emulate memory mapping (i.e. for quake). -.TP -.B \-s, \-\-single\-threaded -Use the single\-threaded version. -.TP -.B \-v, \-\-verbose -Show parameters. -.TP -.B \-V, \-\-version -Show version. -.PP -This manual page was written by Fathi Boudra <fabo@debian.org>, -for the Debian project (but may be used by others). - diff --git a/dilos/dependencies/arts/debian/rules b/dilos/dependencies/arts/debian/rules index a81635c90..b97d4a1af 100755 --- a/dilos/dependencies/arts/debian/rules +++ b/dilos/dependencies/arts/debian/rules @@ -12,6 +12,14 @@ include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/class/cmake.mk include debian/cdbs/debian-tde.mk +DEB_TIME64_API = $(shell echo | cc $(dpkg-buildflags --get CPPFLAGS) -dM -E -x c++ - | grep -q "_TIME_BITS 64" && echo true || false) +ifeq ($(DEB_TIME64_API),true) +DEB_TIME64_SUFFIX = t64 +else +DEB_TIME64_SUFFIX = c2a +endif + + DEB_CMAKE_EXTRA_FLAGS := \ -DCONFIG_INSTALL_DIR="/etc/trinity" \ -DSYSCONF_INSTALL_DIR="/etc/trinity" \ @@ -37,13 +45,13 @@ DEB_DH_STRIP_ARGS := --dbg-package=arts-trinity-dbg \ -Xlibmcop.so.1.0.0 -Xlibqtmcop.so.1.0.0 -Xartsplay -Xartsd -Xartscat \ -Xartsshell -Xartsrec -Xmcopidl -PACKAGES_WITH_LIBS := libarts1c2a-trinity libartsc0-trinity +PACKAGES_WITH_LIBS := libarts1$(DEB_TIME64_SUFFIX)-trinity libartsc0-trinity DEB_DH_MAKESHLIBS_ARGS_ALL := -V DEB_SHLIBDEPS_INCLUDE = $(foreach p,$(PACKAGES_WITH_LIBS),debian/$(p)/usr/lib/$(DEB_HOST_MULTIARCH)) -DEB_DH_MAKESHLIBS_ARGS_libarts1c2a-trinity := -V'libarts1c2a-trinity (>= 1.5.9)' -DEB_DH_MAKESHLIBS_ARGS_libartsc0-trinity := -V'libartsc0-trinity (>= 1.5.9)' +DEB_DH_MAKESHLIBS_ARGS_libarts1$(DEB_TIME64_SUFFIX)-trinity := -V'libarts1$(DEB_TIME64_SUFFIX)-trinity (>= 1.5.9)' +DEB_DH_MAKESHLIBS_ARGS_libartsc0-trinity := -V'libartsc0-trinity (>= 1.5.9)' #shlibs_ver = 1.5.0-1 #$(foreach p,$(PACKAGES_WITH_LIBS),$(eval DEB_DH_MAKESHLIBS_ARGS_$(p) := -V'$(p) (>= $(shlibs_ver))')) @@ -54,3 +62,40 @@ binary-predeb/libarts1-trinity-dev:: ifeq (linux,$(DEB_HOST_ARCH_OS)) echo "libasound2-dev=libasound2-dev" >> debian/libarts1-trinity-dev.substvars endif + +post-patches:: + dh_testdir +ifeq ($(DEB_TIME64_API),true) + # update library package name for TIME64 ABI + ls -d debian/* | \ + grep -E "/libarts1c2a" | \ + grep -v "\.t64$$" | \ + while read a; do \ + [ -d $$a ] || [ -f $$a.t64 ] || \ + (cp -a $$a debian/libarts1$(DEB_TIME64_SUFFIX)$${a##*c2a} && mv $$a $$a.t64); \ + done + [ -f debian/control.t64 ] || \ + sed -i.t64 \ + -e "s/^\\(Package: libarts1\\)c2a-trinity$$/\\1$(DEB_TIME64_SUFFIX)-trinity/" \ + -e "s/^\\(Replaces\\|Breaks\\):\\(.*\\)\\(libarts1\\)c2a-trinity\\( \|$$\)/\\1:\\2\\3c2a-trinity, \\3$(DEB_TIME64_SUFFIX)-trinity\\4/" \ + -e "s/\\(libarts1\\)c2a-trinity (=/\\1$(DEB_TIME64_SUFFIX)-trinity (=/" \ + debian/control +endif + +clean:: + dh_testdir + dh_clean + +ifeq ($(DEB_TIME64_API),true) + # revert library package name for TIME64 ABI + ls -d debian/* | \ + grep -E "\.t64$$" | \ + while read a; do \ + mv $$a $${a%.t64}; \ + done + ls -d debian/* | \ + grep -E "/libarts1$(DEB_TIME64_SUFFIX)-" | \ + xargs -r rm + [ ! -f debian/control.t64 ] || \ + mv debian/control.t64 debian/control +endif |