debian/0000755000000000000000000000000011755516314007176 5ustar debian/watch0000644000000000000000000000036511755516233010233 0ustar # Control file for uscan # 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 http://freedesktop.org/software/pulseaudio/paprefs/paprefs-(.*)\.tar\.xz debian/menu0000644000000000000000000000015111755516233010062 0ustar ?package(paprefs):needs="X11" section="Applications/Sound"\ title="paprefs" command="/usr/bin/paprefs" debian/patches/0000755000000000000000000000000011755516233010625 5ustar debian/patches/series0000644000000000000000000000010111755516233012032 0ustar 0001_make_PA_version_agnostic.patch 0002_multiarch_support.patch debian/patches/0002_multiarch_support.patch0000644000000000000000000000610011755516233016070 0ustar From 779c0ca043406c64761557f511d2a805ab5beb9e Mon Sep 17 00:00:00 2001 From: Colin Guthrie Date: Fri, 20 Jan 2012 14:20:54 +0000 Subject: modules: Better code for working out the dynamic module dir. The current code used libdir from the pkgconfig file, but Debian and Ubuntu do not put their modules inside this folder and thus it's a bit flawed. So take the static module dir and strip of the trailing parts that might change with a new library version and make that tail end dynamic. Should work on all platforms. --- diff --git a/configure.ac b/configure.ac index 9f4543b..69eea2f 100644 --- a/configure.ac +++ b/configure.ac @@ -43,8 +43,8 @@ AC_SUBST(GUILIBS_CFLAGS) AC_SUBST(GUILIBS_LIBS) PKG_CHECK_MODULES(LIBPULSE, libpulse) -LIBPULSE_MODLIBDIR=`pkg-config libpulse --variable libdir` -AC_SUBST(LIBPULSE_MODLIBDIR) +LIBPULSE_MODLIBEXECDIR=`pkg-config libpulse --variable modlibexecdir` +AC_SUBST(LIBPULSE_MODLIBEXECDIR) # If using GCC specifiy some additional parameters if test "x$GCC" = "xyes" ; then diff --git a/src/Makefile.am b/src/Makefile.am index bacfb1a..34f454f 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -31,7 +31,7 @@ paprefs_SOURCES=paprefs.cc paprefs_LDADD=$(AM_LDADD) $(GUILIBS_LIBS) $(LIBPULSE_LIBS) paprefs_CXXFLAGS=$(AM_CXXFLAGS) $(GUILIBS_CFLAGS) $(LIBPULSE_CFLAGS) -paprefs_CXXFLAGS+=-DGLADE_FILE=\"$(gladedir)/paprefs.glade\" -DLOCALEDIR=\"$(localedir)\" -DMODLIBDIR=\""$(LIBPULSE_MODLIBDIR)/"\" -DSHREXT=\"$(SHREXT)\" +paprefs_CXXFLAGS+=-DGLADE_FILE=\"$(gladedir)/paprefs.glade\" -DLOCALEDIR=\"$(localedir)\" -DMODDIR=\""$(LIBPULSE_MODLIBEXECDIR)"\" -DSHREXT=\"$(SHREXT)\" EXTRA_DIST = $(glade_DATA) $(desktop_in_files) diff --git a/src/paprefs.cc b/src/paprefs.cc index 919b15c..9f3ad31 100644 --- a/src/paprefs.cc +++ b/src/paprefs.cc @@ -637,18 +637,26 @@ void MainWindow::readFromGConf() { } gchar * MainWindow::modulePath(const gchar *name) { - gchar *path, *pulsedir, *c, **versions; + gchar *path, *c, **versions; versions = g_strsplit(pa_get_library_version(), ".", 3); - if (versions[0] && versions[1]) - pulsedir = g_strdup_printf ("pulse-%s.%s", versions[0], versions[1]); - else - pulsedir = g_strdup_printf ("pulse-%d.%d", PA_MAJOR, PA_MINOR); + if (versions[0] && versions[1]) { + gchar *pulsedir, *search; + + /* Remove the "/pulse-x.y/modules" suffix so we can dynamically inject + * it again with runtime library version numbers */ + pulsedir = g_strdup_printf ("%s", MODDIR); + if ((search = g_strrstr (pulsedir, G_DIR_SEPARATOR_S))) { + *search = '\0'; + if ((search = g_strrstr (pulsedir, G_DIR_SEPARATOR_S))) + *search = '\0'; + } + path = g_strdup_printf ("%s" G_DIR_SEPARATOR_S "pulse-%s.%s" G_DIR_SEPARATOR_S "modules" G_DIR_SEPARATOR_S "%s", pulsedir, versions[0], versions[1], name); + g_free (pulsedir); + } else + path = g_build_filename (MODDIR, name, NULL); g_strfreev(versions); - path = g_build_filename (MODLIBDIR, pulsedir, "modules", name, NULL); - g_free (pulsedir); - return path; } -- cgit v0.9.0.2-2-gbebe debian/patches/0001_make_PA_version_agnostic.patch0000644000000000000000000000176511755516233017250 0ustar From 4fcee37cb92c689b43a0d8fc1d8e6b2764834cbf Mon Sep 17 00:00:00 2001 From: Colin Guthrie Date: Sun, 06 Nov 2011 14:31:27 +0000 Subject: Do not require a recompile for each new PA version in order to detect the modules. --- diff --git a/src/paprefs.cc b/src/paprefs.cc index 21fdc95..919b15c 100644 --- a/src/paprefs.cc +++ b/src/paprefs.cc @@ -637,9 +637,14 @@ void MainWindow::readFromGConf() { } gchar * MainWindow::modulePath(const gchar *name) { - gchar *path, *pulsedir, *c; + gchar *path, *pulsedir, *c, **versions; - pulsedir = g_strdup_printf ("pulse-%d.%d", PA_MAJOR, PA_MINOR); + versions = g_strsplit(pa_get_library_version(), ".", 3); + if (versions[0] && versions[1]) + pulsedir = g_strdup_printf ("pulse-%s.%s", versions[0], versions[1]); + else + pulsedir = g_strdup_printf ("pulse-%d.%d", PA_MAJOR, PA_MINOR); + g_strfreev(versions); path = g_build_filename (MODLIBDIR, pulsedir, "modules", name, NULL); g_free (pulsedir); -- cgit v0.9.0.2-2-gbebe debian/paprefs.1.txt0000644000000000000000000000170111755516233011535 0ustar paprefs(1) ========== Name ---- paprefs - PulseAudio Preferences dialog Synopsis -------- 'paprefs' Description ----------- PulseAudio Preferences (_paprefs_) is a configuration dialog for the PulseAudio sound server. NOTE: This program can only configure local servers, and requires that the module module-gconf is loaded in the sound server. From PulseAudio 0.9.5 onwards module-gconf is loaded by default. Options ------- _paprefs_ does not accept any options. See Also -------- pulseaudio(1), padevchooser(1) Resources --------- Homepage: http://0pointer.de/lennart/projects/paprefs/[] PulseAudio web site: http://pulseaudio.org/[] Author ------ Written by Lennart Poettering Documentation ------------- Documentation by CJ van den Berg . Copying ------- Copyright \(C) 2006 Lennart Poettering. Free use of this software is granted under the terms of the GNU General Public License (GPL). debian/clean0000644000000000000000000000004611755516233010203 0ustar debian/paprefs.1 debian/paprefs.1.xml debian/rules0000755000000000000000000000024111755516233010253 0ustar #!/usr/bin/make -f override_dh_auto_build: a2x -d manpage -f manpage $(CURDIR)/debian/paprefs.1.txt dh_auto_build %: dh $@ --with autoreconf,autotools_dev debian/changelog0000644000000000000000000000666211755516233011062 0ustar paprefs (0.9.10-1) unstable; urgency=low [ Martin-Éric Racine ] * New upstream release: - Deleted all previous debian/patches; merged upstream. * Added myself to Uploaders. * Migrated to source format 3.0 (quilt). - control: Build-Depends on dpkg-dev (>= 1.14.17~). - control: drop the Build-Depends on quilt. - rules: drop the patchsys-quilt.mk CDBS include. * control: removed CJ van den Berg from Uploaders (MIA) (Closes: #636426). * patches: added two patches from upstream GIT to support multiarch. (Closes: #649565, #649593, #652444) * watch: updated to point to FreeDesktop.org XZ tarball. [ Sjoerd Simons ] * Switch to dh 7 * Switch to standards version 3.9.3 * Use autoreconf to regenerate the build system -- Sjoerd Simons Fri, 18 May 2012 21:01:38 +0200 paprefs (0.9.9-2) unstable; urgency=low * debian/rules: Update the update-patch-series rule * debian/patches/0002-Dynamically-build-the-paths-to-the-modules.patch debian/patches/0003-rerun-bootstrap-for-the-updated-autotools-file.patch: + Added. Build the path to the pulseaudio modules dynamically by querying the version of the library that is installed instead of hardcoding it at build-time (Closes: #531251) -- Sjoerd Simons Wed, 18 Nov 2009 23:31:35 +0000 paprefs (0.9.9-1) unstable; urgency=low * New upstream release * debian/control: Add build-depend on dbus-glib-1-dev -- Sjoerd Simons Sun, 25 Oct 2009 16:41:07 +0000 paprefs (0.9.8-1) unstable; urgency=low * New Upstream Version - Includes polish translation (Closes: #487268) * debian/control: Update standards version, no further changes * debian/control: Set pkg-pulseaudio-devel as Maintainer and CJ and myself as Uploaders. * debian/control: Updated debian/copyright * debian/control: build libpulse-dev build-dep to >= 0.9.15 -- Sjoerd Simons Sun, 19 Apr 2009 15:26:45 +0100 paprefs (0.9.6-2) unstable; urgency=low * debian/control: + Add quilt to build-depends. + Fix spelling error in description. * debian/rule: Add quilt support. * debian/patches/0001-Fix-build-error-with-gcc-4.3.patch: + Added. Fix build with gcc-4.3 (Closes: #474845) * Update Standards-Version to 3.7.3 (no changes required). -- CJ van den Berg Fri, 23 May 2008 20:35:41 +0200 paprefs (0.9.6-1) unstable; urgency=low [ Sjoerd Simons ] * New Upstream Version * debian/control: Add intltool to build-depends [ CJ van den Berg ] * debian/copyright: Remove LGPL. paprefs is now fully GPL. * debian/control: + Add Vcs-* fields. + Add Homepage field. * debian/menu: Change section to Applications/Sound to conform to the new menu specification. -- CJ van den Berg Wed, 21 Nov 2007 16:58:32 +0100 paprefs (0.9.5-2) unstable; urgency=low * debian/rules: Port to CDBS. * debian/patches/01_use_stock_g2.14_icons.dpatch: - Removed. Not longer needed as gnome-icon-theme-2.18.0 is in testing. * debian/copyright: Update FSF postal address. * debian/paprefs.1.txt: Add a man page. -- CJ van den Berg Wed, 30 May 2007 15:51:34 +0200 paprefs (0.9.5-1) unstable; urgency=low [ CJ van den Berg ] * Initial release [ Loic Minier ] * Depend on gnome-icon-theme for the icons. * Clarify GPL/LGPL files in copyright. -- Loic Minier Tue, 17 Oct 2006 21:29:35 +0200 debian/control0000644000000000000000000000227511755516233010607 0ustar Source: paprefs Section: sound Priority: optional Maintainer: Pulseaudio maintenance team Uploaders: Sjoerd Simons , Martin-Éric Racine Build-Depends: debhelper (>= 9), autotools-dev, dh-autoreconf, libpulse-dev (>= 0.9.15), libgtkmm-2.4-dev, libglademm-2.4-dev, libgconfmm-2.6-dev, lynx, asciidoc, xmlto, intltool, libdbus-glib-1-dev Standards-Version: 3.9.3 Vcs-Git: git://git.debian.org/git/pkg-pulseaudio/paprefs.git Vcs-Browser: http://git.debian.org/?p=pkg-pulseaudio/paprefs.git Homepage: http://freedesktop.org/software/pulseaudio/paprefs/ Package: paprefs Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, pulseaudio-module-gconf, pulseaudio-module-zeroconf, gnome-icon-theme Description: PulseAudio Preferences PulseAudio, previously known as Polypaudio, is a sound server for POSIX and WIN32 systems. It is a drop in replacement for the ESD sound server with much better latency, mixing/re-sampling quality and overall architecture. . PulseAudio Preferences (paprefs) is a simple GTK+ based configuration dialog for the PulseAudio sound server. debian/source/0000755000000000000000000000000011755516233010476 5ustar debian/source/format0000644000000000000000000000001411755516233011704 0ustar 3.0 (quilt) debian/paprefs.manpages0000644000000000000000000000002111755516233012344 0ustar debian/paprefs.1 debian/compat0000644000000000000000000000000211755516233010374 0ustar 9 debian/copyright0000644000000000000000000001434311755516233011136 0ustar This package was debianized by CJ van den Berg on Thu, 27 Aug 2006 20:14:44 +0200. It was downloaded from http://0pointer.de/lennart/projects/paprefs/ Upstream Author: Lennart Poettering Files: * Copyright: Copyright (C) 2006-2008 Lennart Poettering License: GPL-2+ On Debian systems, the complete text of the GPL-2 can be found in /usr/share/common-licenses/GPL-2 File: po/as.po Copyright: Copyright (C) 2009 Amitakhya Phukan License: GPL-2+ On Debian systems, the complete text of the GPL-2 can be found in /usr/share/common-licenses/GPL-2 File: po/ca.po Copyright: Copyright (C) 2008 Xavier Queralt Mateu License: GPL-2+ On Debian systems, the complete text of the GPL-2 can be found in /usr/share/common-licenses/GPL-2 File: po/cs.po Copyright: Copyright (C) 2008 Ondrej Šulek Copyright (C) 2008 Petr Kovar License: GPL-2+ On Debian systems, the complete text of the GPL-2 can be found in /usr/share/common-licenses/GPL-2 File: po/da.po Copyright: Copyright (C) 2009 Kris Thomsen License: GPL-2+ On Debian systems, the complete text of the GPL-2 can be found in /usr/share/common-licenses/GPL-2 File: po/el.po Copyright: Copyright (C) 2008 Dimitris Glezos License: GPL-2+ On Debian systems, the complete text of the GPL-2 can be found in /usr/share/common-licenses/GPL-2 File: po/es.po Copyright: Copyright (C) 2009 Gladys Guerrero Lozano License: GPL-2+ On Debian systems, the complete text of the GPL-2 can be found in /usr/share/common-licenses/GPL-2 File: po/fi.po Copyright: Copyright (C) 2008 Timo Jyrinki License: GPL-2+ On Debian systems, the complete text of the GPL-2 can be found in /usr/share/common-licenses/GPL-2 File: po/fr.po Copyright: Copyright (C) 2008 Robert-André Mauchin License: GPL-2+ On Debian systems, the complete text of the GPL-2 can be found in /usr/share/common-licenses/GPL-2 File: po/gu.po Copyright: Copyright (C) 2009 Sweta Kothari License: GPL-2+ On Debian systems, the complete text of the GPL-2 can be found in /usr/share/common-licenses/GPL-2 File: po/hu.po Copyright: Copyright (C) 2008 Gabor Kelemen License: GPL-2+ On Debian systems, the complete text of the GPL-2 can be found in /usr/share/common-licenses/GPL-2 File: po/it.po Copyright: Copyright (C) 2009 Milo Casagrande License: GPL-2+ On Debian systems, the complete text of the GPL-2 can be found in /usr/share/common-licenses/GPL-2 File: po/kn.po Copyright: Copyright (C) 2009 Shankar Prasad License: GPL-2+ On Debian systems, the complete text of the GPL-2 can be found in /usr/share/common-licenses/GPL-2 File: po/mr.po Copyright: Copyright (C) 2009 Sandeep Shedmake License: GPL-2+ On Debian systems, the complete text of the GPL-2 can be found in /usr/share/common-licenses/GPL-2 File: po/ms.po Copyright: Copyright (C) 2009. Mahrazi Mohd Kamal License: GPL-2 On Debian systems, the complete text of the GPL-2 can be found in /usr/share/common-licenses/GPL-2 File: po/nl.po Copyright: Copyright (C) 2009 Geert Warrink License: GPL-2+ On Debian systems, the complete text of the GPL-2 can be found in /usr/share/common-licenses/GPL-2 File: po/or.po Copyright: Copyright (C) 2009 Manoj Kumar Giri License: GPL-2+ On Debian systems, the complete text of the GPL-2 can be found in /usr/share/common-licenses/GPL-2 File: po/pa.po Copyright: Copyright (C) 2008 Amanpreet Singh Alam License: GPL-2+ On Debian systems, the complete text of the GPL-2 can be found in /usr/share/common-licenses/GPL-2 File: po/pl.po Copyright: Copyright (C) 2008 Piotr Drąg License: GPL-2+ On Debian systems, the complete text of the GPL-2 can be found in /usr/share/common-licenses/GPL-2 File: po/pt_BR.po Copyright: Copyright (C) 2008 Nadilson dos Santos de Santana Copyright (C) 2008 Igor Pires Soares Copyright (C) 2008 Taylon Silmer License: GPL-2+ On Debian systems, the complete text of the GPL-2 can be found in /usr/share/common-licenses/GPL-2 File: po/sk.po Copyright: Copyright (C) 2008 Ondrej Šulek License: GPL-2+ On Debian systems, the complete text of the GPL-2 can be found in /usr/share/common-licenses/GPL-2 File: po/sr.po Copyright: Copyright (C) 2008 Ferenc Pravda License: GPL-2+ On Debian systems, the complete text of the GPL-2 can be found in /usr/share/common-licenses/GPL-2 File: po/sr@latin.po Copyright: Copyright (C) 2008 Ferenc Pravda License: GPL-2+ On Debian systems, the complete text of the GPL-2 can be found in /usr/share/common-licenses/GPL-2 File: po/sv.po Copyright: Copyright (C) 2008 Daniel Nylander License: GPL-2+ On Debian systems, the complete text of the GPL-2 can be found in /usr/share/common-licenses/GPL-2 File: po/ta.po Copyright: Copyright (C) 2009 I. Felix License: GPL-2+ On Debian systems, the complete text of the GPL-2 can be found in /usr/share/common-licenses/GPL-2 File: po/te.po Copyright: Copyright (C) 2009 Krishna Babu K License: GPL-2+ On Debian systems, the complete text of the GPL-2 can be found in /usr/share/common-licenses/GPL-2 File: po/th.po Copyright: Copyright (C) 2009 Manatsawin Hanmongkolchai License: GPL-2+ On Debian systems, the complete text of the GPL-2 can be found in /usr/share/common-licenses/GPL-2 File: po/tr.po Copyright: Copyright (C) 2008 Necmettin Begiter License: GPL-2+ On Debian systems, the complete text of the GPL-2 can be found in /usr/share/common-licenses/GPL-2 File: po/zh_CN.po Copyright: Copyright (C) 2009 Leah Liu License: GPL-2+ On Debian systems, the complete text of the GPL-2 can be found in /usr/share/common-licenses/GPL-2