sm-commit AT lists.ibiblio.org
Subject: Source Mage code commit list
List archive
[SM-Commit] GIT changes to master grimoire by Puppet_Master (fa43742aba1a2c75613c863c5844aa8fc095afe7)
- From: Puppet_Master <scm AT sourcemage.org>
- To: sm-commit AT lists.ibiblio.org
- Subject: [SM-Commit] GIT changes to master grimoire by Puppet_Master (fa43742aba1a2c75613c863c5844aa8fc095afe7)
- Date: Wed, 20 Jun 2007 18:17:32 -0500
GIT changes to master grimoire by Puppet_Master <puppetmaster.e17 AT gmail.com>:
audio-players/mpd/FINAL | 26 ++++
audio-players/mpd/HISTORY | 8 +
audio-players/mpd/init.d/mpd | 12 ++
audio-players/mpd/mpd.conf | 245
++++++++++++++++++++++++++++++++++++++++++
database/sqlite3-ruby/DETAILS | 3
5 files changed, 292 insertions(+), 2 deletions(-)
New commits:
commit fa43742aba1a2c75613c863c5844aa8fc095afe7
Author: Philippe Caseiro <puppet_master AT else-projects.org>
Commit: Puppet_Master <puppetmaster.e17 AT gmail.com>
Updating mpd spell to could run MPD like a service. Bug #13651
commit 6d27c1ac21b037c2612e99c4f94b4ccf3e75d28e
Author: Philippe Caseiro <puppet_master AT else-projects.org>
Commit: Puppet_Master <puppetmaster.e17 AT gmail.com>
removing UPDATED ... definitly depreciated
diff --git a/audio-players/mpd/FINAL b/audio-players/mpd/FINAL
new file mode 100755
index 0000000..10e5068
--- /dev/null
+++ b/audio-players/mpd/FINAL
@@ -0,0 +1,26 @@
+# If the user chose to install init script
+# we do what mpd need to run as a service correctly
+
+if [[ $INIT_INSTALLED ]]; then
+ source ${GRIMOIRE}/libaccount &&
+ I_R=${INSTALL_ROOT} &&
+ USRBIN=${I_R}/usr/bin &&
+ MPD_HOME="/var/lib/mpd" &&
+ MPD_DIRS="${MPD_HOME}/music ${MPD_HOME}/playlists" &&
+ MPD_FILES="${I_R}/var/log/mpd.log ${I_R}/var/log/mpd.error" &&
+ create_account musicdaemon &&
+ for dir in "${MPD_HOME} ${MPD_DIRS}";
+ do
+ if [[ ! -r ${dir} ]]; then
+ mkdir -p ${dir} &&
+ chown musicdaemon:audio ${dir}
+ fi
+ done &&
+ for file in ${MPD_FILES};
+ do
+ if [[ ! -r ${file} ]]; then
+ touch ${file} &&
+ chown musicdaemon:audio ${file}
+ fi
+ done
+fi
diff --git a/audio-players/mpd/HISTORY b/audio-players/mpd/HISTORY
index a806706..be287a2 100644
--- a/audio-players/mpd/HISTORY
+++ b/audio-players/mpd/HISTORY
@@ -1,3 +1,11 @@
+2007-06-20 Philippe "Puppet_Master" Caseiro <caseiro.philippe AT free.fr>
+ * inid.d : adding init script
+ * FINAL : adding file to mpd user creation
+ * mpd.conf : adding configuration file
+ * INSTALL : change the installed configuration file
+
+
+
2007-05-31 George Sherwood <george AT beernabeer.com>
* DETAILS: Updated to 0.13.0
diff --git a/audio-players/mpd/init.d/mpd b/audio-players/mpd/init.d/mpd
new file mode 100644
index 0000000..832d8d1
--- /dev/null
+++ b/audio-players/mpd/init.d/mpd
@@ -0,0 +1,12 @@
+#!/bin/bash
+
+#. /etc/sysconfig/gpm
+
+PROGRAM=/usr/bin/mpd
+ARGS=""
+RUNLEVEL=3
+NEEDS=""
+
+[[ -z "/var/lib/mpd/mpd.db" ]] && ARGS="--create-db"
+
+. /etc/init.d/smgl_init
diff --git a/audio-players/mpd/mpd.conf b/audio-players/mpd/mpd.conf
new file mode 100644
index 0000000..2f6d22a
--- /dev/null
+++ b/audio-players/mpd/mpd.conf
@@ -0,0 +1,245 @@
+# An example configuration file for MPD
+# See the mpd.conf man page for a more detailed description of each
parameter.
+
+######################## REQUIRED PATHS ########################
+music_directory "/var/lib/mpd/music"
+playlist_directory "/var/lib/mpd/playlists"
+db_file "/var/lib/mpd/mpd.db"
+log_file "/var/log/mpd.log"
+error_file "/var/log/mpd.error"
+################################################################
+
+
+######################## OPTIONAL PATHS ########################
+#
+# If you wish to use mpd --kill to stop MPD, then you must
+# specify a file here in which to store MPD's process ID.
+#
+#pid_file "~/.mpd/mpd.pid"
+#
+# If specified, MPD will save its current state (playlist,
+# current song, playing/paused, etc.) at exit. This will be
+# used to restore the session the next time it is run.
+#
+#state_file "~/.mpd/mpdstate"
+#
+################################################################
+
+
+######################## DAEMON OPTIONS ########################
+#
+# If started as root, MPD will drop root privileges and run as
+# this user instead. Otherwise, MPD will run as the user it was
+# started by. If left unspecified, MPD will not drop root
+# privileges at all (not recommended).
+#
+user "musicdaemon"
+#
+# The address and port to listen on.
+#
+bind_to_address "any"
+port "6600"
+#
+# Controls the amount of information that is logged. Can be
+# "default", "secure", or "verbose".
+#
+log_level "default"
+#
+################################################################
+
+
+########################## PERMISSIONS #########################
+#
+# MPD can require that users specify a password before using it.
+# You may specify one ore more here, along with what users who
+# log in with that password are allowed to do.
+#
+#password "password@read,add,control,admin"
+#
+# Specifies what permissions a user who has not logged in with a
+# password has. By default, all users have full access to MPD
+# if no password is specified above, or no access if one or
+# more passwords are specified.
+#
+#default_permissions "read,add,control,admin"
+#
+################################################################
+
+
+########################## AUDIO OUTPUT ########################
+#
+# MPD supports many audio output types, as well as playing
+# through multiple audio outputs at the same time. You can
+# specify one or more here. If you don't specify any, MPD will
+# automatically scan for a usable audio output.
+#
+# See <http://mpd.wikia.com/wiki/Configuration#Audio_Outputs>
+# for examples of other audio outputs.
+#
+# An example of an ALSA output:
+#
+#audio_output {
+# type "alsa"
+# name "My ALSA Device"
+# device "hw:0,0" # optional
+# format "44100:16:2" # optional
+#}
+#
+# An example of an OSS output:
+#
+#audio_output {
+# type "oss"
+# name "My OSS Device"
+# device "/dev/dsp" # optional
+# format "44100:16:2" # optional
+#}
+#
+# An example of a shout output (for streaming to Icecast):
+#
+#audio_output {
+# type "shout"
+# name "My Shout Stream"
+# host "localhost"
+# port "8000"
+# mount "/mpd.ogg"
+# password "hackme"
+# quality "5.0"
+# bitrate "128"
+# format "44100:16:1"
+# user "source" # optional
+# description "My Stream Description" # optional
+# genre "jazz" # optional
+# public "no" # optional
+#}
+#
+# Force all decoded audio to be converted to this format before
+# being passed to the audio outputs.
+#
+#audio_output_format "44100:16:2"
+#
+################################################################
+
+
+############################# MIXER ############################
+#
+# MPD needs to know what mixer settings to change when you
+# adjust the volume. If you don't specify one here, MPD will
+# pick one based on which ones it was compiled with support for.
+#
+# An example for controlling an ALSA mixer:
+#
+#mixer_type "alsa"
+#mixer_device "default"
+#mixer_control "PCM"
+#
+# An example for controlling an OSS mixer:
+#
+#mixer_type "oss"
+#mixer_device "/dev/mixer"
+#mixer_control "PCM"
+#
+# If you want MPD to adjust the volume of audio sent to the
+# audio outputs, you can tell it to use the software mixer:
+#
+#mixer_type "software"
+#
+################################################################
+
+
+######################### NORMALIZATION ########################
+#
+# Specifies the type of ReplayGain to use. Can be "album" or
+# "track". ReplayGain will not be used if not specified. See
+# <http://www.replaygain.org> for more details.
+#
+#replaygain "album"
+#
+# Sets the pre-amp used for files that have ReplayGain tags.
+#
+#replaygain_preamp "0"
+#
+# Enable on the fly volume normalization. This will cause the
+# volume of all songs played to be adjusted so that they sound
+# as though they are of equal loudness.
+#
+#volume_normalization "no"
+#
+################################################################
+
+
+########################### BUFFERING ##########################
+#
+# The size of the buffer containing decoded audio. You probably
+# shouldn't change this.
+#
+#audio_buffer_size "2048"
+#
+# How much of the buffer to fill before beginning to play.
+#
+#buffer_before_play "0%"
+#
+# Similar options for the HTTP stream buffer. If you hear
+# skipping while playing HTTP streams, you may wish to increase
+# these.
+#
+#http_buffer_size "128"
+#http_prebuffer_size "25%"
+#
+################################################################
+
+
+########################### HTTP PROXY #########################
+#
+# Specifies the HTTP proxy to use for playing HTTP streams.
+#
+#http_proxy_host "proxy.isp.com"
+#http_proxy_port "8080"
+#http_proxy_user "user"
+#http_proxy_password "password"
+#
+################################################################
+
+
+############################# LIMITS ###########################
+#
+# These are various limits to prevent MPD from using too many
+# resources. You should only change them if they start
+# restricting your usage of MPD.
+#
+#connection_timeout "60"
+#max_connections "5"
+#max_playlist_length "16384"
+#max_command_list_size "2048"
+#max_output_buffer_size "8192"
+#
+################################################################
+
+
+###################### CHARACTER ENCODINGS #####################
+#
+# If file or directory names do not display correctly, then you
+# may need to change this. In most cases it should be either
+# "ISO-8859-1" or "UTF-8". You must recreate your database
+# after changing this (use mpd --create-db).
+#
+#filesystem_charset "ISO-8859-1"
+#
+# The encoding that ID3v1 tags should be converted from.
+#
+#id3v1_encoding "ISO-8859-1"
+#
+################################################################
+
+
+######################### OTHER OPTIONS ########################
+#
+# The metadata types MPD will recognize.
+#
+#metadata_to_use
"artist,album,title,track,name,genre,date,composer,performer,disc"
+#
+# Enable this if you wish to use your MPD created playlists in
+# other music players.
+#
+#save_absolute_paths_in_playlists "no"
+#
+################################################################
diff --git a/database/sqlite3-ruby/DETAILS b/database/sqlite3-ruby/DETAILS
index 99733c6..6957261 100755
--- a/database/sqlite3-ruby/DETAILS
+++ b/database/sqlite3-ruby/DETAILS
@@ -2,12 +2,11 @@
VERSION=1.2.1
SOURCE=${SPELL}-${VERSION}.tar.bz2
SOURCE_URL[1]=http://rubyforge.org/frs/download.php/17096/${SOURCE}
+
SOURCE_HASH=sha512:7c0b69d05ced8cd4aa6fd7af9376fc06c1adab6cf074ac6d2a730b5f7f91fd6600fbdde02d5b8642f2366fae23a9e37222313570dfd35022d00f0d916b9ccc50
SOURCE_DIRECTORY=${BUILD_DIRECTORY}/${SPELL}-${VERSION}
WEB_SITE=http://sqlite-ruby.rubyforge.org/
ENTERED=20070508
- UPDATED=20070620
LICENSE[0]=BSD
-
SOURCE_HASH=sha512:7c0b69d05ced8cd4aa6fd7af9376fc06c1adab6cf074ac6d2a730b5f7f91fd6600fbdde02d5b8642f2366fae23a9e37222313570dfd35022d00f0d916b9ccc50
SHORT="Ruby interface for the SQLite database engine."
cat << EOF
This is a compatibility release. SQLite3 3.3.8 and above changed the format
of the dflt_value column of the table_info pragma, which breaks applications
that depend on that metadata (like Ruby on Rails). This release of
SQLite3/Ruby modifies the Database#table_info helper such that it checks the
libversion and reformats the dflt_value column if necessary. The next release
of Rails will use this helper to query the metadata, which will again make it
compatible with all known sqlite3 versions.
-
[SM-Commit] GIT changes to master grimoire by Puppet_Master (fa43742aba1a2c75613c863c5844aa8fc095afe7),
Puppet_Master, 06/20/2007
-
Re: [SM-Commit] GIT changes to master grimoire by Puppet_Master (fa43742aba1a2c75613c863c5844aa8fc095afe7),
Remko van der Vossen, 06/21/2007
- Re: [SM-Commit] GIT changes to master grimoire by Puppet_Master (fa43742aba1a2c75613c863c5844aa8fc095afe7), Philippe Caseiro, 06/22/2007
-
Re: [SM-Commit] GIT changes to master grimoire by Puppet_Master (fa43742aba1a2c75613c863c5844aa8fc095afe7),
Remko van der Vossen, 06/21/2007
Archive powered by MHonArc 2.6.24.