[linux-minidisc] [PATCH] Add debian package build script, documentation and debhelper files.
---
debian/README.Debian | 11 +++++++++
debian/changelog | 5 ++++
debian/compat | 1 +
debian/control | 16 +++++++++++++
debian/copyright | 50 ++++++++++++++++++++++++++++++++++++++++++
debian/docs | 1 +
debian/qhimdtransfer.desktop | 13 +++++++++++
debian/qhimdtransfer.install | 10 ++++++++
debian/qhimdtransfer.menu | 2 +
debian/rules | 22 ++++++++++++++++++
10 files changed, 131 insertions(+), 0 deletions(-)
create mode 100644 debian/README.Debian
create mode 100644 debian/changelog
create mode 100644 debian/compat
create mode 100644 debian/control
create mode 100644 debian/copyright
create mode 100644 debian/docs
create mode 100644 debian/qhimdtransfer.desktop
create mode 100644 debian/qhimdtransfer.install
create mode 100644 debian/qhimdtransfer.menu
create mode 100755 debian/rules
diff --git a/debian/README.Debian b/debian/README.Debian
new file mode 100644
index 0000000..0d67663
--- /dev/null
+++ b/debian/README.Debian
@@ -0,0 +1,11 @@
+qhimdtransfer for Debian
+------------------------
+
+This package provides a very early version of a transfer software for Sony HiMD-Walkman.
+Due to its early development stage, the associated library, libhimd is linked in statically
+since a lot of changes in the library are expected in future. Therefore, this package
+is not intended to close Debian bug #533112. Once the software is mature enough, qhimdtransfer
+and libhimd will be split into separate packages and the aforementioned bug report can
+be closed.
+
+ -- Adrian Glaubitz <glaubitz@physik.fu-berlin.de> Fri, 26 Feb 2010 17:05:01 +0100
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..9a0bab4
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+qhimdtransfer (0.0.1-1) unstable; urgency=low
+
+ * Initial release (Closes: #571647).
+
+ -- Adrian Glaubitz <glaubitz@physik.fu-berlin.de> Fri, 26 Feb 2010 17:05:01 +0100
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..7f8f011
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+7
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..e307df1
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,16 @@
+Source: qhimdtransfer
+Section: sound
+Priority: extra
+Maintainer: Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
+Build-Depends: debhelper (>= 7.4.15), libqt4-dev, libglib2.0-dev, libmad0-dev, libmcrypt-dev, libsox-dev, libtag1-dev
+Standards-Version: 3.8.4
+Homepage: https://wiki.physik.fu-berlin.de/linux-minidisc
+
+Package: qhimdtransfer
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: Transfer software for HiMD Walkman
+ qhimdtransfer is a transfer software for HiMD Walkman. These
+ MiniDisc devices provide a USB interface to transfer music tracks
+ to and from the device. Since HiMD uses a special, proprietary
+ container format, a special software is required for transfer.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..f0d8b45
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,50 @@
+This work was packaged for Debian by:
+
+ Adrian Glaubitz <glaubitz@physik.fu-berlin.de> on Fri, 26 Feb 2010 17:05:01 +0100
+
+It was downloaded from:
+
+ <https://wiki.physik.fu-berlin.de/linux-minidisc/>
+
+Upstream Author(s):
+
+ Michael Karcher <mkarcher@physik.fu-berlin.de>
+ Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
+ Thomas Arp <manner.moe@gmx.de>
+ Vincent Pelletier <plr.vincent@gmail.com>
+
+Copyright:
+
+ Copyright (C) 2008-2010 Michael Karcher
+ Copyright (C) 2008-2010 Adrian Glaubitz
+ Copyright (C) 2008-2010 Thomas Arp
+ Copyright (C) 2008-2010 Vincent Pelletier
+
+License:
+
+ GPL v2
+
+ 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 of the License, or
+ (at your option) any later version.
+
+ This program 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 General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ 02110-1301, USA.
+
+ On Debian systems, the complete text of the GNU General Public License
+ version 2 can be found in `/usr/share/common-licenses/GPL-2'.
+
+The Debian packaging is:
+
+ Copyright (C) 2010 Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
+
+and is licensed under the GPL version 2,
+see "/usr/share/common-licenses/GPL-2".
diff --git a/debian/docs b/debian/docs
new file mode 100644
index 0000000..e845566
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1 @@
+README
diff --git a/debian/qhimdtransfer.desktop b/debian/qhimdtransfer.desktop
new file mode 100644
index 0000000..e3aa7e5
--- /dev/null
+++ b/debian/qhimdtransfer.desktop
@@ -0,0 +1,13 @@
+[Desktop Entry]
+Name=QHiMDTransfer
+GenericName=Transfer software for Sony HiMD Walkman
+Comment=Transfer software for Sony HiMD Walkman
+#GenericName[de]=
+#Comment[de]=
+
+Icon=qhimdtransfer_32
+Exec=qhimdtransfer
+#Icon=qtcreator_logo_32
+Type=Application
+Terminal=false
+Categories=Qt;AudioVideo;Audio
diff --git a/debian/qhimdtransfer.install b/debian/qhimdtransfer.install
new file mode 100644
index 0000000..6485ded
--- /dev/null
+++ b/debian/qhimdtransfer.install
@@ -0,0 +1,10 @@
+debian/qhimdtransfer.desktop /usr/share/applications
+qhimdtransfer/icons/qhimdtransfer_16.png /usr/share/pixmaps
+qhimdtransfer/icons/qhimdtransfer_24.png /usr/share/pixmaps
+qhimdtransfer/icons/qhimdtransfer_32.png /usr/share/pixmaps
+qhimdtransfer/icons/qhimdtransfer_48.png /usr/share/pixmaps
+qhimdtransfer/icons/qhimdtransfer_64.png /usr/share/pixmaps
+qhimdtransfer/icons/qhimdtransfer_96.png /usr/share/pixmaps
+qhimdtransfer/icons/qhimdtransfer_128.png /usr/share/pixmaps
+qhimdtransfer/icons/qhimdtransfer_256.png /usr/share/pixmaps
+qhimdtransfer/icons/qhimdtransfer_512.png /usr/share/pixmaps
diff --git a/debian/qhimdtransfer.menu b/debian/qhimdtransfer.menu
new file mode 100644
index 0000000..6c0f639
--- /dev/null
+++ b/debian/qhimdtransfer.menu
@@ -0,0 +1,2 @@
+?package(qhimdtransfer):needs="X11" section="Applications/Sound"\
+ title="QHiMDTransfer" longtitle="QHiMDTransfer - HiMD transfer application" command="/usr/bin/qhimdtransfer"
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..744b971
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,22 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+# This file was originally written by Joey Hess and Craig Small.
+# As a special exception, when this file is copied by dh-make into a
+# dh-make output file, you may use that output file without restriction.
+# This special exception was added by Craig Small in version 0.37 of dh-make.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+override_dh_auto_configure:
+ qmake-qt4 -r
+
+override_dh_auto_clean:
+ dh_clean
+ qmake-qt4 -r
+ make distclean
+ rm -f Makefile
+
+%:
+ dh $@
--
1.7.0