--- moodbar-0.1.2.orig/debian/watch +++ moodbar-0.1.2/debian/watch @@ -0,0 +1,3 @@ +version=3 +http://amarok.kde.org/wiki/Moodbar \ + http://pwsp.net/~qbob/moodbar-(.*).tar.gz --- moodbar-0.1.2.orig/debian/README.Debian +++ moodbar-0.1.2/debian/README.Debian @@ -0,0 +1,20 @@ +moodbar for Debian +------------------ + +In order to play certain filetypes, you will need to install additional +packages. The packages listed in the recommends field for this package +should be sufficient for most filetypes; however if you would like to select +precisely which to use, they are as follows: + +OGG Vorbis, .wav: gstreamer0.10-plugins-base +FLAC: gstreamer0.10-plugins-good +MP3: gstreamer0.10-plugins-ugly +Musepack, wavpack: gstreamer0.10-plugins-bad OR gstreamer0.10-plugins-really-bad +WMA: gstreamer0.10-ffmpeg +MP4: gstreamer0.10-plugins-really-bad + +Note that gstreamer0.10-plugins-really-bad is not available in Debian. At the +time of this writing, it was available from the third-party debian-multimedia +repository; visit http://www.debian-multimedia.org/ for more information. + + -- Bryan Donlan Sun, 1 Apr 2007 13:25:06 -0400 --- moodbar-0.1.2.orig/debian/compat +++ moodbar-0.1.2/debian/compat @@ -0,0 +1 @@ +5 --- moodbar-0.1.2.orig/debian/changelog +++ moodbar-0.1.2/debian/changelog @@ -0,0 +1,40 @@ +moodbar (0.1.2-2ubuntu2) karmic; urgency=low + + * Re-add to Ubuntu as it is a dependency of exaile-plugins-moodbar. + * debian/control: + - Drop Recommends/Enchances on Amarok as it doesn't have + a moodbar plugin anymore. + - Drop Recommends on gstreamer0.10-plugins-really-bad + as it no longer exists. + - Add homepage field. + - Bump Standards-Version to 3.8.3 + * debian/dirs: Don't install empty usr/sbin/ dir. + * debian/copyright: point to GPL-2 not versionless sym-link. + * debian/rules: Don't ignore error messages in clean target. + * Add debian/README.source explaining dpatch. + + -- Andrew Starr-Bochicchio Sat, 19 Sep 2009 19:01:44 -0400 + +moodbar (0.1.2-2ubuntu1) hardy; urgency=low + + * Change fftw3-dev to libfftw3-dev. + * Munge Maintainer field as per spec. + + -- Steve Kowalik Wed, 19 Dec 2007 22:17:17 +1100 + +moodbar (0.1.2-2) unstable; urgency=low + + * debian/control: Add Recommends: amarok, as only amarok can actually use + moodbar's output for now. + * debian/rules: Use /usr/share/dpatch/dpatch.make rather than rolling our + own logic. + + -- Bryan Donlan Thu, 03 May 2007 21:35:34 -0400 + +moodbar (0.1.2-1) unstable; urgency=low + + * Initial release (Closes: #398875) + * 10_gthread_init.dpatch: Initialize threading before making glib calls. + + -- Bryan Donlan Sun, 01 Apr 2007 14:24:46 -0400 + --- moodbar-0.1.2.orig/debian/README.source +++ moodbar-0.1.2/debian/README.source @@ -0,0 +1,33 @@ +This package uses dpatch in order to apply patches to the upstream source. +Patches are stored in debian/patches and their filenames usually end in .dpatch . +For further details, see the man pages for dpatch and dpatch-edit-patch. + +All commands described below should be run from the top directory of the +package source tree, unless otherwise stated. + + * To generate the fully patched source, in a form ready for + editing, that would be built to create Debian packages, run: + + dpatch apply-all + + Note: It has been proposed that in future, this should happen + automatically when you run dpkg-source -x on a dpatch source + package. However, this proposal has apparently not yet been + implemented, so for now you have to do it yourself like this. + + * To modify the source and save those modifications so that + they will be applied when building the package, pick a + suitably informative patch file name, for example + 01_add_README.source_file.dpatch, and then run: + + dpatch-edit-patch 01_add_README.source_file.dpatch + + This will place you in a new shell in a temporary copy of the + source tree. Make your desired modifications to it, and then + exit the shell to create the patch file containing them (this + file will appear in debian/patches). + + * To remove source modifications that are currently being + applied when building the package, run: + + dpatch deapply-all --- moodbar-0.1.2.orig/debian/dirs +++ moodbar-0.1.2/debian/dirs @@ -0,0 +1 @@ +usr/bin --- moodbar-0.1.2.orig/debian/moodbar.man.xml +++ moodbar-0.1.2/debian/moodbar.man.xml @@ -0,0 +1,154 @@ + +.
will be generated. You may view the +manual page with: nroff -man .
| less'. A +typical entry in a Makefile or Makefile.am is: + +DB2MAN=/usr/share/sgml/docbook/stylesheet/xsl/nwalsh/\ +manpages/docbook.xsl +XP=xsltproc -''-nonet + +manpage.1: manpage.dbk + $(XP) $(DB2MAN) $< + +The xsltproc binary is found in the xsltproc package. The +XSL files are in docbook-xsl. Please remember that if you +create the nroff version in one of the debian/rules file +targets (such as build), you will need to include xsltproc +and docbook-xsl in your Build-Depends control field. + +--> + + + Bryan"> + Donlan"> + + 2007-04-05"> + + 1"> + bdonlan@gmail.com"> + + moodbar"> + + + Debian"> + GNU"> + GPL"> +]> + + + +
+ &dhemail; +
+ + &dhfirstname; + &dhsurname; + + + 2007 + &dhusername; + + &dhdate; +
+ + &dhucpackage; + + &dhsection; + + + &dhpackage; + + program to compute 'mood bars' for audio files + + + + &dhpackage; + input file + -o output file + + + + DESCRIPTION + + This manual page documents briefly the + &dhpackage; + command. + + This manual page was written for the &debian; distribution + because the original program does not have a manual page. + + + &dhpackage; is a program that computes colorful 'mood bars' + for audio files. It is intended to be used as a component of a media player program + such as amaroK, and is not generally useful when manually invoked. In particular, + &dhpackage; cannot directly render its results to an image. + + + + OPTIONS + + These programs follow the usual &gnu; command line syntax, + with long options starting with two dashes (`-'). A summary of + options is included below. + + + + + + + + Show summary of options. + + + + + + + + + Set output file. + + + + + + + Show a list of all options. + + + + + + + Show a list of gstreamer options. + + + + + + + AUTHOR + + This manual page was written by &dhusername; &dhemail; for + the &debian; system (but may be used by others). Permission is + granted to copy, distribute and/or modify this document under + the terms of the &gnu; General Public License, Version 2 any + later version published by the Free Software Foundation. + + + On Debian systems, the complete text of the GNU General Public + License can be found in /usr/share/common-licenses/GPL. + + + +
+ --- moodbar-0.1.2.orig/debian/copyright +++ moodbar-0.1.2/debian/copyright @@ -0,0 +1,30 @@ +This package was debianized by Bryan Donlan on +Sat, 31 Mar 2007 17:13:59 -0400. + +It was downloaded from http://amarok.kde.org/wiki/Moodbar + +Upstream Author: Joseph Rabinoff + +Copyright: 2006 Joseph Rabinoff + +License: + + 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-2'. + +The Debian packaging is © 2007, Bryan Donlan and +is licensed under the GPL, see above. --- moodbar-0.1.2.orig/debian/control +++ moodbar-0.1.2/debian/control @@ -0,0 +1,23 @@ +Source: moodbar +Section: sound +Priority: extra +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Bryan Donlan +Build-Depends: debhelper (>= 5), autotools-dev, libfftw3-dev, libgstreamer0.10-dev, xsltproc, docbook-xsl, dpatch +Standards-Version: 3.8.3 +Homepage: http://amarok.kde.org/wiki/Moodbar + +Package: moodbar +Architecture: any +Recommends: gstreamer0.10-plugins-ugly, gstreamer0.10-plugins-good, gstreamer0.10-plugins-bad +Depends: ${shlibs:Depends}, ${misc:Depends}, gstreamer0.10-plugins-base +Description: Analysis program for creating a colorful visual representation of an audio file + The Moodbar is an algorithm for creating a colorful visual + representation of the contents of an audio file, giving an idea of its + "mood" (this is a rather fanciful term for the simple analysis it + actually does). The Moodbar was invented by Gavin Wood and Simon + O'Keefe for inclusion in the Amarok music player. + . + This package contains a GStreamer plugin with elements that are used + in the moodbar analysis, and an application that actually does the + analysis. --- moodbar-0.1.2.orig/debian/docs +++ moodbar-0.1.2/debian/docs @@ -0,0 +1,3 @@ +NEWS +README +TODO --- moodbar-0.1.2.orig/debian/rules +++ moodbar-0.1.2/debian/rules @@ -0,0 +1,88 @@ +#!/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 + +include /usr/share/dpatch/dpatch.make + +# These are used for cross-compiling and for saving the configure script +# from having to guess our platform (since we know it already) +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) + + +CFLAGS = -Wall -g + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif + +config.status: patch-stamp + dh_testdir + ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs" + +configure: config.status + +build: build-stamp + +build-stamp: patch configure + dh_testdir + + $(MAKE) + cd debian; xsltproc --nonet /usr/share/sgml/docbook/stylesheet/xsl/nwalsh/manpages/docbook.xsl moodbar.man.xml + + touch $@ + +clean: clean1 unpatch +clean1: + dh_testdir + dh_testroot + rm -f build-stamp debian/moodbar.1 + + # Add here commands to clean up after the build process. + [ ! -f Makefile ] || $(MAKE) distclean + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + $(MAKE) DESTDIR=$(CURDIR)/debian/moodbar install + + +# 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_installexamples + dh_installman debian/moodbar.1 + 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 patch unpatch \ + clean1 --- moodbar-0.1.2.orig/debian/patches/10_gthread_init.dpatch +++ moodbar-0.1.2/debian/patches/10_gthread_init.dpatch @@ -0,0 +1,21 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 10_gthread_init.dpatch by Bryan Donlan +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Initialize the GLib threading system before we make any other calls +## DP: to glib. + +@DPATCH@ +diff -urNad moodbar-0.1.2~/analyzer/main.c moodbar-0.1.2/analyzer/main.c +--- moodbar-0.1.2~/analyzer/main.c 2006-10-12 01:43:30.000000000 -0400 ++++ moodbar-0.1.2/analyzer/main.c 2007-04-01 13:20:33.000000000 -0400 +@@ -262,6 +262,9 @@ + GOptionContext *ctx; + GError *err = NULL; + ++ // must be called before any other glib function is called ++ if (!g_thread_supported ()) g_thread_init(NULL); ++ + ctx = g_option_context_new ("[INFILE] - Run moodbar analyzer"); + g_option_context_add_group (ctx, gst_init_get_option_group ()); + g_option_context_add_main_entries (ctx, entries, NULL); --- moodbar-0.1.2.orig/debian/patches/01_config_status +++ moodbar-0.1.2/debian/patches/01_config_status @@ -0,0 +1,38 @@ +#!/bin/sh +## 10_gthread_init.dpatch by Bryan Donlan +## +## DP: Update config.sub and config.guess + +CMD="$1" +shift + +WD="$2" + +if [ "x$WD" == "x" ]; then + WD=. +fi + +cd "$WD" + +case "$CMD" in +"-patch") + cp config.sub config.sub.upstream || exit $? + cp config.guess config.guess.upstream || exit $? + if [ -e "/usr/share/misc/config.sub" ]; then + cp /usr/share/misc/config.sub -f config.sub || exit $? + fi + if [ -e "/usr/share/misc/config.guess" ]; then + cp /usr/share/misc/config.guess -f config.guess || exit $? + fi + ;; +"-unpatch") + mv -f config.sub.upstream config.sub || exit $? + mv -f config.guess.upstream config.guess || exit $? + ;; +*) + echo "Unknown command $CMD" + exit 1 + ;; +esac + +exit 0 --- moodbar-0.1.2.orig/debian/patches/00list +++ moodbar-0.1.2/debian/patches/00list @@ -0,0 +1,2 @@ +01_config_status +10_gthread_init