Meego Wiki
From MeeGo wiki
(Difference between revisions)
Jump to: navigation, search
(smplayer to watch streamed audio/video.)
(htop on meegolem)
 
(12 intermediate revisions not shown)
Line 1: Line 1:
=MeeGo-Lem: Linux Everywhere for MeeGolem=
=MeeGo-Lem: Linux Everywhere for MeeGolem=
-
 
-
WARNING:  THIS IS A WORK IN PROGRESS
 
-
STATUS: Not even close yet.
 
This is a guide on how to run and install Fedora's "noncompliant apps", along with the rest of Fedora14 libs and apps, on MeeGo 1.2 Netbook.
This is a guide on how to run and install Fedora's "noncompliant apps", along with the rest of Fedora14 libs and apps, on MeeGo 1.2 Netbook.
Line 33: Line 30:
* /etc/zypp/repos.d/*.repo
* /etc/zypp/repos.d/*.repo
-
   cd /tmp ; wget 'https://bugs.meego.com/attachment.cgi?id=4761'
+
   cd /tmp ; wget '[https://bugs.meego.com/attachment.cgi?id=4761 https://bugs.meego.com/attachment.cgi?id=4761]'
   cd /    ; tar xvzf '/tmp/attachment.cgi?id=4761'
   cd /    ; tar xvzf '/tmp/attachment.cgi?id=4761'
* /etc/pki/rpm-gpg/*
* /etc/pki/rpm-gpg/*
-
   cd /tmp ; wget 'https://bugs.meego.com/attachment.cgi?id=4762'
+
   cd /tmp ; wget '[https://bugs.meego.com/attachment.cgi?id=4762 https://bugs.meego.com/attachment.cgi?id=4762]'
   cd /    ; tar xvzf '/tmp/attachment.cgi?id=4762'
   cd /    ; tar xvzf '/tmp/attachment.cgi?id=4762'
Line 43: Line 40:
  $ sudo zypper clean --all
  $ sudo zypper clean --all
-
  $ sudo zypper refresh
+
  $ sudo zypper --gpg-auto-import-keys refresh
===The Hacks that Make it All Possible===
===The Hacks that Make it All Possible===
Line 69: Line 66:
   | google-chrome-unstable        | Google Chrome | package
   | google-chrome-unstable        | Google Chrome | package
  ...
  ...
 +
 +
* Firefox4 and BlueGriffon:
 +
** See: [[MeeGo-Lem-Firefox4]]
 +
** Just-released [http://www.mozilla.com/en-US/firefox/4.0/releasenotes/ Firefox4] is packaged with Fedora 15.
 +
** Also released: Firefox4-based web-editor, [http://bluegriffon.org/ BlueGriffon]
 +
** MeeGo, closer to Fedora 14, is supported by Fedora 'remi' ([http://forums.famillecollet.com/viewforum.php?id=5 Remi Collet] repositories), that also provide the official BlueGriffon distribution site for Fedora (both BlueGriffon and Firefox4 depend xulrunner2 package in remi repo).
 +
** With LEM, http://www.if-not-true-then-false.com/2010/install-firefox-4-on-fedora/ is relatively straightforward.
* Adobe Flash: simple setup with LEM installed:
* Adobe Flash: simple setup with LEM installed:
Line 91: Line 95:
  $ sudo ln -s /usr/lib/flash-plugin/libflashplayer.so /usr/lib/mozilla/plugins/libflashplayer.so
  $ sudo ln -s /usr/lib/flash-plugin/libflashplayer.so /usr/lib/mozilla/plugins/libflashplayer.so
  ## Now restart browser or qtwebkit-based apps requiring flash.
  ## Now restart browser or qtwebkit-based apps requiring flash.
 +
 +
* Installing Skype on MeeGo 1.2 Netbook (doesn't use LEM since skype doesn't provide repository):
 +
** Use browser to download Fedora RPM from http://www.skype.com/intl/en/get-skype/on-your-computer/linux/downloading.fedora
 +
** Latest Skype intended for Fedora 13+ resolves issues from earlier versions: https://bugs.meego.com/show_bug.cgi?id=14117#c4
 +
$ sudo rpm -ivh skype-2.2.0.25-fedora.i586.rpm
 +
  Failed to expand %__security_plugin macro
 +
  Preparing...                ########################################### [100%]
 +
    1:skype                  ########################################### [100%]
* Install latest LibreOffice on MeeGo 1.2 Netbook:
* Install latest LibreOffice on MeeGo 1.2 Netbook:
-
** http://wiki.meego.com/LibreOffice
+
** See: [[LibreOffice]]
** LibreOffice is recommended over Fedora's OpenOffice: http://forum.meego.com/showpost.php?p=18796&postcount=24 ; also Fedora provides a much older version than LibreOffice, and has special weird Fedora dependencies to the OpenJDK java included with Fedora.
** LibreOffice is recommended over Fedora's OpenOffice: http://forum.meego.com/showpost.php?p=18796&postcount=24 ; also Fedora provides a much older version than LibreOffice, and has special weird Fedora dependencies to the OpenJDK java included with Fedora.
-
* Installing Skype on MeeGo 1.2 Netbook (doesn't use LEM since skype doesn't provide repository):
+
==Be able to watch/hear common internet media formats==
-
** See http://lists.meego.com/pipermail/meego-community/2011-March/003673.html
+
-
$ wget http://www.skype.com/go/getskype-linux-beta-fc10
+
-
$ mv getskype-linux-beta-fc10 getskype-linux-beta-fc10.rpm
+
-
$ sudo rpm --nodeps -ivh getskype-linux-beta-fc10.rpm
+
-
 
+
-
==Be able to watch/hear common internet media formats.==
+
Using LEM, follow instructions in http://www.mjmwired.net/resources/mjm-fedora-f14.html#mp3 and
Using LEM, follow instructions in http://www.mjmwired.net/resources/mjm-fedora-f14.html#mp3 and
Line 233: Line 239:
[[File:Smplayer-on-meegolem.png]]
[[File:Smplayer-on-meegolem.png]]
-
==gpodder and needed python plugins -- to watch/manage podcats.==
+
==gpodder and needed python plugins -- to watch/manage podcasts==
[[File:Gpodder-on-meegolem.png]]
[[File:Gpodder-on-meegolem.png]]
Line 249: Line 255:
[[file:Jack-alsa-perceptual-analyser.png]]
[[file:Jack-alsa-perceptual-analyser.png]]
-
==Qtractor Audio/MIDI Editor and Sound processing plugins.==
+
==Qtractor Audio/MIDI Editor and Sound processing plugins==
[[File:Qtractor-plastique-style-on-meegolem.png]]
[[File:Qtractor-plastique-style-on-meegolem.png]]
[[File:Qtractor-dialogs-plastique-style-meego.png]]
[[File:Qtractor-dialogs-plastique-style-meego.png]]
 +
 +
==Games Games Games!==
 +
 +
(Author doesn't have time for games, but notes a fully populated installer, and son happy with MeeGo on his netbook).
 +
 +
[[File:meego-installer-on-meegolem.png]]
 +
 +
==Missing System and Development Tools==
 +
 +
MeeGo Application developers need tools that are available in Fedora, or Harmattan. For example http://www.developer.nokia.com/Community/Wiki/Harmattan:Developer_Library/Best_practices_for_application_development/Performance_testing_tools/Using_htop suggests the tool htop(1) which is available on my Nokia N950 development device, but apparently not in MeeGo. MeeGo-Lem to the rescue!
 +
 +
meegolem-138-~> sudo zypper in htop
 +
Loading repository data...
 +
Reading installed packages...
 +
Resolving package dependencies...
 +
 +
The following NEW packages are going to be installed:
 +
  htop plpa-libs
 +
 +
2 new packages to install.
 +
Overall download size: 86.0 KiB. After the operation, additional 187.0 KiB will be used.
 +
Continue? [y/n/?] (y): y
 +
Retrieving package plpa-libs-1.3.2-4.fc13.i686 (1/2), 25.0 KiB (51.0 KiB unpacked)
 +
Retrieving: plpa-libs-1.3.2-4.fc13.i686.rpm [done]
 +
Retrieving package htop-0.8.3-3.fc14.i686 (2/2), 61.0 KiB (136.0 KiB unpacked)
 +
Retrieving: htop-0.8.3-3.fc14.i686.rpm [done (1.3 KiB/s)]
 +
Installing: plpa-libs-1.3.2-4.fc13 [done]
 +
Installing: htop-0.8.3-3.fc14 [done]
 +
 +
Result:
 +
 +
[[File:Htop-on-meegolem.png]]

Latest revision as of 16:31, 13 August 2011

Contents

MeeGo-Lem: Linux Everywhere for MeeGolem

This is a guide on how to run and install Fedora's "noncompliant apps", along with the rest of Fedora14 libs and apps, on MeeGo 1.2 Netbook. The intent here is not MeeGo non-compliance, but rather end-user usefulness, on-par with what other user's get from installing Fedora, and then following instructions like http://www.mjmwired.net/resources/mjm-fedora-f14.html to actually get a system that's worth using.

This hack provides the following repositories that work alongside MeeGo's if you're careful with your use of 'zypper'

The end result is over 20000 packages many of which work beautifully.

See http://lists.meego.com/pipermail/meego-community/2011-March/003675.html

https://bugs.meego.com/show_bug.cgi?id=14129

Installation

Prerequisites

  • Setup sudo
...
  • Install tar and wget
sudo zypper install tar wget
...

Install repositories

  • /etc/zypp/repos.d/*.repo
 cd /tmp ; wget 'https://bugs.meego.com/attachment.cgi?id=4761'
 cd /    ; tar xvzf '/tmp/attachment.cgi?id=4761'
  • /etc/pki/rpm-gpg/*
 cd /tmp ; wget 'https://bugs.meego.com/attachment.cgi?id=4762'
 cd /    ; tar xvzf '/tmp/attachment.cgi?id=4762'

Refresh zypper

$ sudo zypper clean --all
$ sudo zypper --gpg-auto-import-keys refresh

The Hacks that Make it All Possible

  • Fedora uses readline6, MeeGo uses readline5.
  • Fedora uses Python 2.7, MeeGo uses Python 2.6.

Some Example Installations

Google Chrome, Flash Plugins, Java, Skype, LibreOffice, etc.

  • Chrome: simple setup with LEM installed:
sudo zypper install google-chrome-beta
...
## note three different versions available:
$ zypper search chrome
...
i | google-chrome-beta            | Google Chrome | package
  | google-chrome-stable          | Google Chrome | package
  | google-chrome-unstable        | Google Chrome | package
...
## install from Adobe RPM reposotory from LEM
$ sudo zypper install flash-plugin
Loading repository data...
Reading installed packages...
Resolving package dependencies...
The following NEW package is going to be installed:
 flash-plugin 
 1 new package to install.
Overall download size: 4.7 MiB. After the operation, additional 11.6 MiB will be used.
 Continue? [y/n/?] (y): y
 Retrieving package flash-plugin-10.2.152.27-release.i386 (1/1), 4.7 MiB (11.6 MiB unpacked)
 Retrieving: flash-plugin-10.2.152.27-release.i386.rpm [done (790.4 KiB/s)]
 Installing: flash-plugin-10.2.152.27-release [done]

## Setup Link to enable web browser plugin:
$ sudo rm -f /usr/lib/mozilla/plugins/libflashplayer.so
$ sudo ln -s /usr/lib/flash-plugin/libflashplayer.so /usr/lib/mozilla/plugins/libflashplayer.so
## Now restart browser or qtwebkit-based apps requiring flash.
$ sudo rpm -ivh skype-2.2.0.25-fedora.i586.rpm 
 Failed to expand %__security_plugin macro
 Preparing...                ########################################### [100%]
    1:skype                  ########################################### [100%]

Be able to watch/hear common internet media formats

Using LEM, follow instructions in http://www.mjmwired.net/resources/mjm-fedora-f14.html#mp3 and http://www.mjmwired.net/resources/mjm-fedora-f14.html#mediaplayers to be able to hear MP3's or watch FLV, AVI or other "nonfree" codec-requiring formats.

$ sudo zypper in gstreamer-ffmpeg gstreamer-plugins-ugly gstreamer-plugins-bad
Loading repository data...
Reading installed packages...
'gstreamer-plugins-ugly' is already installed.
No update candidate for 'gstreamer-plugins-ugly-0.10.16-2.fc14.i686'. The highest available version is already installed.
Resolving package dependencies...

The following NEW packages are going to be installed:
  gstreamer-ffmpeg gstreamer-plugins-bad gstreamer-plugins-bad-free libass 
  libcdaudio libkate libmimic libmms libofa libquicktime mjpegtools-libs 

11 new packages to install.
Overall download size: 2.2 MiB. After the operation, additional 6.4 MiB will be 
used.
Continue? [y/n/?] (y): y
Retrieving package libmms-0.6.2-1.fc14.i686 (1/11), 48.0 KiB (108.0 KiB unpacked)
Retrieving: libmms-0.6.2-1.fc14.i686.rpm [done (7.6 KiB/s)]
Retrieving package libquicktime-1.1.5-2.fc14.i686 (2/11), 283.0 KiB (857.0 KiB unpacked)
Retrieving: libquicktime-1.1.5-2.fc14.i686.rpm [done (20.5 KiB/s)]
Retrieving package libmimic-1.0.4-4.fc12.i686 (3/11), 28.0 KiB (78.0 KiB unpacked)
Retrieving: libmimic-1.0.4-4.fc12.i686.rpm [done]
Retrieving package gstreamer-ffmpeg-0.10.11-1.fc14.i686 (4/11), 169.0 KiB (494.0 KiB unpacked)
Retrieving: gstreamer-ffmpeg-0.10.11-1.fc14.i686.rpm [done (83.3 KiB/s)]
Retrieving package libofa-0.9.3-16.fc12.i686 (5/11), 56.0 KiB (154.0 KiB unpacked)
Retrieving: libofa-0.9.3-16.fc12.i686.rpm [done (1.3 KiB/s)]
Retrieving package libass-0.9.11-1.fc14.i686 (6/11), 62.0 KiB (125.0 KiB unpacked)
Retrieving: libass-0.9.11-1.fc14.i686.rpm [done (16.1 KiB/s)]
Retrieving package libcdaudio-0.99.12p2-13.fc12.i686 (7/11), 38.0 KiB (81.0 KiB unpacked)
Retrieving: libcdaudio-0.99.12p2-13.fc12.i686.rpm [done (6.6 KiB/s)]
Retrieving package libkate-0.3.7-2.fc14.i686 (8/11), 46.0 KiB (92.0 KiB unpacked)
Retrieving: libkate-0.3.7-2.fc14.i686.rpm [done (13.6 KiB/s)]
Retrieving package mjpegtools-libs-1.9.0-2.fc14.i686 (9/11), 233.0 KiB (581.0 KiB unpacked)
Retrieving: mjpegtools-libs-1.9.0-2.fc14.i686.rpm [done (58.4 KiB/s)]
Retrieving package gstreamer-plugins-bad-free-0.10.20-3.fc14.i686 (10/11), 1.0 MiB (3.3 MiB unpacked)
Retrieving: gstreamer-plugins-bad-free-0.10.20-3.fc14.i686.rpm [done (356.9 KiB/s)]
Retrieving package gstreamer-plugins-bad-0.10.20-2.fc14.i686 (11/11), 241.0 KiB (679.0 KiB unpacked)
Retrieving: gstreamer-plugins-bad-0.10.20-2.fc14.i686.rpm [done (40.1 KiB/s)]
Installing: libmms-0.6.2-1.fc14 [done]
Installing: libquicktime-1.1.5-2.fc14 [done]
Installing: libmimic-1.0.4-4.fc12 [done]
Installing: gstreamer-ffmpeg-0.10.11-1.fc14 [done]
Installing: libofa-0.9.3-16.fc12 [done]
Installing: libass-0.9.11-1.fc14 [done]
Installing: libcdaudio-0.99.12p2-13.fc12 [done]
Installing: libkate-0.3.7-2.fc14 [done]
Installing: mjpegtools-libs-1.9.0-2.fc14 [done]
Installing: gstreamer-plugins-bad-free-0.10.20-3.fc14 [done]
Installing: gstreamer-plugins-bad-0.10.20-2.fc14 [done]
$ sudo zypper in xine-lib-extras-freeworld ffmpeg2dirac ffmpeg2theora ffmpegthumbnailer
Loading repository data...
Reading installed packages...
Resolving package dependencies...

The following NEW packages are going to be installed:
  ffmpeg2dirac ffmpeg2theora ffmpegthumbnailer liboil vcdimager vcdimager-libs 
  xine-lib-extras-freeworld 

7 new packages to install.
Overall download size: 999.0 KiB. After the operation, additional 3.1 MiB will 
be used.
Continue? [y/n/?] (y): y
Retrieving package ffmpegthumbnailer-2.0.6-1.fc14.i686 (1/7), 55.0 KiB (171.0 KiB unpacked)
Retrieving: ffmpegthumbnailer-2.0.6-1.fc14.i686.rpm [done]
Retrieving package vcdimager-0.7.23-13.fc13.1.i686 (2/7), 300.0 KiB (1.1 MiB unpacked)
Retrieving: vcdimager-0.7.23-13.fc13.1.i686.rpm [done (14.5 KiB/s)]
Retrieving package ffmpeg2theora-0.27-1.fc14.i686 (3/7), 61.0 KiB (149.0 KiB unpacked)
Retrieving: ffmpeg2theora-0.27-1.fc14.i686.rpm [done]
Retrieving package liboil-0.3.16-4.fc12.i686 (4/7), 113.0 KiB (497.0 KiB unpacked)
Retrieving: liboil-0.3.16-4.fc12.i686.rpm [done (35.7 KiB/s)]
Retrieving package vcdimager-libs-0.7.23-13.fc13.1.i686 (5/7), 96.0 KiB (187.0 KiB unpacked)
Retrieving: vcdimager-libs-0.7.23-13.fc13.1.i686.rpm [done (39.7 KiB/s)]
Retrieving package ffmpeg2dirac-0.1.0-4.fc12.i686 (6/7), 49.0 KiB (102.0 KiB unpacked)
Retrieving: ffmpeg2dirac-0.1.0-4.fc12.i686.rpm [done (20.4 KiB/s)]
Retrieving package xine-lib-extras-freeworld-1.1.19-1.fc14.i686 (7/7), 325.0 KiB (889.0 KiB unpacked)
Retrieving: xine-lib-extras-freeworld-1.1.19-1.fc14.i686.rpm [done (20.2 KiB/s)]
Installing: ffmpegthumbnailer-2.0.6-1.fc14 [done]
Installing: vcdimager-0.7.23-13.fc13.1 [done]
Installing: ffmpeg2theora-0.27-1.fc14 [done]
Installing: liboil-0.3.16-4.fc12 [done]
Installing: vcdimager-libs-0.7.23-13.fc13.1 [done]
Installing: ffmpeg2dirac-0.1.0-4.fc12 [done]
Installing: xine-lib-extras-freeworld-1.1.19-1.fc14 [done]
$ sudo zypper in  mplayer-gui gecko-mediaplayer mencoder ## see http://www.mjmwired.net/resources/mjm-fedora-f14.html#mediaplayers
Loading repository data...
Reading installed packages...
Resolving package dependencies...

The following NEW packages are going to be installed:
  gecko-mediaplayer gnome-mplayer-common gnome-mplayer-minimal mencoder 
  mplayer-gui 

5 new packages to install.
Overall download size: 7.1 MiB. After the operation, additional 18.6 MiB will 
be used.
Continue? [y/n/?] (y): y
Retrieving package gnome-mplayer-common-1.0.0-1.fc14.i686 (1/5), 210.0 KiB (858.0 KiB unpacked)
Retrieving: gnome-mplayer-common-1.0.0-1.fc14.i686.rpm [done (37.2 KiB/s)]
Retrieving package mplayer-gui-1.0-0.119.20100703svn.fc14.i686 (2/5), 3.5 MiB (9.0 MiB unpacked)
Retrieving: mplayer-gui-1.0-0.119.20100703svn.fc14.i686.rpm [done (113.1 KiB/s)]
Retrieving package mencoder-1.0-0.119.20100703svn.fc14.i686 (3/5), 3.1 MiB (8.0 MiB unpacked)
Retrieving: mencoder-1.0-0.119.20100703svn.fc14.i686.rpm [done (105.1 KiB/s)]
Retrieving package gnome-mplayer-minimal-1.0.0-1.fc14.i686 (4/5), 114.0 KiB (319.0 KiB unpacked)
Retrieving: gnome-mplayer-minimal-1.0.0-1.fc14.i686.rpm [done (23.3 KiB/s)]
Retrieving package gecko-mediaplayer-1.0.0-1.fc14.i686 (5/5), 78.0 KiB (493.0 KiB unpacked)
Retrieving: gecko-mediaplayer-1.0.0-1.fc14.i686.rpm [done]
Installing: gnome-mplayer-common-1.0.0-1.fc14 [done]
Installing: mplayer-gui-1.0-0.119.20100703svn.fc14 [done]
Installing: mencoder-1.0-0.119.20100703svn.fc14 [done]
Installing: gnome-mplayer-minimal-1.0.0-1.fc14 [done]
Installing: gecko-mediaplayer-1.0.0-1.fc14 [done]

$ killall -HUP banshee-1  ##must kill and restart banshee
$ banshee-1               ##start from commandline to see entertaining error messages https://bugs.meego.com/show_bug.cgi?id=14658

The end result -- you can watch FLV video downloaded from youtube:

Banshee-on-meegolem-playing-flv-via-nonfree-gsteamer-ffmpeg-plugins.png

The gecko-mediaplayer plugin installed above, allows media to be viewed directly in the web browser:

Chrome-with-gecko-mediaplayer-on-meegolem.png

smplayer for streaming audio/video playback

Smplayer-on-meegolem.png

gpodder and needed python plugins -- to watch/manage podcasts

Gpodder-on-meegolem.png

The OpenShot Video Editor

Openshot-on-meegolem.png

The Jack Audio Connection Kit, QJackCtl, and Various Cool Audio Tools

Qjackctl-on-meegolem.png Qjackctl-connections-on-meegolem.png Jack-alsa-audio-analyser-on-meegolem.png Jack-audio-applications-on-meegolem.png Jack-alsa-perceptual-analyser.png

Qtractor Audio/MIDI Editor and Sound processing plugins

Qtractor-plastique-style-on-meegolem.png Qtractor-dialogs-plastique-style-meego.png

Games Games Games!

(Author doesn't have time for games, but notes a fully populated installer, and son happy with MeeGo on his netbook).

Meego-installer-on-meegolem.png

Missing System and Development Tools

MeeGo Application developers need tools that are available in Fedora, or Harmattan. For example http://www.developer.nokia.com/Community/Wiki/Harmattan:Developer_Library/Best_practices_for_application_development/Performance_testing_tools/Using_htop suggests the tool htop(1) which is available on my Nokia N950 development device, but apparently not in MeeGo. MeeGo-Lem to the rescue!

meegolem-138-~> sudo zypper in htop
Loading repository data...
Reading installed packages...
Resolving package dependencies...

The following NEW packages are going to be installed:
  htop plpa-libs 

2 new packages to install.
Overall download size: 86.0 KiB. After the operation, additional 187.0 KiB will be used.
Continue? [y/n/?] (y): y
Retrieving package plpa-libs-1.3.2-4.fc13.i686 (1/2), 25.0 KiB (51.0 KiB unpacked)
Retrieving: plpa-libs-1.3.2-4.fc13.i686.rpm [done]
Retrieving package htop-0.8.3-3.fc14.i686 (2/2), 61.0 KiB (136.0 KiB unpacked)
Retrieving: htop-0.8.3-3.fc14.i686.rpm [done (1.3 KiB/s)]
Installing: plpa-libs-1.3.2-4.fc13 [done]
Installing: htop-0.8.3-3.fc14 [done]

Result:

Htop-on-meegolem.png

Personal tools