summaryrefslogtreecommitdiffstats
path: root/multimedia/totem3/files
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/totem3/files')
-rw-r--r--multimedia/totem3/files/patch-browser-plugin_totemPluginGlue.cpp20
-rw-r--r--multimedia/totem3/files/patch-configure21
-rw-r--r--multimedia/totem3/files/patch-help_Makefile.in11
-rw-r--r--multimedia/totem3/files/pkg-message.in6
4 files changed, 58 insertions, 0 deletions
diff --git a/multimedia/totem3/files/patch-browser-plugin_totemPluginGlue.cpp b/multimedia/totem3/files/patch-browser-plugin_totemPluginGlue.cpp
new file mode 100644
index 000000000..6e697364d
--- /dev/null
+++ b/multimedia/totem3/files/patch-browser-plugin_totemPluginGlue.cpp
@@ -0,0 +1,20 @@
+--- browser-plugin/totemPluginGlue.cpp.orig 2008-03-15 18:00:23.000000000 -0500
++++ browser-plugin/totemPluginGlue.cpp 2008-03-15 18:01:54.000000000 -0500
+@@ -356,7 +356,7 @@
+ user_ini_file = g_build_filename (g_get_user_config_dir (),
+ "totem",
+ "browser-plugins.ini",
+- NULL);
++ (char *)NULL);
+ if (g_key_file_load_from_file (user,
+ user_ini_file,
+ G_KEY_FILE_NONE,
+@@ -439,7 +439,7 @@
+ /* we want to open libdbus-glib-1.so.2 in such a way
+ * in such a way that it becomes permanentely resident */
+ void *handle;
+- handle = dlopen ("libdbus-glib-1.so.2", RTLD_NOW | RTLD_NODELETE);
++ handle = dlopen ("libdbus-glib-1.so.2", RTLD_NOW);
+ if (!handle) {
+ fprintf (stderr, "%s\n", dlerror());
+ return NPERR_MODULE_LOAD_FAILED_ERROR;
diff --git a/multimedia/totem3/files/patch-configure b/multimedia/totem3/files/patch-configure
new file mode 100644
index 000000000..4c6a3519c
--- /dev/null
+++ b/multimedia/totem3/files/patch-configure
@@ -0,0 +1,21 @@
+--- configure.orig 2010-10-10 12:15:41.000000000 -0400
++++ configure 2010-10-10 12:18:12.000000000 -0400
+@@ -18343,7 +18343,7 @@ for good_element in gconfaudiosink gconf
+ do
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking GStreamer 0.10 $good_element plugin" >&5
+ $as_echo_n "checking GStreamer 0.10 $good_element plugin... " >&6; }
+- if $gst010_inspect $good_element >/dev/null 2>/dev/null; then
++ if dbus-launch $gst010_inspect $good_element >/dev/null 2>/dev/null; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+ $as_echo "yes" >&6; }
+ else
+@@ -21139,7 +21139,9 @@ if test "$enable_browser_plugins" = "yes
+ $as_echo "#define ENABLE_BROWSER_PLUGINS 1" >>confdefs.h
+
+
++if [ -z "${BROWSER_PLUGIN_DIR}" ]; then
+ BROWSER_PLUGIN_DIR="${BROWSER_PLUGIN_DIR:-"\${libdir}/mozilla/plugins"}"
++fi
+
+
+
diff --git a/multimedia/totem3/files/patch-help_Makefile.in b/multimedia/totem3/files/patch-help_Makefile.in
new file mode 100644
index 000000000..0695029ac
--- /dev/null
+++ b/multimedia/totem3/files/patch-help_Makefile.in
@@ -0,0 +1,11 @@
+--- help/Makefile.in.orig 2009-05-10 03:06:15.000000000 -0400
++++ help/Makefile.in 2009-05-10 03:06:29.000000000 -0400
+@@ -783,7 +783,7 @@ $(DOC_H_FILE): $(DOC_H_DOCS);
+ xsltproc --path "$$xmlpath" $(_credits) $$doc; \
+ done | sort | uniq \
+ | awk 'BEGIN{s=""}{n=split($$0,w,"<");if(s!=""&&s!=substr(w[1],1,length(w[1])-1)){print s};if(n>1){print $$0;s=""}else{s=$$0}};END{if(s!=""){print s}}' \
+- | sed -e 's/\\/\\\\/' -e 's/"/\\"/' -e 's/\(.*\)/\t"\1",/' >> $@.tmp
++ | sed -e 's/\\/\\\\/' -e 's/"/\\"/' -e 's/\(.*\)/ "\1",/' >> $@.tmp
+ echo ' NULL' >> $@.tmp
+ echo '};' >> $@.tmp
+ echo >> $@.tmp
diff --git a/multimedia/totem3/files/pkg-message.in b/multimedia/totem3/files/pkg-message.in
new file mode 100644
index 000000000..5c4332981
--- /dev/null
+++ b/multimedia/totem3/files/pkg-message.in
@@ -0,0 +1,6 @@
+********************************************************
+* Make sure you've enough shared memory, the xine FAQ *
+* advises to have the following sysctl settings: *
+* kern.ipc.shmmax=67108864 *
+* kern.ipc.shmall=32768 *
+********************************************************