banshee r3577 - in trunk/banshee: . build src/Extensions src/Extensions/Banshee.AudioCd src/Extensions/Banshee.AudioCd/Banshee.AudioCd



Author: abock
Date: Fri Mar 28 21:08:54 2008
New Revision: 3577
URL: http://svn.gnome.org/viewvc/banshee?rev=3577&view=rev

Log:
2008-03-28  Aaron Bockover  <abock gnome org>

    * build/build.environment.mk:
    * configure.ac:
    * src/Extensions/Extensions.mds:
    * src/Extensions/Makefile.am: Build the new audio CD service

    * src/Extensions/Banshee.AudioCd/Banshee.AudioCd.addin.xml: Addin mainifest
    for the audio CD extension

    * src/Extensions/Banshee.AudioCd/Banshee.AudioCd/AudioCdService.cs:
    Stubbed out the empty audio CD service object



Added:
   trunk/banshee/src/Extensions/Banshee.AudioCd/   (props changed)
   trunk/banshee/src/Extensions/Banshee.AudioCd/Banshee.AudioCd/
   trunk/banshee/src/Extensions/Banshee.AudioCd/Banshee.AudioCd.addin.xml
   trunk/banshee/src/Extensions/Banshee.AudioCd/Banshee.AudioCd.mdp
   trunk/banshee/src/Extensions/Banshee.AudioCd/Banshee.AudioCd/AudioCdService.cs
   trunk/banshee/src/Extensions/Banshee.AudioCd/Makefile.am
Modified:
   trunk/banshee/ChangeLog
   trunk/banshee/build/build.environment.mk
   trunk/banshee/configure.ac
   trunk/banshee/src/Extensions/Extensions.mds
   trunk/banshee/src/Extensions/Makefile.am

Modified: trunk/banshee/build/build.environment.mk
==============================================================================
--- trunk/banshee/build/build.environment.mk	(original)
+++ trunk/banshee/build/build.environment.mk	Fri Mar 28 21:08:54 2008
@@ -120,6 +120,7 @@
 REF_BACKEND_HAL = $(LINK_BANSHEE_SERVICES_DEPS) $(LINK_DBUS)
 
 # Extensions
+REF_EXTENSION_AUDIOCD = $(LINK_BANSHEE_SERVICES_DEPS)
 REF_EXTENSION_BOOKMARKS = $(LINK_BANSHEE_THICKCLIENT_DEPS)
 REF_EXTENSION_MULTIMEDIAKEYS = $(LINK_BANSHEE_SERVICES_DEPS)
 REF_EXTENSION_NOTIFICATIONAREA = $(LINK_BANSHEE_THICKCLIENT_DEPS)

Modified: trunk/banshee/configure.ac
==============================================================================
--- trunk/banshee/configure.ac	(original)
+++ trunk/banshee/configure.ac	Fri Mar 28 21:08:54 2008
@@ -154,6 +154,7 @@
 src/Libraries/Mono.Media/Makefile
 
 src/Extensions/Makefile
+src/Extensions/Banshee.AudioCd/Makefile
 src/Extensions/Banshee.Bookmarks/Makefile
 src/Extensions/Banshee.Lastfm/Makefile
 src/Extensions/Banshee.MultimediaKeys/Makefile

Added: trunk/banshee/src/Extensions/Banshee.AudioCd/Banshee.AudioCd.addin.xml
==============================================================================
--- (empty file)
+++ trunk/banshee/src/Extensions/Banshee.AudioCd/Banshee.AudioCd.addin.xml	Fri Mar 28 21:08:54 2008
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Addin 
+    id="Banshee.AudioCd"
+    version="1.0"
+    compatVersion="1.0"
+    copyright="Â 2008 Novell Inc. Licensed under the MIT X11 license."
+    name="Audio CD Support"
+    category="Hardware"
+    description="Provides support for listening to and ripping Audio CDs"
+    author="Aaron Bockover"
+    url="http://banshee-project.org/";
+    defaultEnabled="true">
+
+  <Dependencies>
+    <Addin id="Banshee.Services" version="1.0"/>
+  </Dependencies>
+
+  <Extension path="/Banshee/ServiceManager/Service">
+    <Service class="Banshee.AudioCd.AudioCdService"/>
+  </Extension>
+
+</Addin>

