Showing posts with label MOONLIGHT. Show all posts
Showing posts with label MOONLIGHT. Show all posts

Wednesday, July 4, 2007

How to Install Moonlight & Desklets Step by Step UPDATED

(Last Update: Agost 2, 2007; moon SVN revision: 83286) This guide describes the common installation process for Moonlight, you can get the original one here. Requirements:
  • Mono 1.2.4
  • ffmpeg Sources
  • Moonlight Sources
  • Olive
  • Mono Libraries
  • Mozilla Development Libraries
  • Beryl or Compiz
Process: 1. Installing Mono 1.2.4: You will need download and Install Mono 1.2.4(Ubuntu 7.04 Users can use Viraptor Packages) Refresh and Install the Updates for the New Mono Packages. 2. Download and Configure ffmpeg from SVN: $svn checkout svn://svn.mplayerhq.hu/ffmpeg/trunk ffmpeg $cd ffmpeg $./configure --prefix=/usr/local $sudo make install 4. Install additional packages +and dependencies:
  • libnspr-dev
  • libnss-dev
  • firefox-dev
  • libmono-system-messaging2.0-cil
  • libcairo2-dev
  • libgtk2.0-dev
  • libasound2-dev
  • mono-devel
  • libmono-cairo2.0-cil
Note: Packages names are references to Ubuntu or Debian packages I recommend use aptitude or synaptic 5. Download and Configure Libraries Olive: $svn co svn://anonsvn.mono-project.com/source/trunk/olive olive $cd olive $./configure --prefix=/usr $make $sudo make install If you want to check your Olive configuration you can check this using Mono gacutil tool: $gacutil -l agclr The output should be: The following assemblies are installed into the GAC: agclr, Version=0.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 Number of items = 1 6. Download and Configure Moonlight: $svn co svn://anonsvn.mono-project.com/source/trunk/moon moon $cd moon $./autogen.sh --prefix=/usr $sudo make install 7. Enable Desktop Effects: Go to System->Preferences->Desktop Effects and enable it, beryl or compiz should work too. Now you can test the Moonlight Installation running the following command in a terminal: $mopen Moolight Launcher should run and show the following information: Usage is: mopen [args] [file.xaml|dirname] Arguments are: --fixed Disable window resizing --geometry WxH Overrides the geometry to be W x H pixels --host NAME Specifies that this file should be loaded in host NAME --transparent Transparent toplevel --desklet Remove window decoration for desklets use Even when you can read the message, you need to run a Moonlight Enabled Application to ensure the installation process was successful: Example: runing glassyclock desklet: $cd desklet $make $cd glassyclock $make $mopen --desklet default.xaml If you can see the beautiful clock, Congratulations!, if you see a black an ugly clock then you have no Desktop Effects/Beryl/Compiz Enabled.

Saturday, June 30, 2007

Moonlight y Desklets en Ubuntu

(an english version available) Es impresionante lo rapido que va el equipo de Mono con el Proyecto Moonlight, ya lo he instalado y ejecutado los Desklets que es un proyecto inciado por Everaldo Canuto, aqui les dejo un video de mi escritorio. Esta es la guia oficial para instalar Moonlight, sin embargo yo he recopilado unos pequeños pasos claves para instalar en Ubuntu. Recuerdo a los lectores que no me me hago responsable por los daños que les pueda causar estas instrucciones: Comenzemos: Necesitamos Mono 1.2.4 y los fuentes de ffmepg,Moonlight y Olive. 1. Mono 1.2.4: Debido a que yo uso Ubuntu Feisty y no hay paquetes oficiales de Mono 1.2.4, estoy usando bajo mi responsabilidad y concentimiento los paquetes de Viraptor. 2. Descargar el ffmpeg desde SVN: $svn checkout svn://svn.mplayerhq.hu/ffmpeg/trunk ffmpeg 3. Compilar ffmpeg: $cd ffmpeg && ./configure --prefix=/usr/local && make && sudo make install 4. Instalar XPCOM de Mozilla: Usando aptitude o synaptic, instale los siguientes paquetes con sus dependencias:
  • libnspr-dev
  • libnss-dev
  • firefox-dev
5. Descargar Olive: $svn co svn://anonsvn.mono-project.com/source/trunk/olive olive $cd olive && ./configure --prefix=/usr && make && sudo make install 6. Descargar Moonlight: $svn co svn://anonsvn.mono-project.com/source/trunk/moon moon $cd moon && ./configure --prefix=/usr && make && sudo make install Para probar la instalacion, abra una terminal y ejecute: $mopen Deberia ejecutarse Moonligh dando la siguiente informacion: Usage is: mopen [args] [file.xaml|dirname] Arguments are: --fixed Disable window resizing --geometry WxH Overrides the geometry to be W x H pixels --host NAME Specifies that this file should be loaded in host NAME --transparent Transparent toplevel --desklet Remove window decoration for desklets use Aunque esta salida es correcta, aun no se puede saber si esta instalado correctamente el Moonlight hasta que no se ejecute un desklet. Ejemplo: $cd desklet/glassyclock && mopen --desklet default.xaml Si puedes ver el reloj, te felicito, has instalado correctamente Moonlight! Si tienes algun problema escribeme tu comentario o unete a los siguientes canales IRC: #desklets(en ingles), #mono(en ingles), #monodev(en ingles) #mono-hispano( en español y aqui es donde siempre estoy yo) en el servidor irc.gimp.org. En #mono-hispano siempre estamos atentos a nuevos participantes y bienvenida siempre son sus consultas acerca del Proyecto Mono.