summaryrefslogtreecommitdiff
path: root/packages/totem/files/gtkonly.patch
diff options
context:
space:
mode:
authorFrederic Bompart <frederic@unknown.openembedded.org>2005-09-20 07:18:17 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-09-20 07:18:17 +0000
commitdd088063c0542a8940f201b33ae6ce904198d9ea (patch)
tree9095d086f6cb03c4db531ad6941f5b5cc61ff937 /packages/totem/files/gtkonly.patch
parent00dc4d090496ec5391685e5c316b08c05c93448b (diff)
totem: version 1.0.2 now compiles
I removed version 0.101 which was marked as broken. A few fixes were needed to disable gnomeui code in totem-1.0.2. Don't even try to upgrade it to version 1.2.x for now: it has even more dependencies, such as a very recent version of gnome-vfs...
Diffstat (limited to 'packages/totem/files/gtkonly.patch')
-rw-r--r--packages/totem/files/gtkonly.patch38
1 files changed, 38 insertions, 0 deletions
diff --git a/packages/totem/files/gtkonly.patch b/packages/totem/files/gtkonly.patch
new file mode 100644
index 0000000000..8a7fbd2a0b
--- /dev/null
+++ b/packages/totem/files/gtkonly.patch
@@ -0,0 +1,38 @@
+
+#
+# Patch managed by http://www.holgerschurig.de/patcher.html
+#
+
+--- totem-1.0.4/src/totem.c~gtkonly
++++ totem-1.0.4/src/totem.c
+@@ -1667,8 +1667,10 @@
+ totem_action_set_mrl_and_play (totem, mrl);
+ g_free (mrl);
+
++#ifndef HAVE_GTK_ONLY
+ gnome_entry_append_history (GNOME_ENTRY (gentry),
+ TRUE, uri);
++#endif
+ }
+ }
+
+@@ -3593,7 +3595,9 @@
+ /* Properties */
+ totem->properties = bacon_video_widget_properties_new ();
+
++#ifndef HAVE_GTK_ONLY
+ totem_session_setup (totem, argv);
++#endif
+ totem_setup_recent (totem);
+ totem_callback_connect (totem);
+ totem_setup_window (totem);
+@@ -3617,7 +3621,9 @@
+ /* Command-line handling */
+ if (totem_options_process_late (totem, &argc, &argv) != FALSE)
+ {
++#ifndef HAVE_GTK_ONLY
+ totem_session_restore (totem, argv);
++#endif
+ } else if (argc >= 1 && totem_action_open_files (totem, argv)) {
+ totem_action_play_pause (totem);
+ } else {