Added: trunk/banshee/src/Extensions/Banshee.AudioCd/Banshee.AudioCd.mdp
==============================================================================
--- (empty file)
+++ trunk/banshee/src/Extensions/Banshee.AudioCd/Banshee.AudioCd.mdp	Fri Mar 28 21:08:54 2008
@@ -0,0 +1,30 @@
+<Project name="Banshee.AudioCd" fileversion="2.0" language="C#" clr-version="Net_2_0" ctype="DotNetProject">
+  <Configurations active="Debug">
+    <Configuration name="Debug" ctype="DotNetProjectConfiguration">
+      <Output directory="../../../bin" assemblyKeyFile="." assembly="Banshee.AudioCd" />
+      <Build debugmode="True" target="Library" />
+      <Execution runwithwarnings="True" consolepause="True" runtime="MsNet" clr-version="Net_2_0" />
+      <CodeGeneration compiler="Mcs" warninglevel="4" optimize="True" unsafecodeallowed="False" generateoverflowchecks="True" generatexmldocumentation="False" ctype="CSharpCompilerParameters" />
+    </Configuration>
+  </Configurations>
+  <Contents>
+    <File name="Banshee.AudioCd.addin.xml" subtype="Code" buildaction="EmbedAsResource" />
+    <File name="Banshee.AudioCd" subtype="Directory" buildaction="Compile" />
+    <File name="Banshee.AudioCd/AudioCdService.cs" subtype="Code" buildaction="Compile" />
+  </Contents>
+  <References>
+    <ProjectReference type="Project" localcopy="True" refto="Banshee.Core" />
+    <ProjectReference type="Project" localcopy="True" refto="Banshee.Services" />
+    <ProjectReference type="Project" localcopy="True" refto="Hyena" />
+    <ProjectReference type="Gac" localcopy="True" refto="System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
+  </References>
+  <MonoDevelop.Autotools.MakefileInfo IntegrationEnabled="True" RelativeMakefileName="./Makefile.am">
+    <BuildFilesVar Sync="True" Name="SOURCES" />
+    <DeployFilesVar />
+    <ResourcesVar Sync="True" Name="RESOURCES" />
+    <OthersVar />
+    <GacRefVar />
+    <AsmRefVar />
+    <ProjectRefVar />
+  </MonoDevelop.Autotools.MakefileInfo>
+</Project>
\ No newline at end of file

Added: trunk/banshee/src/Extensions/Banshee.AudioCd/Banshee.AudioCd/AudioCdService.cs
==============================================================================
--- (empty file)
+++ trunk/banshee/src/Extensions/Banshee.AudioCd/Banshee.AudioCd/AudioCdService.cs	Fri Mar 28 21:08:54 2008
@@ -0,0 +1,54 @@
+//
+// AudioCdService.cs
+//
+// Author:
+//   Aaron Bockover <abockover novell com>
+//
+// Copyright (C) 2008 Novell, Inc.
+//
+// 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 above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+//
+// 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.
+//
+
+using System;
+
+using Banshee.ServiceStack;
+using Banshee.Hardware;
+
+namespace Banshee.AudioCd
+{
+    public class AudioCdService : IExtensionService, IDisposable
+    {
+        public AudioCdService ()
+        {
+        }
+        
+        public void Initialize ()
+        {
+        }
+        
+        public void Dispose ()
+        {
+        }
+        
+        string IService.ServiceName {
+            get { return "AudioCdService"; }
+        }
+    }
+}

Added: trunk/banshee/src/Extensions/Banshee.AudioCd/Makefile.am
==============================================================================
--- (empty file)
+++ trunk/banshee/src/Extensions/Banshee.AudioCd/Makefile.am	Fri Mar 28 21:08:54 2008
@@ -0,0 +1,11 @@
+ASSEMBLY = Banshee.AudioCd
+TARGET = library
+LINK = $(REF_EXTENSION_AUDIOCD)
+INSTALL_DIR = $(EXTENSIONS_INSTALL_DIR)
+
+SOURCES = Banshee.AudioCd/AudioCdService.cs
+
+RESOURCES = Banshee.AudioCd.addin.xml
+
+include $(top_srcdir)/build/build.mk
+

Modified: trunk/banshee/src/Extensions/Extensions.mds
==============================================================================
--- trunk/banshee/src/Extensions/Extensions.mds	(original)
+++ trunk/banshee/src/Extensions/Extensions.mds	Fri Mar 28 21:08:54 2008
@@ -7,6 +7,7 @@
       <Entry build="True" name="Banshee.NotificationArea" configuration="Debug" />
       <Entry build="True" name="Banshee.NowPlaying" configuration="Debug" />
       <Entry build="True" name="Banshee.PlayQueue" configuration="Debug" />
+      <Entry build="True" name="Banshee.AudioCd" configuration="Debug" />
     </Configuration>
   </Configurations>
   <StartMode startupentry="Banshee.NotificationArea" single="True">
@@ -15,6 +16,7 @@
     <Execute type="None" entry="Banshee.Dap.MassStorage" />
     <Execute type="None" entry="Banshee.NowPlaying" />
     <Execute type="None" entry="Banshee.Bookmarks" />
+    <Execute type="None" entry="Banshee.AudioCd" />
   </StartMode>
   <Entries>
     <Entry filename="Banshee.NotificationArea/Banshee.NotificationArea.mdp" />
@@ -23,5 +25,6 @@
     <Entry filename="Banshee.Lastfm/Banshee.Lastfm.mdp" />
     <Entry filename="Banshee.NowPlaying/Banshee.NowPlaying.mdp" />
     <Entry filename="Banshee.Bookmarks/Banshee.Bookmarks.mdp" />
+    <Entry filename="Banshee.AudioCd/Banshee.AudioCd.mdp" />
   </Entries>
 </Combine>
\ No newline at end of file

Modified: trunk/banshee/src/Extensions/Makefile.am
==============================================================================
--- trunk/banshee/src/Extensions/Makefile.am	(original)
+++ trunk/banshee/src/Extensions/Makefile.am	Fri Mar 28 21:08:54 2008
@@ -1,4 +1,5 @@
 SUBDIRS = \
+	Banshee.AudioCd \
 	Banshee.Bookmarks \
 	Banshee.Lastfm \
 	Banshee.MultimediaKeys \



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]