From 709c4d66e0b107ca606941b988bad717c0b45d9b Mon Sep 17 00:00:00 2001 From: Denys Dmytriyenko Date: Tue, 17 Mar 2009 14:32:59 -0400 Subject: rename packages/ to recipes/ per earlier agreement See links below for more details: http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326 http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816 Signed-off-by: Denys Dmytriyenko Acked-by: Mike Westerhof Acked-by: Philip Balister Acked-by: Khem Raj Acked-by: Marcin Juszkiewicz Acked-by: Koen Kooi Acked-by: Frans Meulenbroeks --- recipes/vlc/libdvdcss_1.2.10.bb | 20 + recipes/vlc/vlc-davinci_0.8.6h.bb | 63 + recipes/vlc/vlc-gpe-0.8.1/fix-pda.patch | 104 ++ recipes/vlc/vlc-gpe-0.8.1/vlc-tremor.patch | 14 + recipes/vlc/vlc-gpe-0.8.4/pda-interface.patch | 1669 +++++++++++++++++++++++++ recipes/vlc/vlc-gpe_0.7.2.bb | 80 ++ recipes/vlc/vlc-gpe_0.8.1.bb | 87 ++ recipes/vlc/vlc-gpe_0.8.4.bb | 108 ++ recipes/vlc/vlc.inc | 63 + recipes/vlc/vlc_0.9.2.bb | 61 + recipes/vlc/vlc_0.9.6.bb | 2 + recipes/vlc/vlc_0.9.8a.bb | 46 + recipes/vlc/x264_0.0.bb | 20 + 13 files changed, 2337 insertions(+) create mode 100644 recipes/vlc/libdvdcss_1.2.10.bb create mode 100644 recipes/vlc/vlc-davinci_0.8.6h.bb create mode 100644 recipes/vlc/vlc-gpe-0.8.1/fix-pda.patch create mode 100644 recipes/vlc/vlc-gpe-0.8.1/vlc-tremor.patch create mode 100644 recipes/vlc/vlc-gpe-0.8.4/pda-interface.patch create mode 100644 recipes/vlc/vlc-gpe_0.7.2.bb create mode 100644 recipes/vlc/vlc-gpe_0.8.1.bb create mode 100644 recipes/vlc/vlc-gpe_0.8.4.bb create mode 100644 recipes/vlc/vlc.inc create mode 100644 recipes/vlc/vlc_0.9.2.bb create mode 100644 recipes/vlc/vlc_0.9.6.bb create mode 100644 recipes/vlc/vlc_0.9.8a.bb create mode 100644 recipes/vlc/x264_0.0.bb (limited to 'recipes/vlc') diff --git a/recipes/vlc/libdvdcss_1.2.10.bb b/recipes/vlc/libdvdcss_1.2.10.bb new file mode 100644 index 0000000000..f6862d3dd3 --- /dev/null +++ b/recipes/vlc/libdvdcss_1.2.10.bb @@ -0,0 +1,20 @@ +DESCRIPTION = "libdvdcss is a simple library designed for accessing DVDs like a block device without having to bother about the decryption." +LICENSE = "GPLv2" + +PR = "r1" + +SRC_URI = "http://download.videolan.org/pub/libdvdcss/${PV}/libdvdcss-${PV}.tar.bz2" + +inherit autotools + +EXTRA_OECONF = " --disable-doc " + +AUTOTOOLS_STAGE_PKGCONFIG = "1" +do_stage() { + autotools_stage_all +} + + + + + diff --git a/recipes/vlc/vlc-davinci_0.8.6h.bb b/recipes/vlc/vlc-davinci_0.8.6h.bb new file mode 100644 index 0000000000..71520bbb9b --- /dev/null +++ b/recipes/vlc/vlc-davinci_0.8.6h.bb @@ -0,0 +1,63 @@ +DESCRIPTION = "Video player and streamer - davinci edition" +HOMEPAGE = "http://www.videolan.org" +LICENSE = "GPL" +PRIORITY = "optional" +SECTION = "multimedia" + +SRCREV = "e712a114e04a1070f1afdf31ec668cb28eda513c" + +PR = "r6" + +PV = "0.8.6h+${PR}+gitr${SRCREV}" + +DEPENDS = "codec-engine dbus libxml2 gnutls tremor faad2 ffmpeg flac \ + ${@base_conditional('ENTERPRISE_DISTRO', '1', '', 'libmad libid3tag liba52 mpeg2dec', d)}" + +SRC_URI = "git://git.videolan.org/vlc.git;protocol=git;branch=0.8.6-neuros" + +S = "${WORKDIR}/git" + +inherit autotools + +EXTRA_OECONF = "\ + --enable-libtool \ + --with-contrib \ + --disable-dvdread \ + --disable-wxwidgets \ + --disable-skins2 \ + --disable-libmpeg2 \ + --disable-dvdnav \ + --disable-x11 --disable-xvideo --disable-opengl --disable-glx \ + --disable-screen --disable-caca \ + --disable-httpd --disable-vlm \ + --disable-freetype \ + --disable-sdl \ + --enable-png \ + --enable-live555 --enable-tremor \ + --disable-mod \ + --enable-davinci --enable-davincifb --enable-davinciresizer \ + --enable-v4l2 --disable-aa --enable-wma --disable-faad \ + --enable-dbus \ +" + + +do_configure() { + ./bootstrap + gnu-configize + libtoolize --force + autoreconf --force -i + oe_runconf + rm config.log + sed -i -e s:-L/usr/lib:-L${STAGING_LIBDIR}/:g vlc-config +} + +do_stage() { + autotools_stage_all +} + +RCONFLICTS_${PN} = "vlc" + +FILES_${PN} += "${bindir}/vlc \ + ${datadir}/applications \ + ${datadir}/vlc/ \ + " diff --git a/recipes/vlc/vlc-gpe-0.8.1/fix-pda.patch b/recipes/vlc/vlc-gpe-0.8.1/fix-pda.patch new file mode 100644 index 0000000000..5338851463 --- /dev/null +++ b/recipes/vlc/vlc-gpe-0.8.1/fix-pda.patch @@ -0,0 +1,104 @@ +--- vlc-0.8.1/modules/gui/pda/pda.c 2004-11-06 17:35:18.000000000 +0100 ++++ vlc-0.8.1.mod/modules/gui/pda/pda.c 2005-03-11 13:56:52.000000000 +0100 +@@ -417,11 +417,12 @@ + { + input_thread_t *p_input = p_intf->p_sys->p_input; + +- vlc_mutex_lock( &p_input->stream.stream_lock ); ++ vlc_mutex_lock( &p_input->object_lock ); + if( !p_input->b_die ) + { +- /* New input or stream map change */ +- if( p_input->stream.b_changed ) ++ /* New input or stream map change */ ++/* if( p_input->stream.b_changed ) ++*/ + { + playlist_t *p_playlist; + +@@ -445,11 +446,14 @@ + } + + /* Manage the slider */ +-#define p_area p_input->stream.p_selected_area ++#if 0 ++#define p_area p_input->p_selected_area ++ + if (p_intf->p_libvlc->i_cpu & CPU_CAPABILITY_FPU) + { + /* Manage the slider for CPU_CAPABILITY_FPU hardware */ +- if( p_input->stream.b_seekable && p_intf->p_sys->b_playing ) ++/* if( p_input->stream.b_seekable && p_intf->p_sys->b_playing )*/ ++ if (p_intf->p_sys->b_playing) + { + float newvalue = p_intf->p_sys->p_adj->value; + +@@ -471,9 +475,9 @@ + double f_pos = (double)newvalue / 100.0; + + /* release the lock to be able to seek */ +- vlc_mutex_unlock( &p_input->stream.stream_lock ); ++ vlc_mutex_unlock( &p_input->object_lock ); + var_SetFloat( p_input, "position", f_pos ); +- vlc_mutex_lock( &p_input->stream.stream_lock ); ++ vlc_mutex_lock( &p_input->object_lock ); + + /* Update the old value */ + p_intf->p_sys->f_adj_oldvalue = newvalue; +@@ -483,7 +487,8 @@ + else + { + /* Manage the slider without CPU_CAPABILITY_FPU hardware */ +- if( p_input->stream.b_seekable && p_intf->p_sys->b_playing ) ++/* if( p_input->stream.b_seekable && p_intf->p_sys->b_playing )*/ ++ if (p_intf->p_sys->b_playing) + { + off_t newvalue = p_intf->p_sys->p_adj->value; + +@@ -505,9 +510,9 @@ + double f_pos = (double)newvalue / 100.0; + + /* release the lock to be able to seek */ +- vlc_mutex_unlock( &p_input->stream.stream_lock ); ++ vlc_mutex_unlock( &p_input->object_lock ); + var_SetFloat( p_input, "position", f_pos ); +- vlc_mutex_lock( &p_input->stream.stream_lock ); ++ vlc_mutex_lock( &p_input->object_lock ); + + /* Update the old value */ + p_intf->p_sys->i_adj_oldvalue = newvalue; +@@ -515,8 +520,9 @@ + } + } + #undef p_area ++#endif + } +- vlc_mutex_unlock( &p_input->stream.stream_lock ); ++ vlc_mutex_unlock( &p_input->object_lock ); + } + else if( p_intf->p_sys->b_playing && !p_intf->b_die ) + { +@@ -594,20 +600,14 @@ + if( p_intf->p_sys->p_input ) + { + /* initialize and show slider for seekable streams */ +- if( p_intf->p_sys->p_input->stream.b_seekable ) ++/* if( p_intf->p_sys->p_input->stream.b_seekable )*/ + { + gtk_widget_show( GTK_WIDGET( p_slider ) ); + } +- else +- { +- /* hide slider */ +- gtk_widget_hide( GTK_WIDGET( p_slider ) ); +- } +- + /* control buttons for free pace streams */ +- b_control = p_intf->p_sys->p_input->stream.b_pace_control; ++ b_control = p_intf->p_sys->p_input->b_can_pace_control; + +- p_intf->p_sys->p_input->stream.b_changed = 0; ++/* p_intf->p_sys->p_input->stream.b_changed = 0;*/ + msg_Dbg( p_intf, "stream has changed, refreshing interface" ); + } + diff --git a/recipes/vlc/vlc-gpe-0.8.1/vlc-tremor.patch b/recipes/vlc/vlc-gpe-0.8.1/vlc-tremor.patch new file mode 100644 index 0000000000..2a5a92463c --- /dev/null +++ b/recipes/vlc/vlc-gpe-0.8.1/vlc-tremor.patch @@ -0,0 +1,14 @@ +--- vlc-0.8.1/modules/codec/vorbis.c.orig 2005-08-05 19:57:05 +0200 ++++ vlc-0.8.1/modules/codec/vorbis.c 2005-08-05 20:01:22 +0200 +@@ -481,7 +481,11 @@ + #endif + + if( p_oggpacket->bytes && ++#ifdef MODULE_NAME_IS_tremor ++ vorbis_synthesis( &p_sys->vb, p_oggpacket, 1 ) == 0 ) ++#else + vorbis_synthesis( &p_sys->vb, p_oggpacket ) == 0 ) ++#endif + vorbis_synthesis_blockin( &p_sys->vd, &p_sys->vb ); + + /* **pp_pcm is a multichannel float vector. In stereo, for diff --git a/recipes/vlc/vlc-gpe-0.8.4/pda-interface.patch b/recipes/vlc/vlc-gpe-0.8.4/pda-interface.patch new file mode 100644 index 0000000000..2eadbb32f4 --- /dev/null +++ b/recipes/vlc/vlc-gpe-0.8.4/pda-interface.patch @@ -0,0 +1,1669 @@ +diff -ur vlc-0.8.4a/modules/gui/pda/pda.c vlc-0.8.4a-pda/modules/gui/pda/pda.c +--- vlc-0.8.4a/modules/gui/pda/pda.c 2005-12-11 22:36:19.000000000 +0100 ++++ vlc-0.8.4a-pda/modules/gui/pda/pda.c 2006-04-04 17:41:06.000000000 +0200 +@@ -445,8 +445,6 @@ + } + + /* Manage the slider */ +-#if 0 +-#define p_area p_input->p_selected_area + if (p_intf->p_libvlc->i_cpu & CPU_CAPABILITY_FPU) + { + /* Manage the slider for CPU_CAPABILITY_FPU hardware */ +@@ -461,7 +459,7 @@ + /* Update the value */ + p_intf->p_sys->p_adj->value = + p_intf->p_sys->f_adj_oldvalue = +- ( 100. * p_area->i_tell ) / p_area->i_size; ++ ( 100. * var_GetTime( p_intf->p_sys->p_input, "time" ) ) / var_GetTime( p_intf->p_sys->p_input, "length" ); + g_signal_emit_by_name( GTK_OBJECT( p_intf->p_sys->p_adj ), + "value_changed" ); + } +@@ -495,7 +493,7 @@ + /* Update the value */ + p_intf->p_sys->p_adj->value = + p_intf->p_sys->i_adj_oldvalue = +- ( 100 * p_area->i_tell ) / p_area->i_size; ++ ( 100 * var_GetTime( p_intf->p_sys->p_input, "time" ) ) / var_GetTime( p_intf->p_sys->p_input, "length" ); + g_signal_emit_by_name( GTK_OBJECT( p_intf->p_sys->p_adj ), + "value_changed" ); + } +@@ -515,8 +513,6 @@ + } + } + } +-#undef p_area +-#endif + } + vlc_mutex_unlock( &p_input->object_lock ); + } +diff -ur vlc-0.8.4a/modules/gui/pda/pda_callbacks.c vlc-0.8.4a-pda/modules/gui/pda/pda_callbacks.c +--- vlc-0.8.4a/modules/gui/pda/pda_callbacks.c 2005-12-11 22:36:19.000000000 +0100 ++++ vlc-0.8.4a-pda/modules/gui/pda/pda_callbacks.c 2006-04-05 10:26:41.000000000 +0200 +@@ -442,7 +442,7 @@ + p_intf->p_sys->b_slider_free = 1; + vlc_mutex_unlock( &p_intf->change_lock ); + +- return TRUE; ++ return FALSE; + } + + +@@ -455,7 +455,7 @@ + p_intf->p_sys->b_slider_free = 0; + vlc_mutex_unlock( &p_intf->change_lock ); + +- return TRUE; ++ return FALSE; + } + + void SliderMove(GtkRange *range, GtkScrollType scroll, gpointer user_data) +@@ -1102,6 +1102,8 @@ + p_entryStdURL = (GtkEntry*) lookup_widget( GTK_WIDGET(button), "entryStdURL" ); + p_entryStdAnnounce = (GtkEntry*) lookup_widget( GTK_WIDGET(button), "entryAnnounceChannel" ); + p_entryStdTTL = (GtkSpinButton*) lookup_widget( GTK_WIDGET(button), "entryStdTTL" ); ++ p_checkSAP = (GtkCheckButton*) lookup_widget( GTK_WIDGET(button), "checkSAP" ); ++ p_checkSLP = (GtkCheckButton*) lookup_widget( GTK_WIDGET(button), "checkSLP" ); + + p_std_access = gtk_entry_get_text(GTK_ENTRY(p_entryStdAccess)); + p_std_muxer = gtk_entry_get_text(GTK_ENTRY(p_entryStdMuxer)); +diff -ur vlc-0.8.4a/modules/gui/pda/pda.glade vlc-0.8.4a-pda/modules/gui/pda/pda.glade +--- vlc-0.8.4a/modules/gui/pda/pda.glade 2005-12-11 22:36:19.000000000 +0100 ++++ vlc-0.8.4a-pda/modules/gui/pda/pda.glade 2006-04-05 10:50:39.000000000 +0200 +@@ -14,6 +14,12 @@ + True + False + vlc16x16.png ++ True ++ False ++ False ++ GDK_WINDOW_TYPE_HINT_NORMAL ++ GDK_GRAVITY_NORTH_WEST ++ True + + + +@@ -30,9 +36,23 @@ + GTK_ORIENTATION_HORIZONTAL + GTK_TOOLBAR_ICONS + True ++ True + + +- ++ ++ True ++ True ++ True ++ True ++ ++ ++ False ++ False ++ ++ ++ ++ ++ + 22 + 22 + True +@@ -40,16 +60,19 @@ + Rewind + True + pda-rewindb16x16.xpm +- True ++ True ++ True ++ False + + + +- True ++ False ++ True + + + + +- ++ + 22 + 22 + True +@@ -57,12 +80,19 @@ + Pause + True + pda-pauseb16x16.xpm ++ True ++ True ++ False + + ++ ++ False ++ True ++ + + + +- ++ + 22 + 22 + True +@@ -70,12 +100,19 @@ + Play + True + pda-playb16x16.xpm ++ True ++ True ++ False + + ++ ++ False ++ True ++ + + + +- ++ + 22 + 22 + True +@@ -83,12 +120,19 @@ + Stop + True + pda-stopb16x16.xpm ++ True ++ True ++ False + + ++ ++ False ++ True ++ + + + +- ++ + 22 + 22 + True +@@ -96,12 +140,32 @@ + Forward + True + pda-forwardb16x16.xpm ++ True ++ True ++ False + + ++ ++ False ++ True ++ + + + +- ++ ++ True ++ True ++ True ++ True ++ ++ ++ False ++ False ++ ++ ++ ++ ++ + 22 + 22 + True +@@ -109,31 +173,47 @@ + About + True + vlc16x16.png +- True ++ True ++ True ++ False + + + +- True ++ False ++ True + + + + +- ++ + True +- 00:00:00 +- False +- False +- GTK_JUSTIFY_CENTER +- False +- False +- 0.5 +- 0.5 +- 0 +- 0 +- True ++ True ++ True ++ False ++ ++ ++ ++ True ++ 00:00:00 ++ False ++ False ++ GTK_JUSTIFY_LEFT ++ False ++ False ++ 0.5 ++ 0.5 ++ 0 ++ 0 ++ PANGO_ELLIPSIZE_NONE ++ -1 ++ False ++ 0 ++ ++ + + +- True ++ False ++ False + + + +@@ -212,6 +292,9 @@ + False + False + True ++ False ++ False ++ False + + + +@@ -240,6 +323,7 @@ + Add to Playlist + True + GTK_RELIEF_NORMAL ++ True + + + +@@ -276,13 +360,17 @@ + File + False + False +- GTK_JUSTIFY_CENTER ++ GTK_JUSTIFY_LEFT + False + False + 0.5 + 0.5 + 0 + 0 ++ PANGO_ELLIPSIZE_NONE ++ -1 ++ False ++ 0 + + + tab +@@ -311,13 +399,17 @@ + MRL: + False + False +- GTK_JUSTIFY_CENTER ++ GTK_JUSTIFY_LEFT + False + False + 0.5 + 0.5 + 0 + 0 ++ PANGO_ELLIPSIZE_NONE ++ -1 ++ False ++ 0 + + + 0 +@@ -462,6 +554,10 @@ + 0.5 + 0 + 0 ++ PANGO_ELLIPSIZE_NONE ++ -1 ++ False ++ 0 + + + 0 +@@ -486,6 +582,10 @@ + 0.5 + 0 + 0 ++ PANGO_ELLIPSIZE_NONE ++ -1 ++ False ++ 0 + + + 0 +@@ -628,6 +728,10 @@ + 0.5 + 0 + 0 ++ PANGO_ELLIPSIZE_NONE ++ -1 ++ False ++ 0 + + + 0 +@@ -756,6 +860,10 @@ + 0.5 + 0 + 0 ++ PANGO_ELLIPSIZE_NONE ++ -1 ++ False ++ 0 + + + 0 +@@ -780,6 +888,10 @@ + 0.5 + 0 + 0 ++ PANGO_ELLIPSIZE_NONE ++ -1 ++ False ++ 0 + + + 0 +@@ -798,6 +910,7 @@ + enable + True + GTK_RELIEF_NORMAL ++ True + False + False + True +@@ -836,6 +949,7 @@ + Add to Playlist + True + GTK_RELIEF_NORMAL ++ True + + + +@@ -857,7 +971,7 @@ + + + +- True ++ False + True + + +@@ -868,13 +982,17 @@ + Network + False + False +- GTK_JUSTIFY_CENTER ++ GTK_JUSTIFY_LEFT + False + False + 0.5 + 0.5 + 0 + 0 ++ PANGO_ELLIPSIZE_NONE ++ -1 ++ False ++ 0 + + + tab +@@ -923,6 +1041,10 @@ + 0.5 + 0 + 0 ++ PANGO_ELLIPSIZE_NONE ++ -1 ++ False ++ 0 + + + 0 +@@ -947,6 +1069,10 @@ + 0.5 + 0 + 0 ++ PANGO_ELLIPSIZE_NONE ++ -1 ++ False ++ 0 + + + 0 +@@ -971,6 +1097,10 @@ + 0.5 + 0 + 0 ++ PANGO_ELLIPSIZE_NONE ++ -1 ++ False ++ 0 + + + 0 +@@ -995,6 +1125,10 @@ + 0.5 + 0 + 0 ++ PANGO_ELLIPSIZE_NONE ++ -1 ++ False ++ 0 + + + 0 +@@ -1019,6 +1153,10 @@ + 0.5 + 0 + 0 ++ PANGO_ELLIPSIZE_NONE ++ -1 ++ False ++ 0 + + + 0 +@@ -1043,6 +1181,10 @@ + 0.5 + 0 + 0 ++ PANGO_ELLIPSIZE_NONE ++ -1 ++ False ++ 0 + + + 0 +@@ -1067,6 +1209,10 @@ + 0.5 + 0 + 0 ++ PANGO_ELLIPSIZE_NONE ++ -1 ++ False ++ 0 + + + 0 +@@ -1091,6 +1237,10 @@ + 0.5 + 0 + 0 ++ PANGO_ELLIPSIZE_NONE ++ -1 ++ False ++ 0 + + + 0 +@@ -1115,6 +1265,10 @@ + 0.5 + 0 + 0 ++ PANGO_ELLIPSIZE_NONE ++ -1 ++ False ++ 0 + + + 0 +@@ -1139,6 +1293,10 @@ + 0.5 + 0 + 0 ++ PANGO_ELLIPSIZE_NONE ++ -1 ++ False ++ 0 + + + 0 +@@ -1163,6 +1321,10 @@ + 0.5 + 0 + 0 ++ PANGO_ELLIPSIZE_NONE ++ -1 ++ False ++ 0 + + + 0 +@@ -1187,6 +1349,10 @@ + 0.5 + 0 + 0 ++ PANGO_ELLIPSIZE_NONE ++ -1 ++ False ++ 0 + + + 0 +@@ -1677,6 +1843,7 @@ + enable + True + GTK_RELIEF_NORMAL ++ True + False + False + True +@@ -1726,6 +1893,10 @@ + 0.5 + 0 + 0 ++ PANGO_ELLIPSIZE_NONE ++ -1 ++ False ++ 0 + + + 0 +@@ -1744,6 +1915,7 @@ + enable + True + GTK_RELIEF_NORMAL ++ True + False + False + True +@@ -1786,6 +1958,7 @@ + Add to Playlist + True + GTK_RELIEF_NORMAL ++ True + + + +@@ -1825,6 +1998,10 @@ + 0.5 + 0 + 0 ++ PANGO_ELLIPSIZE_NONE ++ -1 ++ False ++ 0 + + + tab +@@ -1873,6 +2050,10 @@ + 0.5 + 0 + 0 ++ PANGO_ELLIPSIZE_NONE ++ -1 ++ False ++ 0 + + + 0 +@@ -1993,6 +2174,10 @@ + 0.5 + 0 + 0 ++ PANGO_ELLIPSIZE_NONE ++ -1 ++ False ++ 0 + + + 0 +@@ -2017,6 +2202,10 @@ + 0.5 + 0 + 0 ++ PANGO_ELLIPSIZE_NONE ++ -1 ++ False ++ 0 + + + 0 +@@ -2041,6 +2230,10 @@ + 0.5 + 0 + 0 ++ PANGO_ELLIPSIZE_NONE ++ -1 ++ False ++ 0 + + + 0 +@@ -2065,6 +2258,10 @@ + 0.5 + 0 + 0 ++ PANGO_ELLIPSIZE_NONE ++ -1 ++ False ++ 0 + + + 0 +@@ -2089,6 +2286,10 @@ + 0.5 + 0 + 0 ++ PANGO_ELLIPSIZE_NONE ++ -1 ++ False ++ 0 + + + 0 +@@ -2113,6 +2314,10 @@ + 0.5 + 0 + 0 ++ PANGO_ELLIPSIZE_NONE ++ -1 ++ False ++ 0 + + + 0 +@@ -2137,6 +2342,10 @@ + 0.5 + 0 + 0 ++ PANGO_ELLIPSIZE_NONE ++ -1 ++ False ++ 0 + + + 0 +@@ -2161,6 +2370,10 @@ + 0.5 + 0 + 0 ++ PANGO_ELLIPSIZE_NONE ++ -1 ++ False ++ 0 + + + 0 +@@ -2185,6 +2398,10 @@ + 0.5 + 0 + 0 ++ PANGO_ELLIPSIZE_NONE ++ -1 ++ False ++ 0 + + + 0 +@@ -2507,6 +2724,7 @@ + enable + True + GTK_RELIEF_NORMAL ++ True + False + False + True +@@ -2553,7 +2771,7 @@ + GTK_UPDATE_ALWAYS + False + False +- 800000 0 1e+06 1 10 10 ++ 800000 0 1000000 1 10 10 + + + 1 +@@ -2599,6 +2817,10 @@ + 0.5 + 0 + 0 ++ PANGO_ELLIPSIZE_NONE ++ -1 ++ False ++ 0 + + + 0 +@@ -2730,6 +2952,10 @@ + 0.5 + 0 + 0 ++ PANGO_ELLIPSIZE_NONE ++ -1 ++ False ++ 0 + + + 0 +@@ -2748,6 +2974,7 @@ + enable + True + GTK_RELIEF_NORMAL ++ True + False + False + True +@@ -2769,6 +2996,7 @@ + enable + True + GTK_RELIEF_NORMAL ++ True + False + False + True +@@ -2796,6 +3024,10 @@ + 0.5 + 0 + 0 ++ PANGO_ELLIPSIZE_NONE ++ -1 ++ False ++ 0 + + + 0 +@@ -2820,6 +3052,10 @@ + 0.5 + 0 + 0 ++ PANGO_ELLIPSIZE_NONE ++ -1 ++ False ++ 0 + + + 0 +@@ -2898,6 +3134,7 @@ + Add to Playlist + True + GTK_RELIEF_NORMAL ++ True + + + +@@ -2930,13 +3167,17 @@ + Transcode + False + False +- GTK_JUSTIFY_CENTER ++ GTK_JUSTIFY_LEFT + False + False + 0.5 + 0.5 + 0 + 0 ++ PANGO_ELLIPSIZE_NONE ++ -1 ++ False ++ 0 + + + tab +@@ -2965,6 +3206,9 @@ + False + False + True ++ False ++ False ++ False + + + +@@ -2992,6 +3236,7 @@ + Update + True + GTK_RELIEF_NORMAL ++ True + + + +@@ -3008,6 +3253,7 @@ + Delete + True + GTK_RELIEF_NORMAL ++ True + + + +@@ -3024,6 +3270,7 @@ + Clear + True + GTK_RELIEF_NORMAL ++ True + + + +@@ -3052,13 +3299,17 @@ + Playlist + False + False +- GTK_JUSTIFY_CENTER ++ GTK_JUSTIFY_LEFT + False + False + 0.5 + 0.5 + 0 + 0 ++ PANGO_ELLIPSIZE_NONE ++ -1 ++ False ++ 0 + + + tab +@@ -3088,6 +3339,9 @@ + False + False + True ++ False ++ False ++ False + + + +@@ -3111,6 +3365,7 @@ + Save + True + GTK_RELIEF_NORMAL ++ True + + + +@@ -3127,6 +3382,7 @@ + Apply + True + GTK_RELIEF_NORMAL ++ True + + + +@@ -3147,6 +3403,7 @@ + Cancel + True + GTK_RELIEF_NORMAL ++ True + + + +@@ -3177,13 +3434,17 @@ + Preference + False + False +- GTK_JUSTIFY_CENTER ++ GTK_JUSTIFY_LEFT + False + False + 0.5 + 0.5 + 0 + 0 ++ PANGO_ELLIPSIZE_NONE ++ -1 ++ False ++ 0 + + + tab +@@ -3239,6 +3500,10 @@ + 0.5 + 0 + 0 ++ PANGO_ELLIPSIZE_NONE ++ -1 ++ False ++ 0 + + + 16 +@@ -3247,46 +3512,54 @@ + + + +- ++ + 208 +- 32 ++ 16 + True +- Authors: the VideoLAN Team, http://www.videolan.org/team/ ++ (c) 1996-2004 the VideoLAN team + False + False +- GTK_JUSTIFY_LEFT +- True ++ GTK_JUSTIFY_CENTER ++ False + False + 0.5 + 0.5 + 0 + 0 ++ PANGO_ELLIPSIZE_NONE ++ -1 ++ False ++ 0 + + + 16 +- 72 ++ 48 + + + + +- ++ + 208 +- 16 ++ 32 + True +- (c) 1996-2004 the VideoLAN team ++ Authors: the VideoLAN Team, http://www.videolan.org/team/ + False + False +- GTK_JUSTIFY_CENTER +- False ++ GTK_JUSTIFY_LEFT ++ True + False + 0.5 + 0.5 + 0 + 0 ++ PANGO_ELLIPSIZE_NONE ++ -1 ++ False ++ 0 + + + 16 +- 48 ++ 72 + + + +@@ -3305,6 +3578,10 @@ + 0.5 + 0 + 0 ++ PANGO_ELLIPSIZE_NONE ++ -1 ++ False ++ 0 + + + 48 +@@ -3328,13 +3605,17 @@ + About + False + False +- GTK_JUSTIFY_CENTER ++ GTK_JUSTIFY_LEFT + False + False + 0.5 + 0.5 + 0 + 0 ++ PANGO_ELLIPSIZE_NONE ++ -1 ++ False ++ 0 + + + tab +diff -ur vlc-0.8.4a/modules/gui/pda/pda_interface.c vlc-0.8.4a-pda/modules/gui/pda/pda_interface.c +--- vlc-0.8.4a/modules/gui/pda/pda_interface.c 2005-12-11 22:36:19.000000000 +0100 ++++ vlc-0.8.4a-pda/modules/gui/pda/pda_interface.c 2006-04-05 10:50:39.000000000 +0200 +@@ -33,13 +33,17 @@ + GdkPixbuf *pda_icon_pixbuf; + GtkWidget *vbox; + GtkWidget *toolbar; +- GtkWidget *tmp_toolbar_icon; ++ GtkIconSize tmp_toolbar_icon_size; ++ GtkWidget *separatortoolitem1; ++ GtkWidget *tmp_image; + GtkWidget *tbRewind; + GtkWidget *tbPause; + GtkWidget *tbPlay; + GtkWidget *tbStop; + GtkWidget *tbForward; ++ GtkWidget *separatortoolitem2; + GtkWidget *tbAbout; ++ GtkWidget *toolitem1; + GtkWidget *timeLabel; + GtkWidget *timeSlider; + GtkWidget *notebook; +@@ -198,8 +202,8 @@ + GtkWidget *fixed2; + GtkWidget *aboutImage; + GtkWidget *labelDescription; +- GtkWidget *labelAuthors; + GtkWidget *labelCopyright; ++ GtkWidget *labelAuthors; + GtkWidget *labelProgramName; + GtkWidget *about; + GtkTooltips *tooltips; +@@ -228,89 +232,81 @@ + gtk_box_pack_start (GTK_BOX (vbox), toolbar, FALSE, FALSE, 5); + gtk_widget_set_size_request (toolbar, 240, 22); + gtk_toolbar_set_style (GTK_TOOLBAR (toolbar), GTK_TOOLBAR_ICONS); ++ tmp_toolbar_icon_size = gtk_toolbar_get_icon_size (GTK_TOOLBAR (toolbar)); + +- gtk_toolbar_append_space (GTK_TOOLBAR (toolbar)); +- +- tmp_toolbar_icon = create_pixmap (pda, "pda-rewindb16x16.xpm"); +- tbRewind = gtk_toolbar_append_element (GTK_TOOLBAR (toolbar), +- GTK_TOOLBAR_CHILD_BUTTON, +- NULL, +- _("Rewind"), +- _("Rewind"), NULL, +- tmp_toolbar_icon, NULL, NULL); +- gtk_label_set_use_underline (GTK_LABEL (((GtkToolbarChild*) (g_list_last (GTK_TOOLBAR (toolbar)->children)->data))->label), TRUE); ++ separatortoolitem1 = (GtkWidget*) gtk_separator_tool_item_new (); ++ gtk_widget_set_name (separatortoolitem1, "separatortoolitem1"); ++ gtk_widget_show (separatortoolitem1); ++ gtk_container_add (GTK_CONTAINER (toolbar), separatortoolitem1); ++ ++ tmp_image = create_pixmap (pda, "pda-rewindb16x16.xpm"); ++ gtk_widget_show (tmp_image); ++ tbRewind = (GtkWidget*) gtk_tool_button_new (tmp_image, _("Rewind")); + gtk_widget_set_name (tbRewind, "tbRewind"); + gtk_widget_show (tbRewind); ++ gtk_container_add (GTK_CONTAINER (toolbar), tbRewind); + gtk_widget_set_size_request (tbRewind, 22, 22); ++ gtk_tool_item_set_tooltip (GTK_TOOL_ITEM (tbRewind), tooltips, _("Rewind"), NULL); + +- tmp_toolbar_icon = create_pixmap (pda, "pda-pauseb16x16.xpm"); +- tbPause = gtk_toolbar_append_element (GTK_TOOLBAR (toolbar), +- GTK_TOOLBAR_CHILD_BUTTON, +- NULL, +- _("Pause"), +- _("Pause"), NULL, +- tmp_toolbar_icon, NULL, NULL); +- gtk_label_set_use_underline (GTK_LABEL (((GtkToolbarChild*) (g_list_last (GTK_TOOLBAR (toolbar)->children)->data))->label), TRUE); ++ tmp_image = create_pixmap (pda, "pda-pauseb16x16.xpm"); ++ gtk_widget_show (tmp_image); ++ tbPause = (GtkWidget*) gtk_tool_button_new (tmp_image, _("Pause")); + gtk_widget_set_name (tbPause, "tbPause"); + gtk_widget_show (tbPause); ++ gtk_container_add (GTK_CONTAINER (toolbar), tbPause); + gtk_widget_set_size_request (tbPause, 22, 22); ++ gtk_tool_item_set_tooltip (GTK_TOOL_ITEM (tbPause), tooltips, _("Pause"), NULL); + +- tmp_toolbar_icon = create_pixmap (pda, "pda-playb16x16.xpm"); +- tbPlay = gtk_toolbar_append_element (GTK_TOOLBAR (toolbar), +- GTK_TOOLBAR_CHILD_BUTTON, +- NULL, +- _("Play"), +- _("Play"), NULL, +- tmp_toolbar_icon, NULL, NULL); +- gtk_label_set_use_underline (GTK_LABEL (((GtkToolbarChild*) (g_list_last (GTK_TOOLBAR (toolbar)->children)->data))->label), TRUE); ++ tmp_image = create_pixmap (pda, "pda-playb16x16.xpm"); ++ gtk_widget_show (tmp_image); ++ tbPlay = (GtkWidget*) gtk_tool_button_new (tmp_image, _("Play")); + gtk_widget_set_name (tbPlay, "tbPlay"); + gtk_widget_show (tbPlay); ++ gtk_container_add (GTK_CONTAINER (toolbar), tbPlay); + gtk_widget_set_size_request (tbPlay, 22, 22); ++ gtk_tool_item_set_tooltip (GTK_TOOL_ITEM (tbPlay), tooltips, _("Play"), NULL); + +- tmp_toolbar_icon = create_pixmap (pda, "pda-stopb16x16.xpm"); +- tbStop = gtk_toolbar_append_element (GTK_TOOLBAR (toolbar), +- GTK_TOOLBAR_CHILD_BUTTON, +- NULL, +- _("Stop"), +- _("Stop"), NULL, +- tmp_toolbar_icon, NULL, NULL); +- gtk_label_set_use_underline (GTK_LABEL (((GtkToolbarChild*) (g_list_last (GTK_TOOLBAR (toolbar)->children)->data))->label), TRUE); ++ tmp_image = create_pixmap (pda, "pda-stopb16x16.xpm"); ++ gtk_widget_show (tmp_image); ++ tbStop = (GtkWidget*) gtk_tool_button_new (tmp_image, _("Stop")); + gtk_widget_set_name (tbStop, "tbStop"); + gtk_widget_show (tbStop); ++ gtk_container_add (GTK_CONTAINER (toolbar), tbStop); + gtk_widget_set_size_request (tbStop, 22, 22); ++ gtk_tool_item_set_tooltip (GTK_TOOL_ITEM (tbStop), tooltips, _("Stop"), NULL); + +- tmp_toolbar_icon = create_pixmap (pda, "pda-forwardb16x16.xpm"); +- tbForward = gtk_toolbar_append_element (GTK_TOOLBAR (toolbar), +- GTK_TOOLBAR_CHILD_BUTTON, +- NULL, +- _("Forward"), +- _("Forward"), NULL, +- tmp_toolbar_icon, NULL, NULL); +- gtk_label_set_use_underline (GTK_LABEL (((GtkToolbarChild*) (g_list_last (GTK_TOOLBAR (toolbar)->children)->data))->label), TRUE); ++ tmp_image = create_pixmap (pda, "pda-forwardb16x16.xpm"); ++ gtk_widget_show (tmp_image); ++ tbForward = (GtkWidget*) gtk_tool_button_new (tmp_image, _("Forward")); + gtk_widget_set_name (tbForward, "tbForward"); + gtk_widget_show (tbForward); ++ gtk_container_add (GTK_CONTAINER (toolbar), tbForward); + gtk_widget_set_size_request (tbForward, 22, 22); ++ gtk_tool_item_set_tooltip (GTK_TOOL_ITEM (tbForward), tooltips, _("Forward"), NULL); + +- gtk_toolbar_append_space (GTK_TOOLBAR (toolbar)); +- +- tmp_toolbar_icon = create_pixmap (pda, "vlc16x16.png"); +- tbAbout = gtk_toolbar_append_element (GTK_TOOLBAR (toolbar), +- GTK_TOOLBAR_CHILD_BUTTON, +- NULL, +- _("About"), +- _("About"), NULL, +- tmp_toolbar_icon, NULL, NULL); +- gtk_label_set_use_underline (GTK_LABEL (((GtkToolbarChild*) (g_list_last (GTK_TOOLBAR (toolbar)->children)->data))->label), TRUE); ++ separatortoolitem2 = (GtkWidget*) gtk_separator_tool_item_new (); ++ gtk_widget_set_name (separatortoolitem2, "separatortoolitem2"); ++ gtk_widget_show (separatortoolitem2); ++ gtk_container_add (GTK_CONTAINER (toolbar), separatortoolitem2); ++ ++ tmp_image = create_pixmap (pda, "vlc16x16.png"); ++ gtk_widget_show (tmp_image); ++ tbAbout = (GtkWidget*) gtk_tool_button_new (tmp_image, _("About")); + gtk_widget_set_name (tbAbout, "tbAbout"); + gtk_widget_show (tbAbout); ++ gtk_container_add (GTK_CONTAINER (toolbar), tbAbout); + gtk_widget_set_size_request (tbAbout, 22, 22); ++ gtk_tool_item_set_tooltip (GTK_TOOL_ITEM (tbAbout), tooltips, _("About"), NULL); ++ ++ toolitem1 = (GtkWidget*) gtk_tool_item_new (); ++ gtk_widget_set_name (toolitem1, "toolitem1"); ++ gtk_widget_show (toolitem1); ++ gtk_container_add (GTK_CONTAINER (toolbar), toolitem1); + +- timeLabel = gtk_label_new (_("00:00:00")); ++ timeLabel = gtk_label_new ("00:00:00"); + gtk_widget_set_name (timeLabel, "timeLabel"); + gtk_widget_show (timeLabel); +- gtk_toolbar_append_space (GTK_TOOLBAR (toolbar)); +- +- gtk_toolbar_append_widget (GTK_TOOLBAR (toolbar), timeLabel, NULL, NULL); ++ gtk_container_add (GTK_CONTAINER (toolitem1), timeLabel); + + timeSlider = gtk_hscale_new (GTK_ADJUSTMENT (gtk_adjustment_new (0, 0, 100, 1, 6.25, 0))); + gtk_widget_set_name (timeSlider, "timeSlider"); +@@ -372,8 +368,6 @@ + gtk_widget_set_name (vbox5, "vbox5"); + gtk_widget_show (vbox5); + gtk_container_add (GTK_CONTAINER (notebook), vbox5); +- gtk_notebook_set_tab_label_packing (GTK_NOTEBOOK (notebook), vbox5, +- TRUE, TRUE, GTK_PACK_START); + + hbox12 = gtk_hbox_new (FALSE, 0); + gtk_widget_set_name (hbox12, "hbox12"); +@@ -393,13 +387,13 @@ + gtk_widget_set_name (comboMRL, "comboMRL"); + gtk_widget_show (comboMRL); + gtk_box_pack_start (GTK_BOX (hbox12), comboMRL, TRUE, TRUE, 0); +- comboMRL_items = g_list_append (comboMRL_items, (gpointer) "udp://@:1234"); +- comboMRL_items = g_list_append (comboMRL_items, (gpointer) "udp6://@:1234"); +- comboMRL_items = g_list_append (comboMRL_items, (gpointer) "rtp://"); +- comboMRL_items = g_list_append (comboMRL_items, (gpointer) "rtp6://"); +- comboMRL_items = g_list_append (comboMRL_items, (gpointer) "ftp://"); +- comboMRL_items = g_list_append (comboMRL_items, (gpointer) "http://"); +- comboMRL_items = g_list_append (comboMRL_items, (gpointer) "mms://"); ++ comboMRL_items = g_list_append (comboMRL_items, (gpointer) _("udp://@:1234")); ++ comboMRL_items = g_list_append (comboMRL_items, (gpointer) _("udp6://@:1234")); ++ comboMRL_items = g_list_append (comboMRL_items, (gpointer) _("rtp://")); ++ comboMRL_items = g_list_append (comboMRL_items, (gpointer) _("rtp6://")); ++ comboMRL_items = g_list_append (comboMRL_items, (gpointer) _("ftp://")); ++ comboMRL_items = g_list_append (comboMRL_items, (gpointer) _("http://")); ++ comboMRL_items = g_list_append (comboMRL_items, (gpointer) _("mms://")); + gtk_combo_set_popdown_strings (GTK_COMBO (comboMRL), comboMRL_items); + g_list_free (comboMRL_items); + +@@ -413,7 +407,7 @@ + gtk_widget_set_name (hseparator15, "hseparator15"); + gtk_widget_show (hseparator15); + gtk_box_pack_start (GTK_BOX (vbox5), hseparator15, FALSE, FALSE, 0); +- gtk_widget_set_size_request (hseparator15, -2, 10); ++ gtk_widget_set_size_request (hseparator15, -1, 10); + + table2 = gtk_table_new (6, 2, FALSE); + gtk_widget_set_name (table2, "table2"); +@@ -426,7 +420,6 @@ + gtk_table_attach (GTK_TABLE (table2), labelNetworkPort, 0, 1, 0, 1, + (GtkAttachOptions) (GTK_FILL), + (GtkAttachOptions) (0), 0, 0); +- gtk_label_set_justify (GTK_LABEL (labelNetworkPort), GTK_JUSTIFY_LEFT); + gtk_misc_set_alignment (GTK_MISC (labelNetworkPort), 0, 0.5); + + labelNetworkAddress = gtk_label_new (_("Address:")); +@@ -435,7 +428,6 @@ + gtk_table_attach (GTK_TABLE (table2), labelNetworkAddress, 0, 1, 1, 2, + (GtkAttachOptions) (GTK_FILL), + (GtkAttachOptions) (0), 0, 0); +- gtk_label_set_justify (GTK_LABEL (labelNetworkAddress), GTK_JUSTIFY_LEFT); + gtk_misc_set_alignment (GTK_MISC (labelNetworkAddress), 0, 0.5); + + entryNetworkPort_adj = gtk_adjustment_new (1234, 0, 65535, 1, 10, 10); +@@ -484,7 +476,6 @@ + gtk_table_attach (GTK_TABLE (table2), labelNetworkType, 0, 1, 2, 3, + (GtkAttachOptions) (GTK_FILL), + (GtkAttachOptions) (0), 0, 0); +- gtk_label_set_justify (GTK_LABEL (labelNetworkType), GTK_JUSTIFY_LEFT); + gtk_misc_set_alignment (GTK_MISC (labelNetworkType), 0, 0.5); + + comboNetworkProtocolType = gtk_combo_new (); +@@ -516,7 +507,6 @@ + gtk_table_attach (GTK_TABLE (table2), labelNetworkProtocol, 0, 1, 3, 4, + (GtkAttachOptions) (GTK_FILL), + (GtkAttachOptions) (0), 0, 0); +- gtk_label_set_justify (GTK_LABEL (labelNetworkProtocol), GTK_JUSTIFY_LEFT); + gtk_misc_set_alignment (GTK_MISC (labelNetworkProtocol), 0, 0.5); + + labelNetworkTranscode = gtk_label_new (_("Transcode:")); +@@ -525,7 +515,6 @@ + gtk_table_attach (GTK_TABLE (table2), labelNetworkTranscode, 0, 1, 4, 5, + (GtkAttachOptions) (GTK_FILL), + (GtkAttachOptions) (0), 0, 0); +- gtk_label_set_justify (GTK_LABEL (labelNetworkTranscode), GTK_JUSTIFY_LEFT); + gtk_misc_set_alignment (GTK_MISC (labelNetworkTranscode), 0, 0.5); + + checkNetworkTranscode = gtk_check_button_new_with_mnemonic (_("enable")); +@@ -578,7 +567,6 @@ + gtk_table_attach (GTK_TABLE (tableV4L), labelV4lVideDevice, 0, 1, 0, 1, + (GtkAttachOptions) (GTK_FILL), + (GtkAttachOptions) (0), 0, 0); +- gtk_label_set_justify (GTK_LABEL (labelV4lVideDevice), GTK_JUSTIFY_LEFT); + gtk_misc_set_alignment (GTK_MISC (labelV4lVideDevice), 0, 0.5); + + labelV4LAudioDevice = gtk_label_new (_("Audio:")); +@@ -587,7 +575,6 @@ + gtk_table_attach (GTK_TABLE (tableV4L), labelV4LAudioDevice, 0, 1, 1, 2, + (GtkAttachOptions) (GTK_FILL), + (GtkAttachOptions) (0), 0, 0); +- gtk_label_set_justify (GTK_LABEL (labelV4LAudioDevice), GTK_JUSTIFY_LEFT); + gtk_misc_set_alignment (GTK_MISC (labelV4LAudioDevice), 0, 0.5); + + labelV4LChannel = gtk_label_new (_("Channel:")); +@@ -596,7 +583,6 @@ + gtk_table_attach (GTK_TABLE (tableV4L), labelV4LChannel, 0, 1, 2, 3, + (GtkAttachOptions) (GTK_FILL), + (GtkAttachOptions) (0), 0, 0); +- gtk_label_set_justify (GTK_LABEL (labelV4LChannel), GTK_JUSTIFY_LEFT); + gtk_misc_set_alignment (GTK_MISC (labelV4LChannel), 0, 0.5); + + labelV4LNorm = gtk_label_new (_("Norm:")); +@@ -605,7 +591,6 @@ + gtk_table_attach (GTK_TABLE (tableV4L), labelV4LNorm, 0, 1, 3, 4, + (GtkAttachOptions) (GTK_FILL), + (GtkAttachOptions) (0), 0, 0); +- gtk_label_set_justify (GTK_LABEL (labelV4LNorm), GTK_JUSTIFY_LEFT); + gtk_misc_set_alignment (GTK_MISC (labelV4LNorm), 0, 0.5); + + labelV4LSize = gtk_label_new (_("Size:")); +@@ -614,7 +599,6 @@ + gtk_table_attach (GTK_TABLE (tableV4L), labelV4LSize, 0, 1, 4, 5, + (GtkAttachOptions) (GTK_FILL), + (GtkAttachOptions) (0), 0, 0); +- gtk_label_set_justify (GTK_LABEL (labelV4LSize), GTK_JUSTIFY_LEFT); + gtk_misc_set_alignment (GTK_MISC (labelV4LSize), 0, 0.5); + + labelV4LFrequency = gtk_label_new (_("Frequency:")); +@@ -623,7 +607,6 @@ + gtk_table_attach (GTK_TABLE (tableV4L), labelV4LFrequency, 0, 1, 5, 6, + (GtkAttachOptions) (GTK_FILL), + (GtkAttachOptions) (0), 0, 0); +- gtk_label_set_justify (GTK_LABEL (labelV4LFrequency), GTK_JUSTIFY_LEFT); + gtk_misc_set_alignment (GTK_MISC (labelV4LFrequency), 0, 0.5); + + labelV4LSampleRate = gtk_label_new (_("Samplerate:")); +@@ -632,7 +615,6 @@ + gtk_table_attach (GTK_TABLE (tableV4L), labelV4LSampleRate, 0, 1, 6, 7, + (GtkAttachOptions) (GTK_FILL), + (GtkAttachOptions) (0), 0, 0); +- gtk_label_set_justify (GTK_LABEL (labelV4LSampleRate), GTK_JUSTIFY_LEFT); + gtk_misc_set_alignment (GTK_MISC (labelV4LSampleRate), 0, 0.5); + + labelV4LQuality = gtk_label_new (_("Quality:")); +@@ -641,7 +623,6 @@ + gtk_table_attach (GTK_TABLE (tableV4L), labelV4LQuality, 0, 1, 7, 8, + (GtkAttachOptions) (GTK_FILL), + (GtkAttachOptions) (0), 0, 0); +- gtk_label_set_justify (GTK_LABEL (labelV4LQuality), GTK_JUSTIFY_LEFT); + gtk_misc_set_alignment (GTK_MISC (labelV4LQuality), 0, 0.5); + + labelV4LTuner = gtk_label_new (_("Tuner:")); +@@ -650,7 +631,6 @@ + gtk_table_attach (GTK_TABLE (tableV4L), labelV4LTuner, 0, 1, 9, 10, + (GtkAttachOptions) (GTK_FILL), + (GtkAttachOptions) (0), 0, 0); +- gtk_label_set_justify (GTK_LABEL (labelV4LTuner), GTK_JUSTIFY_LEFT); + gtk_misc_set_alignment (GTK_MISC (labelV4LTuner), 0, 0.5); + + labelV4LSoundDirection = gtk_label_new (_("Sound:")); +@@ -659,7 +639,6 @@ + gtk_table_attach (GTK_TABLE (tableV4L), labelV4LSoundDirection, 0, 1, 8, 9, + (GtkAttachOptions) (GTK_FILL), + (GtkAttachOptions) (0), 0, 0); +- gtk_label_set_justify (GTK_LABEL (labelV4LSoundDirection), GTK_JUSTIFY_LEFT); + gtk_misc_set_alignment (GTK_MISC (labelV4LSoundDirection), 0, 0.5); + + labelV4LMJPEG = gtk_label_new (_("MJPEG:")); +@@ -668,7 +647,6 @@ + gtk_table_attach (GTK_TABLE (tableV4L), labelV4LMJPEG, 0, 1, 10, 11, + (GtkAttachOptions) (GTK_FILL), + (GtkAttachOptions) (0), 0, 0); +- gtk_label_set_justify (GTK_LABEL (labelV4LMJPEG), GTK_JUSTIFY_LEFT); + gtk_misc_set_alignment (GTK_MISC (labelV4LMJPEG), 0, 0.5); + + labelV4LDecimation = gtk_label_new (_("Decimation:")); +@@ -677,7 +655,6 @@ + gtk_table_attach (GTK_TABLE (tableV4L), labelV4LDecimation, 0, 1, 11, 12, + (GtkAttachOptions) (GTK_FILL), + (GtkAttachOptions) (0), 0, 0); +- gtk_label_set_justify (GTK_LABEL (labelV4LDecimation), GTK_JUSTIFY_LEFT); + gtk_misc_set_alignment (GTK_MISC (labelV4LDecimation), 0, 0.5); + + comboV4lVideoDevice = gtk_combo_new (); +@@ -689,9 +666,9 @@ + (GtkAttachOptions) (GTK_EXPAND | GTK_SHRINK | GTK_FILL), + (GtkAttachOptions) (0), 0, 0); + gtk_combo_set_value_in_list (GTK_COMBO (comboV4lVideoDevice), TRUE, TRUE); +- comboV4lVideoDevice_items = g_list_append (comboV4lVideoDevice_items, (gpointer) "/dev/video"); +- comboV4lVideoDevice_items = g_list_append (comboV4lVideoDevice_items, (gpointer) "/dev/video0"); +- comboV4lVideoDevice_items = g_list_append (comboV4lVideoDevice_items, (gpointer) "/dev/video1"); ++ comboV4lVideoDevice_items = g_list_append (comboV4lVideoDevice_items, (gpointer) _("/dev/video")); ++ comboV4lVideoDevice_items = g_list_append (comboV4lVideoDevice_items, (gpointer) _("/dev/video0")); ++ comboV4lVideoDevice_items = g_list_append (comboV4lVideoDevice_items, (gpointer) _("/dev/video1")); + gtk_combo_set_popdown_strings (GTK_COMBO (comboV4lVideoDevice), comboV4lVideoDevice_items); + g_list_free (comboV4lVideoDevice_items); + +@@ -708,10 +685,10 @@ + gtk_table_attach (GTK_TABLE (tableV4L), comboV4lAudioDevice, 1, 2, 1, 2, + (GtkAttachOptions) (GTK_EXPAND | GTK_SHRINK | GTK_FILL), + (GtkAttachOptions) (0), 0, 0); +- comboV4lAudioDevice_items = g_list_append (comboV4lAudioDevice_items, (gpointer) "/dev/dsp"); +- comboV4lAudioDevice_items = g_list_append (comboV4lAudioDevice_items, (gpointer) "/dev/audio"); +- comboV4lAudioDevice_items = g_list_append (comboV4lAudioDevice_items, (gpointer) "/dev/audio0"); +- comboV4lAudioDevice_items = g_list_append (comboV4lAudioDevice_items, (gpointer) "/dev/audio1"); ++ comboV4lAudioDevice_items = g_list_append (comboV4lAudioDevice_items, (gpointer) _("/dev/dsp")); ++ comboV4lAudioDevice_items = g_list_append (comboV4lAudioDevice_items, (gpointer) _("/dev/audio")); ++ comboV4lAudioDevice_items = g_list_append (comboV4lAudioDevice_items, (gpointer) _("/dev/audio0")); ++ comboV4lAudioDevice_items = g_list_append (comboV4lAudioDevice_items, (gpointer) _("/dev/audio1")); + gtk_combo_set_popdown_strings (GTK_COMBO (comboV4lAudioDevice), comboV4lAudioDevice_items); + g_list_free (comboV4lAudioDevice_items); + +@@ -851,7 +828,6 @@ + gtk_table_attach (GTK_TABLE (tableV4L), labelV4LTranscode, 0, 1, 12, 13, + (GtkAttachOptions) (GTK_FILL), + (GtkAttachOptions) (0), 0, 0); +- gtk_label_set_justify (GTK_LABEL (labelV4LTranscode), GTK_JUSTIFY_LEFT); + gtk_misc_set_alignment (GTK_MISC (labelV4LTranscode), 0, 0.5); + + checkV4LTranscode = gtk_check_button_new_with_mnemonic (_("enable")); +@@ -875,7 +851,6 @@ + gtk_widget_set_name (Camera, "Camera"); + gtk_widget_show (Camera); + gtk_notebook_set_tab_label (GTK_NOTEBOOK (notebook), gtk_notebook_get_nth_page (GTK_NOTEBOOK (notebook), 2), Camera); +- gtk_label_set_justify (GTK_LABEL (Camera), GTK_JUSTIFY_LEFT); + + vbox1 = gtk_vbox_new (FALSE, 0); + gtk_widget_set_name (vbox1, "vbox1"); +@@ -904,7 +879,6 @@ + gtk_table_attach (GTK_TABLE (tableTranscode), labelVideoCodec, 0, 1, 0, 1, + (GtkAttachOptions) (GTK_FILL), + (GtkAttachOptions) (0), 0, 0); +- gtk_label_set_justify (GTK_LABEL (labelVideoCodec), GTK_JUSTIFY_LEFT); + gtk_misc_set_alignment (GTK_MISC (labelVideoCodec), 0, 0.5); + + comboVideoCodec = gtk_combo_new (); +@@ -936,7 +910,6 @@ + gtk_table_attach (GTK_TABLE (tableTranscode), labelVideoBitrate, 0, 1, 1, 2, + (GtkAttachOptions) (GTK_FILL), + (GtkAttachOptions) (0), 0, 0); +- gtk_label_set_justify (GTK_LABEL (labelVideoBitrate), GTK_JUSTIFY_LEFT); + gtk_misc_set_alignment (GTK_MISC (labelVideoBitrate), 0, 0.5); + + labelVideoBitrateTolerance = gtk_label_new (_("Bitrate Tolerance:")); +@@ -945,7 +918,6 @@ + gtk_table_attach (GTK_TABLE (tableTranscode), labelVideoBitrateTolerance, 0, 1, 2, 3, + (GtkAttachOptions) (GTK_FILL), + (GtkAttachOptions) (0), 0, 0); +- gtk_label_set_justify (GTK_LABEL (labelVideoBitrateTolerance), GTK_JUSTIFY_LEFT); + gtk_misc_set_alignment (GTK_MISC (labelVideoBitrateTolerance), 0, 0.5); + + labelVideoKeyInterval = gtk_label_new (_("Keyframe Interval:")); +@@ -954,7 +926,6 @@ + gtk_table_attach (GTK_TABLE (tableTranscode), labelVideoKeyInterval, 0, 1, 3, 4, + (GtkAttachOptions) (GTK_FILL), + (GtkAttachOptions) (0), 0, 0); +- gtk_label_set_justify (GTK_LABEL (labelVideoKeyInterval), GTK_JUSTIFY_LEFT); + gtk_misc_set_alignment (GTK_MISC (labelVideoKeyInterval), 0, 0.5); + + labelAudioCodec = gtk_label_new (_("Audio Codec:")); +@@ -963,7 +934,6 @@ + gtk_table_attach (GTK_TABLE (tableTranscode), labelAudioCodec, 0, 1, 5, 6, + (GtkAttachOptions) (GTK_FILL), + (GtkAttachOptions) (0), 0, 0); +- gtk_label_set_justify (GTK_LABEL (labelAudioCodec), GTK_JUSTIFY_LEFT); + gtk_misc_set_alignment (GTK_MISC (labelAudioCodec), 0, 0.5); + + labelVideoDeinterlace = gtk_label_new (_("Deinterlace:")); +@@ -972,7 +942,6 @@ + gtk_table_attach (GTK_TABLE (tableTranscode), labelVideoDeinterlace, 0, 1, 4, 5, + (GtkAttachOptions) (GTK_FILL), + (GtkAttachOptions) (0), 0, 0); +- gtk_label_set_justify (GTK_LABEL (labelVideoDeinterlace), GTK_JUSTIFY_LEFT); + gtk_misc_set_alignment (GTK_MISC (labelVideoDeinterlace), 0, 0.5); + + labelStdAccess = gtk_label_new (_("Access:")); +@@ -981,7 +950,6 @@ + gtk_table_attach (GTK_TABLE (tableTranscode), labelStdAccess, 0, 1, 7, 8, + (GtkAttachOptions) (GTK_FILL), + (GtkAttachOptions) (0), 0, 0); +- gtk_label_set_justify (GTK_LABEL (labelStdAccess), GTK_JUSTIFY_LEFT); + gtk_misc_set_alignment (GTK_MISC (labelStdAccess), 0, 0.5); + + labelStdMuxer = gtk_label_new (_("Muxer:")); +@@ -990,7 +958,6 @@ + gtk_table_attach (GTK_TABLE (tableTranscode), labelStdMuxer, 0, 1, 8, 9, + (GtkAttachOptions) (GTK_FILL), + (GtkAttachOptions) (0), 0, 0); +- gtk_label_set_justify (GTK_LABEL (labelStdMuxer), GTK_JUSTIFY_LEFT); + gtk_misc_set_alignment (GTK_MISC (labelStdMuxer), 0, 0.5); + + labelStdUrl = gtk_label_new (_("URL:")); +@@ -999,7 +966,6 @@ + gtk_table_attach (GTK_TABLE (tableTranscode), labelStdUrl, 0, 1, 9, 10, + (GtkAttachOptions) (GTK_FILL), + (GtkAttachOptions) (0), 0, 0); +- gtk_label_set_justify (GTK_LABEL (labelStdUrl), GTK_JUSTIFY_LEFT); + gtk_misc_set_alignment (GTK_MISC (labelStdUrl), 0, 0.5); + + labelStdTimeToLive = gtk_label_new (_("Time To Live (TTL):")); +@@ -1008,7 +974,6 @@ + gtk_table_attach (GTK_TABLE (tableTranscode), labelStdTimeToLive, 0, 1, 10, 11, + (GtkAttachOptions) (GTK_FILL), + (GtkAttachOptions) (0), 0, 0); +- gtk_label_set_justify (GTK_LABEL (labelStdTimeToLive), GTK_JUSTIFY_LEFT); + gtk_misc_set_alignment (GTK_MISC (labelStdTimeToLive), 0, 0.5); + + entryStdTTL_adj = gtk_adjustment_new (1, 0, 100, 1, 10, 10); +@@ -1047,14 +1012,14 @@ + gtk_table_attach (GTK_TABLE (tableTranscode), comboStdMuxer, 1, 2, 8, 9, + (GtkAttachOptions) (GTK_EXPAND | GTK_FILL), + (GtkAttachOptions) (0), 0, 0); +- comboStdMuxer_items = g_list_append (comboStdMuxer_items, (gpointer) _("PS")); +- comboStdMuxer_items = g_list_append (comboStdMuxer_items, (gpointer) _("TS")); +- comboStdMuxer_items = g_list_append (comboStdMuxer_items, (gpointer) _("MPEG1")); +- comboStdMuxer_items = g_list_append (comboStdMuxer_items, (gpointer) _("AVI")); +- comboStdMuxer_items = g_list_append (comboStdMuxer_items, (gpointer) _("OGG")); +- comboStdMuxer_items = g_list_append (comboStdMuxer_items, (gpointer) _("MP4")); +- comboStdMuxer_items = g_list_append (comboStdMuxer_items, (gpointer) _("MOV")); +- comboStdMuxer_items = g_list_append (comboStdMuxer_items, (gpointer) _("ASF")); ++ comboStdMuxer_items = g_list_append (comboStdMuxer_items, (gpointer) _("ps")); ++ comboStdMuxer_items = g_list_append (comboStdMuxer_items, (gpointer) _("ts")); ++ comboStdMuxer_items = g_list_append (comboStdMuxer_items, (gpointer) _("mpeg1")); ++ comboStdMuxer_items = g_list_append (comboStdMuxer_items, (gpointer) _("avi")); ++ comboStdMuxer_items = g_list_append (comboStdMuxer_items, (gpointer) _("ogg")); ++ comboStdMuxer_items = g_list_append (comboStdMuxer_items, (gpointer) _("mp4")); ++ comboStdMuxer_items = g_list_append (comboStdMuxer_items, (gpointer) _("mov")); ++ comboStdMuxer_items = g_list_append (comboStdMuxer_items, (gpointer) _("asf")); + gtk_combo_set_popdown_strings (GTK_COMBO (comboStdMuxer), comboStdMuxer_items); + g_list_free (comboStdMuxer_items); + +@@ -1111,7 +1076,7 @@ + (GtkAttachOptions) (0), 0, 0); + gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (entryVideoKeyFrameInterval), TRUE); + +- entryVideoBitrateTolerance_adj = gtk_adjustment_new (800000, 0, 1e+06, 1, 10, 10); ++ entryVideoBitrateTolerance_adj = gtk_adjustment_new (800000, 0, 1000000, 1, 10, 10); + entryVideoBitrateTolerance = gtk_spin_button_new (GTK_ADJUSTMENT (entryVideoBitrateTolerance_adj), 1, 0); + gtk_widget_set_name (entryVideoBitrateTolerance, "entryVideoBitrateTolerance"); + gtk_widget_show (entryVideoBitrateTolerance); +@@ -1137,7 +1102,6 @@ + gtk_table_attach (GTK_TABLE (tableTranscode), labelAudioBitrate, 0, 1, 6, 7, + (GtkAttachOptions) (GTK_FILL), + (GtkAttachOptions) (0), 0, 0); +- gtk_label_set_justify (GTK_LABEL (labelAudioBitrate), GTK_JUSTIFY_LEFT); + gtk_misc_set_alignment (GTK_MISC (labelAudioBitrate), 0, 0.5); + + comboStdAccess = gtk_combo_new (); +@@ -1160,7 +1124,6 @@ + gtk_table_attach (GTK_TABLE (tableTranscode), labelSAP, 0, 1, 11, 12, + (GtkAttachOptions) (GTK_FILL), + (GtkAttachOptions) (0), 0, 0); +- gtk_label_set_justify (GTK_LABEL (labelSAP), GTK_JUSTIFY_LEFT); + gtk_misc_set_alignment (GTK_MISC (labelSAP), 0, 0.5); + + checkSAP = gtk_check_button_new_with_mnemonic (_("enable")); +@@ -1183,7 +1146,6 @@ + gtk_table_attach (GTK_TABLE (tableTranscode), labelSLP_, 0, 1, 12, 13, + (GtkAttachOptions) (GTK_FILL), + (GtkAttachOptions) (0), 0, 0); +- gtk_label_set_justify (GTK_LABEL (labelSLP_), GTK_JUSTIFY_LEFT); + gtk_misc_set_alignment (GTK_MISC (labelSLP_), 0, 0.5); + + labelAnounceChannel = gtk_label_new (_("Announce Channel:")); +@@ -1192,7 +1154,6 @@ + gtk_table_attach (GTK_TABLE (tableTranscode), labelAnounceChannel, 0, 1, 13, 14, + (GtkAttachOptions) (GTK_FILL), + (GtkAttachOptions) (0), 0, 0); +- gtk_label_set_justify (GTK_LABEL (labelAnounceChannel), GTK_JUSTIFY_LEFT); + gtk_misc_set_alignment (GTK_MISC (labelAnounceChannel), 0, 0.5); + + comboAnnounceChannel = gtk_combo_new (); +@@ -1335,28 +1296,28 @@ + gtk_widget_show (labelDescription); + gtk_fixed_put (GTK_FIXED (fixed2), labelDescription, 16, 112); + gtk_widget_set_size_request (labelDescription, 200, 112); +- gtk_label_set_justify (GTK_LABEL (labelDescription), GTK_JUSTIFY_LEFT); + gtk_label_set_line_wrap (GTK_LABEL (labelDescription), TRUE); + ++ labelCopyright = gtk_label_new (_("(c) 1996-2004 the VideoLAN team")); ++ gtk_widget_set_name (labelCopyright, "labelCopyright"); ++ gtk_widget_show (labelCopyright); ++ gtk_fixed_put (GTK_FIXED (fixed2), labelCopyright, 16, 48); ++ gtk_widget_set_size_request (labelCopyright, 208, 16); ++ gtk_label_set_justify (GTK_LABEL (labelCopyright), GTK_JUSTIFY_CENTER); ++ + labelAuthors = gtk_label_new (_("Authors: the VideoLAN Team, http://www.videolan.org/team/")); + gtk_widget_set_name (labelAuthors, "labelAuthors"); + gtk_widget_show (labelAuthors); + gtk_fixed_put (GTK_FIXED (fixed2), labelAuthors, 16, 72); + gtk_widget_set_size_request (labelAuthors, 208, 32); +- gtk_label_set_justify (GTK_LABEL (labelAuthors), GTK_JUSTIFY_LEFT); + gtk_label_set_line_wrap (GTK_LABEL (labelAuthors), TRUE); + +- labelCopyright = gtk_label_new (_("(c) 1996-2004 the the VideoLAN team team")); +- gtk_widget_set_name (labelCopyright, "labelCopyright"); +- gtk_widget_show (labelCopyright); +- gtk_fixed_put (GTK_FIXED (fixed2), labelCopyright, 16, 48); +- gtk_widget_set_size_request (labelCopyright, 208, 16); +- + labelProgramName = gtk_label_new (_("VLC media player")); + gtk_widget_set_name (labelProgramName, "labelProgramName"); + gtk_widget_show (labelProgramName); + gtk_fixed_put (GTK_FIXED (fixed2), labelProgramName, 48, 16); + gtk_widget_set_size_request (labelProgramName, 152, 16); ++ gtk_label_set_justify (GTK_LABEL (labelProgramName), GTK_JUSTIFY_CENTER); + gtk_label_set_line_wrap (GTK_LABEL (labelProgramName), TRUE); + + about = gtk_label_new (_("About")); +@@ -1459,12 +1420,15 @@ + GLADE_HOOKUP_OBJECT_NO_REF (pda, pda, "pda"); + GLADE_HOOKUP_OBJECT (pda, vbox, "vbox"); + GLADE_HOOKUP_OBJECT (pda, toolbar, "toolbar"); ++ GLADE_HOOKUP_OBJECT (pda, separatortoolitem1, "separatortoolitem1"); + GLADE_HOOKUP_OBJECT (pda, tbRewind, "tbRewind"); + GLADE_HOOKUP_OBJECT (pda, tbPause, "tbPause"); + GLADE_HOOKUP_OBJECT (pda, tbPlay, "tbPlay"); + GLADE_HOOKUP_OBJECT (pda, tbStop, "tbStop"); + GLADE_HOOKUP_OBJECT (pda, tbForward, "tbForward"); ++ GLADE_HOOKUP_OBJECT (pda, separatortoolitem2, "separatortoolitem2"); + GLADE_HOOKUP_OBJECT (pda, tbAbout, "tbAbout"); ++ GLADE_HOOKUP_OBJECT (pda, toolitem1, "toolitem1"); + GLADE_HOOKUP_OBJECT (pda, timeLabel, "timeLabel"); + GLADE_HOOKUP_OBJECT (pda, timeSlider, "timeSlider"); + GLADE_HOOKUP_OBJECT (pda, notebook, "notebook"); +@@ -1599,8 +1563,8 @@ + GLADE_HOOKUP_OBJECT (pda, fixed2, "fixed2"); + GLADE_HOOKUP_OBJECT (pda, aboutImage, "aboutImage"); + GLADE_HOOKUP_OBJECT (pda, labelDescription, "labelDescription"); +- GLADE_HOOKUP_OBJECT (pda, labelAuthors, "labelAuthors"); + GLADE_HOOKUP_OBJECT (pda, labelCopyright, "labelCopyright"); ++ GLADE_HOOKUP_OBJECT (pda, labelAuthors, "labelAuthors"); + GLADE_HOOKUP_OBJECT (pda, labelProgramName, "labelProgramName"); + GLADE_HOOKUP_OBJECT (pda, about, "about"); + GLADE_HOOKUP_OBJECT_NO_REF (pda, tooltips, "tooltips"); +diff -ur vlc-0.8.4a/modules/gui/pda/pda_support.h vlc-0.8.4a-pda/modules/gui/pda/pda_support.h +--- vlc-0.8.4a/modules/gui/pda/pda_support.h 2005-12-11 22:36:19.000000000 +0100 ++++ vlc-0.8.4a-pda/modules/gui/pda/pda_support.h 2006-04-05 10:50:39.000000000 +0200 +@@ -15,6 +15,7 @@ + # include + # undef _ + # define _(String) dgettext (PACKAGE, String) ++# define Q_(String) g_strip_context ((String), gettext (String)) + # ifdef gettext_noop + # define N_(String) gettext_noop (String) + # else +@@ -27,6 +28,7 @@ + # define dcgettext(Domain,Message,Type) (Message) + # define bindtextdomain(Domain,Directory) (Domain) + # define _(String) (String) ++# define Q_(String) g_strip_context ((String), (String)) + # define N_(String) (String) + #endif + diff --git a/recipes/vlc/vlc-gpe_0.7.2.bb b/recipes/vlc/vlc-gpe_0.7.2.bb new file mode 100644 index 0000000000..8b09103a7f --- /dev/null +++ b/recipes/vlc/vlc-gpe_0.7.2.bb @@ -0,0 +1,80 @@ +DESCRIPTION = "Video player and streamer - GPE edition" +HOMEPAGE = "http://www.videolan.org" +LICENSE = "GPL" +PRIORITY = "optional" +SECTION = "x11/multimedia" +PR = "r3" + +DEPENDS = "faad2 ffmpeg flac \ + ${@base_conditional('ENTERPRISE_DISTRO', '1', '', 'libmad libid3tag liba52 mpeg2dec', d)}" + +SRC_URI = "http://download.videolan.org/pub/videolan/vlc/${PV}/vlc-${PV}.tar.gz" +S = "${WORKDIR}/vlc-${PV}" + +inherit autotools + +EXTRA_OECONF = "--disable-plugins \ + --disable-gtk \ + --disable-gtk2 \ + --disable-gnome \ + --disable-gnome2 \ + --disable-qt \ + --disable-kde \ + --disable-qte \ + --disable-xosd \ + --disable-ogg \ + --disable-tarkin \ + --disable-tremor \ + --disable-theorea \ + --disable-skins \ + --disable-skins2 \ + --disable-sdl \ + --disable-v4l \ + --enable-sout \ + --enable-dummy \ + --enable-fb \ + --enable-oss \ + --disable-alsa \ + --enable-x11 \ + --disable-xvideo \ + --disable-dvd \ + --disable-dvdplay \ + --disable-dvdread \ + --disable-dvdnav \ + --disable-libcdio \ + --disable-libcddb \ + --disable-vcdx \ + --disable-vcd \ + --disable-maxosx \ + --disable-goom \ + --disable-speex \ + --disable-visual \ + --enable-freetype \ + --disable-fribidi \ + --enable-a52 \ + --enable-faad \ + --enable-flac \ + --enable-libmpeg2 \ + --enable-dvbpsi \ + --disable-mkv \ + --enable-mad \ + --enable-id3tag \ + --enable-ffmpeg \ + --disable-slp \ + --enable-pda \ + --with-ffmpeg-mp3lame \ + --with-ffmpeg-faac" + +do_install() { + autotools_do_install + + install -d ${D}${datadir}/applications + install -m 644 ipkg/vlc.gpe ${D}${datadir}/applications/vlc-gpe.desktop +} + +FILES_${PN} = "${bindir}/vlc \ + ${datadir}/applications \ + ${datadir}/vlc/pda-* \ + ${datadir}/vlc/vlc*png \ + ${datadir}/vlc/vlc*xpm \ + ${datadir}/vlc/http" diff --git a/recipes/vlc/vlc-gpe_0.8.1.bb b/recipes/vlc/vlc-gpe_0.8.1.bb new file mode 100644 index 0000000000..7852521179 --- /dev/null +++ b/recipes/vlc/vlc-gpe_0.8.1.bb @@ -0,0 +1,87 @@ +DESCRIPTION = "Video player and streamer - GPE edition" +HOMEPAGE = "http://www.videolan.org" +LICENSE = "GPL" +PRIORITY = "optional" +SECTION = "x11/multimedia" +PR = "r6" + +DEPENDS = "gtk+ freetype gnutls tremor faad2 ffmpeg flac \ + ${@base_conditional('ENTERPRISE_DISTRO', '1', '', 'libmad libid3tag liba52 mpeg2dec', d)}" + +SRC_URI = "http://download.videolan.org/pub/videolan/vlc/${PV}/vlc-${PV}.tar.gz \ + file://fix-pda.patch;patch=1 \ + file://vlc-tremor.patch;patch=1" +S = "${WORKDIR}/vlc-${PV}" + +inherit autotools + +EXTRA_OECONF = "--disable-plugins \ + --disable-httpd \ + --disable-vlm \ + --enable-gnutls \ + --disable-libcdio \ + --disable-libcddb \ + --disable-glx \ + --disable-libcdda \ + --disable-joystick \ + --disable-libcddax \ + --disable-gtk \ + --disable-opengl \ + --disable-gtk2 \ + --disable-gnome \ + --disable-gnome2 \ + --disable-qt \ + --disable-kde \ + --disable-qte \ + --disable-xosd \ + --enable-tremor \ + --disable-skins \ + --disable-skins2 \ + --disable-v4l \ + --enable-sout \ + --enable-dummy \ + --enable-fb \ + --enable-oss \ + --disable-alsa \ + --enable-x11 \ + --disable-xvideo \ + --disable-dvd \ + --disable-dvdplay \ + --disable-dvdread \ + --disable-dvdnav \ + --disable-libcdio \ + --disable-libcddb \ + --disable-vcdx \ + --disable-vcd \ + --disable-macosx \ + --disable-goom \ + --disable-speex \ + --disable-visual \ + --enable-freetype \ + --disable-fribidi \ + --enable-a52 \ + --enable-faad \ + --enable-flac \ + --enable-libmpeg2 \ + --enable-dvbpsi \ + --disable-mkv \ + --enable-mad \ + --enable-id3tag \ + --enable-ffmpeg \ + --disable-slp \ + --enable-pda \ + --with-ffmpeg-faac" + +do_install() { + autotools_do_install + + install -d ${D}${datadir}/applications + install -m 644 ipkg/vlc.gpe ${D}${datadir}/applications/vlc-gpe.desktop +} + +FILES_${PN} = "${bindir}/vlc \ + ${datadir}/applications \ + ${datadir}/vlc/pda-* \ + ${datadir}/vlc/vlc*png \ + ${datadir}/vlc/vlc*xpm \ + ${datadir}/vlc/http" diff --git a/recipes/vlc/vlc-gpe_0.8.4.bb b/recipes/vlc/vlc-gpe_0.8.4.bb new file mode 100644 index 0000000000..d7138ee69d --- /dev/null +++ b/recipes/vlc/vlc-gpe_0.8.4.bb @@ -0,0 +1,108 @@ +DESCRIPTION = "Video player and streamer - GPE edition" +HOMEPAGE = "http://www.videolan.org" +LICENSE = "GPL" +PRIORITY = "optional" +SECTION = "x11/multimedia" +PR = "r5" + +DEPENDS = "gtk+ freetype gnutls tremor faad2 ffmpeg flac \ + ${@base_conditional('ENTERPRISE_DISTRO', '1', '', 'libmad libid3tag liba52 mpeg2dec', d)}" + +SRC_URI = "http://download.videolan.org/pub/videolan/vlc/${PV}/vlc-${PV}.tar.gz \ + file://pda-interface.patch;patch=1" +S = "${WORKDIR}/vlc-${PV}" + +export GTK2_CFLAGS = "`${STAGING_BINDIR_NATIVE}/pkg-config --cflags gtk+-2.0 gthread-2.0`" +export GTK2_LIBS = "`${STAGING_BINDIR_NATIVE}/pkg-config --libs gtk+-2.0 gthread-2.0`" +export vlc_WORKAROUNDLDFLAGS = "lib/libvlc.a" + +LDFLAGS_append = " -L${STAGING_LIBDIR} -lpostproc" + +inherit autotools + +EXTRA_OECONF = "\ + --enable-sout \ + --disable-httpd \ + --disable-vlm \ + --enable-gnutls \ + --disable-dvdread \ + --disable-dvdnav \ + --disable-smb \ + --enable-dvbpsi \ + --disable-v4l \ + --disable-gnomevfs \ + --disable-libcdio \ + --disable-cddax \ + --disable-libcddb \ + --disable-vcdx \ + --disable-cdda \ + --disable-vcd \ + --disable-screen \ + --disable-ogg \ + --disable-mkv \ + --disable-mod \ + --disable-mpc \ + --enable-mad \ + --enable-ffmpeg \ + --enable-faad \ + --enable-a52 \ + --disable-dts \ + --enable-flac \ + --enable-libmpeg2 \ + --disable-vorbis \ + --enable-tremor \ + --disable-speex \ + --disable-tarkin \ + --disable-theora \ + --disable-png \ + --disable-x264 \ + --disable-cmml \ + --enable-x11 \ + --disable-xvideo \ + --disable-glx \ + --disable-opengl \ + --disable-sdl \ + --enable-freetype \ + --disable-fribidi \ + --disable-libxml2 \ + --disable-qte \ + --disable-qt-video \ + --enable-fb \ + --enable-oss \ + --disable-alsa \ + --disable-skins \ + --disable-skins2 \ + --disable-gtk \ + --disable-gtk2 \ + --enable-pda \ + --disable-gnome \ + --disable-gnome2 \ + --disable-wxwidgets \ + --disable-qt \ + --disable-kde \ + --disable-xosd \ + --disable-visual \ + --disable-goom \ + --disable-slp \ + --disable-daap \ + --disable-bonjour \ + --disable-joystick \ + --disable-plugins \ + --with-ffmpeg-mp3lame \ + --with-ffmpeg-faac \ + --with-ffmpeg-zlib \ +" + +do_install() { + autotools_do_install + + install -d ${D}${datadir}/applications + install -m 644 ipkg/vlc.gpe ${D}${datadir}/applications/vlc-gpe.desktop +} + +FILES_${PN} = "${bindir}/vlc \ + ${datadir}/applications \ + ${datadir}/vlc/pda-* \ + ${datadir}/vlc/vlc*png \ + ${datadir}/vlc/vlc*xpm \ + ${datadir}/vlc/http" diff --git a/recipes/vlc/vlc.inc b/recipes/vlc/vlc.inc new file mode 100644 index 0000000000..511d22675e --- /dev/null +++ b/recipes/vlc/vlc.inc @@ -0,0 +1,63 @@ +DESCRIPTION = "Video player and streamer - davinci edition" +HOMEPAGE = "http://www.videolan.org" +LICENSE = "GPL" +PRIORITY = "optional" +SECTION = "multimedia" + +DEPENDS = "libfribidi libtool hal gettext libgcrypt schroedinger libsdl-x11 qt4-x11-free dbus libxml2 gnutls tremor faad2 ffmpeg flac \ + ${@base_conditional('ENTERPRISE_DISTRO', '1', '', 'libmad libid3tag liba52 mpeg2dec', d)}" + +SRC_URI = "http://download.videolan.org/pub/videolan/vlc/${PV}/vlc-${PV}.tar.bz2" + +inherit autotools + +ARM_INSTRUCTION_SET = "arm" + +EXTRA_OECONF = "\ + --enable-libtool \ + --with-contrib \ + --enable-run-as-root \ + --disable-wxwidgets \ + --enable-x11 --enable-xvideo \ + --disable-screen --disable-caca \ + --enable-httpd --enable-vlm \ + --enable-freetype \ + --enable-sdl \ + --enable-png \ + --enable-live555 --enable-tremor \ + --enable-v4l2 --enable-v4l --disable-aa --enable-wma --disable-faad \ + --enable-dbus \ + --enable-hal \ + --without-contrib \ + --disable-opengl --disable-glx \ + --enable-realrtsp \ + ac_cv_path_MOC=${STAGING_BINDIR_NATIVE}/moc4 \ + ac_cv_path_RCC=${STAGING_BINDIR_NATIVE}/rcc4 \ + ac_cv_path_UIC=${STAGING_BINDIR_NATIVE}/uic4 \ +" + + +do_configure() { + cp ${STAGING_DATADIR}/aclocal/libgcrypt.m4 ${S}/m4/ + ./bootstrap + gnu-configize --force + libtoolize --force + #autoreconf --force -i + cp ${STAGING_DATADIR}/libtool/config.* ${S}/autotools/ + oe_runconf + rm config.log + sed -i -e s:-L/usr/lib:-L${STAGING_LIBDIR}/:g vlc-config + sed -i -e s:'$(MOC) $(DEFS) $(CPPFLAGS)':'$(MOC) $(DEFS)'\ -I${S}/include\ -DSYS_LINUX:g ${S}/modules/gui/qt4/Makefile +} + +do_stage() { + autotools_stage_all +} + + +FILES_${PN} += "${bindir}/vlc \ + ${datadir}/applications \ + ${datadir}/vlc/ \ + " + +FILES_${PN}-dbg += "${libdir}/vlc/*/.debug" diff --git a/recipes/vlc/vlc_0.9.2.bb b/recipes/vlc/vlc_0.9.2.bb new file mode 100644 index 0000000000..509662b4ae --- /dev/null +++ b/recipes/vlc/vlc_0.9.2.bb @@ -0,0 +1,61 @@ +DESCRIPTION = "Video player and streamer - davinci edition" +HOMEPAGE = "http://www.videolan.org" +LICENSE = "GPL" +PRIORITY = "optional" +SECTION = "multimedia" + +PR = "r2" + +DEPENDS = "libtool hal gettext libgcrypt schroedinger libsdl-x11 qt4-x11-free dbus libxml2 gnutls tremor faad2 ffmpeg flac \ + ${@base_conditional('ENTERPRISE_DISTRO', '1', '', 'libmad libid3tag liba52 mpeg2dec', d)}" + +SRC_URI = "http://videolan.mirror.technotop.nl/vlc/0.9.2/vlc-${PV}.tar.bz2" + +inherit autotools + +EXTRA_OECONF = "\ + --enable-libtool \ + --with-contrib \ + --disable-dvdread \ + --disable-wxwidgets \ + --enable-x11 --enable-xvideo \ + --disable-screen --disable-caca \ + --enable-httpd --enable-vlm \ + --enable-freetype \ + --enable-sdl \ + --enable-png \ + --enable-live555 --enable-tremor \ + --enable-v4l2 --enable-v4l --disable-aa --enable-wma --disable-faad \ + --enable-dbus \ + --enable-hal \ + --without-contrib \ + ac_cv_path_MOC=${STAGING_BINDIR_NATIVE}/moc4 \ + ac_cv_path_RCC=${STAGING_BINDIR_NATIVE}/rcc4 \ + ac_cv_path_UIC=${STAGING_BINDIR_NATIVE}/uic4 \ +" + + +do_configure() { + cp ${STAGING_DATADIR}/aclocal/libgcrypt.m4 ${S}/m4/ + ./bootstrap + gnu-configize --force + libtoolize --force + #autoreconf --force -i + cp ${STAGING_DATADIR}/libtool/config.* ${S}/autotools/ + oe_runconf + rm config.log + sed -i -e s:-L/usr/lib:-L${STAGING_LIBDIR}/:g vlc-config + sed -i -e s:'$(MOC) $(DEFS) $(CPPFLAGS)':'$(MOC) $(DEFS)'\ -I${S}/include\ -DSYS_LINUX:g ${S}/modules/gui/qt4/Makefile +} + +do_stage() { + autotools_stage_all +} + + +FILES_${PN} += "${bindir}/vlc \ + ${datadir}/applications \ + ${datadir}/vlc/ \ + " + +FILES_${PN}-dbg += "${libdir}/vlc/*/.debug" diff --git a/recipes/vlc/vlc_0.9.6.bb b/recipes/vlc/vlc_0.9.6.bb new file mode 100644 index 0000000000..c8fc8fe7fc --- /dev/null +++ b/recipes/vlc/vlc_0.9.6.bb @@ -0,0 +1,2 @@ +require vlc.inc +PR = "r1" diff --git a/recipes/vlc/vlc_0.9.8a.bb b/recipes/vlc/vlc_0.9.8a.bb new file mode 100644 index 0000000000..6127579b67 --- /dev/null +++ b/recipes/vlc/vlc_0.9.8a.bb @@ -0,0 +1,46 @@ +# This recipe packages vlc as a library as well, so qt4 dependencies +# can be avoided when ony the library is installed. +# Would be cool if when newer vlc is added to OE and older ones are phased +# out that could be made the default. + +require vlc.inc + +PR = "r3" + +# ffmpeg from git (library version => 52) is required +# libtool-native must be >= 2.2.4 +DEPENDS += "libdvdcss libdvdread" + +EXTRA_OECONF += "\ + --enable-dvdread \ +" + +LEAD_SONAME = "libvlc.so.2" + +PACKAGES =+ "libvlc-dbg libvlc-dev libvlc" + +FILES_libvlc-dev = "${libdir}/lib*.so" + +FILES_libvlc-dbg = "\ + ${libdir}/.debug \ + ${libdir}/vlc/meta_engine/.debug \ + ${libdir}/vlc/audio_filter/.debug ${libdir}/vlc/audio_output/.debug \ + ${libdir}/vlc/demux/.debug ${libdir}/vlc/control/.debug \ + ${libdir}/vlc/gui/.debug ${libdir}/vlc/packetizer/.debug \ + ${libdir}/vlc/audio_mixer/.debug ${libdir}/vlc/stream_out/.debug \ + ${libdir}/vlc/mux/.debug ${libdir}/vlc/access/.debug \ + ${libdir}/vlc/visualization/.debug ${libdir}/vlc/access_filter/.debug \ + ${libdir}/vlc/access_output/.debug ${libdir}/vlc/video_output/.debug \ + ${libdir}/vlc/services_discovery/.debug ${libdir}/vlc/video_chroma/.debug \ + ${libdir}/vlc/video_codec/.debug ${libdir}/vlc/video_filter/.debug \ + ${libdir}/vlc/misc/.debug ${libdir}/vlc/codec/.debug \ + " + +FILES_libvlc = "${libdir}/lib*.so.*" + +FILES_${PN} += "${bindir}/vlc \ + ${datadir}/applications \ + ${datadir}/vlc/ \ + " + +FILES_${PN}-dbg += "${libdir}/vlc/*/.debug" diff --git a/recipes/vlc/x264_0.0.bb b/recipes/vlc/x264_0.0.bb new file mode 100644 index 0000000000..b716afc416 --- /dev/null +++ b/recipes/vlc/x264_0.0.bb @@ -0,0 +1,20 @@ +DESCRIPTION = "h264 encoder" +LICENSE = "GPL" + +X264PV = "snapshot-20090127-2245" + +SRC_URI = "http://download.videolan.org/pub/videolan/x264/snapshots/x264-${X264PV}.tar.bz2" + +S = "${WORKDIR}/${PN}-${X264PV}" + +inherit autotools lib_package + +EXTRA_OECONF = " --enable-shared " + +do_stage() { + autotools_stage_all +} + + + + -- cgit v1.2.3