--- picard-0.9.0.orig/debian/control +++ picard-0.9.0/debian/control @@ -0,0 +1,16 @@ +Source: picard +Section: sound +Priority: optional +Maintainer: Adam Cécile (Le_Vert) +Build-Depends: debhelper (>= 5.0.37.2), python-all-dev, python-all, python-support (>= 0.4), gettext, libofa0-dev, libavcodec-dev, libavformat-dev, imagemagick +Standards-Version: 3.7.3 +Homepage: http://musicbrainz.org/doc/PicardTagger + +Package: picard +Architecture: any +Depends: ${shlibs:Depends}, ${python:Depends}, python-qt4 (>= 4.1), python-mutagen (>= 1.9), python-ctypes, libdiscid0 +Description: Next-Generation MusicBrainz audio files tagger + Picard is the next generation MusicBrainz tagging application. + . + This new tagging concept is album oriented, as opposed to track oriented + like the others taggers are. --- picard-0.9.0.orig/debian/manpages +++ picard-0.9.0/debian/manpages @@ -0,0 +1 @@ +debian/picard.1 --- picard-0.9.0.orig/debian/picard.1 +++ picard-0.9.0/debian/picard.1 @@ -0,0 +1,30 @@ +.TH PICARD 1 "January 2008" "Version 0.9.0" + +.SH NAME +picard - next generation MusicBrainz tagging application (written in pyQT4) + +.SH SYNOPSIS +.B picard + +.SH DESCRIPTION +.B picard +is the next generation MusicBrainz tagging application. +.br +This new tagging concept is album oriented, as opposed to track oriented like the others taggers are. + +.SH OPTIONS +.BI picard +has no options. + +.SH SEE ALSO +.br +.B Homepage: +http://musicbrainz.org/doc/PicardTagger +.br + +.SH AUTHOR +This manual page was written by Adam Cecile for the Debian system (but may be used by others). +.br +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 +.br +On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL. --- picard-0.9.0.orig/debian/pyversions +++ picard-0.9.0/debian/pyversions @@ -0,0 +1 @@ +2.4- --- picard-0.9.0.orig/debian/links +++ picard-0.9.0/debian/links @@ -0,0 +1 @@ +/usr/share/pixmaps/picard-32.xpm /usr/share/pixmaps/picard.xpm --- picard-0.9.0.orig/debian/changelog +++ picard-0.9.0/debian/changelog @@ -0,0 +1,23 @@ +picard (0.9.0-1) unstable; urgency=low + + * Initial upload to debian unstable. + * Most of packaging has been re-done because of major upstream changes. + * New upstream release (Closes: #416951, #431466, #457241). + * Update debian/watch (Closes: #458912). + * Bump Standards-Version to 3.7.3. + * Move homepage to new dpkg standard field. + * Update manpage and fix its whatis entry. + + -- Adam Cécile (Le_Vert) Sat, 05 Jan 2008 00:18:53 +0100 + +picard (0.7.2-2) experimental; urgency=low + + * Add debian/watch. + + -- Adam Cécile (Le_Vert) Mon, 27 Nov 2006 01:17:46 +0100 + +picard (0.7.2-1) experimental; urgency=low + + * Initial release (Closes: #397260). + + -- Adam Cécile (Le_Vert) Mon, 6 Nov 2006 01:42:10 +0100 --- picard-0.9.0.orig/debian/copyright +++ picard-0.9.0/debian/copyright @@ -0,0 +1,52 @@ +This package was debianized by Adam Cécile (Le_Vert) on +Mon, 6 Nov 2006 01:42:10 +0100. + +It was downloaded from http://musicbrainz.org/doc/PicardTagger + +Upstream Author: Robert Kaye + Robert Vollmert + Cody M. Bailey + Dave Evans + David Hull + Lukáš Lalinský + Tobias Rundström + +Copyright: (C) 2004-2006, Robert Kaye + (C) 1995-2002, RealNetworks + Portions copyright by the other upstream authors (see above). + +picard is triple-licensed under 'GNU General Public License', 'RealNetworks +Public Source License Version 1.0' and 'RealNetworks Community Source +License Version 1.0'. + +You can choose, at your convenience, one of this three license. + +Debian packages chooses GPL, because the two other are not DFSG-compliant. + +License (GPL): + + This package 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 package 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 package; 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 can be found in '/usr/share/common-licenses/GPL'. + +RealNetworks Public Source License Version 1.0 can be found at: +'https://helixcommunity.org/content/rpsl' + +RealNetworks Community Source License Version 1.0 can be found at: +'https://helixcommunity.org/content/rcsl' + +The Debian packaging is (C) 2006, Adam Cécile (Le_Vert) +and is licensed under the GPL, see above. --- picard-0.9.0.orig/debian/menu +++ picard-0.9.0/debian/menu @@ -0,0 +1,3 @@ +?package(picard): needs="X11" section="Applications/Sound" title="Picard" \ + longtitle="Picard - Next-Generation MusicBrainz audio files tagger" \ + command="/usr/bin/picard" icon="/usr/share/pixmaps/picard.xpm" --- picard-0.9.0.orig/debian/watch +++ picard-0.9.0/debian/watch @@ -0,0 +1,2 @@ +version=3 +ftp://ftp.musicbrainz.org/pub/musicbrainz/picard/picard-([0-9\.]+).tar.gz --- picard-0.9.0.orig/debian/rules +++ picard-0.9.0/debian/rules @@ -0,0 +1,80 @@ +#!/usr/bin/make -f + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +PYVERS = $(shell pyversions -rv) +DESTDIR = $(CURDIR)/debian/picard + +CFLAGS = -Wall -g +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif + +configure: configure-stamp + +configure-stamp: + python setup.py config + touch $@ + +build: configure-stamp $(PYVERS:%=build-stamp%) + +build-stamp%: + dh_testdir + CFLAGS="$(CFLAGS)" python$* setup.py build_ext + touch $@ + +clean: + dh_testdir + dh_testroot + rm -rf build/ build.cfg scripts/picard + rm -f configure-stamp build-stamp* install-stamp* + find $(CURDIR) -name '*.mo' | xargs rm -f + find $(CURDIR) -name '*.pyc' | xargs rm -f + dh_clean + +install: build install-prereq $(PYVERS:%=install-stamp%) install-finish + +install-prereq: + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + +install-stamp%: + python$* setup.py install --root=$(DESTDIR) --prefix=/usr --no-compile + +install-finish: + # Let's create some icons + mkdir -p $(DESTDIR)/usr/share/pixmaps + for size in 16 22 24 32; do \ + convert $(CURDIR)/picard-32.png -resize $${size} $(DESTDIR)/usr/share/pixmaps/picard-$${size}.xpm || exit 1; \ + mkdir -p $(DESTDIR)/usr/share/icons/hicolor/$${size}x$${size}/apps || exit 1; \ + convert $(CURDIR)/picard-32.png -resize $${size} $(DESTDIR)/usr/share/icons/hicolor/$${size}x$${size}/apps/picard.png || exit 1; \ + done + # And fix the shebang + sed -i 's/^#!\/usr\/bin\/python.*$$/#!\/usr\/bin\/python/' $(DESTDIR)/usr/bin/picard + +binary-indep: build install +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs NEWS.txt + dh_installdocs + dh_installmenu + dh_pysupport + dh_installman + dh_link + 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 configure --- picard-0.9.0.orig/debian/compat +++ picard-0.9.0/debian/compat @@ -0,0 +1 @@ +5