[Angstrom-devel] [RFC] gnome-mplayer as the "recommended" mediaplayer for Angstrom
Paul Sokolovsky
pmiscml at gmail.com
Tue Jan 1 22:40:40 CET 2008
Hello angstrom-distro-devel,
The availability of good mediaplayer is probably the most
crucial point on the road towards getting people use, and love,
Angstrom. Many of them will judge if its useful not even on the
availability of PIM, but on the presence of a thing which can play
their MP3 when they commute, with which can brag videoclips to the
friends, and if it will be able to play FLVs grabbed from youtube,
they will be all ours.
We know that players (un)maintained by GPE project doesn't solve
that need - they are simply build- or runtime- broken, which is not
surprise at all taking into account that technology on which they're
build, GStreamer, is highly questionable regarding its maturity.
Well-known and actually maintained in OE solution is MPlayer, but that
was lacking a PDA-optimized frontend. Well, lucky as we're, there's an
MPlayer frontend in the big world not maimed by desktop-bloat
attitude. It's gnome-mplayer, http://dekorte.homeip.net/download/gnome-mplayer/
Its author seem to have good clue what he does, and applies patches
like "Removal of dependancies on libgnome and libgnomeui" even before
we submit them ;-). I had to make only one small patch to make it look
well on QVGA screen - to make vertical video/playlist pane vs default
horizontal. Screenshot:
http://linuxtogo.org/gowiki/PaulSokolovsky?action=AttachFile&do=view&target=gnome-mplayer.png
So, I'd like to call for more testing of it, as present in .dev,
and later to merge into the stable branch, and promote as the
"recommended" mediaplayer for Angstrom. We may for example consider
mediplayer-image, based on minimal-gpe-image. I would for sure like to
make LiveRamdisks for such.
This is a forwarded message
From: pfalcon commit <openembedded-commits at lists.openembedded.org>
To: openembedded-commits at lists.openembedded.org
Date: Tuesday, January 1, 2008, 11:07:14 AM
Subject: [oe-commits] org.oe.dev gnome-mplayer: Add a decent, clean GTK+ frontend for MPlayer.
===8<==============Original message text===============
gnome-mplayer: Add a decent, clean GTK+ frontend for MPlayer.
* This one is targetted at simple, clean, yet functional UI and
low deps (recently deps to libgnomeui and crap was removed). Obviously,
its UI doesn't contain any PDA-unfriendly elements.
* Angstrom has just got *the* mediaplayer!
Author: pfalcon at openembedded.org
Branch: org.openembedded.dev
Revision: cbd73e4685a6b456be3670606d5020189741092e
ViewMTN: http://monotone.openembedded.org/revision/info/cbd73e4685a6b456be3670606d5020189741092e
Files:
1
packages/gnome-mplayer
packages/gnome-mplayer/files
packages/gnome-mplayer/files/1.patch
packages/gnome-mplayer/files/ac-gthread.patch
packages/gnome-mplayer/gnome-mplayer_0.5.3.bb
packages/gnome-mplayer/gnome-mplayer_cvs.bb
Diffs:
#
# mt diff -rb1eb3466dafc9eb0908b3c6a5749e44c83d43bb7 -rcbd73e4685a6b456be3670606d5020189741092e
#
#
#
# add_dir "packages/gnome-mplayer"
#
# add_dir "packages/gnome-mplayer/files"
#
# add_file "packages/gnome-mplayer/files/1.patch"
# content [c9e6dc9f616e19c1538a4e6f44cf425f906db5c5]
#
# add_file "packages/gnome-mplayer/files/ac-gthread.patch"
# content [c93920accaf7ee84b2102eed7a2e3f18a2e3d687]
#
# add_file "packages/gnome-mplayer/gnome-mplayer_0.5.3.bb"
# content [dc61dd1c6a05ba82814135c247fd7e63ab1211fa]
#
# add_file "packages/gnome-mplayer/gnome-mplayer_cvs.bb"
# content [ed0554f6c2a18456399fd04659d92057d216eda9]
#
============================================================
--- packages/gnome-mplayer/files/1.patch c9e6dc9f616e19c1538a4e6f44cf425f906db5c5
+++ packages/gnome-mplayer/files/1.patch c9e6dc9f616e19c1538a4e6f44cf425f906db5c5
@@ -0,0 +1,37 @@
+# HG changeset patch
+# User "Paul Sokolovsky <pfalcon at users.sourceforge.net>"
+# Date 1199174323 -7200
+# Node ID d630a2e72d3fa094a330f5bd6351b0cf7c9690a6
+# Parent 4b4820fa6fff9dbb8c6c8e1bd23eed54faf10982
+gui.c: Add vertical pane layout for main i/f vs playlist.
+Decision which layout to use is based on screen aspect.
+This change will allow sane layout on PDA devices, many
+of which have vertical layout by default. Possible
+improvements:
+1. Add menu check item for users to be able to select layout
+as they see fit.
+
+diff -r 4b4820fa6fff -r d630a2e72d3f src/gui.c
+--- a/src/gui.c Tue Jan 01 09:29:28 2008 +0200
++++ b/src/gui.c Tue Jan 01 09:58:43 2008 +0200
+@@ -3071,8 +3071,20 @@ GtkWidget *create_window(gint windowid)
+
+ gtk_widget_show(menubar);
+ gtk_widget_show(drawing_area);
++ if (gdk_screen_width() > gdk_screen_height()) {
+ pane = gtk_hpaned_new();
+ gtk_paned_pack1(GTK_PANED(pane),vbox,TRUE,TRUE);
++ } else {
++ GtkRequisition menu_size;
++ GtkRequisition vbox_size;
++ pane = gtk_vpaned_new();
++ gtk_paned_pack1(GTK_PANED(pane),vbox,TRUE,FALSE); /* No shrink beyond size request*/
++
++ gtk_widget_size_request(menubar, &menu_size);
++ gtk_widget_size_request(vbox, &vbox_size);
++ /* 5 is adhox compensation for layout issues ;-( */
++ gtk_widget_set_size_request(vbox, -1, menu_size.height + vbox_size.height - 5);
++ }
+
+ gtk_container_add(GTK_CONTAINER(window), pane);
+
============================================================
--- packages/gnome-mplayer/files/ac-gthread.patch c93920accaf7ee84b2102eed7a2e3f18a2e3d687
+++ packages/gnome-mplayer/files/ac-gthread.patch c93920accaf7ee84b2102eed7a2e3f18a2e3d687
@@ -0,0 +1,12 @@
+diff -r d630a2e72d3f configure.in
+--- a/configure.in Tue Jan 01 09:58:43 2008 +0200
++++ b/configure.in Tue Jan 01 10:16:44 2008 +0200
+@@ -32,7 +32,7 @@ AM_PROG_LIBTOOL
+ #AC_SUBST(GNOME_CFLAGS)
+ #AC_SUBST(GNOME_LIBS)
+
+-PKG_CHECK_MODULES(GTK, [gtk+-2.0 glib-2.0])
++PKG_CHECK_MODULES(GTK, [gtk+-2.0 glib-2.0 gthread-2.0])
+ AC_SUBST(GTK_CFLAGS)
+ AC_SUBST(GTK_LIBS)
+
============================================================
--- packages/gnome-mplayer/gnome-mplayer_0.5.3.bb dc61dd1c6a05ba82814135c247fd7e63ab1211fa
+++ packages/gnome-mplayer/gnome-mplayer_0.5.3.bb dc61dd1c6a05ba82814135c247fd7e63ab1211fa
@@ -0,0 +1,11 @@
+DESCRIPTION = "Simple MPlayer frontend with lite Gnome integration"
+HOMEPAGE = "http://dekorte.homeip.net/download/gnome-mplayer/"
+LICENSE = "GPL"
+DEPENDS = "gtk+ gconf dbus-glib"
+PR = "r1"
+
+inherit autotools pkgconfig gconf
+
+SRC_URI = "http://dekorte.homeip.net/download/${PN}/${P}.tar.gz \
+ file://ac-gthread.patch;patch=1 \
+ file://1.patch;patch=1"
============================================================
--- packages/gnome-mplayer/gnome-mplayer_cvs.bb ed0554f6c2a18456399fd04659d92057d216eda9
+++ packages/gnome-mplayer/gnome-mplayer_cvs.bb ed0554f6c2a18456399fd04659d92057d216eda9
@@ -0,0 +1,15 @@
+DESCRIPTION = "Simple MPlayer frontend with lite Gnome integration"
+HOMEPAGE = "http://dekorte.homeip.net/download/gnome-mplayer/"
+LICENSE = "GPL"
+DEPENDS = "gtk+ gconf dbus-glib"
+SRCDATE = "20080101"
+PV = "0.5.3+cvs${SRCDATE}"
+PR = "r1"
+
+inherit autotools pkgconfig gconf
+
+S = "${WORKDIR}/${PN}"
+
+SRC_URI = "cvs://anonymous@dekorte.homeip.net/data/cvs;module=${PN} \
+ file://ac-gthread.patch;patch=1 \
+ file://1.patch;patch=1"
_______________________________________________
Openembedded-commits mailing list
Openembedded-commits at lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-commits
===8<===========End of original message text===========
--
Best regards,
Paul mailto:pmiscml at gmail.com
More information about the Angstrom-distro-devel
mailing list