--- mpdcon.app-1.1.99.orig/debian/MPDCon.1
+++ mpdcon.app-1.1.99/debian/MPDCon.1
@@ -0,0 +1,18 @@
+.TH MPDCON 1 "July 27, 2004"
+.SH NAME
+MPDCon \- Music Player Daemon controller
+.SH SYNOPSIS
+.B MPDCon
+.SH DESCRIPTION
+This manual page documents briefly the
+.B MPDCon
+command.
+This manual page was written for the Debian distribution
+because the original program does not have a manual page.
+.PP
+\fBMPDCon\fP is a simple GNUstep controller for MPD.
+.SH SEE ALSO
+.BR GNUstep (7).
+.SH AUTHOR
+This manual page was written by G\[:u]rkan Seng\[:u]n <gurkan@linuks.mine.nu>,
+for the Debian project (but may be used by others).
--- mpdcon.app-1.1.99.orig/debian/MPDCon.desktop
+++ mpdcon.app-1.1.99/debian/MPDCon.desktop
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Name=MPDCon
+Name[bg]=Клиент за MPD (MPDCon)
+Comment=GNUstep client for MPD
+Comment[bg]=MPD клиент за GNUstep
+Type=Application
+Version=1.0
+Categories=AudioVideo;Audio;Player;
+Icon=/usr/lib/GNUstep/Applications/MPDCon.app/Resources/MPDCon.tiff
+Exec=MPDCon
--- mpdcon.app-1.1.99.orig/debian/copyright
+++ mpdcon.app-1.1.99/debian/copyright
@@ -0,0 +1,59 @@
+This package was debianized by Gürkan Sengün <gurkan@linuks.mine.nu> on
+Sat, 29 May 2004 21:10:53 +0200.
+
+It was downloaded from http://www.stud.uni-hannover.de/user/64568/MPDCon/MPDCon.html
+
+Upstream Authors: Daniel Luederwald <das_flip@gmx.de>,
+ Warren Dukes <shank@mercury.chem.pitt.edu> (libmpdclient)
+
+License (all except libmpdclient.*):
+
+ Copyright (C) 2004 Daniel Luederwald
+
+ This application 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 of the License, or (at your option) any later version.
+
+ This application 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
+ Library General Public License for more details.
+
+ You should have received a copy of the GNU General Public
+ License along with this library; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+
+On Debian GNU/Linux systems, the complete text of the GNU General
+Public License can be found in `/usr/share/common-licenses/GPL'.
+
+License (libmpdclient.*):
+
+ Copyright (C) 2003-2004 Warren Dukes (shank@mercury.chem.pitt.edu)
+
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions
+ are met:
+
+ - Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+
+ - Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the distribution.
+
+ - Neither the name of the Music Player Daemon nor the names of its
+ contributors may be used to endorse or promote products derived from
+ this software without specific prior written permission.
+
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR
+ CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
--- mpdcon.app-1.1.99.orig/debian/menu
+++ mpdcon.app-1.1.99/debian/menu
@@ -0,0 +1,4 @@
+?package(mpdcon.app):needs="X11" section="Applications/Sound" \
+ title="MPDCon" command="MPDCon" \
+ icon="/usr/share/pixmaps/MPDCon.xpm" \
+ longtitle="GNUstep client for MPD"
--- mpdcon.app-1.1.99.orig/debian/preinst
+++ mpdcon.app-1.1.99/debian/preinst
@@ -0,0 +1,28 @@
+#!/bin/sh
+# dpkg will not replace a real directory with a symlink.
+# FIXME: Remove during the squeeze+1 cycle.
+
+set -e
+set -u
+
+RESDIR=/usr/lib/GNUstep/Applications/MPDCon.app/Resources
+
+case "$1" in
+ install | upgrade)
+ if [ -d $RESDIR ] && [ ! -L $RESDIR ]; then
+ rm -rf $RESDIR
+ fi
+ ;;
+
+ abort-upgrade)
+ ;;
+
+ *)
+ echo "preinst called with unknown argument \`$1'" >&2
+ exit 1
+ ;;
+esac
+
+#DEBHELPER#
+
+exit 0
--- mpdcon.app-1.1.99.orig/debian/changelog
+++ mpdcon.app-1.1.99/debian/changelog
@@ -0,0 +1,112 @@
+mpdcon.app (1.1.99-5) unstable; urgency=low
+
+ * debian/compat: Set to 7.
+ * debian/control (Section): Change to `gnustep'.
+ (Build-Depends): Require debhelper >= 7, unversion
+ libgnustep-gui-dev.
+ (Depends): Add ${misc:Depends} and ${gnustep:Depends}.
+ (Description): Extend.
+ (Standards-Version): Compliant with 3.8.4 as of this release.
+ (Homepage, Vcs-Arch): New fields.
+ * debian/rules: Include /usr/share/GNUstep/debian/config.mk, export
+ GNUSTEP_MAKEFILES and get rid of gs_make.
+ (OPTFLAG): No longer define; rework noopt handling to be compatible
+ with gnustep-make/2.4.x (Closes: #581964).
+ (clean): Simplify rule.
+ (install): Replace dh_clean -k with dh_prep. Don't install the
+ lintian override.
+ (binary-arch): Do not invoke dh_desktop. Conditionally move Resources
+ to /usr/share/GNUstep.
+ * debian/lintian-override: Delete.
+ * debian/preinst:
+ * debian/source/format:
+ * debian/watch: New file.
+ * debian/MPDCon.desktop: Make it valid.
+
+ -- Yavor Doganov <yavor@gnu.org> Mon, 31 May 2010 22:09:31 +0300
+
+mpdcon.app (1.1.99-4) unstable; urgency=low
+
+ * debian/control (Build-Depends): Wrap them and bump libgnustep-gui-dev
+ to >= 0.14 to ensure it gets built against the proper libs for m68k,
+ hurd-i386 and kfreebsd-*.
+ (Standards-Version): Claim compliance with 3.8.0 (no changes needed).
+ * debian/rules (build-stamp): Use gs_make.
+ (install): Define GNUSTEP_INSTALLATION_DIR to the empty string to
+ override the value in upstream's makefile, hopefully preventing FTBFS
+ on amd64 and s390 (Closes: #490087).
+ (binary-arch): Invoke dh_desktop (fixes a lintian warning, although
+ does nothing in practice).
+
+ -- Yavor Doganov <yavor@gnu.org> Wed, 09 Jul 2008 23:02:14 +0300
+
+mpdcon.app (1.1.99-3) unstable; urgency=low
+
+ [Yavor Doganov]
+
+ * debian/control (Maintainer): Adopting package, thanks Gürkan for
+ maintaining it so far. Set the GNUstep team as maintainer (Closes:
+ #452253).
+ (Uploaders): Add myself.
+ (Build-Depends): Bump debhelper to >= 5, libgnustep-gui-dev to >=
+ 0.12. Drop gnustep-make. Add imagemagick for the icon conversion.
+ (Provides): Add, provides mpd-client; thanks Eric Wong (Closes:
+ #270022).
+ * debian/compat: Set to 5.
+ * debian/dirs: Deleted.
+ * debian/rules (d_app, LDFLAGS): Define.
+ (OPTFLAG): Define conditionally.
+ (build-stamp): Do not source GNUstep.sh; define GNUSTEP_MAKEFILES and
+ honor the flags we set. Touch the target using automatic variable.
+ Convert the app icon in XPM format for the menu.
+ (clean): Use gs_make (Closes: #451452). Delete the generated icon.
+ (install): Adapt as the build-stamp target. Delete the invalid
+ desktop file and install our. Install the XPM icon and the lintian
+ override here. Do not invoke dh_installdirs; not used.
+ (binary-arch): Do not create symlynk to the app wrapper.
+ * debian/MPDCon.desktop: Add.
+ * debian/menu (section): Changed to `Applications/Sound'.
+ (icon, longtitle): Add.
+
+ [Hubert Chathi]
+
+ * debian/control (Suggests): add Suggests mpd.
+
+ -- Yavor Doganov <yavor@gnu.org> Tue, 27 Nov 2007 19:12:33 +0000
+
+mpdcon.app (1.1.99-2) unstable; urgency=low
+
+ * Rebuild against latest libgnustep-gui-dev.
+ * Bump standards version.
+
+ -- Gürkan Sengün <gurkan@linuks.mine.nu> Fri, 22 Sep 2006 21:30:02 +0200
+
+mpdcon.app (1.1.99-1) unstable; urgency=low
+
+ * New upstream version.
+
+ -- Gürkan Sengün <gurkan@linuks.mine.nu> Tue, 14 Mar 2006 09:46:18 +0100
+
+mpdcon.app (1.1-3) unstable; urgency=low
+
+ * Rebuild against latest libgnustep-gui.
+ * Update manual page.
+ * Bump standards version.
+
+ -- Gürkan Sengün <gurkan@linuks.mine.nu> Mon, 23 Jan 2006 21:55:45 +0100
+
+mpdcon.app (1.1-2) unstable; urgency=low
+
+ * Renamed source package to mpdcon.app.
+ * Updated manual page.
+ * Updated debian/control build-depends for GNUstep 0.9.4.
+ * Fixed debian/copyright.
+ * Removed comments from debian/rules.
+
+ -- Gürkan Sengün <gurkan@linuks.mine.nu> Sat, 27 Nov 2004 11:15:35 +0100
+
+mpdcon (1.1-1) unstable; urgency=low
+
+ * Initial Release. (Closes: #252746)
+
+ -- Gürkan Sengün <gurkan@linuks.mine.nu> Thu, 1 Jul 2004 19:24:41 +0200
--- mpdcon.app-1.1.99.orig/debian/compat
+++ mpdcon.app-1.1.99/debian/compat
@@ -0,0 +1 @@
+7
--- mpdcon.app-1.1.99.orig/debian/watch
+++ mpdcon.app-1.1.99/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://sf.net/mpdcon/MPDCon-(.*)\.tar\.gz
--- mpdcon.app-1.1.99.orig/debian/rules
+++ mpdcon.app-1.1.99/debian/rules
@@ -0,0 +1,80 @@
+#!/usr/bin/make -f
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+include /usr/share/GNUstep/debian/config.mk
+
+d_app := $(CURDIR)/debian/mpdcon.app
+LDFLAGS := -Wl,-z,defs -Wl,--as-needed
+export GNUSTEP_MAKEFILES := $(GS_MAKE_DIR)
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+optim := debug=yes
+endif
+
+build: build-stamp
+
+build-stamp:
+ dh_testdir
+ $(MAKE) $(optim) LDFLAGS="$(LDFLAGS)" messages=yes
+ convert Resources/MPDCon.tiff -resize 32x32 MPDCon.xpm
+ touch $@
+
+clean:
+ dh_testdir
+ dh_testroot
+ $(MAKE) distclean
+ dh_clean build-stamp MPDCon.xpm
+
+install: build
+ dh_testdir
+ dh_testroot
+ dh_prep
+# The obsolete variable GNUSTEP_INSTALLATION_DIR unfortunately
+# overrides GNUSTEP_INSTALLATION_DOMAIN. This is not a problem in the
+# general case, because we use DESTDIR. But some buildds (amd64,
+# s390) do not allow writing to $HOME, which is what the build process
+# does. This is a simple hack to spare patching upstream's makefile.
+ $(MAKE) install DESTDIR=$(d_app) GNUSTEP_INSTALLATION_DOMAIN=SYSTEM \
+ GNUSTEP_INSTALLATION_DIR=
+
+# Remove extra license file.
+ rm -f $(d_app)/usr/lib/GNUstep/Applications/MPDCon.app/Resources/COPYING
+# Remove invalid .desktop file and install ours.
+ rm $(d_app)/usr/lib/GNUstep/Applications/*.app/Resources/*.desktop
+ install -D -m 644 debian/MPDCon.desktop \
+ $(d_app)/usr/share/applications/MPDCon.desktop
+# Install the XPM icon.
+ install -D -m 644 MPDCon.xpm $(d_app)/usr/share/pixmaps/MPDCon.xpm
+
+# 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 ChangeLog
+ dh_installdocs
+ dh_installmenu
+ dh_installman
+ifeq ($(GS_USE_FHS),yes)
+ gsdh_gnustep
+ dh_installdirs usr/share/GNUstep
+ mv $(d_app)$(GNUSTEP_SYSTEM_APPS)/MPDCon.app/Resources \
+ $(d_app)/usr/share/GNUstep/MPDCon.app
+ dh_link usr/share/GNUstep/MPDCon.app \
+ $(GNUSTEP_SYSTEM_APPS)/MPDCon.app/Resources
+endif
+ dh_strip
+ dh_compress
+ dh_fixperms
+ dh_installdeb
+ dh_shlibdeps
+ dh_gencontrol
+ dh_md5sums
+ dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install
--- mpdcon.app-1.1.99.orig/debian/control
+++ mpdcon.app-1.1.99/debian/control
@@ -0,0 +1,23 @@
+Source: mpdcon.app
+Section: gnustep
+Priority: optional
+Maintainer: Debian GNUstep maintainers <pkg-gnustep-maintainers@lists.alioth.debian.org>
+Uploaders: Yavor Doganov <yavor@gnu.org>
+Build-Depends: debhelper (>= 7),
+ libgnustep-gui-dev,
+ imagemagick
+Vcs-Arch: http://arch.debian.org/arch/pkg-gnustep/gnustep/mpdcon-app--debian--1.0
+Standards-Version: 3.8.4
+Homepage: http://mpdcon.sourceforge.net
+
+Package: mpdcon.app
+Architecture: any
+Depends: ${shlibs:Depends},
+ ${misc:Depends},
+ ${gnustep:Depends}
+Provides: mpd-client
+Suggests: mpd
+Description: MPD controller for GNUstep
+ MPDCon is a simple GNUstep controller for MPD (Music Player Daemon).
+ It has minimalistic graphical interface, although it provides the
+ basic features an MPD client is supposed to offer.
--- mpdcon.app-1.1.99.orig/debian/manpages
+++ mpdcon.app-1.1.99/debian/manpages
@@ -0,0 +1 @@
+debian/MPDCon.1
--- mpdcon.app-1.1.99.orig/debian/source/format
+++ mpdcon.app-1.1.99/debian/source/format
@@ -0,0 +1 @@
+1.0