--- musica-2.29.orig/debian/changelog +++ musica-2.29/debian/changelog @@ -0,0 +1,382 @@ +musica (2.29-0ubuntu1) artful; urgency=medium + + [ Nishanth Aravamudan ] + * debian/control: + - modify php dependency to libapache2-mod-php rather than + specifically php7.0. + + -- Dustin Kirkland Sun, 17 Jan 2016 14:10:27 +0100 + +musica (2.28-0ubuntu1) xenial; urgency=medium + + * debian/control: + - add php7.0 compatibility + - spell correctly + + -- Dustin Kirkland Sun, 17 Jan 2016 14:10:25 +0100 + +musica (2.27-0ubuntu1) vivid; urgency=medium + + * index.php: + - clean up a ton of undefined variable noise in the apache logs + + -- Dustin Kirkland Sat, 01 Nov 2014 17:02:57 -0500 + +musica (2.26-0ubuntu1) utopic; urgency=medium + + * index.php: + - fix syntax error + - handle new location of getid3.php + - add support for a random playlist of 200 songs + - don't sort random playlist + * jplayer.php: + - let's autoplay + + -- Dustin Kirkland Sat, 26 Jul 2014 14:57:04 -0500 + +musica (2.25-0ubuntu1) utopic; urgency=medium + + * debian/cron.hourly: + - name our temp directory + - use a trap to clean up temp file + + -- Dustin Kirkland Mon, 28 Apr 2014 09:52:59 -0700 + +musica (2.24-0ubuntu1) trusty; urgency=medium + + * debian/apache.conf => debian/musica.conf, debian/control, + debian/install, debian/links, debian/postinst, debian/postrm: + - bump standards version + - fix package installations for LP: #1244293, #990900 + + -- Dustin Kirkland Sat, 15 Mar 2014 21:16:03 -0500 + +musica (2.23-0ubuntu1) trusty; urgency=low + + * debian/postrm: LP: #1244293, #990900 + - purging might break, if site was already disabled + + -- Dustin Kirkland Sat, 15 Mar 2014 11:20:11 -0500 + +musica (2.22-0ubuntu1) raring; urgency=low + + * debian/postinst: + - note the musica cache rebuild with an echo + - don't background this (ie, block on it completing) + - musica is not really functional until the index has run + * debian/cron.hourly: + - soften to a warning, exit zero when music dir doesn't exist + * debian/control: + - bump standards + * debian/control, debian/rules: + - switch to simpler dh build + * debian/control, debian/copyright: + - fix lintian warnings + + -- Dustin Kirkland Wed, 31 Oct 2012 17:29:49 +0100 + +musica (2.21-0ubuntu1) precise; urgency=low + + * debian/cron.hourly: LP: #888218 + - exit on errors + + -- Dustin Kirkland Thu, 10 Nov 2011 15:34:41 -0600 + +musica (2.20-0ubuntu1) precise; urgency=low + + * jplayer2.php: + - added a jplayer2.php, which works with jplayer2; jplayer2 can't + land in Ubuntu yet because the flash won't build from source + using haxe; flash is required for mp3 support in Firefox + * debian/cron.hourly: LP: #888218 + - ensure that the music directory exists, before indexing it + + -- Dustin Kirkland Thu, 10 Nov 2011 10:13:20 -0600 + +musica (2.19-0ubuntu1) oneiric; urgency=low + + * debian/postinst: + - immediately run an update + + -- Dustin Kirkland Sat, 30 Jul 2011 11:15:22 -0500 + +musica (2.18-0ubuntu1) oneiric; urgency=low + + * index.php: + - don't print broken images + + -- Dustin Kirkland Fri, 29 Jul 2011 23:56:25 -0500 + +musica (2.17-0ubuntu1) oneiric; urgency=low + + [ Serge Hallyn ] + * debian/cron.hourly: add -L to find options to support symlinks under + /usr/share/music/musica. + + [ Dustin Kirkland ] + * jplayer.php: LP: #811477 + - use the google hosted jquery.min.js until the local one in Debian/Ubuntu + gets fixed + * debian/cron.hourly, index.php, jplayer.php: + - partial support for m4a + * debian/control, index.php: + - remove that nasty backtick call to eyeD3, use php-id3 instead + + -- Dustin Kirkland Fri, 29 Jul 2011 19:38:42 -0500 + +musica (2.16-0ubuntu1) oneiric; urgency=low + + * debian/cron.hourly, index.php: LP: #622294 + - VASTLY improve album and song search performance by using the cache + files listing songs/albums + - artist lookup is still fast enough doing the dir work, though could + be changed too, easily + - improve the cronjob that generates these to the correct format + * index.php: + - improve random artist/album/song support + - drop the ratings support; don't really have a good, persistent place + to store this + * debian/cron.hourly, index.php: + - fix image loading + - improve performance + - cache image list too + * index.php: + - fix popout, move control icons to top of song window + + -- Dustin Kirkland Thu, 28 Jul 2011 20:23:14 -0500 + +musica (2.15-0ubuntu1) natty; urgency=low + + [ Jeff Lane ] + * README: fix path, LP: #733659 + + -- Dustin Kirkland Sat, 12 Mar 2011 05:55:51 +0000 + +musica (2.14-0ubuntu1) natty; urgency=low + + * debian/links, index.php, jplayer.php: rename "icons" directory to "silk", + gives some credit to the silk project and some apache2 deployments + include an alias for the "icons" directory which breaks musica's + icons; "silk" should be less commonly used as an alias + + -- Dustin Kirkland Wed, 02 Feb 2011 09:36:14 -0800 + +musica (2.13-0ubuntu1) natty; urgency=low + + * index.php: + - fix popout icon reference + - rtrim whitespace on stats + * index.php, jplayer.php: + - fix download of ogg files (streaming of ogg not working yet) + + -- Dustin Kirkland Tue, 04 Jan 2011 21:17:05 -0600 + +musica (2.12-0ubuntu1) natty; urgency=low + + * debian/control, debian/dirs, debian/links, debian/rules, + jplayer/js/Jplayer.as, jplayer/js/jquery.jplayer.min.js, + jplayer/js/jquery.min.js, jplayer.php, === removed directory + jplayer/js: use jplayer and jquery from the archive, rather than + the ones embedded here + + -- Dustin Kirkland Tue, 04 Jan 2011 17:29:56 -0600 + +musica (2.11-0ubuntu1) natty; urgency=low + + * book_open.png, cd.png, control_play_blue.png, debian/control, + debian/copyright, debian/install, debian/links, disk.png, group.png, + index.php, jplayer.php, musica_screenshot.png, music.png, popout.png, + star_off.png, star_on.png: + - use the famfamfam-silk package for icons, rather than embedding them + in this project directly + * index.php: + - use icon for help link + - drop star_off.png + + -- Dustin Kirkland Tue, 14 Dec 2010 11:49:50 -0600 + +musica (2.10-0ubuntu1) natty; urgency=low + + * index.php: speed up album reads a bit by saving an opendir() call + and corresponding directory scan + + -- Dustin Kirkland Wed, 08 Dec 2010 00:12:54 -0600 + +musica (2.9-0ubuntu1) natty; urgency=low + + * index.php: support album art images in the directory with music; supports + anything we can detect as an image; if there's more than one, rotate through + them in a slideshow; LP: #681031 + * support more than one level in the music tree, LP: #293822, LP: #640821 + + -- Dustin Kirkland Wed, 24 Nov 2010 12:29:04 -0600 + +musica (2.8-0ubuntu1) natty; urgency=low + + * index.php: constrain the size of the album art (some are too big) + + -- Dustin Kirkland Fri, 01 Oct 2010 11:28:29 -0700 + +musica (2.7-0ubuntu1) maverick; urgency=low + + * jplayer.php, jplayer/js/jquery.min.js: embed local copy of this, + for offline use + * debian/control, debian/dirs, debian/postinst, index.php: display + album art embedded in id3v2 tags; currently shelling out to use + eyeD3 utility; when php's libraries catch up, this should be deprecated + * jplayer.php: don't autoplay, per pgraner/jfo request + * index.php, jplayer.php: add a "pop-out" functionality, for popping the + music player out to a new window/tab; try to get player more centered + * debian/install, index.php, popout.png: add popout icon + + -- Dustin Kirkland Sat, 25 Sep 2010 11:23:44 -0700 + +musica (2.6-0ubuntu1) maverick; urgency=low + + * index.php: support nested album directories, LP: #640821 + + -- Dustin Kirkland Thu, 16 Sep 2010 14:11:19 -0700 + +musica (2.5-0ubuntu1) maverick; urgency=low + + * debian/install, favicon.ico, index.php: add a favicon.ico, LP: #622289 + * favicon.ico: stylize the musical note to look like an "M" + + -- Dustin Kirkland Tue, 24 Aug 2010 15:11:07 -0400 + +musica (2.4-0ubuntu1) maverick; urgency=low + + * index.php: fix problem where songs or albums have two '.' in their + name + + -- Dustin Kirkland Tue, 15 Jun 2010 10:59:40 -0500 + +musica (2.3-0ubuntu1) maverick; urgency=low + + * jplayer.php: start playing on page load + * index.php: move the "about" text to a single link, and a page of its + own, creates more vertical space + + -- Dustin Kirkland Tue, 01 Jun 2010 09:09:13 -0500 + +musica (2.2-0ubuntu1) maverick; urgency=low + + * index.php: support https protocol + * index.php, jplayer.php, jplayer/skin/jplayer.blue.monday.css: + - rearrange the player's css to make it a little less wide + * jplayer.php: default to the flash player for now; should eventually + add logic to determine native vs. flash + + -- Dustin Kirkland Fri, 21 May 2010 08:38:41 -0500 + +musica (2.1-0ubuntu1) maverick; urgency=low + + * index.php: handle files that have multiple dots in the filename + + -- Dustin Kirkland Wed, 19 May 2010 11:44:13 -0500 + +musica (2.0-0ubuntu1) maverick; urgency=low + + Add jPlayer (GPLv3) as an embedded javascript/flash mp3 player + * debian/control, debian/install, debian/rules, index.php, + jplayer.php, jplayer/js/Jplayer.as, jplayer/js/jquery.jplayer.min.js, + jplayer/skin/jplayer.blue.monday.css: LP: #555347 + * debian/copyright: updated license info + + -- Dustin Kirkland Tue, 18 May 2010 12:00:12 -0500 + +musica (1.11-0ubuntu1) lucid; urgency=low + + * debian/postrm: dissite and rm etc config + + -- Dustin Kirkland Mon, 08 Feb 2010 19:02:42 -0600 + +musica (1.10) lucid; urgency=low + + * debian/postrm: safely clean up + + -- Dustin Kirkland Mon, 08 Feb 2010 12:19:35 -0600 + +musica (1.9) lucid; urgency=low + + * debian/postinst: cache no longer used + * debian/postrm: clean up link and statistics + + -- Dustin Kirkland Mon, 08 Feb 2010 12:14:54 -0600 + +musica (1.8) lucid; urgency=low + + * debian/cron.hourly, debian/rules: + - maintain an hourly updated list of artists/albums/songs, for + more efficient and secure printing of statists and doing searches + * debian/rules: drop debconf stuff, as it's not used + * index.php: + - read statistics from file + - no border on images + - don't hide permission denied errors + * debian/dirs, debian/postrm: clean up cache and lib dirs on purge + * debian/links, debian/postinst, debian/rules: improve install/config + + -- Dustin Kirkland Sat, 06 Feb 2010 22:26:23 -0600 + +musica (1.7) lucid; urgency=low + + * index.php: + - s/Music/Musica/ + - extend artist hyperlink to include icon, like the others + - update copyright to 2010 + - update copyright text + + -- Dustin Kirkland Sat, 30 Jan 2010 19:25:36 -0800 + +musica (1.6) lucid; urgency=low + + * index.php: + - add support for .oga file format, LP: #320360 + * index.php, debian/musica.dirs, debian/rules: + - drop use of tmp files, instead use content type header, LP: #480509 + - drop /var/lib/musica/tmp directory + + -- Dustin Kirkland Tue, 10 Nov 2009 23:34:19 -0600 + +musica (1.5) karmic; urgency=low + + * index.php, debian/copyright: re-license under Affero Public License + + -- Dustin Kirkland Tue, 28 Apr 2009 12:40:18 -0500 + +musica (1.4) jaunty; urgency=low + + * index.php: support ogg, wav, and flac files, LP: #288839 and LP: #313408 + + -- Dustin Kirkland Thu, 15 Jan 2009 22:39:55 -0600 + +musica (1.3) intrepid; urgency=low + + * Fix a couple of minor issues to get musica working immediately on + installation (LP: #285322) + * index.php: must insert script name in url preamble + * debian/rules: link tmpdir into web share + * debian/apache.conf: tmp section no longer needed (using symlink) + + -- Dustin Kirkland Sat, 18 Oct 2008 01:05:02 -0500 + +musica (1.2) intrepid; urgency=low + + * debian/musica.install: actually install star_on.png and star_off.png + LP: #285134 + + -- Dustin Kirkland Fri, 17 Oct 2008 14:11:16 -0500 + +musica (1.1) intrepid; urgency=low + + * index.php, debian/copyright, docs/LICENSE_CCA2.5, docs/LICENSE_GPL3, + docs/README: fixed licensing inconsistencies + + -- Dustin Kirkland Mon, 06 Oct 2008 11:49:02 -0500 + +musica (1.0) intrepid; urgency=low + + * Initial upload, (LP: #254801). + + -- Dustin Kirkland Mon, 29 Sep 2008 13:26:26 -0500 --- musica-2.29.orig/debian/compat +++ musica-2.29/debian/compat @@ -0,0 +1 @@ +6 --- musica-2.29.orig/debian/control +++ musica-2.29/debian/control @@ -0,0 +1,24 @@ +Source: musica +Section: web +Priority: optional +Maintainer: Dustin Kirkland +Standards-Version: 3.9.5 +Build-Depends: debhelper (>= 7), mtasc +Homepage: http://launchpad.net/musica +Vcs-Bzr: http://bazaar.launchpad.net/~kirkland/musica/main + +Package: musica +Architecture: all +Depends: ${misc:Depends}, + apache2, + famfamfam-silk, + jplayer, + libapache2-mod-php5 | libapache2-mod-php, + libjs-jquery, + php-getid3 +Description: web application for browsing and listening to your music + Musica is a web application for browsing and listening to your music. Songs + are organized hierarchically in folders of Artists, and sub-folders of Albums. + The PHP script presents an interface for navigating among artists and albums. + It dynamically generates playlists, allows for downloading single songs, + entire albums, and links to Wikipedia articles on artists and albums. --- musica-2.29.orig/debian/copyright +++ musica-2.29/debian/copyright @@ -0,0 +1,55 @@ +This package was debianized by Dustin Kirkland +Fri, 18 Jul 2008 00:24:37 +0100 + +It was downloaded from: http://launchpad.net/musica + +Upstream Authors: Dustin Kirkland + +Copyright: + Copyright (C) 2000-2010 Dustin Kirkland + All rights reserved. + + Musica + - http://launchpad.net/musica + Copyright (c) 2000-2010 Dustin Kirkland + Licensed under the AGPL + Author: Dustin Kirkland + + jPlayer Plugin for jQuery JavaScript Library + - http://www.happyworm.com/jquery/jplayer + Copyright (c) 2009 - 2010 Happyworm Ltd + Dual licensed under the MIT and GPL licenses; used here under the GPL. + - http://www.gnu.org/copyleft/gpl.html + Author: Mark J Panaghiston + + Skin for jPlayer Plugin (jQuery JavaScript Library) + - http://www.happyworm.com/jquery/jplayer + Copyright (c) 2010 Happyworm Ltd + Dual licensed under the MIT and GPL licenses; used here under the GPL + - http://www.gnu.org/copyleft/gpl.html + Author: Silvia Benvenuti + +License: + + musica: web application for browsing and listening to your music + Copyright (C) 2000-2010 Dustin Kirkland + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as + published by the Free Software Foundation, version 3 of the + License. + + 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 Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see . + +The Ubuntu packaging: + Copyright (C) 2008-2010 by Dustin Kirkland + released under the GPL-3. + + On Debian systems, the complete text of the GNU General Public + License, version 3, can be found in /usr/share/common-licenses/GPL-3. --- musica-2.29.orig/debian/cron.hourly +++ musica-2.29/debian/cron.hourly @@ -0,0 +1,37 @@ +#!/bin/sh -e + +PKG=musica +DIR=/usr/share/$PKG/music +f=$(mktemp /tmp/musica-XXXXXXXX) +trap "rm -f ${f} 2>/dev/null || true" EXIT HUP INT QUIT TERM + +if [ -d "$DIR" ]; then + cd "$DIR" +else + echo "WARNING: [$DIR] does not exist" 1>&2 + exit 0 +fi + +# Get Songs +find -L . -type f -iname "*.mp3" -o -iname "*.m4a" -o -iname "*.oga" -o -iname "*.ogg" -o -iname "*.wav" -o -iname "*.flac" | sed "s:^\./::" | sort -u > $f +chmod 644 $f +mv -f "$f" /var/lib/$PKG/songs +wc -l /var/lib/$PKG/songs | awk '{print $1}' > /var/lib/$PKG/songs.count + +# Get Images +find -L . -type f -iname "*.jpg" -o -iname "*.gif" -o -iname "*.png" -o -iname "*.tif" | sed "s:^\./::" | sort -u > $f +chmod 644 $f +mv -f "$f" /var/lib/$PKG/images +wc -l /var/lib/$PKG/images | awk '{print $1}' > /var/lib/$PKG/images.count + +# Get Albums +find -L . -type d | sed "s:^\./::" | grep "/" | sort -u > $f +chmod 644 $f +mv -f $f /var/lib/$PKG/albums +wc -l /var/lib/$PKG/albums | awk '{print $1}' > /var/lib/$PKG/albums.count + +# Get Artists +find -L . -maxdepth 1 -type d | sed "s:^\./::" | sort -u > $f +chmod 644 $f +mv -f $f /var/lib/$PKG/artists +wc -l /var/lib/$PKG/artists | awk '{print $1}' > /var/lib/$PKG/artists.count --- musica-2.29.orig/debian/dirs +++ musica-2.29/debian/dirs @@ -0,0 +1,2 @@ +var/lib/musica/tmp +usr/share/musica/js --- musica-2.29.orig/debian/docs +++ musica-2.29/debian/docs @@ -0,0 +1 @@ +docs/README --- musica-2.29.orig/debian/install +++ musica-2.29/debian/install @@ -0,0 +1,4 @@ +*.php usr/share/musica +jplayer/* usr/share/musica +favicon.ico usr/share/musica +debian/musica.conf etc/apache2/sites-available/ --- musica-2.29.orig/debian/links +++ musica-2.29/debian/links @@ -0,0 +1,4 @@ +usr/share/icons/silk/16x16 usr/share/musica/silk +usr/share/jplayer/Jplayer.swf usr/share/musica/js/Jplayer.swf +usr/share/jplayer/jquery.jplayer.js usr/share/musica/js/jquery.jplayer.js +usr/share/javascript/jquery/jquery.min.js usr/share/musica/js/jquery.min.js --- musica-2.29.orig/debian/musica.conf +++ musica-2.29/debian/musica.conf @@ -0,0 +1,8 @@ +Alias /musica /usr/share/musica + + + Options +FollowSymLinks + AllowOverride All + order allow,deny + allow from all + --- musica-2.29.orig/debian/postinst +++ musica-2.29/debian/postinst @@ -0,0 +1,29 @@ +#!/bin/sh + +set -e + +PKG="musica" +webserver="apache2" + +case "$1" in + configure) + chown www-data:www-data /var/lib/$PKG/tmp + a2ensite $PKG + invoke-rc.d $webserver reload + echo "Rebuilding musica cache..." + /etc/cron.hourly/musica + ;; + abort-upgrade|abort-remove|abort-deconfigure) + ;; + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 --- musica-2.29.orig/debian/postrm +++ musica-2.29/debian/postrm @@ -0,0 +1,19 @@ +#!/bin/sh + +set -e + +PKG="musica" +case "$1" in + remove) + if [ -e "/etc/apache2/sites-enabled/${PKG}.conf" ]; then + a2dissite $PKG + fi + ;; + purge) + rm -f /var/lib/$PKG/* /etc/apache2/sites-available/${PKG}.conf + rm -rf /etc/$PKG/ + [ -h /usr/share/$PKG/music ] && rm -f /usr/share/$PKG/music || true + ;; +esac + +#DEBHELPER# --- musica-2.29.orig/debian/rules +++ musica-2.29/debian/rules @@ -0,0 +1,4 @@ +#!/usr/bin/make -f + +%: + dh $@