[Python-apps-commits] r6702 - in packages/laudio/trunk (20 files)
cjsmo-guest at users.alioth.debian.org
cjsmo-guest at users.alioth.debian.org
Fri Feb 25 18:06:26 UTC 2011
Date: Friday, February 25, 2011 @ 18:06:11
Author: cjsmo-guest
Revision: 6702
[svn-inject] Applying Debian modifications (0.4.3.1.0gfb5559f+repack-1) to trunk
Added:
packages/laudio/trunk/debian/
packages/laudio/trunk/debian/changelog
packages/laudio/trunk/debian/compat
packages/laudio/trunk/debian/control
packages/laudio/trunk/debian/copyright
packages/laudio/trunk/debian/docs
packages/laudio/trunk/debian/laudio.config
packages/laudio/trunk/debian/laudio.dirs
packages/laudio/trunk/debian/laudio.install
packages/laudio/trunk/debian/laudio.templates
packages/laudio/trunk/debian/links
packages/laudio/trunk/debian/po/
packages/laudio/trunk/debian/po/POTFILES.in
packages/laudio/trunk/debian/po/templates.pot
packages/laudio/trunk/debian/postinst
packages/laudio/trunk/debian/postrm
packages/laudio/trunk/debian/rules
packages/laudio/trunk/debian/source/
packages/laudio/trunk/debian/source/format
packages/laudio/trunk/debian/watch
Property changes on: packages/laudio/trunk/debian
___________________________________________________________________
Added: mergeWithUpstream
+ 1
Added: packages/laudio/trunk/debian/changelog
===================================================================
--- packages/laudio/trunk/debian/changelog (rev 0)
+++ packages/laudio/trunk/debian/changelog 2011-02-25 18:06:11 UTC (rev 6702)
@@ -0,0 +1,5 @@
+laudio (0.4.3.1.0gfb5559f+repack-1) unstable; urgency=low
+
+ * Initial Release (LP: #715566) Closes: #614899
+
+ -- Charlie Smotherman <cjsmo at cableone.net> Tue, 22 Feb 2011 18:41:44 -0500
Added: packages/laudio/trunk/debian/compat
===================================================================
--- packages/laudio/trunk/debian/compat (rev 0)
+++ packages/laudio/trunk/debian/compat 2011-02-25 18:06:11 UTC (rev 6702)
@@ -0,0 +1 @@
+7
Added: packages/laudio/trunk/debian/control
===================================================================
--- packages/laudio/trunk/debian/control (rev 0)
+++ packages/laudio/trunk/debian/control 2011-02-25 18:06:11 UTC (rev 6702)
@@ -0,0 +1,24 @@
+Source: laudio
+Section: web
+Priority: extra
+Maintainer: Charlie Smotherman <cjsmo at cableone.net>
+Uploaders: Python Applications Packaging Team <python-apps-team at lists.alioth.debian.org>,
+ Bernhard Posselt <bernhard.posselt at gmx.at>,
+Build-Depends: debhelper (>= 7.0.50~), python (>=2.6.5-2~), po-debconf
+X-Python-Version: >=2.5
+Standards-Version: 3.9.1
+Homepage: https://github.com/Raydiation/Laudio
+Vcs-Git: git://github.com/Raydiation/Laudio.git
+Vcs-Browser: https://github.com/Raydiation/Laudio
+
+Package: laudio
+Architecture: all
+Depends: ${python:Depends}, ${misc:Depends}, debconf (>= 0.5) | debconf-2.0,
+ python-lxml, python-django, python-mutagen, apache2, sqlite3,
+ libapache2-mod-wsgi, python-pysqlite2, mtasc
+Description: HTML5 musicplayer
+ Laudio is an HTML5 Music Player which can be accessed by anyone, from
+ anywhere with a webbrowser and internet connection. Laudio is easy to use
+ simply add a music directory, scan music directory and enjoy.
+ .
+ User accounts can be added to restrict usage to registered users.
Added: packages/laudio/trunk/debian/copyright
===================================================================
--- packages/laudio/trunk/debian/copyright (rev 0)
+++ packages/laudio/trunk/debian/copyright 2011-02-25 18:06:11 UTC (rev 6702)
@@ -0,0 +1,325 @@
+Format: http://dep.debian.net/deps/dep5/
+Upstream-Name: Laudio
+Source: https://github.com/Raydiation/Laudio
+
+Files: *
+Copyright: 2011 Bernhard Posselt <bernhard.posselt at gmx.at>
+License: GPL-3+
+ 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 3 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 program. If not, see <http://www.gnu.org/licenses/>.
+
+ On Debian systems, the complete text of the GNU General
+ Public License version 3 can be found in
+ "/usr/share/common-licenses/GPL-3".
+
+Files: laudio/media/js/soundmanager/*
+Copyright: 2007, Scott Schiller (schillmania.com)
+License: BSD
+License: BSD
+ 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 schillmania.com nor the names of its contributors
+ may be used to endorse or promote products derived from this software
+ without specific prior written permission from schillmania.com.
+
+ 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 COPYRIGHT OWNER 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.
+
+Files: laudio/media/js/jquery.tablesorter.min.js
+ laudio/media/style/img/nosort.gif
+ laudio/media/style/img/desc.gif
+ laudio/media/style/img/asc.gif
+Copyright: 2011 Christian Bach <christian at lovepeacenukes.com>
+License: GPL-3 or MIT
+License: GPL-3
+ 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 3 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 program. If not, see <http://www.gnu.org/licenses/>.
+
+ On Debian systems, the complete text of the GNU General
+ Public License version 3 can be found in
+ "/usr/share/common-licenses/GPL-3".
+
+ On Debian GNU/Linux systems, the complete text of the GNU General
+ Public License can be found in `/usr/share/common-licenses/GPL-3'
+
+License: MIT
+ Permission is hereby granted, free of charge, to any person obtaining a
+ copy of this software and associated documentation files (the "Software"),
+ to deal in the Software without restriction, including without limitation
+ the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ and/or sell copies of the Software, and to permit persons to whom the
+ Software is furnished to do so, subject to the following conditions:
+
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
+ THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+ DEALINGS IN THE SOFTWARE.
+
+Files: laudio/src/scrobbler.py
+Copyright: 2011 Michel Albert <exhuma at users.sourceforge.net>
+License: LGPL
+License: LGPL
+ This package is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser 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
+ Lesser General Public License for more details.
+
+ You should have received a copy of the GNU Lesser 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 Lesser General
+ Public License can be found in `/usr/share/common-licenses/LGPL'.
+
+Files: laudio/media/js/jquery-1.5.min.js
+Copyright: 2005-2008 by John Resig, Brandon Aaron & Jörn Zaefferer.
+License: GPL-2 or MIT
+License: GPL-2
+ 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.
+
+ 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 Street, Fifth Floor, Boston, MA 02110-1301 USA.
+
+For full wording of above license, see '/usr/share/common-licenses/GPL-2
+
+License: MIT
+ Permission is hereby granted, free of charge, to any person obtaining a
+ copy of this software and associated documentation files (the "Software"),
+ to deal in the Software without restriction, including without limitation
+ the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ and/or sell copies of the Software, and to permit persons to whom the
+ Software is furnished to do so, subject to the following conditions:
+
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
+ THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+ DEALINGS IN THE SOFTWARE.
+
+Files: laudio/media/js/jquery-ui-1.8.1.custom.min.js
+Copyright:
+ (c) 2008 Paul Bakaus (ui.jquery.com)
+ Brandon Aaron
+ David Bolter
+ Rich Caloggero
+ Chi Cheng (cloudream at gmail.com)
+ Colin Clark (http://colin.atrc.utoronto.ca/)
+ Michelle D'Souza
+ Aaron Eisenberger (aaronchi at gmail.com)
+ Ariel Flesler
+ Bohdan Ganicky
+ Scott González
+ Marc Grabanski (m at marcgrabanski.com)
+ Klaus Hartl (stilbuero.de)
+ Scott Jehl
+ Cody Lindley
+ Eduardo Lundgren (eduardolundgren at gmail.com)
+ Todd Parker
+ John Resig
+ Patty Toland
+ Ca-Phun Ung (yelotofu.com)
+ Keith Wood (kbwood at virginbroadband.com.au)
+ Maggie Costello Wachs
+ Richard D. Worth (rdworth.org)
+ Jörn Zaefferer (bassistance.de)
+License: GPL-2 or MIT
+License: GPL-2
+ 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.
+
+ 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 Street, Fifth Floor, Boston, MA 02110-1301 USA.
+
+For full wording of above license, see '/usr/share/common-licenses/GPL-2
+
+License: MIT
+ Permission is hereby granted, free of charge, to any person obtaining a
+ copy of this software and associated documentation files (the "Software"),
+ to deal in the Software without restriction, including without limitation
+ the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ and/or sell copies of the Software, and to permit persons to whom the
+ Software is furnished to do so, subject to the following conditions:
+
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
+ THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+ DEALINGS IN THE SOFTWARE.
+
+Files: laudio/media/style/img/*
+Copyright: 2007-2009 David Vignoni <david at icon-king.com>
+ 2007-2009 Johann Ollivier Lapeyre <johann at oxygen-icons.org>
+ 2007-2009 Kenneth Wimer <kwwii at bootsplash.org>
+ 2007-2009 Nuno Fernades Pinheiro <nf.pinheiro at gmail.com>
+ 2007-2009 Riccardo Iaconelli <riccardo at oxygen-icons.org>
+ 2007-2009 David Miller <miller at oxygen-icons.org>
+License: GPL-3 or LGPL
+License: GPL-3
+ This library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Library General Public
+ License as published by the Free Software Foundation; either
+ version 3 of the License, or (at your option) any later version.
+
+ This library 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 Library General Public
+ License along with this library. If not, see <http://www.gnu.org/licenses/>.
+
+License: LGPL
+
+ The GNU Lesser General Public License or LGPL is written for
+ software libraries in the first place. We expressly want the LGPL to
+ be valid for this artwork library too.
+
+ KDE Oxygen theme icons is a special kind of software library, it is an
+ artwork library, it's elements can be used in a Graphical User Interface,
+ or GUI.
+
+ Source code, for this library means:
+ - where they exist, SVG;
+ - otherwise, if applicable, the multi-layered formats xcf or psd, or
+ otherwise png.
+
+ The LGPL in some sections obliges you to make the files carry
+ notices. With images this is in some cases impossible or hardly useful.
+
+ With this library a notice is placed at a prominent place in the directory
+ containing the elements. You may follow this practice.
+
+ The exception in section 5 of the GNU Lesser General Public License covers
+ the use of elements of this art library in a GUI.
+
+ kde-artists [at] kde.org
+
+ On Debian systems, the complete text of the GNU General Public License
+ version 3 can be found in /usr/share/common-licenses/GPL-3
+
+Files: laudio/media/style/img/loading.gif
+Copyright: 2011 Francesco Balduini <francesco.balduini at gmail.com>
+License: CC-BY-3.0
+License: CC-BY-3.0
+ You are free:
+
+ * to share â to copy, distribute and transmit the work
+ * to remix â to adapt the work
+
+ Under the following conditions:
+
+ * attribution â You must attribute the work in the manner specified by the
+ author or licensor (but not in any way that suggests that they endorse
+ you or your use of the work).
+
+ The Full legalcode is available under
+ http://creativecommons.org/licenses/by/3.0/legalcode
+
+Files: laudio/media/style/img/favicon.png
+ laudio/media/style/img/nocover.png
+Copyright: 2011 Karsten Janke <karsten.janke at googlemail.com>
+License: Cc-by-sa-3.0
+License: Cc-by-sa-3.0
+ You are free:
+
+ * to share â to copy, distribute and transmit the work
+ * to remix â to adapt the work
+
+ Under the following conditions:
+
+ * attribution â You must attribute the work in the manner specified by the
+ author or licensor (but not in any way that suggests that they endorse
+ you or your use of the work).
+ * share alike â If you alter, transform, or build upon
+ this work, you may distribute the resulting work only under the same or
+ similar license to this one.
+
+ The Full legalcode is available under
+ http://creativecommons.org/licenses/by-sa/3.0/legalcode
+
+The Debian packaging is:
+Copyright: 2011 Bernhard Posselt <bernhard.posselt at gmx.at>
+Copyright: 2011 Charlie Smotherman <cjsmo at cableone.net>
+License: GPL-3+
+ 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 3 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 program. If not, see <http://www.gnu.org/licenses/>.
+
+ On Debian systems, the complete text of the GNU General
+ Public License version 3 can be found in
+ "/usr/share/common-licenses/GPL-3".
+
Added: packages/laudio/trunk/debian/docs
===================================================================
--- packages/laudio/trunk/debian/docs (rev 0)
+++ packages/laudio/trunk/debian/docs 2011-02-25 18:06:11 UTC (rev 6702)
@@ -0,0 +1,3 @@
+AUTHORS
+README.rst
+MANIFEST.in
Added: packages/laudio/trunk/debian/laudio.config
===================================================================
--- packages/laudio/trunk/debian/laudio.config (rev 0)
+++ packages/laudio/trunk/debian/laudio.config 2011-02-25 18:06:11 UTC (rev 6702)
@@ -0,0 +1,12 @@
+#!/bin/bash
+
+set -e
+
+# Source debconf library.
+. /usr/share/debconf/confmodule
+db_version 2.0 || [ 0 -lt 30 ]
+
+if [ "$1" = "configure" ]; then
+ db_input critical laudio/reload_webserver || true
+ db_go || true
+fi
Added: packages/laudio/trunk/debian/laudio.dirs
===================================================================
--- packages/laudio/trunk/debian/laudio.dirs (rev 0)
+++ packages/laudio/trunk/debian/laudio.dirs 2011-02-25 18:06:11 UTC (rev 6702)
@@ -0,0 +1,2 @@
+/var/log/laudio/
+/var/lib/laudio
Added: packages/laudio/trunk/debian/laudio.install
===================================================================
--- packages/laudio/trunk/debian/laudio.install (rev 0)
+++ packages/laudio/trunk/debian/laudio.install 2011-02-25 18:06:11 UTC (rev 6702)
@@ -0,0 +1,5 @@
+laudio_apache.conf /etc/laudio
+
+laudio/media /usr/share/laudio/laudio
+laudio/tpl /usr/share/laudio/laudio
+laudio/src /usr/share/laudio/laudio
Added: packages/laudio/trunk/debian/laudio.templates
===================================================================
--- packages/laudio/trunk/debian/laudio.templates (rev 0)
+++ packages/laudio/trunk/debian/laudio.templates 2011-02-25 18:06:11 UTC (rev 6702)
@@ -0,0 +1,10 @@
+Template: laudio/reload_webserver
+Type: boolean
+Default: true
+_Description: Configure and reload the web server?
+ The web server needs to be reconfigured and restarted to enable laudio.
+ Please choose whether you want to reload it automatically now or do it
+ yourself later.
+ .
+ To manually restart the web server, use the following command:
+ "/etc/init.d/apache2 restart"
Added: packages/laudio/trunk/debian/links
===================================================================
--- packages/laudio/trunk/debian/links (rev 0)
+++ packages/laudio/trunk/debian/links 2011-02-25 18:06:11 UTC (rev 6702)
@@ -0,0 +1 @@
+/usr/share/javascript/jquery/jquery.min.js /usr/share/laudio/laudio/media/js/jquery-1.5.min.js
Added: packages/laudio/trunk/debian/po/POTFILES.in
===================================================================
--- packages/laudio/trunk/debian/po/POTFILES.in (rev 0)
+++ packages/laudio/trunk/debian/po/POTFILES.in 2011-02-25 18:06:11 UTC (rev 6702)
@@ -0,0 +1 @@
+[type: gettext/rfc822deb] laudio.templates
Added: packages/laudio/trunk/debian/po/templates.pot
===================================================================
--- packages/laudio/trunk/debian/po/templates.pot (rev 0)
+++ packages/laudio/trunk/debian/po/templates.pot 2011-02-25 18:06:11 UTC (rev 6702)
@@ -0,0 +1,53 @@
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL at ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: laudio at packages.debian.org\n"
+"POT-Creation-Date: 2011-02-10 10:20-0600\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL at ADDRESS>\n"
+"Language-Team: LANGUAGE <LL at li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=CHARSET\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: boolean
+#. Description
+#: ../laudio.templates:1001
+msgid "Configure and reload the web server?"
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../laudio.templates:1001
+msgid ""
+"The web server needs to be reconfigured and restarted to enable laudio. "
+"Please choose whether you want to reload it automatically now or do it "
+"yourself later."
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../laudio.templates:1001
+msgid ""
+"To manually restart the web server, use the following command: \"/etc/init.d/"
+"apache2 restart\""
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../laudio.templates:2001
+msgid "Delete the music database?"
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../laudio.templates:2001
+msgid "This will permanently delete the music database."
+msgstr ""
Added: packages/laudio/trunk/debian/postinst
===================================================================
--- packages/laudio/trunk/debian/postinst (rev 0)
+++ packages/laudio/trunk/debian/postinst 2011-02-25 18:06:11 UTC (rev 6702)
@@ -0,0 +1,73 @@
+#!/bin/bash
+
+set -e
+
+# Source debconf library.
+. /usr/share/debconf/confmodule
+
+#Set file and folder permissions
+prms_fix() {
+ dirs=( "/usr/share/laudio" "/var/lib/laudio" "/var/log/laudio" )
+ for elem in ${dirs[@]}; do
+ chown -R www-data:www-data $elem
+ chmod -R 0770 $elem
+ done
+}
+
+#Create apache2 alias symlink
+apache_link() {
+ lac=/etc/laudio/laudio_apache.conf
+ alac=/etc/apache2/conf.d/laudio_apache.conf
+ if [ -f $lac ]; then
+ if [ ! -e $alac ]; then
+ ln -s $lac $alac
+ fi
+ fi
+}
+
+#create soundmanager2
+soundmanager() {
+ SM2="/usr/share/laudio/laudio/media/js/soundmanager/src"
+ SMSWF="/usr/share/laudio/laudio/media/js/soundmanager/swf"
+ if [ -e $SMSWF ]; then
+ printf "soundmanager already exists"
+ else
+ mkdir $SMSWF
+ if [ -d $SM2 ]; then
+ cd $SM2
+ mtasc -swf ../swf/soundmanager2_debug.swf -main -header 16:16:30 SoundManager2.as -version 8
+ fi
+ fi
+}
+
+if [ "$1" = "configure" ]; then
+ #Set up the db
+ soundmanager
+ if [ -e /var/lib/laudio/laudio.db ]; then
+ printf "laudio.db already exists\n"
+ else
+ python /usr/share/laudio/laudio/manage.py syncdb --noinput
+ fi
+ #Ask to reload webserver config
+ db_get laudio/reload_webserver || true
+ #if yes, setup laudio
+ if [ "$RET" = "true" ]; then
+ apache_link
+ prms_fix
+ if [ -x /usr/sbin/invoke-rc.d ]; then
+ invoke-rc.d apache2 reload 3>/dev/null || true
+ else
+ /etc/init.d/apache2 reload 3>/dev/null || true
+ fi
+ fi
+ #If answer is no setup symlink, fix perms then exit gracefully.
+ if [ "$RET" = "false" ]; then
+ apache_link
+ prms_fix
+ exit 0
+ fi
+fi
+
+#DEBHELPER#
+
+exit 0
Added: packages/laudio/trunk/debian/postrm
===================================================================
--- packages/laudio/trunk/debian/postrm (rev 0)
+++ packages/laudio/trunk/debian/postrm 2011-02-25 18:06:11 UTC (rev 6702)
@@ -0,0 +1,39 @@
+#!/bin/sh
+# prerm script for laudio
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# Source debconf library.
+. /usr/share/debconf/confmodule
+
+DB_FILE="/var/lib/laudio"
+LOG_FILE="/var/log/laudio"
+INSTALL_DIR="/usr/share/laudio"
+alac="/etc/apache2/conf.d"
+
+if [ "$1" = "purge" ]; then
+ if [ -e $LOG_FILE ]; then
+ rm -rf $LOG_FILE
+ fi
+ if [ -e $INSTALL_DIR ]; then
+ rm -rf $INSTALL_DIR
+ fi
+ if [ -e $DB_FILE ]; then
+ rm -rf $DB_FILE
+ fi
+ if [ -e $alac ]; then
+ rm -f $alac/laudio_apache.conf
+ fi
+ if [ -x /usr/sbin/invoke-rc.d ]; then
+ invoke-rc.d apache2 reload 3>/dev/null || true
+ else
+ /etc/init.d/apache2 reload 3>/dev/null || true
+ fi
+fi
+
+
+#DEBHELPER#
+
+exit 0
Added: packages/laudio/trunk/debian/rules
===================================================================
--- packages/laudio/trunk/debian/rules (rev 0)
+++ packages/laudio/trunk/debian/rules 2011-02-25 18:06:11 UTC (rev 6702)
@@ -0,0 +1,10 @@
+#!/usr/bin/make -f
+
+%:
+ dh --with python2 $@
+
+override_dh_auto_install:
+ dh_auto_install -- --install-lib=/usr/share/laudio
+
+override_dh_install:
+ dh_install -XCOPYING -X.swf -Xjquery-1.5.min.js -Xsetup.sh -Xpm-files
Property changes on: packages/laudio/trunk/debian/rules
___________________________________________________________________
Added: svn:executable
+ *
Added: packages/laudio/trunk/debian/source/format
===================================================================
--- packages/laudio/trunk/debian/source/format (rev 0)
+++ packages/laudio/trunk/debian/source/format 2011-02-25 18:06:11 UTC (rev 6702)
@@ -0,0 +1 @@
+3.0 (quilt)
Added: packages/laudio/trunk/debian/watch
===================================================================
--- packages/laudio/trunk/debian/watch (rev 0)
+++ packages/laudio/trunk/debian/watch 2011-02-25 18:06:11 UTC (rev 6702)
@@ -0,0 +1,8 @@
+# Example watch control file for uscan
+# Rename this file to "watch" and then you can run the "uscan" command
+# to check for upstream updates and more.
+# See uscan(1) for format
+
+# Compulsory line, this is a version 3 file
+version=3
+http://githubredir.debian.net/github/raydiation/laudio (.*).tar.gz
More information about the Python-apps-commits
mailing list