[banshee] windows: Add bundle-deps script, update README



commit d77033bd344e8117381b7ffe3a1297ec8bc99137
Author: Gabriel Burt <gabriel burt gmail com>
Date:   Tue Feb 1 20:53:37 2011 -0600

    windows: Add bundle-deps script, update README

 .gitignore                    |    2 +
 build/windows/README.txt      |   18 +++++++++----
 build/windows/bundle-deps.bat |   56 +++++++++++++++++++++++++++++++++++++++++
 3 files changed, 70 insertions(+), 6 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index f22e0b3..b8670d7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,6 +1,8 @@
 xdb.il
 xdb.s
 *.swp
+*.swo
+Thumbs.db
 *.gmo
 *.pc
 *.zip
diff --git a/build/windows/README.txt b/build/windows/README.txt
index ba1ebdc..ec0a8aa 100644
--- a/build/windows/README.txt
+++ b/build/windows/README.txt
@@ -1,13 +1,19 @@
-== Building
+== Building ==
 
-See http://banshee.fm/download/development/#windows for instructions for building Banshee on Windows.
+See http://banshee.fm/download/development/#windows for instructions for building
+Banshee on Windows.
 
-== Creating the Banshee.msi installer
+== Creating the Banshee.msi installer ==
 
 You need
 - WIX 3.5
-- GStreamer and GStreamer# (DotNet bindings)
-- Gtk#
 - Banshee built
 
-With that, you should be able to run build-installer.js and have it produce the installer.
+With that, you should be able to run build-installer.js and have it produce the
+installer.
+
+== Updating Bundled Deps ==
+
+The bundle-deps.bat script will copy Gtk# and GStreamer into Banshee's bin/
+directory.  It only needs to be run by maintainers updating the bundled deps.
+See the script for which packages you need to have installed.
diff --git a/build/windows/bundle-deps.bat b/build/windows/bundle-deps.bat
new file mode 100644
index 0000000..d4d73e3
--- /dev/null
+++ b/build/windows/bundle-deps.bat
@@ -0,0 +1,56 @@
+REM This script only needs to be run by maintainers updating the bundled
+REM dependencies.  It assumes you have these packages installed:
+REM http://ftp.novell.com/pub/mono/gtk-sharp/gtk-sharp-2.12.10.win32.msi
+REM http://ossbuild.googlecode.com/files/GStreamer-WinBuilds-GPL-x86.msi
+REM http://ossbuild.googlecode.com/files/GStreamer-WinBuilds-LGPL-x86.msi
+REM http://ossbuild.googlecode.com/files/GStreamer-WinBuilds-SDK-LGPL-x86.msi
+
+REM ==================================
+REM Copy Gtk+ and Gtk#
+REM ==================================
+xcopy /SYQ "C:\Program Files\GtkSharp\2.12\*" ..\..\bin\
+
+REM ==================================
+REM Copy GStreamer and gstreamer-sharp
+REM ==================================
+xcopy /SYQ "C:\Program Files\OSSBuild\GStreamer\v0.10.6\bin\*.dll" ..\..\bin\bin\
+xcopy /SYQ "C:\Program Files\OSSBuild\GStreamer\v0.10.6\lib\gstreamer-0.10\*.dll" ..\..\bin\lib\gstreamer-0.10\
+xcopy /SYQ "C:\Program Files\OSSBuild\GStreamer\v0.10.6\sdk\bindings\dotnet\*.dll" ..\..\bin\bin\
+mkdir ..\..\bin\share\licenses
+xcopy /SYQ "C:\Program Files\OSSBuild\GStreamer\v0.10.6\share\licenses" ..\..\bin\share\licenses
+
+REM ==================================
+REM Move some files around
+REM ==================================
+move ..\..\bin\lib\Mono.Cairo\* ..\..\bin\bin\
+move ..\..\bin\lib\Mono.Posix\* ..\..\bin\bin\
+move ..\..\bin\lib\gtk-sharp-2.0\* ..\..\bin\bin\
+xcopy /SYQ ..\..\COPYING ..\..\bin\share\licenses\banshee.txt
+
+REM ==================================
+REM Delete files we don't need
+REM ==================================
+rmdir ..\..\bin\lib\Mono.Cairo
+rmdir ..\..\bin\lib\Mono.Posix
+rmdir ..\..\bin\lib\gtk-sharp-2.0
+rmdir /SQ ..\..\bin\lib1
+del ..\..\bin\bin\*.exe
+del ..\..\bin\lib\gstreamer-0.10\libgstpython-v2.6.dll
+
+REM ==================================
+REM OTHER DEPS, manually copied
+REM ==================================
+REM sqlite: http://sqlite.org/sqlite-dll-win32-x86-3070500.zip
+REM Mono.ZeroConf: http://download.banshee-project.org/mono-zeroconf/mono-zeroconf-0.9.0-binary.zip
+REM ICSharpCode.SharpZipLib, Mono.Addins.*: from MonoDevelop's bin/ dir
+
+REM taglib-sharp
+REM Google.GData
+
+REM TODO NDesk.DBus won't be needed with latexer's remoting patch
+REM NDesk.DBus
+
+REM TODO not yet used in the Windows build
+REM gio-sharp
+REM gtk-sharp-beans
+REM libwebkit



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