debian/0000755000000000000000000000000012241153774007174 5ustar debian/patches/0000755000000000000000000000000012241153546010620 5ustar debian/patches/Makefile.am.patch0000644000000000000000000000100712241153546013750 0ustar Description: prevent automake from installing doc/* files in wrong location It puts them all into /usr/share/doc/mpc/; dh can do better. Author: Florian Schlichting Forwarded: not-needed --- a/Makefile.am +++ b/Makefile.am @@ -2,9 +2,6 @@ AUTOMAKE_OPTIONS = foreign 1.11 dist-xz man_MANS = doc/mpc.1 -doc_DATA = AUTHORS COPYING NEWS README \ - doc/mpd-m3u-handler.sh doc/mpd-pls-handler.sh doc/mppledit \ - doc/mpc-completion.bash EXTRA_DIST = $(man_MANS) $(doc_DATA) bin_PROGRAMS = src/mpc debian/patches/series0000644000000000000000000000002212237003534012023 0ustar Makefile.am.patch debian/watch0000644000000000000000000000012412240230501010201 0ustar version=3 http://www.musicpd.org/download/mpc/0/mpc-([0-9.]*).tar.xz debian uupdate debian/examples/0000755000000000000000000000000012131367270011006 5ustar debian/examples/playstream0000644000000000000000000000331712131067750013116 0ustar #!/bin/bash -e # # playstream -- smart handler for m3u/pls files for mpd # version 2006.03.15.0005 # # (c) 2006 martin f. krafft # Released under the terms of the artistic licence. # ### begin host configuration # do whatever you want here. note that my default below automatically # decides where to play the music based on the ARP cache. it ignores # existing MPD_HOST values. i am sure you know what to do if you don't # like that. # export MPD_HOST=localhost if ip neigh | grep -q '192\.168\.14\.1 .\+ 08:00:46:b1:2d:ee REACHABLE'; then MPD_HOST="XXXXXXXXX@yy.cccccc.net" fi ### end host configuration declare -a lists unset verbose LONGOPTS=replace,append,queue,verbose SHORTOPTS=raqv ME=${0##*/} for opt in $(getopt -u -n $ME -l $LONGOPTS -o $SHORTOPTS -- $@); do case $opt in -r) # replace list immediately mpc clear;; -a) # append to list :;; -q) # append, but queue next mpc crop;; -v) # verbose verbose=1;; --) :;; *.m3u|*.pls) if [ -r $opt ]; then lists=(${lists[@]} $opt) else echo "$ME: unreadable file -- $opt" >&2 exit 2 fi;; *) echo "$ME: invalid argument -- $opt" >&2 exit 1;; esac done if [ -z "${lists[@]}" ]; then [ -n "$verbose" ] && echo $ME: no input files. >&2 exit 0 fi if [ -n "$verbose" ]; then echo "I: playing on host ${MPD_HOST#*@}:" for i in ${lists[@]}; do echo "I: $i" done fi # pls files have annoying File[[:digit:]]* prefixes # m3u files are fine, mpc ignores commented lines # thus, the following takes care of all: sed -e 's/^File[[:digit:]]*=//' ${lists[@]} | mpc add >/dev/null mpc play # doesn't do anything if already playing exit 0 debian/copyright0000644000000000000000000001157112241152742011126 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: mpc Source: http://www.musicpd.org/clients/mpc/ Upstream-Contact: Max Kellermann Files: * Copyright: 2003-2013 The Music Player Daemon Project http://www.musicpd.org License: GPL-2+ Files: aclocal.m4 Makefile.in m4/codeset.m4 Copyright: 1994-2011, Free Software Foundation, Inc. License: GAP~autotools This file is free software; the Free Software Foundation gives unlimited permission to copy and/or distribute it, with or without modifications, as long as this notice is preserved. Files: depcomp missing Copyright: 1992-2012, Free Software Foundation, Inc. License: GPL-2+ with Autoconf exception As a special exception to the GNU General Public License, if you distribute this file as part of a program that contains a configuration script generated by Autoconf, you may include it under the same distribution terms that you use for the rest of that program. Files: configure Copyright: 1992-1996, 1998-2012, Free Software Foundation, Inc. License: GAP~configure This configure script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it. Files: install-sh Copyright: 1994, X Consortium License: Expat with X exception Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: . The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. . THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. . Except as contained in this notice, the name of the X Consortium shall not be used in advertising or otherwise to promote the sale, use or other dealings in this Software without prior written authorization from the X Consortium. . FSF changes to this file are in the public domain. Files: m4/ax_* Copyright: 2008, Guido U. Draheim 2011, Maarten Bosmans License: GPL-3+ with Autoconf exception This program 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; either version 3, or (at your option) any later version. . On Debian systems, the complete text of version 3 of the GNU General Public License can be found in `/usr/share/common-licenses/GPL-3'. . As a special exception, the respective Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify the configure scripts that are the output of Autoconf when processing the Macro. You need not follow the terms of the GNU General Public License when using or distributing such scripts, even though portions of the text of the Macro appear in them. The GNU General Public License (GPL) does govern all other use of the material that constitutes the Autoconf Macro. . This special exception to the GPL applies to versions of the Autoconf Macro released by the Autoconf Archive. When you make and distribute a modified version of the Autoconf Macro, you may extend this special exception to the GPL to apply to your modified version as well. Files: debian/* Copyright: 2003-2004, Warren Dukes (aka shank) 2004-2005, Eric Wong 2006-2011, Decklin Foster 2011-2012, Alexander Wirt 2013, Florian Schlichting License: GPL-2+ Files: debian/examples/playstream Copyright: 2006, martin f. krafft License: Artistic This program is free software; you can redistribute it and/or modify it under the terms of the Artistic License, which comes with Perl. . On Debian systems, the complete text of the Artistic License can be found in `/usr/share/common-licenses/Artistic'. License: GPL-2+ This program 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; either version 2, or (at your option) any later version. . On Debian systems, the complete text of version 2 of the GNU General Public License can be found in `/usr/share/common-licenses/GPL-2'. debian/control0000644000000000000000000000154512237004617010600 0ustar Source: mpc Section: sound Priority: optional Maintainer: mpd maintainers Uploaders: Florian Schlichting Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-mpd/pkg-mpc.git Vcs-Git: git://anonscm.debian.org/pkg-mpd/pkg-mpc.git Homepage: http://www.musicpd.org/clients/mpc/ Build-Depends: debhelper (>= 9), dh-autoreconf, autoconf-archive, pkg-config, libmpdclient-dev Standards-Version: 3.9.5 Package: mpc Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Suggests: mpd Enhances: mpd Provides: mpd-client Description: command-line tool to interface MPD MPC, music player command, is a command line tool to interface MPD, Music Player Daemon. It is fast and lightweight like MPD, making it ideal for scripting commands and binding to hotkeys. Completion for the Bash shell is provided. debian/mpc.examples0000644000000000000000000000005012131367270011502 0ustar debian/examples/* doc/*.sh doc/mppledit debian/compat0000644000000000000000000000000212131367270010366 0ustar 9 debian/changelog0000644000000000000000000001442712241153747011056 0ustar mpc (0.25-1) unstable; urgency=low * Import Upstream version 0.25 * Switch to .tar.xz upstream tarball * Update upstream copyright statement * Refresh Makefile.am.patch -- Florian Schlichting Thu, 14 Nov 2013 15:01:57 +0100 mpc (0.24-1) unstable; urgency=low * Import Upstream version 0.24 * Bump years of FSF copyright * Declare compliance with Debian Policy 3.9.5 * Drop configure.ac.patch, hyphen-as-minus-sign.patch: applied upstream * Update Vcs-* fields to their canonical value -- Florian Schlichting Thu, 07 Nov 2013 22:35:20 +0100 mpc (0.23-1) unstable; urgency=low [ Alexander Wirt ] * Remove myself from the list of uploaders [ Florian Schlichting ] * Import Upstream version 0.23 (closes: #631723, #608957) * Update Homepage and watch file * Bump Standards-Version to 3.9.4 (use copyright-format 1.0) * Bump debhelper compatibility to level 9 * Switch to source format 3.0 (quilt) * Switch from cdbs to dh with autoreconf * Don't link against libnsl unnecessarily (configure.ac.patch) * Ship upstream's mppledit in examples and remove our own copy * New hyphen-as-minus-sign.patch * Add myself to Uploaders -- Florian Schlichting Thu, 11 Apr 2013 01:04:49 +0200 mpc (0.22-1) unstable; urgency=low * [4f042d4] Imported Upstream version 0.22 * [4703eb6] Bump standards version * [a9389a9] Remove article in synopsis -- Alexander Wirt Wed, 27 Jun 2012 08:15:41 +0200 mpc (0.20-2) unstable; urgency=low * [e462b4e] Install bash completion again (Closes: #616625) -- Alexander Wirt Mon, 07 Mar 2011 08:15:21 +0100 mpc (0.20-1) unstable; urgency=low * Update maintainers and vcs headers * Bump standards version (no changes) * Add watchfile * Imported Upstream version 0.20 - search filename works again (Closes: #570725) * Don't install mppledit twice (Closes: #576084) -- Alexander Wirt Sun, 20 Feb 2011 23:39:14 +0100 mpc (0.19-2) unstable; urgency=low * Update URL in description * Fix debhelper build-deps (we use v5 for now) * Bump Standards-Version -- Decklin Foster Mon, 04 Jan 2010 15:18:03 -0500 mpc (0.19-1) unstable; urgency=low * New upstream release -- Decklin Foster Mon, 04 Jan 2010 15:18:03 -0500 mpc (0.17-1) unstable; urgency=low * New upstream release -- Decklin Foster Fri, 21 Aug 2009 17:29:04 -0400 mpc (0.16-1) unstable; urgency=low * New upstream release * Use debhelper 5 for now. -- Decklin Foster Thu, 28 May 2009 11:22:07 -0400 mpc (0.15-1) unstable; urgency=low * New upstream release * Update copyright file * Policy 3.8.0 -- Decklin Foster Thu, 05 Feb 2009 11:44:54 -0500 mpc (0.14-1) unstable; urgency=low * New upstream release (Closes: #358618, #502578, #495430) * Include playstream example script (Closes: #357157) -- Decklin Foster Mon, 22 Dec 2008 19:46:42 -0500 mpc (0.12.1-1) unstable; urgency=low * New upstream release (Closes: #402579, #408388) - No longer uses MAXPATHLEN (Closes: #394731) -- Decklin Foster Tue, 27 Mar 2007 20:48:37 -0400 mpc (0.11.2-2) unstable; urgency=low * Adopting package. -- Decklin Foster Sat, 27 May 2006 19:51:23 -0400 mpc (0.11.2-1) unstable; urgency=low * New upstream: small bug fixes and features * Updated manpage (upstream) Closes: #295029 * update email addresses, URL, documentation and Standards-Version * Acknowledge NMU -- Eric Wong Sat, 12 Mar 2005 02:25:23 -0800 mpc (0.11.1-2.1) unstable; urgency=low * Non-maintainer upload (Sponsor for Eric) -- Richard A. Hecker Fri, 30 Jul 2004 09:05:34 -0700 mpc (0.11.1-2) unstable; urgency=low * remove empty/unused directories -- Eric Wong Sat, 19 Jun 2004 22:00:33 -0700 mpc (0.11.1-1) unstable; urgency=low * new upstream -- Eric Wong Fri, 18 Jun 2004 15:09:18 -0700 mpc (0.11.0-1) unstable; urgency=low * new upstream * updated mppledit + new examples from upstream -- Eric Wong Thu, 17 Jun 2004 23:17:34 -0700 mpc (0.10.3-4) unstable; urgency=low * re-add mppledit to examples -- Eric Wong Mon, 17 May 2004 22:19:44 -0700 mpc (0.10.3-3) unstable; urgency=low * update copyright to include 2004 -- Eric Wong Mon, 19 Apr 2004 02:21:52 -0700 mpc (0.10.3-2) unstable; urgency=low * take out Arch directories in the diff.gz -- Eric Wong Tue, 6 Apr 2004 14:44:03 -0700 mpc (0.10.3-1) unstable; urgency=low * new upstream * document customizations in debian/rules -- Eric Wong Fri, 2 Apr 2004 21:16:33 -0800 mpc (0.10.2-1) unstable; urgency=low * new upstream -- Eric Wong Wed, 24 Mar 2004 23:04:54 -0800 mpc (0.10.1-1) unstable; urgency=low * new upstream -- Eric Wong Sun, 7 Mar 2004 10:16:06 -0800 mpc (0.10.0-2) unstable; urgency=low * update mppledit in /usr/share/doc/mpc/examples to allow sorting: mppledit sort -- Eric Wong Sat, 6 Mar 2004 15:01:53 -0800 mpc (0.10.0-1) unstable; urgency=low * new upstream -- Eric Wong Tue, 2 Mar 2004 21:00:14 -0800 mpc (0.9.2-2) unstable; urgency=low * updated Description a bit * updated to Standards-Version 3.6.1 * bash completion installed to /etc/bash_completion.d * new maintainer -- Eric Wong Sun, 22 Feb 2004 17:27:13 -0800 mpc (0.9.2-1) unstable; urgency=low * Updated to 0.9.2. * Switch to using cdbs. -- Warren Dukes (aka shank) Tue, 28 Oct 2003 22:10:00 -0400 mpc (0.9.1-1) unstable; urgency=low * Updated to 0.9.1. -- Warren Dukes (aka shank) Tue, 06 Sep 2003 22:10:00 -0400 mpc (0.9.0-1) unstable; urgency=low * Initial Release. -- Warren Dukes Tue, 29 Aug 2003 20:07:00 -0400 mpc (0.8.1-1) unstable; urgency=low * Initial Release. -- Warren Dukes Tue, 12 Aug 2003 19:14:01 -0400 debian/source/0000755000000000000000000000000012131344461010465 5ustar debian/source/format0000644000000000000000000000001412131344461011673 0ustar 3.0 (quilt) debian/rules0000755000000000000000000000121212131367270010244 0ustar #!/usr/bin/make -f %: dh $@ --with autoreconf # uncomment as needed for user customization: #DEB_CONFIGURE_USER_FLAGS += --disable-iconv # disable iconv support # Use as host when MPD_HOST environment variable is not set #DEB_CONFIGURE_USER_FLAGS += --with-default-host=HOST # Use as port when MPD_PORT environment variable is not set #DEB_CONFIGURE_USER_FLAGS += --with-default-port=PORT #override_dh_auto_configure: # dh_auto_configure -- $(DEB_CONFIGURE_USER_FLAGS) override_dh_install: install -m 644 -D doc/mpc-completion.bash $(CURDIR)/debian/mpc/etc/bash_completion.d/mpc override_dh_installchangelogs: dh_installchangelogs NEWS