summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--multimedia/cheese/Makefile48
-rw-r--r--multimedia/cheese/distinfo3
-rw-r--r--multimedia/cheese/files/patch-configure214
-rw-r--r--multimedia/cheese/files/patch-libcheese_cheese-camera-device-monitor.c438
-rw-r--r--multimedia/cheese/pkg-descr5
-rw-r--r--multimedia/cheese/pkg-plist383
-rw-r--r--multimedia/cheese3/Makefile4
-rw-r--r--multimedia/totem/Makefile142
-rw-r--r--multimedia/totem/distinfo3
-rw-r--r--multimedia/totem/files/patch-browser-plugin_totemPluginGlue.cpp20
-rw-r--r--multimedia/totem/files/patch-configure21
-rw-r--r--multimedia/totem/files/patch-help_Makefile.in11
-rw-r--r--multimedia/totem/files/pkg-message.in6
-rw-r--r--multimedia/totem/pkg-descr7
-rw-r--r--multimedia/totem/pkg-plist609
-rw-r--r--multimedia/totem3/Makefile4
-rw-r--r--net/gtk-vnc/Makefile33
-rw-r--r--net/gtk-vnc/distinfo2
-rw-r--r--net/gtk-vnc/files/patch-src_continuation.h10
-rw-r--r--net/gtk-vnc/files/patch-src_coroutine_ucontext.c11
-rw-r--r--net/gtk-vnc/files/patch-src_gvnc.h22
-rw-r--r--net/gtk-vnc/pkg-descr10
-rw-r--r--net/gtk-vnc/pkg-plist23
-rw-r--r--net/gtk-vnc3/Makefile2
24 files changed, 2029 insertions, 2 deletions
diff --git a/multimedia/cheese/Makefile b/multimedia/cheese/Makefile
new file mode 100644
index 000000000..94468253b
--- /dev/null
+++ b/multimedia/cheese/Makefile
@@ -0,0 +1,48 @@
+# New ports collection makefile for: cheese
+# Date created: 13 January 2008
+# Whom: FreeBSD GNOME Team <gnome@FreeBSD.org>
+#
+# $FreeBSD: ports/multimedia/cheese/Makefile,v 1.22 2011/02/25 01:31:53 delphij Exp $
+# $MCom: ports/multimedia/cheese/Makefile,v 1.63 2010/09/28 08:21:02 kwm Exp $
+#
+
+PORTNAME= cheese
+PORTVERSION= 2.32.0
+PORTREVISION= 1
+CATEGORIES= multimedia gnome
+MASTER_SITES= GNOME
+DIST_SUBDIR= gnome2
+
+MAINTAINER= gnome@FreeBSD.org
+COMMENT= A Photobooth-inspired app for taking pictures and videos from webcam
+
+BUILD_DEPENDS= ${LOCALBASE}/include/linux/videodev.h:${PORTSDIR}/multimedia/v4l_compat
+LIB_DEPENDS= canberra-gtk.0:${PORTSDIR}/audio/libcanberra \
+ hal.1:${PORTSDIR}/sysutils/hal
+
+CONFLICTS= cheese-3.[0-9]*
+
+USE_XORG= xxf86vm
+USE_BZIP2= yes
+USE_GMAKE= yes
+USE_GNOME= gnomehack gnomeprefix intlhack evolutiondataserver librsvg2 \
+ gnomedocutils gnomedesktop
+USE_GETTEXT= yes
+USE_GSTREAMER= good v4l2
+INSTALLS_OMF= yes
+INSTALLS_ICONS= yes
+USE_LDCONFIG= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib"
+
+DOCS= AUTHORS COPYING ChangeLog NEWS README
+GCONF_SCHEMAS= cheese.schemas
+
+post-install:
+ @${MKDIR} ${DOCSDIR}
+.for i in ${DOCS}
+ @${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
+.endfor
+
+.include <bsd.port.mk>
diff --git a/multimedia/cheese/distinfo b/multimedia/cheese/distinfo
new file mode 100644
index 000000000..32da8e840
--- /dev/null
+++ b/multimedia/cheese/distinfo
@@ -0,0 +1,3 @@
+MD5 (gnome2/cheese-2.32.0.tar.bz2) = e3b822e46b2558d0bbdfa4809d5d3c24
+SHA256 (gnome2/cheese-2.32.0.tar.bz2) = 8debc47113d9889247f411d256a8eca0d8da49e5ab5909c200923945b8d5e087
+SIZE (gnome2/cheese-2.32.0.tar.bz2) = 5303805
diff --git a/multimedia/cheese/files/patch-configure b/multimedia/cheese/files/patch-configure
new file mode 100644
index 000000000..8befb947b
--- /dev/null
+++ b/multimedia/cheese/files/patch-configure
@@ -0,0 +1,214 @@
+--- configure.orig 2010-04-27 17:32:36.000000000 +0200
++++ configure 2010-04-27 17:32:36.000000000 +0200
+@@ -756,8 +756,8 @@ HAVE_XTEST_FALSE
+ HAVE_XTEST_TRUE
+ XTEST_LIBS
+ OS_LINUX
+-UDEV_LIBS
+-UDEV_CFLAGS
++HAL_LIBS
++HAL_CFLAGS
+ HAVE_GNOME_DOC_UTILS_FALSE
+ HAVE_GNOME_DOC_UTILS_TRUE
+ DISTCHECK_CONFIGURE_FLAGS
+@@ -975,8 +975,8 @@ LIBS
+ CPPFLAGS
+ CPP
+ PKG_CONFIG
+-UDEV_CFLAGS
+-UDEV_LIBS
++HAL_CFLAGS
++HAL_LIBS
+ CHEESE_CFLAGS
+ CHEESE_LIBS'
+
+@@ -1646,8 +1646,8 @@ Some influential environment variables:
+ you have headers in a nonstandard directory <include dir>
+ CPP C preprocessor
+ PKG_CONFIG path to pkg-config utility
+- UDEV_CFLAGS C compiler flags for UDEV, overriding pkg-config
+- UDEV_LIBS linker flags for UDEV, overriding pkg-config
++ HAL_CFLAGS C compiler flags for HAL, overriding pkg-config
++ HAL_LIBS linker flags for HAL, overriding pkg-config
+ CHEESE_CFLAGS
+ C compiler flags for CHEESE, overriding pkg-config
+ CHEESE_LIBS linker flags for CHEESE, overriding pkg-config
+@@ -13843,38 +13843,38 @@ LIBRSVG_REQUIRED=2.18.0
+ # Check for udev
+ #*******************************************************************************
+
+-UDEV_PKG=
++HAL_PKG=
+
+ pkg_failed=no
+-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for UDEV" >&5
+-$as_echo_n "checking for UDEV... " >&6; }
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for HAL" >&5
++$as_echo_n "checking for HAL... " >&6; }
+
+-if test -n "$UDEV_CFLAGS"; then
+- pkg_cv_UDEV_CFLAGS="$UDEV_CFLAGS"
++if test -n "$HAL_CFLAGS"; then
++ pkg_cv_HAL_CFLAGS="$HAL_CFLAGS"
+ elif test -n "$PKG_CONFIG"; then
+ if test -n "$PKG_CONFIG" && \
+- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gudev-1.0\""; } >&5
+- ($PKG_CONFIG --exists --print-errors "gudev-1.0") 2>&5
++ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hal\""; } >&5
++ ($PKG_CONFIG --exists --print-errors "hal") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then
+- pkg_cv_UDEV_CFLAGS=`$PKG_CONFIG --cflags "gudev-1.0" 2>/dev/null`
++ pkg_cv_HAL_CFLAGS=`$PKG_CONFIG --cflags "hal" 2>/dev/null`
+ else
+ pkg_failed=yes
+ fi
+ else
+ pkg_failed=untried
+ fi
+-if test -n "$UDEV_LIBS"; then
+- pkg_cv_UDEV_LIBS="$UDEV_LIBS"
++if test -n "$HAL_LIBS"; then
++ pkg_cv_HAL_LIBS="$HAL_LIBS"
+ elif test -n "$PKG_CONFIG"; then
+ if test -n "$PKG_CONFIG" && \
+- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gudev-1.0\""; } >&5
+- ($PKG_CONFIG --exists --print-errors "gudev-1.0") 2>&5
++ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hal\""; } >&5
++ ($PKG_CONFIG --exists --print-errors "hal") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then
+- pkg_cv_UDEV_LIBS=`$PKG_CONFIG --libs "gudev-1.0" 2>/dev/null`
++ pkg_cv_HAL_LIBS=`$PKG_CONFIG --libs "hal" 2>/dev/null`
+ else
+ pkg_failed=yes
+ fi
+@@ -13892,27 +13892,27 @@ else
+ _pkg_short_errors_supported=no
+ fi
+ if test $_pkg_short_errors_supported = yes; then
+- UDEV_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gudev-1.0" 2>&1`
++ HAL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "hal" 2>&1`
+ else
+- UDEV_PKG_ERRORS=`$PKG_CONFIG --print-errors "gudev-1.0" 2>&1`
++ HAL_PKG_ERRORS=`$PKG_CONFIG --print-errors "hal" 2>&1`
+ fi
+ # Put the nasty error message in config.log where it belongs
+- echo "$UDEV_PKG_ERRORS" >&5
++ echo "$HAL_PKG_ERRORS" >&5
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+ $as_echo "no" >&6; }
+- UDEV_PKG=
++ HAL_PKG=
+ elif test $pkg_failed = untried; then
+- UDEV_PKG=
++ HAL_PKG=
+ else
+- UDEV_CFLAGS=$pkg_cv_UDEV_CFLAGS
+- UDEV_LIBS=$pkg_cv_UDEV_LIBS
++ HAL_CFLAGS=$pkg_cv_HAL_CFLAGS
++ HAL_LIBS=$pkg_cv_HAL_LIBS
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+ $as_echo "yes" >&6; }
+
+-$as_echo "#define HAVE_UDEV 1" >>confdefs.h
++$as_echo "#define HAVE_HAL 1" >>confdefs.h
+
+- UDEV_PKG=gudev-1.0
++ HAL_PKG=hal
+ fi
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking operating system" >&5
+@@ -13925,7 +13925,7 @@ $as_echo "#define OS_LINUX /**/" >>confd
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: Linux" >&5
+ $as_echo "Linux" >&6; }
+- if test x$UDEV_PKG = "x" ; then
++ if test x$HAL_PKG = "x" ; then
+ as_fn_error "libgudev is required under Linux and not installed" "$LINENO" 5
+ fi
+ ;;
+@@ -14034,7 +14034,7 @@ if test -n "$CHEESE_CFLAGS"; then
+ dbus-glib-1 >= \$DBUS_GLIB_REQUIRED \\
+ pangocairo >= \$PANGOCAIRO_REQUIRED \\
+ librsvg-2.0 >= \$LIBRSVG_REQUIRED
+- libcanberra-gtk \$UDEV_PKG\""; } >&5
++ libcanberra-gtk \$HAL_PKG\""; } >&5
+ ($PKG_CONFIG --exists --print-errors "\
+ glib-2.0 >= $GLIB_REQUIRED \
+ gobject-2.0 >= $GOBJECT_REQUIRED \
+@@ -14050,7 +14050,7 @@ if test -n "$CHEESE_CFLAGS"; then
+ dbus-glib-1 >= $DBUS_GLIB_REQUIRED \
+ pangocairo >= $PANGOCAIRO_REQUIRED \
+ librsvg-2.0 >= $LIBRSVG_REQUIRED
+- libcanberra-gtk $UDEV_PKG") 2>&5
++ libcanberra-gtk $HAL_PKG") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then
+@@ -14069,7 +14069,7 @@ if test -n "$CHEESE_CFLAGS"; then
+ dbus-glib-1 >= $DBUS_GLIB_REQUIRED \
+ pangocairo >= $PANGOCAIRO_REQUIRED \
+ librsvg-2.0 >= $LIBRSVG_REQUIRED
+- libcanberra-gtk $UDEV_PKG" 2>/dev/null`
++ libcanberra-gtk $HAL_PKG" 2>/dev/null`
+ else
+ pkg_failed=yes
+ fi
+@@ -14095,7 +14095,7 @@ if test -n "$CHEESE_LIBS"; then
+ dbus-glib-1 >= \$DBUS_GLIB_REQUIRED \\
+ pangocairo >= \$PANGOCAIRO_REQUIRED \\
+ librsvg-2.0 >= \$LIBRSVG_REQUIRED
+- libcanberra-gtk \$UDEV_PKG\""; } >&5
++ libcanberra-gtk \$HAL_PKG\""; } >&5
+ ($PKG_CONFIG --exists --print-errors "\
+ glib-2.0 >= $GLIB_REQUIRED \
+ gobject-2.0 >= $GOBJECT_REQUIRED \
+@@ -14111,7 +14111,7 @@ if test -n "$CHEESE_LIBS"; then
+ dbus-glib-1 >= $DBUS_GLIB_REQUIRED \
+ pangocairo >= $PANGOCAIRO_REQUIRED \
+ librsvg-2.0 >= $LIBRSVG_REQUIRED
+- libcanberra-gtk $UDEV_PKG") 2>&5
++ libcanberra-gtk $HAL_PKG") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then
+@@ -14130,7 +14130,7 @@ if test -n "$CHEESE_LIBS"; then
+ dbus-glib-1 >= $DBUS_GLIB_REQUIRED \
+ pangocairo >= $PANGOCAIRO_REQUIRED \
+ librsvg-2.0 >= $LIBRSVG_REQUIRED
+- libcanberra-gtk $UDEV_PKG" 2>/dev/null`
++ libcanberra-gtk $HAL_PKG" 2>/dev/null`
+ else
+ pkg_failed=yes
+ fi
+@@ -14163,7 +14163,7 @@ fi
+ dbus-glib-1 >= $DBUS_GLIB_REQUIRED \
+ pangocairo >= $PANGOCAIRO_REQUIRED \
+ librsvg-2.0 >= $LIBRSVG_REQUIRED
+- libcanberra-gtk $UDEV_PKG" 2>&1`
++ libcanberra-gtk $HAL_PKG" 2>&1`
+ else
+ CHEESE_PKG_ERRORS=`$PKG_CONFIG --print-errors "\
+ glib-2.0 >= $GLIB_REQUIRED \
+@@ -14180,7 +14180,7 @@ fi
+ dbus-glib-1 >= $DBUS_GLIB_REQUIRED \
+ pangocairo >= $PANGOCAIRO_REQUIRED \
+ librsvg-2.0 >= $LIBRSVG_REQUIRED
+- libcanberra-gtk $UDEV_PKG" 2>&1`
++ libcanberra-gtk $HAL_PKG" 2>&1`
+ fi
+ # Put the nasty error message in config.log where it belongs
+ echo "$CHEESE_PKG_ERRORS" >&5
+@@ -14200,7 +14200,7 @@ fi
+ dbus-glib-1 >= $DBUS_GLIB_REQUIRED \
+ pangocairo >= $PANGOCAIRO_REQUIRED \
+ librsvg-2.0 >= $LIBRSVG_REQUIRED
+- libcanberra-gtk $UDEV_PKG) were not met:
++ libcanberra-gtk $HAL_PKG) were not met:
+
+ $CHEESE_PKG_ERRORS
+
diff --git a/multimedia/cheese/files/patch-libcheese_cheese-camera-device-monitor.c b/multimedia/cheese/files/patch-libcheese_cheese-camera-device-monitor.c
new file mode 100644
index 000000000..8604c2377
--- /dev/null
+++ b/multimedia/cheese/files/patch-libcheese_cheese-camera-device-monitor.c
@@ -0,0 +1,438 @@
+--- libcheese/cheese-camera-device-monitor.c.orig 2010-08-16 23:00:43.000000000 +0200
++++ libcheese/cheese-camera-device-monitor.c 2010-08-18 09:51:48.000000000 +0200
+@@ -24,24 +24,11 @@
+ #endif
+
+ #include <glib-object.h>
++#include <glib/gstdio.h>
+ #include <dbus/dbus-glib-lowlevel.h>
++#include <libhal.h>
+ #include <string.h>
+-
+-#ifdef HAVE_UDEV
+- #define G_UDEV_API_IS_SUBJECT_TO_CHANGE 1
+- #include <gudev/gudev.h>
+-#else
+- #include <fcntl.h>
+- #include <unistd.h>
+- #include <sys/ioctl.h>
+- #if USE_SYS_VIDEOIO_H > 0
+- #include <sys/types.h>
+- #include <sys/videoio.h>
+- #elif defined (__sun)
+- #include <sys/types.h>
+- #include <sys/videodev2.h>
+- #endif /* USE_SYS_VIDEOIO_H */
+-#endif
++#include <unistd.h>
+
+ #include "cheese-camera-device-monitor.h"
+ #include "cheese-marshal.h"
+@@ -54,9 +41,9 @@
+ * #CheeseCameraDeviceMonitor provides a basic interface for
+ * video4linux device enumeration and hotplugging.
+ *
+- * It uses either GUdev or some platform specific code to list video
++ * It uses either HAL or some platform specific code to list video
+ * devices. It is also capable (right now in linux only, with the
+- * udev backend) to monitor device plugging and emit a
++ * hal backend) to monitor device plugging and emit a
+ * CheeseCameraDeviceMonitor::added or
+ * CheeseCameraDeviceMonitor::removed signal when an event happens.
+ */
+@@ -80,11 +67,9 @@ enum CheeseCameraDeviceMonitorError
+
+ typedef struct
+ {
+-#ifdef HAVE_UDEV
+- GUdevClient *client;
+-#else
++ DBusConnection *connection;
++ LibHalContext *hal_ctx;
+ guint filler;
+-#endif /* HAVE_UDEV */
+ } CheeseCameraDeviceMonitorPrivate;
+
+ enum
+@@ -102,111 +87,77 @@ cheese_camera_device_monitor_error_quark
+ return g_quark_from_static_string ("cheese-camera-error-quark");
+ }
+
+-#ifdef HAVE_UDEV
+-static void
+-cheese_camera_device_monitor_added (CheeseCameraDeviceMonitor *monitor,
+- GUdevDevice *udevice)
++cheese_camera_device_monitor_handle_udi (CheeseCameraDeviceMonitor *monitor,
++ const char *udi)
+ {
+- const char *device_file;
+- const char *product_name;
+- const char *vendor;
+- const char *product;
+- const char *bus;
+- gint vendor_id = 0;
+- gint product_id = 0;
++ CheeseCameraDeviceMonitorPrivate *priv = CHEESE_CAMERA_DEVICE_MONITOR_GET_PRIVATE (monitor);
++ char *device_file;
++ char *product_name;
++ char *capstr;
+ gint v4l_version = 0;
++ DBusError error;
+
+- const gchar *devpath = g_udev_device_get_property (udevice, "DEVPATH");
++ GST_INFO ("Checking hal device '%s'", udi);
+
+- GST_INFO ("Checking udev device '%s'", devpath);
++ dbus_error_init (&error);
+
+- bus = g_udev_device_get_property (udevice, "ID_BUS");
+- if (g_strcmp0 (bus, "usb") == 0)
+- {
+- vendor = g_udev_device_get_property (udevice, "ID_VENDOR_ID");
+- if (vendor != NULL)
+- vendor_id = g_ascii_strtoll (vendor, NULL, 16);
+- product = g_udev_device_get_property (udevice, "ID_MODEL_ID");
+- if (product != NULL)
+- product_id = g_ascii_strtoll (product, NULL, 16);
+- if (vendor_id == 0 || product_id == 0)
+- {
+- GST_WARNING ("Error getting vendor and product id");
+- }
+- else
+- {
+- GST_INFO ("Found device %04x:%04x, getting capabilities...", vendor_id, product_id);
+- }
+- }
+- else
++ product_name = libhal_device_get_property_string (priv->hal_ctx, udi, "info.product", &error);
++ if (dbus_error_is_set (&error))
+ {
+- GST_INFO ("Not an usb device, skipping vendor and model id retrieval");
++ GST_WARNING ("error getting product name: %s: %s", error.name, error.message);
++ dbus_error_free (&error);
++ return;
+ }
+
+- device_file = g_udev_device_get_device_file (udevice);
+- if (device_file == NULL)
++ device_file = libhal_device_get_property_string (priv->hal_ctx, udi, "video4linux.device", &error);
++ if (dbus_error_is_set (&error))
+ {
+- GST_WARNING ("Error getting V4L device");
+- return;
++ GST_WARNING ("error getting V4L device for %s: %s: %s", udi, error.name, error.message);
++ dbus_error_free (&error);
++ libhal_free_string (product_name);
+ }
+
+- /* vbi devices support capture capability too, but cannot be used,
+- * so detect them by device name */
+- if (strstr (device_file, "vbi"))
++ if (g_access (device_file, (R_OK | W_OK)) == -1)
+ {
+- GST_INFO ("Skipping vbi device: %s", device_file);
++ GST_WARNING ("Device %s does not have proper permissions. Permissions must be 0666", device_file);
++ libhal_free_string (product_name);
++ libhal_free_string (device_file);
+ return;
+ }
+
+- v4l_version = g_udev_device_get_property_as_int (udevice, "ID_V4L_VERSION");
+- if (v4l_version == 2 || v4l_version == 1)
++ capstr = libhal_device_get_property_string (priv->hal_ctx, udi, "video4linux.version", &error);
++ if (dbus_error_is_set (&error))
+ {
+- const char *caps;
+-
+- caps = g_udev_device_get_property (udevice, "ID_V4L_CAPABILITIES");
+- if (caps == NULL || strstr (caps, ":capture:") == NULL)
+- {
+- GST_WARNING ("Device %s seems to not have the capture capability, (radio tuner?)"
+- "Removing it from device list.", device_file);
+- return;
+- }
+- product_name = g_udev_device_get_property (udevice, "ID_V4L_PRODUCT");
+- }
+- else if (v4l_version == 0)
+- {
+- GST_ERROR ("Fix your udev installation to include v4l_id, ignoring %s", device_file);
++ GST_WARNING ("error getting V4L version for %s: %s: %s", udi, error.name, error.message);
++ dbus_error_free (&error);
++ libhal_free_string (product_name);
++ libhal_free_string (device_file);
+ return;
+ }
+- else
+- {
+- g_assert_not_reached ();
+- }
++
++ v4l_version = atoi (capstr);
++ libhal_free_string (capstr);
+
+ g_signal_emit (monitor, monitor_signals[ADDED], 0,
+- devpath,
++ udi,
+ device_file,
+ product_name,
+ v4l_version);
+ }
+
+ static void
+-cheese_camera_device_monitor_removed (CheeseCameraDeviceMonitor *monitor,
+- GUdevDevice *udevice)
+-{
+- g_signal_emit (monitor, monitor_signals[REMOVED], 0,
+- g_udev_device_get_property (udevice, "DEVPATH"));
+-}
++cheese_camera_device_monitor_removed (LibHalContext *ctx,
++ const char *udi)
++ {
++ CheeseCameraDeviceMonitor *monitor;
++ void *data;
+
+-static void
+-cheese_camera_device_monitor_uevent_cb (GUdevClient *client,
+- const gchar *action,
+- GUdevDevice *udevice,
+- CheeseCameraDeviceMonitor *monitor)
+-{
+- if (g_str_equal (action, "remove"))
+- cheese_camera_device_monitor_removed (monitor, udevice);
+- else if (g_str_equal (action, "add"))
+- cheese_camera_device_monitor_added (monitor, udevice);
++ data = libhal_ctx_get_user_data (ctx);
++ g_assert (data);
++
++ monitor = CHEESE_CAMERA_DEVICE_MONITOR (data);
++
++ g_signal_emit (monitor, monitor_signals[REMOVED], 0, udi);
+ }
+
+ /**
+@@ -222,115 +173,85 @@ void
+ cheese_camera_device_monitor_coldplug (CheeseCameraDeviceMonitor *monitor)
+ {
+ CheeseCameraDeviceMonitorPrivate *priv = CHEESE_CAMERA_DEVICE_MONITOR_GET_PRIVATE (monitor);
+- GList *devices, *l;
+- gint i = 0;
++ int i;
++ int num_udis = 0;
++ char **udis;
++ DBusError error;
+
+- if (priv->client == NULL)
+- return;
++ GST_INFO ("Probing devices with HAL...");
+
+- GST_INFO ("Probing devices with udev...");
++ if (priv->hal_ctx == NULL)
++ return;
+
+- devices = g_udev_client_query_by_subsystem (priv->client, "video4linux");
++ dbus_error_init (&error);
+
+- /* Initialize camera structures */
+- for (l = devices; l != NULL; l = l->next)
++ udis = libhal_find_device_by_capability (priv->hal_ctx, "video4linux", &num_udis, &error);
++
++ if (dbus_error_is_set (&error))
+ {
+- cheese_camera_device_monitor_added (monitor, l->data);
+- g_object_unref (l->data);
+- i++;
++ GST_WARNING ("libhal_find_device_by_capability: %s: %s", error.name, error.message);
++ dbus_error_free (&error);
++ return;
+ }
+- g_list_free (devices);
++
++ /* Initialize camera structures */
++ for (i = 0; i < num_udis; i++)
++ cheese_camera_device_monitor_handle_udi (monitor, udis[i]);
++ libhal_free_string_array (udis);
+
+ if (i == 0) GST_WARNING ("No device found");
+ }
+
+-#else /* HAVE_UDEV */
+-void
+-cheese_camera_device_monitor_coldplug (CheeseCameraDeviceMonitor *monitor)
++static void
++cheese_camera_device_monitor_added (LibHalContext *ctx, const char *udi)
+ {
+- #if 0
+- CheeseCameraDeviceMonitorPrivate *priv = CHEESE_CAMERA_DEVICE_MONITOR_GET_PRIVATE (monitor);
+- struct v4l2_capability v2cap;
+- struct video_capability v1cap;
+- int fd, ok;
+-
+- if ((fd = open (device_path, O_RDONLY | O_NONBLOCK)) < 0)
+- {
+- g_warning ("Failed to open %s: %s", device_path, strerror (errno));
+- return;
+- }
+- ok = ioctl (fd, VIDIOC_QUERYCAP, &v2cap);
+- if (ok < 0)
+- {
+- ok = ioctl (fd, VIDIOCGCAP, &v1cap);
+- if (ok < 0)
+- {
+- g_warning ("Error while probing v4l capabilities for %s: %s",
+- device_path, strerror (errno));
+- close (fd);
+- return;
+- }
+- g_print ("Detected v4l device: %s\n", v1cap.name);
+- g_print ("Device type: %d\n", v1cap.type);
+- gstreamer_src = "v4lsrc";
+- product_name = v1cap.name;
+- }
+- else
+- {
+- guint cap = v2cap.capabilities;
+- g_print ("Detected v4l2 device: %s\n", v2cap.card);
+- g_print ("Driver: %s, version: %d\n", v2cap.driver, v2cap.version);
+-
+- /* g_print ("Bus info: %s\n", v2cap.bus_info); */ /* Doesn't seem anything useful */
+- g_print ("Capabilities: 0x%08X\n", v2cap.capabilities);
+- if (!(cap & V4L2_CAP_VIDEO_CAPTURE))
+- {
+- g_print ("Device %s seems to not have the capture capability, (radio tuner?)\n"
+- "Removing it from device list.\n", device_path);
+- close (fd);
+- return;
+- }
+- gstreamer_src = "v4l2src";
+- product_name = (char *) v2cap.card;
+- }
+- close (fd);
++ CheeseCameraDeviceMonitor *monitor;
++ char **caps;
++ guint i;
++ void *data;
+
+- GList *devices, *l;
++ data = libhal_ctx_get_user_data (ctx);
++ g_assert (data);
+
+- g_print ("Probing devices with udev...\n");
++ monitor = CHEESE_CAMERA_DEVICE_MONITOR (data);
+
+- if (priv->client == NULL)
++ caps = libhal_device_get_property_strlist (ctx, udi, "info.capabilities", NULL);
++ if (caps == NULL)
+ return;
+
+- devices = g_udev_client_query_by_subsystem (priv->client, "video4linux");
+-
+- /* Initialize camera structures */
+- for (l = devices; l != NULL; l = l->next)
++ for (i = 0; caps[i] != NULL; i++)
+ {
+- cheese_camera_device_monitor_added (monitor, l->data);
+- g_object_unref (l->data);
++ if (g_strcmp0 (caps[i], "video4linux") == 0)
++ {
++ cheese_camera_device_monitor_handle_udi (monitor, udi);
++ break;
++ }
+ }
+- g_list_free (devices);
+- #endif
+-}
+
+-#endif /* HAVE_UDEV */
++ libhal_free_string_array (caps);
++}
+
+ static void
+ cheese_camera_device_monitor_finalize (GObject *object)
+ {
+-#ifdef HAVE_UDEV
+ CheeseCameraDeviceMonitor *monitor;
+
+ monitor = CHEESE_CAMERA_DEVICE_MONITOR (object);
+ CheeseCameraDeviceMonitorPrivate *priv = CHEESE_CAMERA_DEVICE_MONITOR_GET_PRIVATE (monitor);
+
+- if (priv->client != NULL)
++ if (priv->connection != NULL)
+ {
+- g_object_unref (priv->client);
+- priv->client = NULL;
++ dbus_connection_unref (priv->connection);
++ priv->connection = NULL;
+ }
+-#endif /* HAVE_UDEV */
++ if (priv->hal_ctx != NULL)
++ {
++ libhal_ctx_set_device_added (priv->hal_ctx, NULL);
++ libhal_ctx_set_device_removed (priv->hal_ctx, NULL);
++ libhal_ctx_free (priv->hal_ctx);
++ priv->hal_ctx = NULL;
++ }
++
+ G_OBJECT_CLASS (cheese_camera_device_monitor_parent_class)->finalize (object);
+ }
+
+@@ -385,14 +306,52 @@ cheese_camera_device_monitor_class_init
+ static void
+ cheese_camera_device_monitor_init (CheeseCameraDeviceMonitor *monitor)
+ {
+-#ifdef HAVE_UDEV
+- CheeseCameraDeviceMonitorPrivate *priv = CHEESE_CAMERA_DEVICE_MONITOR_GET_PRIVATE (monitor);
+- const gchar *const subsystems[] = {"video4linux", NULL};
+-
+- priv->client = g_udev_client_new (subsystems);
+- g_signal_connect (G_OBJECT (priv->client), "uevent",
+- G_CALLBACK (cheese_camera_device_monitor_uevent_cb), monitor);
+-#endif /* HAVE_UDEV */
++ CheeseCameraDeviceMonitorPrivate *priv = CHEESE_CAMERA_DEVICE_MONITOR_GET_PRIVATE (monitor);
++ LibHalContext *hal_ctx;
++ DBusError error;
++
++ dbus_error_init (&error);
++
++ priv->connection = dbus_bus_get (DBUS_BUS_SYSTEM, &error);
++ dbus_connection_set_exit_on_disconnect (priv->connection, FALSE);
++
++ hal_ctx = libhal_ctx_new ();
++ if (hal_ctx == NULL)
++ {
++ GST_WARNING ("Could not create libhal context");
++ dbus_error_free (&error);
++ return;
++ }
++
++ if (!libhal_ctx_set_dbus_connection (hal_ctx, priv->connection))
++ {
++ GST_WARNING ("libhal_ctx_set_dbus_connection: %s: %s", error.name, error.message);
++ dbus_error_free (&error);
++ return;
++ }
++
++ if (!libhal_ctx_init (hal_ctx, &error))
++ {
++ if (dbus_error_is_set (&error))
++ {
++ GST_WARNING ("libhal_ctx_init: %s: %s", error.name, error.message);
++ dbus_error_free (&error);
++ }
++ GST_WARNING ("Could not initialise connection to hald.\n"
++ "Normally this means the HAL daemon (hald) is not running or not ready");
++ return;
++ }
++
++ dbus_connection_setup_with_g_main (priv->connection, NULL);
++
++ if (!libhal_ctx_set_user_data (hal_ctx, monitor))
++ GST_WARNING ("Failed to set user data on HAL context");
++ if (!libhal_ctx_set_device_added (hal_ctx, cheese_camera_device_monitor_added))
++ GST_WARNING ("Failed to connect to device added signal from HAL");
++ if (!libhal_ctx_set_device_removed (hal_ctx, cheese_camera_device_monitor_removed))
++ GST_WARNING ("Failed to connect to device removed signal from HAL");
++
++ priv->hal_ctx = hal_ctx;
+ }
+
+ /**
diff --git a/multimedia/cheese/pkg-descr b/multimedia/cheese/pkg-descr
new file mode 100644
index 000000000..51402b10a
--- /dev/null
+++ b/multimedia/cheese/pkg-descr
@@ -0,0 +1,5 @@
+Cheese is a Photobooth-inspired GNOME application for taking pictures and
+videos from a webcam. It also includes fancy graphical effects based on the
+gstreamer-backend.
+
+WWW: http://www.gnome.org/projects/cheese/
diff --git a/multimedia/cheese/pkg-plist b/multimedia/cheese/pkg-plist
new file mode 100644
index 000000000..2755ff708
--- /dev/null
+++ b/multimedia/cheese/pkg-plist
@@ -0,0 +1,383 @@
+bin/cheese
+include/cheese/cheese-avatar-chooser.h
+include/cheese/cheese-camera-device-monitor.h
+include/cheese/cheese-widget.h
+lib/libcheese-gtk.a
+lib/libcheese-gtk.la
+lib/libcheese-gtk.so
+lib/libcheese-gtk.so.18
+libdata/pkgconfig/cheese-gtk.pc
+libexec/cheese/cheese-bugreport.sh
+share/applications/cheese.desktop
+%%DATADIR%%/cheese-prefs.ui
+%%DATADIR%%/cheese-ui.xml
+%%DATADIR%%/cheese.ui
+%%DATADIR%%/effects/Hulk.png
+%%DATADIR%%/effects/Mauve.png
+%%DATADIR%%/effects/NoirBlanc.png
+%%DATADIR%%/effects/Saturation.png
+%%DATADIR%%/effects/dicetv.png
+%%DATADIR%%/effects/edgetv.png
+%%DATADIR%%/effects/identity.png
+%%DATADIR%%/effects/shagadelictv.png
+%%DATADIR%%/effects/vertigotv.png
+%%DATADIR%%/effects/videoflip_h.png
+%%DATADIR%%/effects/videoflip_v.png
+%%DATADIR%%/effects/warptv.png
+%%DATADIR%%/gtkrc
+%%DATADIR%%/icons/hicolor/16x16/actions/browse-webcam-effects.png
+%%DATADIR%%/icons/hicolor/16x16/actions/cheese-take-burst.png
+%%DATADIR%%/icons/hicolor/16x16/actions/cheese-take-photo.png
+%%DATADIR%%/icons/hicolor/22x22/actions/browse-webcam-effects.png
+%%DATADIR%%/icons/hicolor/22x22/actions/cheese-take-burst.png
+%%DATADIR%%/icons/hicolor/22x22/actions/cheese-take-photo.png
+%%DATADIR%%/icons/hicolor/24x24/actions/browse-webcam-effects.png
+%%DATADIR%%/icons/hicolor/24x24/actions/cheese-take-burst.png
+%%DATADIR%%/icons/hicolor/24x24/actions/cheese-take-photo.png
+%%DATADIR%%/icons/hicolor/32x32/actions/browse-webcam-effects.png
+%%DATADIR%%/icons/hicolor/32x32/actions/cheese-take-burst.png
+%%DATADIR%%/icons/hicolor/32x32/actions/cheese-take-photo.png
+%%DATADIR%%/icons/hicolor/48x48/actions/browse-webcam-effects.png
+%%DATADIR%%/icons/hicolor/48x48/actions/cheese-take-burst.png
+%%DATADIR%%/icons/hicolor/48x48/actions/cheese-take-photo.png
+%%DATADIR%%/icons/hicolor/scalable/actions/browse-webcam-effects.svg
+%%DATADIR%%/icons/hicolor/scalable/actions/cheese-take-burst.svg
+%%DATADIR%%/icons/hicolor/scalable/actions/cheese-take-photo.svg
+%%DATADIR%%/pixmaps/camera-icon.svg
+%%DATADIR%%/pixmaps/cheese-1.svg
+%%DATADIR%%/pixmaps/cheese-2.svg
+%%DATADIR%%/pixmaps/cheese-3.svg
+%%DATADIR%%/pixmaps/thumbnail-frame.png
+share/dbus-1/services/org.gnome.Cheese.service
+%%DOCSDIR%%/AUTHORS
+%%DOCSDIR%%/COPYING
+%%DOCSDIR%%/ChangeLog
+%%DOCSDIR%%/CheeseAvatarChooser.html
+%%DOCSDIR%%/CheeseCameraDeviceMonitor.html
+%%DOCSDIR%%/CheeseWidget.html
+%%DOCSDIR%%/NEWS
+%%DOCSDIR%%/README
+%%DOCSDIR%%/api-index-full.html
+%%DOCSDIR%%/ch01.html
+%%DOCSDIR%%/cheese.devhelp
+%%DOCSDIR%%/cheese.devhelp2
+%%DOCSDIR%%/home.png
+%%DOCSDIR%%/index.html
+%%DOCSDIR%%/index.sgml
+%%DOCSDIR%%/left.png
+%%DOCSDIR%%/object-tree.html
+%%DOCSDIR%%/right.png
+%%DOCSDIR%%/style.css
+%%DOCSDIR%%/up.png
+share/gnome/help/cheese/C/cheese.xml
+share/gnome/help/cheese/C/figures/cheese-effects.jpg
+share/gnome/help/cheese/C/figures/cheese-fullscreen.jpg
+share/gnome/help/cheese/C/figures/cheese-main.jpg
+share/gnome/help/cheese/C/figures/cheese-preferences.jpg
+share/gnome/help/cheese/C/figures/cheese-share.jpg
+share/gnome/help/cheese/C/figures/cheese-wide.jpg
+share/gnome/help/cheese/C/legal.xml
+share/gnome/help/cheese/ca/cheese.xml
+share/gnome/help/cheese/ca/figures/cheese-effects.jpg
+share/gnome/help/cheese/ca/figures/cheese-fullscreen.jpg
+share/gnome/help/cheese/ca/figures/cheese-main.jpg
+share/gnome/help/cheese/ca/figures/cheese-preferences.jpg
+share/gnome/help/cheese/ca/figures/cheese-share.jpg
+share/gnome/help/cheese/ca/figures/cheese-wide.jpg
+share/gnome/help/cheese/cs/cheese.xml
+share/gnome/help/cheese/cs/figures/cheese-effects.jpg
+share/gnome/help/cheese/cs/figures/cheese-fullscreen.jpg
+share/gnome/help/cheese/cs/figures/cheese-main.jpg
+share/gnome/help/cheese/cs/figures/cheese-preferences.jpg
+share/gnome/help/cheese/cs/figures/cheese-share.jpg
+share/gnome/help/cheese/cs/figures/cheese-wide.jpg
+share/gnome/help/cheese/de/cheese.xml
+share/gnome/help/cheese/de/figures/cheese-effects.jpg
+share/gnome/help/cheese/de/figures/cheese-fullscreen.jpg
+share/gnome/help/cheese/de/figures/cheese-main.jpg
+share/gnome/help/cheese/de/figures/cheese-preferences.jpg
+share/gnome/help/cheese/de/figures/cheese-share.jpg
+share/gnome/help/cheese/de/figures/cheese-wide.jpg
+share/gnome/help/cheese/el/cheese.xml
+share/gnome/help/cheese/el/figures/cheese-effects.jpg
+share/gnome/help/cheese/el/figures/cheese-fullscreen.jpg
+share/gnome/help/cheese/el/figures/cheese-main.jpg
+share/gnome/help/cheese/el/figures/cheese-preferences.jpg
+share/gnome/help/cheese/el/figures/cheese-share.jpg
+share/gnome/help/cheese/el/figures/cheese-wide.jpg
+share/gnome/help/cheese/en_GB/cheese.xml
+share/gnome/help/cheese/en_GB/figures/cheese-effects.jpg
+share/gnome/help/cheese/en_GB/figures/cheese-fullscreen.jpg
+share/gnome/help/cheese/en_GB/figures/cheese-main.jpg
+share/gnome/help/cheese/en_GB/figures/cheese-preferences.jpg
+share/gnome/help/cheese/en_GB/figures/cheese-share.jpg
+share/gnome/help/cheese/en_GB/figures/cheese-wide.jpg
+share/gnome/help/cheese/es/cheese.xml
+share/gnome/help/cheese/es/figures/cheese-effects.jpg
+share/gnome/help/cheese/es/figures/cheese-fullscreen.jpg
+share/gnome/help/cheese/es/figures/cheese-main.jpg
+share/gnome/help/cheese/es/figures/cheese-preferences.jpg
+share/gnome/help/cheese/es/figures/cheese-share.jpg
+share/gnome/help/cheese/es/figures/cheese-wide.jpg
+share/gnome/help/cheese/fr/cheese.xml
+share/gnome/help/cheese/fr/figures/cheese-effects.jpg
+share/gnome/help/cheese/fr/figures/cheese-fullscreen.jpg
+share/gnome/help/cheese/fr/figures/cheese-main.jpg
+share/gnome/help/cheese/fr/figures/cheese-preferences.jpg
+share/gnome/help/cheese/fr/figures/cheese-share.jpg
+share/gnome/help/cheese/fr/figures/cheese-wide.jpg
+share/gnome/help/cheese/it/cheese.xml
+share/gnome/help/cheese/it/figures/cheese-effects.jpg
+share/gnome/help/cheese/it/figures/cheese-fullscreen.jpg
+share/gnome/help/cheese/it/figures/cheese-main.jpg
+share/gnome/help/cheese/it/figures/cheese-preferences.jpg
+share/gnome/help/cheese/it/figures/cheese-share.jpg
+share/gnome/help/cheese/it/figures/cheese-wide.jpg
+share/gnome/help/cheese/nl/cheese.xml
+share/gnome/help/cheese/nl/figures/cheese-effects.jpg
+share/gnome/help/cheese/nl/figures/cheese-fullscreen.jpg
+share/gnome/help/cheese/nl/figures/cheese-main.jpg
+share/gnome/help/cheese/nl/figures/cheese-preferences.jpg
+share/gnome/help/cheese/nl/figures/cheese-share.jpg
+share/gnome/help/cheese/nl/figures/cheese-wide.jpg
+share/gnome/help/cheese/oc/cheese.xml
+share/gnome/help/cheese/oc/figures/cheese-effects.jpg
+share/gnome/help/cheese/oc/figures/cheese-fullscreen.jpg
+share/gnome/help/cheese/oc/figures/cheese-main.jpg
+share/gnome/help/cheese/oc/figures/cheese-preferences.jpg
+share/gnome/help/cheese/oc/figures/cheese-share.jpg
+share/gnome/help/cheese/oc/figures/cheese-wide.jpg
+share/gnome/help/cheese/pt_BR/cheese.xml
+share/gnome/help/cheese/pt_BR/figures/cheese-effects.jpg
+share/gnome/help/cheese/pt_BR/figures/cheese-fullscreen.jpg
+share/gnome/help/cheese/pt_BR/figures/cheese-main.jpg
+share/gnome/help/cheese/pt_BR/figures/cheese-preferences.jpg
+share/gnome/help/cheese/pt_BR/figures/cheese-share.jpg
+share/gnome/help/cheese/pt_BR/figures/cheese-wide.jpg
+share/gnome/help/cheese/ru/cheese.xml
+share/gnome/help/cheese/ru/figures/cheese-effects.jpg
+share/gnome/help/cheese/ru/figures/cheese-fullscreen.jpg
+share/gnome/help/cheese/ru/figures/cheese-main.jpg
+share/gnome/help/cheese/ru/figures/cheese-preferences.jpg
+share/gnome/help/cheese/ru/figures/cheese-share.jpg
+share/gnome/help/cheese/ru/figures/cheese-wide.jpg
+share/gnome/help/cheese/sl/cheese.xml
+share/gnome/help/cheese/sl/figures/cheese-effects.jpg
+share/gnome/help/cheese/sl/figures/cheese-fullscreen.jpg
+share/gnome/help/cheese/sl/figures/cheese-main.jpg
+share/gnome/help/cheese/sl/figures/cheese-preferences.jpg
+share/gnome/help/cheese/sl/figures/cheese-share.jpg
+share/gnome/help/cheese/sl/figures/cheese-wide.jpg
+share/gnome/help/cheese/sv/cheese.xml
+share/gnome/help/cheese/sv/figures/cheese-effects.jpg
+share/gnome/help/cheese/sv/figures/cheese-fullscreen.jpg
+share/gnome/help/cheese/sv/figures/cheese-main.jpg
+share/gnome/help/cheese/sv/figures/cheese-preferences.jpg
+share/gnome/help/cheese/sv/figures/cheese-share.jpg
+share/gnome/help/cheese/sv/figures/cheese-wide.jpg
+share/gnome/help/cheese/th/cheese.xml
+share/gnome/help/cheese/th/figures/cheese-effects.jpg
+share/gnome/help/cheese/th/figures/cheese-fullscreen.jpg
+share/gnome/help/cheese/th/figures/cheese-main.jpg
+share/gnome/help/cheese/th/figures/cheese-preferences.jpg
+share/gnome/help/cheese/th/figures/cheese-share.jpg
+share/gnome/help/cheese/th/figures/cheese-wide.jpg
+share/gnome/help/cheese/zh_CN/cheese.xml
+share/gnome/help/cheese/zh_CN/figures/cheese-effects.jpg
+share/gnome/help/cheese/zh_CN/figures/cheese-fullscreen.jpg
+share/gnome/help/cheese/zh_CN/figures/cheese-main.jpg
+share/gnome/help/cheese/zh_CN/figures/cheese-preferences.jpg
+share/gnome/help/cheese/zh_CN/figures/cheese-share.jpg
+share/gnome/help/cheese/zh_CN/figures/cheese-wide.jpg
+share/icons/hicolor/16x16/apps/cheese.png
+share/icons/hicolor/22x22/apps/cheese.png
+share/icons/hicolor/24x24/apps/cheese.png
+share/icons/hicolor/256x256/apps/cheese.png
+share/icons/hicolor/32x32/apps/cheese.png
+share/icons/hicolor/48x48/apps/cheese.png
+share/icons/hicolor/scalable/apps/cheese.svg
+share/locale/af/LC_MESSAGES/cheese.mo
+share/locale/ar/LC_MESSAGES/cheese.mo
+share/locale/as/LC_MESSAGES/cheese.mo
+share/locale/ast/LC_MESSAGES/cheese.mo
+share/locale/be/LC_MESSAGES/cheese.mo
+share/locale/be@latin/LC_MESSAGES/cheese.mo
+share/locale/bg/LC_MESSAGES/cheese.mo
+share/locale/bn/LC_MESSAGES/cheese.mo
+share/locale/bn_IN/LC_MESSAGES/cheese.mo
+share/locale/ca/LC_MESSAGES/cheese.mo
+share/locale/ca@valencia/LC_MESSAGES/cheese.mo
+share/locale/cs/LC_MESSAGES/cheese.mo
+share/locale/da/LC_MESSAGES/cheese.mo
+share/locale/de/LC_MESSAGES/cheese.mo
+share/locale/dz/LC_MESSAGES/cheese.mo
+share/locale/el/LC_MESSAGES/cheese.mo
+share/locale/en@shaw/LC_MESSAGES/cheese.mo
+share/locale/en_GB/LC_MESSAGES/cheese.mo
+share/locale/es/LC_MESSAGES/cheese.mo
+share/locale/et/LC_MESSAGES/cheese.mo
+share/locale/eu/LC_MESSAGES/cheese.mo
+share/locale/fi/LC_MESSAGES/cheese.mo
+share/locale/fr/LC_MESSAGES/cheese.mo
+share/locale/ga/LC_MESSAGES/cheese.mo
+share/locale/gl/LC_MESSAGES/cheese.mo
+share/locale/gu/LC_MESSAGES/cheese.mo
+share/locale/he/LC_MESSAGES/cheese.mo
+share/locale/hi/LC_MESSAGES/cheese.mo
+share/locale/hr/LC_MESSAGES/cheese.mo
+share/locale/hu/LC_MESSAGES/cheese.mo
+share/locale/id/LC_MESSAGES/cheese.mo
+share/locale/it/LC_MESSAGES/cheese.mo
+share/locale/ja/LC_MESSAGES/cheese.mo
+share/locale/ka/LC_MESSAGES/cheese.mo
+share/locale/kk/LC_MESSAGES/cheese.mo
+share/locale/kn/LC_MESSAGES/cheese.mo
+share/locale/ko/LC_MESSAGES/cheese.mo
+share/locale/ku/LC_MESSAGES/cheese.mo
+share/locale/lt/LC_MESSAGES/cheese.mo
+share/locale/lv/LC_MESSAGES/cheese.mo
+share/locale/mai/LC_MESSAGES/cheese.mo
+share/locale/mk/LC_MESSAGES/cheese.mo
+share/locale/ml/LC_MESSAGES/cheese.mo
+share/locale/mr/LC_MESSAGES/cheese.mo
+share/locale/ms/LC_MESSAGES/cheese.mo
+share/locale/nb/LC_MESSAGES/cheese.mo
+share/locale/nds/LC_MESSAGES/cheese.mo
+share/locale/nl/LC_MESSAGES/cheese.mo
+share/locale/nn/LC_MESSAGES/cheese.mo
+share/locale/oc/LC_MESSAGES/cheese.mo
+share/locale/or/LC_MESSAGES/cheese.mo
+share/locale/pa/LC_MESSAGES/cheese.mo
+share/locale/pl/LC_MESSAGES/cheese.mo
+share/locale/ps/LC_MESSAGES/cheese.mo
+share/locale/pt/LC_MESSAGES/cheese.mo
+share/locale/pt_BR/LC_MESSAGES/cheese.mo
+share/locale/ro/LC_MESSAGES/cheese.mo
+share/locale/ru/LC_MESSAGES/cheese.mo
+share/locale/sl/LC_MESSAGES/cheese.mo
+share/locale/sq/LC_MESSAGES/cheese.mo
+share/locale/sr/LC_MESSAGES/cheese.mo
+share/locale/sr@latin/LC_MESSAGES/cheese.mo
+share/locale/sv/LC_MESSAGES/cheese.mo
+share/locale/ta/LC_MESSAGES/cheese.mo
+share/locale/te/LC_MESSAGES/cheese.mo
+share/locale/th/LC_MESSAGES/cheese.mo
+share/locale/tr/LC_MESSAGES/cheese.mo
+share/locale/ug/LC_MESSAGES/cheese.mo
+share/locale/uk/LC_MESSAGES/cheese.mo
+share/locale/vi/LC_MESSAGES/cheese.mo
+share/locale/zh_CN/LC_MESSAGES/cheese.mo
+share/locale/zh_HK/LC_MESSAGES/cheese.mo
+share/locale/zh_TW/LC_MESSAGES/cheese.mo
+share/omf/cheese/cheese-C.omf
+share/omf/cheese/cheese-ca.omf
+share/omf/cheese/cheese-cs.omf
+share/omf/cheese/cheese-de.omf
+share/omf/cheese/cheese-el.omf
+share/omf/cheese/cheese-en_GB.omf
+share/omf/cheese/cheese-es.omf
+share/omf/cheese/cheese-fr.omf
+share/omf/cheese/cheese-it.omf
+share/omf/cheese/cheese-nl.omf
+share/omf/cheese/cheese-oc.omf
+share/omf/cheese/cheese-pt_BR.omf
+share/omf/cheese/cheese-ru.omf
+share/omf/cheese/cheese-sl.omf
+share/omf/cheese/cheese-sv.omf
+share/omf/cheese/cheese-th.omf
+share/omf/cheese/cheese-zh_CN.omf
+@dirrm share/omf/cheese
+@dirrmtry share/icons/hicolor/256x256/apps
+@dirrmtry share/icons/hicolor/256x256
+@dirrm share/gnome/help/cheese/zh_CN/figures
+@dirrm share/gnome/help/cheese/zh_CN
+@dirrm share/gnome/help/cheese/th/figures
+@dirrm share/gnome/help/cheese/th
+@dirrm share/gnome/help/cheese/sv/figures
+@dirrm share/gnome/help/cheese/sv
+@dirrm share/gnome/help/cheese/sl/figures
+@dirrm share/gnome/help/cheese/sl
+@dirrm share/gnome/help/cheese/ru/figures
+@dirrm share/gnome/help/cheese/ru
+@dirrm share/gnome/help/cheese/pt_BR/figures
+@dirrm share/gnome/help/cheese/pt_BR
+@dirrm share/gnome/help/cheese/oc/figures
+@dirrm share/gnome/help/cheese/oc
+@dirrm share/gnome/help/cheese/nl/figures
+@dirrm share/gnome/help/cheese/nl
+@dirrm share/gnome/help/cheese/it/figures
+@dirrm share/gnome/help/cheese/it
+@dirrm share/gnome/help/cheese/fr/figures
+@dirrm share/gnome/help/cheese/fr
+@dirrm share/gnome/help/cheese/es/figures
+@dirrm share/gnome/help/cheese/es
+@dirrm share/gnome/help/cheese/en_GB/figures
+@dirrm share/gnome/help/cheese/en_GB
+@dirrm share/gnome/help/cheese/el/figures
+@dirrm share/gnome/help/cheese/el
+@dirrm share/gnome/help/cheese/de/figures
+@dirrm share/gnome/help/cheese/de
+@dirrm share/gnome/help/cheese/cs/figures
+@dirrm share/gnome/help/cheese/cs
+@dirrm share/gnome/help/cheese/ca/figures
+@dirrm share/gnome/help/cheese/ca
+@dirrm share/gnome/help/cheese/C/figures
+@dirrm share/gnome/help/cheese/C
+@dirrm share/gnome/help/cheese
+@dirrm %%DOCSDIR%%
+@dirrm %%DATADIR%%/pixmaps
+@dirrm %%DATADIR%%/icons/hicolor/scalable/actions
+@dirrm %%DATADIR%%/icons/hicolor/scalable
+@dirrm %%DATADIR%%/icons/hicolor/48x48/actions
+@dirrm %%DATADIR%%/icons/hicolor/48x48
+@dirrm %%DATADIR%%/icons/hicolor/32x32/actions
+@dirrm %%DATADIR%%/icons/hicolor/32x32
+@dirrm %%DATADIR%%/icons/hicolor/24x24/actions
+@dirrm %%DATADIR%%/icons/hicolor/24x24
+@dirrm %%DATADIR%%/icons/hicolor/22x22/actions
+@dirrm %%DATADIR%%/icons/hicolor/22x22
+@dirrm %%DATADIR%%/icons/hicolor/16x16/actions
+@dirrm %%DATADIR%%/icons/hicolor/16x16
+@dirrm %%DATADIR%%/icons/hicolor
+@dirrm %%DATADIR%%/icons
+@dirrm %%DATADIR%%/effects
+@dirrm %%DATADIR%%
+@dirrmtry share/applications
+@dirrm libexec/cheese
+@dirrm include/cheese
+@dirrmtry share/locale/zh_HK/LC_MESSAGES
+@dirrmtry share/locale/zh_HK
+@dirrmtry share/locale/ug/LC_MESSAGES
+@dirrmtry share/locale/ug
+@dirrmtry share/locale/te/LC_MESSAGES
+@dirrmtry share/locale/te
+@dirrmtry share/locale/sr@latin/LC_MESSAGES
+@dirrmtry share/locale/sr@latin
+@dirrmtry share/locale/ps/LC_MESSAGES
+@dirrmtry share/locale/ps
+@dirrmtry share/locale/oc/LC_MESSAGES
+@dirrmtry share/locale/oc
+@dirrmtry share/locale/nds/LC_MESSAGES
+@dirrmtry share/locale/nds
+@dirrmtry share/locale/mr/LC_MESSAGES
+@dirrmtry share/locale/mr
+@dirrmtry share/locale/mai/LC_MESSAGES
+@dirrmtry share/locale/mai
+@dirrmtry share/locale/ku/LC_MESSAGES
+@dirrmtry share/locale/ku
+@dirrmtry share/locale/kk/LC_MESSAGES
+@dirrmtry share/locale/kk
+@dirrmtry share/locale/en@shaw/LC_MESSAGES
+@dirrmtry share/locale/en@shaw
+@dirrmtry share/locale/dz/LC_MESSAGES
+@dirrmtry share/locale/dz
+@dirrmtry share/locale/ca@valencia/LC_MESSAGES
+@dirrmtry share/locale/ca@valencia
+@dirrmtry share/locale/bn_IN/LC_MESSAGES
+@dirrmtry share/locale/bn_IN
+@dirrmtry share/locale/be@latin/LC_MESSAGES
+@dirrmtry share/locale/be@latin
+@dirrmtry share/locale/ast/LC_MESSAGES
+@dirrmtry share/locale/ast
+@dirrmtry share/locale/as/LC_MESSAGES
+@dirrmtry share/locale/as
diff --git a/multimedia/cheese3/Makefile b/multimedia/cheese3/Makefile
index 8962b08d1..3be399f79 100644
--- a/multimedia/cheese3/Makefile
+++ b/multimedia/cheese3/Makefile
@@ -3,7 +3,7 @@
# Whom: FreeBSD GNOME Team <gnome@FreeBSD.org>
#
# $FreeBSD$
-# $MCom: ports/multimedia/cheese3/Makefile,v 1.5 2011/04/13 09:44:34 kwm Exp $
+# $MCom: ports/multimedia/cheese3/Makefile,v 1.6 2011/04/15 15:35:21 kwm Exp $
#
PORTNAME= cheese
@@ -26,6 +26,8 @@ LIB_DEPENDS= canberra-gtk3.0:${PORTSDIR}/audio/libcanberra-gtk3 \
clutter-gst-1.0.0:${PORTSDIR}/multimedia/clutter-gst
RUN_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/gnome-video-effects.pc:${PORTSDIR}/graphics/gnome-video-effects
+CONFLICTS= cheese-2.[0-9]*
+
USE_XORG= xxf86vm
USE_BZIP2= yes
USE_GMAKE= yes
diff --git a/multimedia/totem/Makefile b/multimedia/totem/Makefile
new file mode 100644
index 000000000..e04d55a02
--- /dev/null
+++ b/multimedia/totem/Makefile
@@ -0,0 +1,142 @@
+# New ports collection makefile for: totem
+# Date created: 17 Oct 2002
+# Whom: Hendrik Scholz <hendrik@scholz.net>
+#
+# $FreeBSD: ports/multimedia/totem/Makefile,v 1.120 2011/03/05 12:05:28 miwi Exp $
+# $MCom: ports/multimedia/totem/Makefile,v 1.151 2010/09/27 19:04:37 kwm Exp $
+#
+
+PORTNAME= totem
+PORTVERSION= 2.32.0
+PORTREVISION?= 1
+CATEGORIES= multimedia gnome
+MASTER_SITES= GNOME
+DIST_SUBDIR= gnome2
+
+MAINTAINER?= gnome@FreeBSD.org
+COMMENT?= A gstreamer-based video player for the GNOME 2 Desktop
+
+BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/iso-codes.pc:${PORTSDIR}/misc/iso-codes
+LIB_DEPENDS= musicbrainz:${PORTSDIR}/audio/libmusicbrainz \
+ gdata.7:${PORTSDIR}/devel/libgdata \
+ unique-1.0.2:${PORTSDIR}/x11-toolkits/unique \
+ totem-plparser.17:${PORTSDIR}/multimedia/totem-pl-parser
+RUN_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/iso-codes.pc:${PORTSDIR}/misc/iso-codes \
+ ${LOCALBASE}/libexec/gnome-settings-daemon:${PORTSDIR}/sysutils/gnome-settings-daemon \
+ ${PYTHON_SITELIBDIR}/atom/__init__.py:${PORTSDIR}/devel/py-gdata
+
+CONFLICTS= totem-3.[0-9]*
+
+USE_PYTHON= yes
+USE_BZIP2= yes
+USE_GETTEXT= yes
+USE_GNOME= gnomeprefix intlhack gnomehack desktopfileutils \
+ nautilus2 ltverhack pygtk2
+GNOME_DESKTOP_VERSION=2
+USE_GSTREAMER= core gconf hal good mpeg2dec soup ugly python gio
+INSTALLS_ICONS= yes
+USE_GMAKE= yes
+USE_AUTOTOOLS= libtool
+USE_LDCONFIG= yes
+INSTALLS_OMF= yes
+PKGMESSAGE= ${WRKDIR}/pkg-message
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LIBS="-L${LOCALBASE}/lib -lXrandr" \
+ BROWSER_PLUGIN_DIR="${WEBPLUGINS_DIR}"
+CONFIGURE_ARGS= --with-plugins="${TOTEM_PLUGINS}"
+
+MAN1= totem.1 totem-video-thumbnailer.1
+GCONF_SCHEMAS= totem-handlers.schemas totem-video-thumbnail.schemas \
+ totem.schemas
+
+OPTIONS= LIRC "Enable lirc support" off \
+ GALAGO "Enable Galago support" off \
+ BROWSER_PLUGINS "Enable install plugins for gecko browser" on \
+ PUBLISH "Enable Publish (network playlist) plugin" off \
+# TRACKER "Enable tracker local search plugin" off
+
+# check configure script for allowed_plugins="..." for new plugins
+TOTEM_PLUGINS= thumbnail screensaver ontop gromit media-player-keys \
+ properties skipto youtube opensubtitles screenshot \
+ brasero-disc-recorder coherence_upnp dbus-service iplayer
+
+# Not using:
+# TOTEM_PLUGINS= mythtv bemused jamendo
+
+.include <bsd.port.pre.mk>
+
+.if defined(WITH_PUBLISH)
+LIB_DEPENDS+= epc-1.0.2:${PORTSDIR}/www/libepc
+PLIST_SUB+= PUBLISH=""
+TOTEM_PLUGINS:= ${TOTEM_PLUGINS} publish
+.else
+PLIST_SUB+= PUBLISH="@comment "
+.endif
+
+#.if defined(WITH_TRACKER)
+#LIB_DEPENDS+= tracker-gtk.0:${PORTSDIR}/sysutils/tracker-libtrackergtk
+#TOTEM_PLUGINS:= ${TOTEM_PLUGINS} tracker
+#PLIST_SUB+= TRACKER=""
+#.else
+PLIST_SUB+= TRACKER="@comment "
+#.endif
+
+.if defined(WITH_LIRC)
+LIB_DEPENDS+= lirc_client.2:${PORTSDIR}/comms/lirc
+PLIST_SUB+= LIRC=""
+TOTEM_PLUGINS:= ${TOTEM_PLUGINS} lirc
+.else
+PLIST_SUB+= LIRC="@comment "
+.endif
+
+.if defined(WITH_GALAGO)
+LIB_DEPENDS+= galago.3:${PORTSDIR}/devel/libgalago
+PLIST_SUB+= GALAGO=""
+TOTEM_PLUGINS:= ${TOTEM_PLUGINS} galago
+.else
+PLIST_SUB+= GALAGO="@comment "
+.endif
+
+.if !defined(WITHOUT_BROWSER_PLUGINS)
+CONFIGURE_ARGS+=--enable-browser-plugins \
+ --enable-gmp-plugin \
+ --enable-narrowspace-plugin
+PLIST_SUB+= BROWSER_PLUGINS=""
+
+USE_WEBPLUGINS= gecko19 webkit-gtk2
+WEBPLUGINS_FILES= libtotem-cone-plugin.so libtotem-gmp-plugin.so \
+ libtotem-mully-plugin.so \
+ libtotem-narrowspace-plugin.so
+.include "${PORTSDIR}/www/firefox/Makefile.webplugins"
+.else
+CONFIGURE_ARGS+=--disable-browser-plugins \
+ --disable-basic-plugin \
+ --disable-gmp-plugin \
+ --disable-narrowspace-plugin
+PLIST_SUB+= BROWSER_PLUGINS="@comment "
+.endif
+
+.if defined(WITH_DVD_DEVICE)
+DEFAULT_DVD_DEVICE=${WITH_DVD_DEVICE}
+.else
+DEFAULT_DVD_DEVICE=/dev/acd0
+.endif
+
+pre-everything::
+ @${ECHO_MSG} "===> The default DVD device is ${DEFAULT_DVD_DEVICE}"
+ @${ECHO_MSG} "===> Define WITH_DVD_DEVICE if you want to change the default"
+ @${ECHO_MSG} "===> For example, 'make WITH_DVD_DEVICE=\"/dev/somedevice\"'"
+
+post-patch:
+ @${CP} -f ${FILESDIR}/pkg-message.in ${PKGMESSAGE}
+ @${REINPLACE_CMD} -e 's|/dev/dvd|${DEFAULT_DVD_DEVICE}|' \
+ ${WRKSRC}/src/backend/bacon-video-widget-gst-0.10.c
+
+post-install:
+ @-update-desktop-database
+ ${MKDIR} ${PREFIX}/share/vala/vapi
+ ${INSTALL_DATA} ${WRKSRC}/bindings/vala/totem.vapi ${PREFIX}/share/vala/vapi
+ ${INSTALL_DATA} ${WRKSRC}/bindings/vala/totem.deps ${PREFIX}/share/vala/vapi
+ @${CAT} ${PKGMESSAGE}
+
+.include <bsd.port.post.mk>
diff --git a/multimedia/totem/distinfo b/multimedia/totem/distinfo
new file mode 100644
index 000000000..b33127b26
--- /dev/null
+++ b/multimedia/totem/distinfo
@@ -0,0 +1,3 @@
+MD5 (gnome2/totem-2.32.0.tar.bz2) = 2e55c3da316648ba860e3f88af2d30ab
+SHA256 (gnome2/totem-2.32.0.tar.bz2) = 982d6aaeca3e4844694fc0a2540d792bea753e24b55cf33203188b32b5914f47
+SIZE (gnome2/totem-2.32.0.tar.bz2) = 3278758
diff --git a/multimedia/totem/files/patch-browser-plugin_totemPluginGlue.cpp b/multimedia/totem/files/patch-browser-plugin_totemPluginGlue.cpp
new file mode 100644
index 000000000..6e697364d
--- /dev/null
+++ b/multimedia/totem/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/totem/files/patch-configure b/multimedia/totem/files/patch-configure
new file mode 100644
index 000000000..4c6a3519c
--- /dev/null
+++ b/multimedia/totem/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/totem/files/patch-help_Makefile.in b/multimedia/totem/files/patch-help_Makefile.in
new file mode 100644
index 000000000..0695029ac
--- /dev/null
+++ b/multimedia/totem/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/totem/files/pkg-message.in b/multimedia/totem/files/pkg-message.in
new file mode 100644
index 000000000..5c4332981
--- /dev/null
+++ b/multimedia/totem/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 *
+********************************************************
diff --git a/multimedia/totem/pkg-descr b/multimedia/totem/pkg-descr
new file mode 100644
index 000000000..3f33f1f5f
--- /dev/null
+++ b/multimedia/totem/pkg-descr
@@ -0,0 +1,7 @@
+Totem is simple movie player for the Gnome 2 desktop based on xine.
+It features a simple playlist, a full-screen mode, seek and volume controls,
+as well as a pretty complete keyboard navigation.
+
+WWW: http://www.gnome.org/projects/totem/
+
+-- Hendrik Scholz <hendrik@scholz.net>
diff --git a/multimedia/totem/pkg-plist b/multimedia/totem/pkg-plist
new file mode 100644
index 000000000..b592b540f
--- /dev/null
+++ b/multimedia/totem/pkg-plist
@@ -0,0 +1,609 @@
+bin/totem
+bin/totem-audio-preview
+bin/totem-video-indexer
+bin/totem-video-thumbnailer
+%%BROWSER_PLUGINS%%%%WEBPLUGINS_DIR%%/libtotem-cone-plugin.a
+%%BROWSER_PLUGINS%%%%WEBPLUGINS_DIR%%/libtotem-cone-plugin.la
+%%BROWSER_PLUGINS%%%%WEBPLUGINS_DIR%%/libtotem-cone-plugin.so
+%%BROWSER_PLUGINS%%%%WEBPLUGINS_DIR%%/libtotem-gmp-plugin.a
+%%BROWSER_PLUGINS%%%%WEBPLUGINS_DIR%%/libtotem-gmp-plugin.la
+%%BROWSER_PLUGINS%%%%WEBPLUGINS_DIR%%/libtotem-gmp-plugin.so
+%%BROWSER_PLUGINS%%%%WEBPLUGINS_DIR%%/libtotem-mully-plugin.a
+%%BROWSER_PLUGINS%%%%WEBPLUGINS_DIR%%/libtotem-mully-plugin.la
+%%BROWSER_PLUGINS%%%%WEBPLUGINS_DIR%%/libtotem-mully-plugin.so
+%%BROWSER_PLUGINS%%%%WEBPLUGINS_DIR%%/libtotem-narrowspace-plugin.a
+%%BROWSER_PLUGINS%%%%WEBPLUGINS_DIR%%/libtotem-narrowspace-plugin.la
+%%BROWSER_PLUGINS%%%%WEBPLUGINS_DIR%%/libtotem-narrowspace-plugin.so
+lib/nautilus/extensions-2.0/libtotem-properties-page.a
+lib/nautilus/extensions-2.0/libtotem-properties-page.la
+lib/nautilus/extensions-2.0/libtotem-properties-page.so
+lib/totem/plugins/brasero-disc-recorder/brasero-disc-recorder.totem-plugin
+lib/totem/plugins/brasero-disc-recorder/libbrasero-disc-recorder.a
+lib/totem/plugins/brasero-disc-recorder/libbrasero-disc-recorder.la
+lib/totem/plugins/brasero-disc-recorder/libbrasero-disc-recorder.so
+lib/totem/plugins/coherence_upnp/coherence_upnp.py
+lib/totem/plugins/coherence_upnp/coherence_upnp.pyc
+lib/totem/plugins/coherence_upnp/coherence_upnp.pyo
+lib/totem/plugins/coherence_upnp/coherence_upnp.totem-plugin
+lib/totem/plugins/dbus/dbus-service.py
+lib/totem/plugins/dbus/dbus-service.pyc
+lib/totem/plugins/dbus/dbus-service.pyo
+lib/totem/plugins/dbus/dbus-service.totem-plugin
+%%GALAGO%%lib/totem/plugins/galago/galago.totem-plugin
+%%GALAGO%%lib/totem/plugins/galago/libtgp.a
+%%GALAGO%%lib/totem/plugins/galago/libtgp.la
+%%GALAGO%%lib/totem/plugins/galago/libtgp.so
+lib/totem/plugins/gromit/gromit.totem-plugin
+lib/totem/plugins/iplayer/iplayer.py
+lib/totem/plugins/iplayer/iplayer.pyc
+lib/totem/plugins/iplayer/iplayer.pyo
+lib/totem/plugins/iplayer/iplayer.totem-plugin
+lib/totem/plugins/iplayer/iplayer.ui
+lib/totem/plugins/iplayer/iplayer2.py
+lib/totem/plugins/iplayer/iplayer2.pyc
+lib/totem/plugins/iplayer/iplayer2.pyo
+lib/totem/plugins/iplayer/listparser.py
+lib/totem/plugins/iplayer/listparser.pyc
+lib/totem/plugins/iplayer/listparser.pyo
+lib/totem/plugins/gromit/libgromit.a
+lib/totem/plugins/gromit/libgromit.la
+lib/totem/plugins/gromit/libgromit.so
+%%LIRC%%lib/totem/plugins/lirc/lirc.totem-plugin
+%%LIRC%%lib/totem/plugins/lirc/liblirc.a
+%%LIRC%%lib/totem/plugins/lirc/liblirc.la
+%%LIRC%%lib/totem/plugins/lirc/liblirc.so
+%%LIRC%%lib/totem/plugins/lirc/totem_lirc_default
+lib/totem/plugins/media-player-keys/libmedia_player_keys.a
+lib/totem/plugins/media-player-keys/libmedia_player_keys.la
+lib/totem/plugins/media-player-keys/libmedia_player_keys.so
+lib/totem/plugins/media-player-keys/media-player-keys.totem-plugin
+lib/totem/plugins/ontop/libontop.a
+lib/totem/plugins/ontop/libontop.la
+lib/totem/plugins/ontop/libontop.so
+lib/totem/plugins/ontop/ontop.totem-plugin
+lib/totem/plugins/opensubtitles/hash.py
+lib/totem/plugins/opensubtitles/hash.pyc
+lib/totem/plugins/opensubtitles/hash.pyo
+lib/totem/plugins/opensubtitles/opensubtitles.py
+lib/totem/plugins/opensubtitles/opensubtitles.pyc
+lib/totem/plugins/opensubtitles/opensubtitles.pyo
+lib/totem/plugins/opensubtitles/opensubtitles.totem-plugin
+lib/totem/plugins/opensubtitles/opensubtitles.ui
+%%PUBLISH%%lib/totem/plugins/publish/libpublish.a
+%%PUBLISH%%lib/totem/plugins/publish/libpublish.la
+%%PUBLISH%%lib/totem/plugins/publish/libpublish.so
+%%PUBLISH%%lib/totem/plugins/publish/publish-plugin.ui
+%%PUBLISH%%lib/totem/plugins/publish/publish.totem-plugin
+lib/totem/plugins/properties/libmovie-properties.a
+lib/totem/plugins/properties/libmovie-properties.la
+lib/totem/plugins/properties/libmovie-properties.so
+lib/totem/plugins/properties/movie-properties.totem-plugin
+lib/totem/plugins/screensaver/libscreensaver.a
+lib/totem/plugins/screensaver/libscreensaver.la
+lib/totem/plugins/screensaver/libscreensaver.so
+lib/totem/plugins/screensaver/screensaver.totem-plugin
+lib/totem/plugins/screenshot/gallery.ui
+lib/totem/plugins/screenshot/gnome-screenshot.ui
+lib/totem/plugins/screenshot/libscreenshot.a
+lib/totem/plugins/screenshot/libscreenshot.la
+lib/totem/plugins/screenshot/libscreenshot.so
+lib/totem/plugins/screenshot/screenshot.totem-plugin
+lib/totem/plugins/skipto/libskipto.a
+lib/totem/plugins/skipto/libskipto.la
+lib/totem/plugins/skipto/libskipto.so
+lib/totem/plugins/skipto/skipto.totem-plugin
+lib/totem/plugins/skipto/skipto.ui
+lib/totem/plugins/thumbnail/libthumbnail.a
+lib/totem/plugins/thumbnail/libthumbnail.la
+lib/totem/plugins/thumbnail/libthumbnail.so
+lib/totem/plugins/thumbnail/thumbnail.totem-plugin
+%%TRACKER%%lib/totem/plugins/tracker/libtracker.a
+%%TRACKER%%lib/totem/plugins/tracker/libtracker.la
+%%TRACKER%%lib/totem/plugins/tracker/libtracker.so
+%%TRACKER%%lib/totem/plugins/tracker/tracker.totem-plugin
+lib/totem/plugins/totem/__init__.py
+lib/totem/plugins/totem/__init__.pyc
+lib/totem/plugins/totem/__init__.pyo
+lib/totem/plugins/youtube/libyoutube.a
+lib/totem/plugins/youtube/libyoutube.la
+lib/totem/plugins/youtube/libyoutube.so
+lib/totem/plugins/youtube/youtube.totem-plugin
+lib/totem/plugins/youtube/youtube.ui
+%%BROWSER_PLUGINS%%libexec/totem-plugin-viewer
+libexec/totem/totem-bugreport.py
+share/applications/totem.desktop
+%%DOCSDIR%%/BaconVideoWidget.html
+%%DOCSDIR%%/TotemCellRendererVideo.html
+%%DOCSDIR%%/TotemObject.html
+%%DOCSDIR%%/TotemPlugin.html
+%%DOCSDIR%%/TotemVideoList.html
+%%DOCSDIR%%/annotation-glossary.html
+%%DOCSDIR%%/api-index-deprecated.html
+%%DOCSDIR%%/api-index-full.html
+%%DOCSDIR%%/core-api.html
+%%DOCSDIR%%/home.png
+%%DOCSDIR%%/index.html
+%%DOCSDIR%%/index.sgml
+%%DOCSDIR%%/ix02.html
+%%DOCSDIR%%/ix03.html
+%%DOCSDIR%%/left.png
+%%DOCSDIR%%/right.png
+%%DOCSDIR%%/style.css
+%%DOCSDIR%%/totem-Interface.html
+%%DOCSDIR%%/totem.devhelp
+%%DOCSDIR%%/totem.devhelp2
+%%DOCSDIR%%/totem-plugins.html
+%%DOCSDIR%%/tutorials.html
+%%DOCSDIR%%/up.png
+%%DOCSDIR%%/widget-api.html
+share/gnome/help/totem/C/figures/totem_next_button.png
+share/gnome/help/totem/C/figures/totem_pause_button.png
+share/gnome/help/totem/C/figures/totem_play_button.png
+share/gnome/help/totem/C/figures/totem_previous_button.png
+share/gnome/help/totem/C/figures/totem_show_playlist_button.png
+share/gnome/help/totem/C/figures/totem_start_window.png
+share/gnome/help/totem/C/figures/totem_volume_maximum_button.png
+share/gnome/help/totem/C/figures/totem_volume_mute_button.png
+share/gnome/help/totem/C/legal.xml
+share/gnome/help/totem/C/totem.xml
+share/gnome/help/totem/bg/figures/totem_next_button.png
+share/gnome/help/totem/bg/figures/totem_pause_button.png
+share/gnome/help/totem/bg/figures/totem_play_button.png
+share/gnome/help/totem/bg/figures/totem_previous_button.png
+share/gnome/help/totem/bg/figures/totem_show_playlist_button.png
+share/gnome/help/totem/bg/figures/totem_start_window.png
+share/gnome/help/totem/bg/figures/totem_volume_maximum_button.png
+share/gnome/help/totem/bg/figures/totem_volume_mute_button.png
+share/gnome/help/totem/bg/totem.xml
+share/gnome/help/totem/ca/figures/totem_next_button.png
+share/gnome/help/totem/ca/figures/totem_pause_button.png
+share/gnome/help/totem/ca/figures/totem_play_button.png
+share/gnome/help/totem/ca/figures/totem_previous_button.png
+share/gnome/help/totem/ca/figures/totem_show_playlist_button.png
+share/gnome/help/totem/ca/figures/totem_start_window.png
+share/gnome/help/totem/ca/figures/totem_volume_maximum_button.png
+share/gnome/help/totem/ca/figures/totem_volume_mute_button.png
+share/gnome/help/totem/ca/totem.xml
+share/gnome/help/totem/cs/figures/totem_next_button.png
+share/gnome/help/totem/cs/figures/totem_pause_button.png
+share/gnome/help/totem/cs/figures/totem_play_button.png
+share/gnome/help/totem/cs/figures/totem_previous_button.png
+share/gnome/help/totem/cs/figures/totem_show_playlist_button.png
+share/gnome/help/totem/cs/figures/totem_start_window.png
+share/gnome/help/totem/cs/figures/totem_volume_maximum_button.png
+share/gnome/help/totem/cs/figures/totem_volume_mute_button.png
+share/gnome/help/totem/cs/totem.xml
+share/gnome/help/totem/da/figures/totem_next_button.png
+share/gnome/help/totem/da/figures/totem_pause_button.png
+share/gnome/help/totem/da/figures/totem_play_button.png
+share/gnome/help/totem/da/figures/totem_previous_button.png
+share/gnome/help/totem/da/figures/totem_show_playlist_button.png
+share/gnome/help/totem/da/figures/totem_start_window.png
+share/gnome/help/totem/da/figures/totem_volume_maximum_button.png
+share/gnome/help/totem/da/figures/totem_volume_mute_button.png
+share/gnome/help/totem/da/totem.xml
+share/gnome/help/totem/de/figures/totem_next_button.png
+share/gnome/help/totem/de/figures/totem_pause_button.png
+share/gnome/help/totem/de/figures/totem_play_button.png
+share/gnome/help/totem/de/figures/totem_previous_button.png
+share/gnome/help/totem/de/figures/totem_show_playlist_button.png
+share/gnome/help/totem/de/figures/totem_start_window.png
+share/gnome/help/totem/de/figures/totem_volume_maximum_button.png
+share/gnome/help/totem/de/figures/totem_volume_mute_button.png
+share/gnome/help/totem/de/totem.xml
+share/gnome/help/totem/el/figures/totem_next_button.png
+share/gnome/help/totem/el/figures/totem_pause_button.png
+share/gnome/help/totem/el/figures/totem_play_button.png
+share/gnome/help/totem/el/figures/totem_previous_button.png
+share/gnome/help/totem/el/figures/totem_show_playlist_button.png
+share/gnome/help/totem/el/figures/totem_start_window.png
+share/gnome/help/totem/el/figures/totem_volume_maximum_button.png
+share/gnome/help/totem/el/figures/totem_volume_mute_button.png
+share/gnome/help/totem/el/totem.xml
+share/gnome/help/totem/en_GB/figures/totem_next_button.png
+share/gnome/help/totem/en_GB/figures/totem_pause_button.png
+share/gnome/help/totem/en_GB/figures/totem_play_button.png
+share/gnome/help/totem/en_GB/figures/totem_previous_button.png
+share/gnome/help/totem/en_GB/figures/totem_show_playlist_button.png
+share/gnome/help/totem/en_GB/figures/totem_start_window.png
+share/gnome/help/totem/en_GB/figures/totem_volume_maximum_button.png
+share/gnome/help/totem/en_GB/figures/totem_volume_mute_button.png
+share/gnome/help/totem/en_GB/totem.xml
+share/gnome/help/totem/es/figures/totem_next_button.png
+share/gnome/help/totem/es/figures/totem_pause_button.png
+share/gnome/help/totem/es/figures/totem_play_button.png
+share/gnome/help/totem/es/figures/totem_previous_button.png
+share/gnome/help/totem/es/figures/totem_show_playlist_button.png
+share/gnome/help/totem/es/figures/totem_start_window.png
+share/gnome/help/totem/es/figures/totem_volume_maximum_button.png
+share/gnome/help/totem/es/figures/totem_volume_mute_button.png
+share/gnome/help/totem/es/totem.xml
+share/gnome/help/totem/eu/figures/totem_next_button.png
+share/gnome/help/totem/eu/figures/totem_pause_button.png
+share/gnome/help/totem/eu/figures/totem_play_button.png
+share/gnome/help/totem/eu/figures/totem_previous_button.png
+share/gnome/help/totem/eu/figures/totem_show_playlist_button.png
+share/gnome/help/totem/eu/figures/totem_start_window.png
+share/gnome/help/totem/eu/figures/totem_volume_maximum_button.png
+share/gnome/help/totem/eu/figures/totem_volume_mute_button.png
+share/gnome/help/totem/eu/totem.xml
+share/gnome/help/totem/fi/figures/totem_next_button.png
+share/gnome/help/totem/fi/figures/totem_pause_button.png
+share/gnome/help/totem/fi/figures/totem_play_button.png
+share/gnome/help/totem/fi/figures/totem_previous_button.png
+share/gnome/help/totem/fi/figures/totem_show_playlist_button.png
+share/gnome/help/totem/fi/figures/totem_start_window.png
+share/gnome/help/totem/fi/figures/totem_volume_maximum_button.png
+share/gnome/help/totem/fi/figures/totem_volume_mute_button.png
+share/gnome/help/totem/fi/totem.xml
+share/gnome/help/totem/fr/figures/totem_next_button.png
+share/gnome/help/totem/fr/figures/totem_pause_button.png
+share/gnome/help/totem/fr/figures/totem_play_button.png
+share/gnome/help/totem/fr/figures/totem_previous_button.png
+share/gnome/help/totem/fr/figures/totem_show_playlist_button.png
+share/gnome/help/totem/fr/figures/totem_start_window.png
+share/gnome/help/totem/fr/figures/totem_volume_maximum_button.png
+share/gnome/help/totem/fr/figures/totem_volume_mute_button.png
+share/gnome/help/totem/fr/totem.xml
+share/gnome/help/totem/it/figures/totem_next_button.png
+share/gnome/help/totem/it/figures/totem_pause_button.png
+share/gnome/help/totem/it/figures/totem_play_button.png
+share/gnome/help/totem/it/figures/totem_previous_button.png
+share/gnome/help/totem/it/figures/totem_show_playlist_button.png
+share/gnome/help/totem/it/figures/totem_start_window.png
+share/gnome/help/totem/it/figures/totem_volume_maximum_button.png
+share/gnome/help/totem/it/figures/totem_volume_mute_button.png
+share/gnome/help/totem/it/totem.xml
+share/gnome/help/totem/ja/figures/totem_next_button.png
+share/gnome/help/totem/ja/figures/totem_pause_button.png
+share/gnome/help/totem/ja/figures/totem_play_button.png
+share/gnome/help/totem/ja/figures/totem_previous_button.png
+share/gnome/help/totem/ja/figures/totem_show_playlist_button.png
+share/gnome/help/totem/ja/figures/totem_start_window.png
+share/gnome/help/totem/ja/figures/totem_volume_maximum_button.png
+share/gnome/help/totem/ja/figures/totem_volume_mute_button.png
+share/gnome/help/totem/ja/totem.xml
+share/gnome/help/totem/oc/figures/totem_next_button.png
+share/gnome/help/totem/oc/figures/totem_pause_button.png
+share/gnome/help/totem/oc/figures/totem_play_button.png
+share/gnome/help/totem/oc/figures/totem_previous_button.png
+share/gnome/help/totem/oc/figures/totem_show_playlist_button.png
+share/gnome/help/totem/oc/figures/totem_start_window.png
+share/gnome/help/totem/oc/figures/totem_volume_maximum_button.png
+share/gnome/help/totem/oc/figures/totem_volume_mute_button.png
+share/gnome/help/totem/oc/totem.xml
+share/gnome/help/totem/pa/figures/totem_next_button.png
+share/gnome/help/totem/pa/figures/totem_pause_button.png
+share/gnome/help/totem/pa/figures/totem_play_button.png
+share/gnome/help/totem/pa/figures/totem_previous_button.png
+share/gnome/help/totem/pa/figures/totem_show_playlist_button.png
+share/gnome/help/totem/pa/figures/totem_start_window.png
+share/gnome/help/totem/pa/figures/totem_volume_maximum_button.png
+share/gnome/help/totem/pa/figures/totem_volume_mute_button.png
+share/gnome/help/totem/pa/totem.xml
+share/gnome/help/totem/pl/figures/totem_next_button.png
+share/gnome/help/totem/pl/figures/totem_pause_button.png
+share/gnome/help/totem/pl/figures/totem_play_button.png
+share/gnome/help/totem/pl/figures/totem_previous_button.png
+share/gnome/help/totem/pl/figures/totem_show_playlist_button.png
+share/gnome/help/totem/pl/figures/totem_start_window.png
+share/gnome/help/totem/pl/figures/totem_volume_maximum_button.png
+share/gnome/help/totem/pl/figures/totem_volume_mute_button.png
+share/gnome/help/totem/pl/totem.xml
+share/gnome/help/totem/pt_BR/figures/totem_next_button.png
+share/gnome/help/totem/pt_BR/figures/totem_pause_button.png
+share/gnome/help/totem/pt_BR/figures/totem_play_button.png
+share/gnome/help/totem/pt_BR/figures/totem_previous_button.png
+share/gnome/help/totem/pt_BR/figures/totem_show_playlist_button.png
+share/gnome/help/totem/pt_BR/figures/totem_start_window.png
+share/gnome/help/totem/pt_BR/figures/totem_volume_maximum_button.png
+share/gnome/help/totem/pt_BR/figures/totem_volume_mute_button.png
+share/gnome/help/totem/pt_BR/totem.xml
+share/gnome/help/totem/ru/figures/totem_next_button.png
+share/gnome/help/totem/ru/figures/totem_pause_button.png
+share/gnome/help/totem/ru/figures/totem_play_button.png
+share/gnome/help/totem/ru/figures/totem_previous_button.png
+share/gnome/help/totem/ru/figures/totem_show_playlist_button.png
+share/gnome/help/totem/ru/figures/totem_start_window.png
+share/gnome/help/totem/ru/figures/totem_volume_maximum_button.png
+share/gnome/help/totem/ru/figures/totem_volume_mute_button.png
+share/gnome/help/totem/ru/totem.xml
+share/gnome/help/totem/sv/figures/totem_next_button.png
+share/gnome/help/totem/sv/figures/totem_pause_button.png
+share/gnome/help/totem/sv/figures/totem_play_button.png
+share/gnome/help/totem/sv/figures/totem_previous_button.png
+share/gnome/help/totem/sv/figures/totem_show_playlist_button.png
+share/gnome/help/totem/sv/figures/totem_start_window.png
+share/gnome/help/totem/sv/figures/totem_volume_maximum_button.png
+share/gnome/help/totem/sv/figures/totem_volume_mute_button.png
+share/gnome/help/totem/sv/totem.xml
+share/gnome/help/totem/uk/figures/totem_next_button.png
+share/gnome/help/totem/uk/figures/totem_pause_button.png
+share/gnome/help/totem/uk/figures/totem_play_button.png
+share/gnome/help/totem/uk/figures/totem_previous_button.png
+share/gnome/help/totem/uk/figures/totem_show_playlist_button.png
+share/gnome/help/totem/uk/figures/totem_start_window.png
+share/gnome/help/totem/uk/figures/totem_volume_maximum_button.png
+share/gnome/help/totem/uk/figures/totem_volume_mute_button.png
+share/gnome/help/totem/uk/totem.xml
+share/gnome/help/totem/zh_CN/figures/totem_next_button.png
+share/gnome/help/totem/zh_CN/figures/totem_pause_button.png
+share/gnome/help/totem/zh_CN/figures/totem_play_button.png
+share/gnome/help/totem/zh_CN/figures/totem_previous_button.png
+share/gnome/help/totem/zh_CN/figures/totem_show_playlist_button.png
+share/gnome/help/totem/zh_CN/figures/totem_start_window.png
+share/gnome/help/totem/zh_CN/figures/totem_volume_maximum_button.png
+share/gnome/help/totem/zh_CN/figures/totem_volume_mute_button.png
+share/gnome/help/totem/zh_CN/totem.xml
+share/gnome/help/totem/zh_HK/figures/totem_next_button.png
+share/gnome/help/totem/zh_HK/figures/totem_pause_button.png
+share/gnome/help/totem/zh_HK/figures/totem_play_button.png
+share/gnome/help/totem/zh_HK/figures/totem_previous_button.png
+share/gnome/help/totem/zh_HK/figures/totem_show_playlist_button.png
+share/gnome/help/totem/zh_HK/figures/totem_start_window.png
+share/gnome/help/totem/zh_HK/figures/totem_volume_maximum_button.png
+share/gnome/help/totem/zh_HK/figures/totem_volume_mute_button.png
+share/gnome/help/totem/zh_HK/totem.xml
+share/gnome/help/totem/zh_TW/figures/totem_next_button.png
+share/gnome/help/totem/zh_TW/figures/totem_pause_button.png
+share/gnome/help/totem/zh_TW/figures/totem_play_button.png
+share/gnome/help/totem/zh_TW/figures/totem_previous_button.png
+share/gnome/help/totem/zh_TW/figures/totem_show_playlist_button.png
+share/gnome/help/totem/zh_TW/figures/totem_start_window.png
+share/gnome/help/totem/zh_TW/figures/totem_volume_maximum_button.png
+share/gnome/help/totem/zh_TW/figures/totem_volume_mute_button.png
+share/gnome/help/totem/zh_TW/totem.xml
+share/icons/hicolor/16x16/apps/totem.png
+share/icons/hicolor/16x16/devices/totem-tv.png
+share/icons/hicolor/22x22/apps/totem.png
+share/icons/hicolor/22x22/devices/totem-tv.png
+share/icons/hicolor/24x24/apps/totem.png
+share/icons/hicolor/24x24/devices/totem-tv.png
+share/icons/hicolor/32x32/apps/totem.png
+share/icons/hicolor/32x32/devices/totem-tv.png
+share/icons/hicolor/48x48/apps/totem.png
+share/icons/hicolor/48x48/devices/totem-tv.png
+share/icons/hicolor/scalable/apps/totem.svg
+share/icons/hicolor/scalable/devices/totem-tv.svg
+share/locale/am/LC_MESSAGES/totem.mo
+share/locale/ar/LC_MESSAGES/totem.mo
+share/locale/as/LC_MESSAGES/totem.mo
+share/locale/ast/LC_MESSAGES/totem.mo
+share/locale/az/LC_MESSAGES/totem.mo
+share/locale/be/LC_MESSAGES/totem.mo
+share/locale/be@latin/LC_MESSAGES/totem.mo
+share/locale/bg/LC_MESSAGES/totem.mo
+share/locale/bn/LC_MESSAGES/totem.mo
+share/locale/bn_IN/LC_MESSAGES/totem.mo
+share/locale/br/LC_MESSAGES/totem.mo
+share/locale/ca/LC_MESSAGES/totem.mo
+share/locale/ca@valencia/LC_MESSAGES/totem.mo
+share/locale/crh/LC_MESSAGES/totem.mo
+share/locale/cs/LC_MESSAGES/totem.mo
+share/locale/cy/LC_MESSAGES/totem.mo
+share/locale/da/LC_MESSAGES/totem.mo
+share/locale/de/LC_MESSAGES/totem.mo
+share/locale/dz/LC_MESSAGES/totem.mo
+share/locale/el/LC_MESSAGES/totem.mo
+share/locale/en@shaw/LC_MESSAGES/totem.mo
+share/locale/en_CA/LC_MESSAGES/totem.mo
+share/locale/en_GB/LC_MESSAGES/totem.mo
+share/locale/es/LC_MESSAGES/totem.mo
+share/locale/et/LC_MESSAGES/totem.mo
+share/locale/eu/LC_MESSAGES/totem.mo
+share/locale/fa/LC_MESSAGES/totem.mo
+share/locale/fi/LC_MESSAGES/totem.mo
+share/locale/fr/LC_MESSAGES/totem.mo
+share/locale/ga/LC_MESSAGES/totem.mo
+share/locale/gl/LC_MESSAGES/totem.mo
+share/locale/gu/LC_MESSAGES/totem.mo
+share/locale/he/LC_MESSAGES/totem.mo
+share/locale/hi/LC_MESSAGES/totem.mo
+share/locale/hr/LC_MESSAGES/totem.mo
+share/locale/hu/LC_MESSAGES/totem.mo
+share/locale/id/LC_MESSAGES/totem.mo
+share/locale/is/LC_MESSAGES/totem.mo
+share/locale/it/LC_MESSAGES/totem.mo
+share/locale/ja/LC_MESSAGES/totem.mo
+share/locale/ka/LC_MESSAGES/totem.mo
+share/locale/kk/LC_MESSAGES/totem.mo
+share/locale/kn/LC_MESSAGES/totem.mo
+share/locale/ko/LC_MESSAGES/totem.mo
+share/locale/ku/LC_MESSAGES/totem.mo
+share/locale/lt/LC_MESSAGES/totem.mo
+share/locale/lv/LC_MESSAGES/totem.mo
+share/locale/mai/LC_MESSAGES/totem.mo
+share/locale/mg/LC_MESSAGES/totem.mo
+share/locale/mk/LC_MESSAGES/totem.mo
+share/locale/ml/LC_MESSAGES/totem.mo
+share/locale/mr/LC_MESSAGES/totem.mo
+share/locale/ms/LC_MESSAGES/totem.mo
+share/locale/nb/LC_MESSAGES/totem.mo
+share/locale/ne/LC_MESSAGES/totem.mo
+share/locale/nl/LC_MESSAGES/totem.mo
+share/locale/nn/LC_MESSAGES/totem.mo
+share/locale/oc/LC_MESSAGES/totem.mo
+share/locale/or/LC_MESSAGES/totem.mo
+share/locale/pa/LC_MESSAGES/totem.mo
+share/locale/pl/LC_MESSAGES/totem.mo
+share/locale/pt/LC_MESSAGES/totem.mo
+share/locale/pt_BR/LC_MESSAGES/totem.mo
+share/locale/ro/LC_MESSAGES/totem.mo
+share/locale/ru/LC_MESSAGES/totem.mo
+share/locale/rw/LC_MESSAGES/totem.mo
+share/locale/si/LC_MESSAGES/totem.mo
+share/locale/sk/LC_MESSAGES/totem.mo
+share/locale/sl/LC_MESSAGES/totem.mo
+share/locale/sq/LC_MESSAGES/totem.mo
+share/locale/sr/LC_MESSAGES/totem.mo
+share/locale/sr@latin/LC_MESSAGES/totem.mo
+share/locale/sv/LC_MESSAGES/totem.mo
+share/locale/ta/LC_MESSAGES/totem.mo
+share/locale/te/LC_MESSAGES/totem.mo
+share/locale/th/LC_MESSAGES/totem.mo
+share/locale/tr/LC_MESSAGES/totem.mo
+share/locale/ug/LC_MESSAGES/totem.mo
+share/locale/uk/LC_MESSAGES/totem.mo
+share/locale/vi/LC_MESSAGES/totem.mo
+share/locale/wa/LC_MESSAGES/totem.mo
+share/locale/xh/LC_MESSAGES/totem.mo
+share/locale/zh_CN/LC_MESSAGES/totem.mo
+share/locale/zh_HK/LC_MESSAGES/totem.mo
+share/locale/zh_TW/LC_MESSAGES/totem.mo
+share/omf/totem/totem-C.omf
+share/omf/totem/totem-bg.omf
+share/omf/totem/totem-ca.omf
+share/omf/totem/totem-cs.omf
+share/omf/totem/totem-da.omf
+share/omf/totem/totem-de.omf
+share/omf/totem/totem-el.omf
+share/omf/totem/totem-en_GB.omf
+share/omf/totem/totem-es.omf
+share/omf/totem/totem-eu.omf
+share/omf/totem/totem-fi.omf
+share/omf/totem/totem-fr.omf
+share/omf/totem/totem-it.omf
+share/omf/totem/totem-ja.omf
+share/omf/totem/totem-oc.omf
+share/omf/totem/totem-pa.omf
+share/omf/totem/totem-pl.omf
+share/omf/totem/totem-pt_BR.omf
+share/omf/totem/totem-ru.omf
+share/omf/totem/totem-sv.omf
+share/omf/totem/totem-uk.omf
+share/omf/totem/totem-zh_CN.omf
+share/omf/totem/totem-zh_HK.omf
+share/omf/totem/totem-zh_TW.omf
+%%DATADIR%%/filmholes-big-left.png
+%%DATADIR%%/filmholes-big-right.png
+%%DATADIR%%/filmholes.png
+%%DATADIR%%/fullscreen.ui
+%%DATADIR%%/mozilla-viewer.ui
+%%DATADIR%%/playlist.ui
+%%DATADIR%%/plugins.ui
+%%DATADIR%%/properties.ui
+%%DATADIR%%/totem.ui
+%%DATADIR%%/uri.ui
+%%DATADIR%%/video-list.ui
+share/vala/vapi/totem.deps
+share/vala/vapi/totem.vapi
+@dirrm %%DATADIR%%
+@dirrm share/omf/totem
+@dirrm share/gnome/help/totem/zh_TW/figures
+@dirrm share/gnome/help/totem/zh_TW
+@dirrm share/gnome/help/totem/zh_HK/figures
+@dirrm share/gnome/help/totem/zh_HK
+@dirrm share/gnome/help/totem/zh_CN/figures
+@dirrm share/gnome/help/totem/zh_CN
+@dirrm share/gnome/help/totem/uk/figures
+@dirrm share/gnome/help/totem/uk
+@dirrm share/gnome/help/totem/sv/figures
+@dirrm share/gnome/help/totem/sv
+@dirrm share/gnome/help/totem/ru/figures
+@dirrm share/gnome/help/totem/ru
+@dirrm share/gnome/help/totem/pt_BR/figures
+@dirrm share/gnome/help/totem/pt_BR
+@dirrm share/gnome/help/totem/pl/figures
+@dirrm share/gnome/help/totem/pl
+@dirrm share/gnome/help/totem/pa/figures
+@dirrm share/gnome/help/totem/pa
+@dirrm share/gnome/help/totem/oc/figures
+@dirrm share/gnome/help/totem/oc
+@dirrm share/gnome/help/totem/ja/figures
+@dirrm share/gnome/help/totem/ja
+@dirrm share/gnome/help/totem/it/figures
+@dirrm share/gnome/help/totem/it
+@dirrm share/gnome/help/totem/fr/figures
+@dirrm share/gnome/help/totem/fr
+@dirrm share/gnome/help/totem/fi/figures
+@dirrm share/gnome/help/totem/fi
+@dirrm share/gnome/help/totem/eu/figures
+@dirrm share/gnome/help/totem/eu
+@dirrm share/gnome/help/totem/es/figures
+@dirrm share/gnome/help/totem/es
+@dirrm share/gnome/help/totem/en_GB/figures
+@dirrm share/gnome/help/totem/en_GB
+@dirrm share/gnome/help/totem/el/figures
+@dirrm share/gnome/help/totem/el
+@dirrm share/gnome/help/totem/de/figures
+@dirrm share/gnome/help/totem/de
+@dirrm share/gnome/help/totem/da/figures
+@dirrm share/gnome/help/totem/da
+@dirrm share/gnome/help/totem/cs/figures
+@dirrm share/gnome/help/totem/cs
+@dirrm share/gnome/help/totem/ca/figures
+@dirrm share/gnome/help/totem/ca
+@dirrm share/gnome/help/totem/bg/figures
+@dirrm share/gnome/help/totem/bg
+@dirrm share/gnome/help/totem/C/figures
+@dirrm share/gnome/help/totem/C
+@dirrm share/gnome/help/totem
+@dirrm %%DOCSDIR%%
+@dirrmtry share/applications
+@dirrm libexec/totem
+@dirrm lib/totem/plugins/youtube
+@dirrm lib/totem/plugins/totem
+%%TRACKER%%@dirrm lib/totem/plugins/tracker
+@dirrm lib/totem/plugins/thumbnail
+@dirrm lib/totem/plugins/skipto
+@dirrm lib/totem/plugins/screenshot
+@dirrm lib/totem/plugins/screensaver
+%%PUBLISH%%@dirrm lib/totem/plugins/publish
+@dirrm lib/totem/plugins/properties
+@dirrm lib/totem/plugins/opensubtitles
+@dirrm lib/totem/plugins/ontop
+@dirrm lib/totem/plugins/media-player-keys
+%%LIRC%%@dirrm lib/totem/plugins/lirc
+@dirrm lib/totem/plugins/iplayer
+@dirrm lib/totem/plugins/gromit
+%%GALAGO%%@dirrm lib/totem/plugins/galago
+@dirrm lib/totem/plugins/dbus
+@dirrm lib/totem/plugins/coherence_upnp
+@dirrm lib/totem/plugins/brasero-disc-recorder
+@dirrm lib/totem/plugins
+@dirrm lib/totem
+%%BROWSER_PLUGINS%%@dirrmtry %%WEBPLUGINS_DIR%%
+@exec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true
+@unexec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true
+@dirrmtry share/locale/zh_HK/LC_MESSAGES
+@dirrmtry share/locale/zh_HK
+@dirrmtry share/locale/xh/LC_MESSAGES
+@dirrmtry share/locale/xh
+@dirrmtry share/locale/ug/LC_MESSAGES
+@dirrmtry share/locale/ug
+@dirrmtry share/locale/te/LC_MESSAGES
+@dirrmtry share/locale/te
+@dirrmtry share/locale/sr@latin/LC_MESSAGES
+@dirrmtry share/locale/sr@latin
+@dirrmtry share/locale/si/LC_MESSAGES
+@dirrmtry share/locale/si
+@dirrmtry share/locale/rw/LC_MESSAGES
+@dirrmtry share/locale/rw
+@dirrmtry share/locale/oc/LC_MESSAGES
+@dirrmtry share/locale/oc
+@dirrmtry share/locale/mr/LC_MESSAGES
+@dirrmtry share/locale/mr
+@dirrmtry share/locale/mg/LC_MESSAGES
+@dirrmtry share/locale/mg
+@dirrmtry share/locale/mai/LC_MESSAGES
+@dirrmtry share/locale/mai
+@dirrmtry share/locale/ku/LC_MESSAGES
+@dirrmtry share/locale/ku
+@dirrmtry share/locale/kk/LC_MESSAGES
+@dirrmtry share/locale/kk
+@dirrmtry share/locale/en@shaw/LC_MESSAGES
+@dirrmtry share/locale/en@shaw
+@dirrmtry share/locale/dz/LC_MESSAGES
+@dirrmtry share/locale/dz
+@dirrmtry share/locale/crh/LC_MESSAGES
+@dirrmtry share/locale/crh
+@dirrmtry share/locale/ca@valencia/LC_MESSAGES
+@dirrmtry share/locale/ca@valencia
+@dirrmtry share/locale/bn_IN/LC_MESSAGES
+@dirrmtry share/locale/bn_IN
+@dirrmtry share/locale/be@latin/LC_MESSAGES
+@dirrmtry share/locale/be@latin
+@dirrmtry share/locale/ast/LC_MESSAGES
+@dirrmtry share/locale/ast
+@dirrmtry share/locale/as/LC_MESSAGES
+@dirrmtry share/locale/as
diff --git a/multimedia/totem3/Makefile b/multimedia/totem3/Makefile
index 32f18ac32..fbbfda1a6 100644
--- a/multimedia/totem3/Makefile
+++ b/multimedia/totem3/Makefile
@@ -3,7 +3,7 @@
# Whom: Hendrik Scholz <hendrik@scholz.net>
#
# $FreeBSD$
-# $MCom: ports/multimedia/totem3/Makefile,v 1.12 2011/04/05 09:51:01 kwm Exp $
+# $MCom: ports/multimedia/totem3/Makefile,v 1.13 2011/04/10 19:41:36 mezz Exp $
#
PORTNAME= totem
@@ -28,6 +28,8 @@ RUN_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/iso-codes.pc:${PORTSDIR}/misc/iso-co
gnome-settings-daemon>=2.91.0:${PORTSDIR}/sysutils/gnome-settings-daemon3 \
gnome-icon-theme-symbolic>=2.91.0:${PORTSDIR}/x11-themes/gnome-icon-theme-symbolic
+CONFLICTS= totem-2.[0-9]*
+
USE_PYTHON= yes
USE_XORG= x11 xrandr xxf86vm
USE_BZIP2= yes
diff --git a/net/gtk-vnc/Makefile b/net/gtk-vnc/Makefile
new file mode 100644
index 000000000..a12fb6ba6
--- /dev/null
+++ b/net/gtk-vnc/Makefile
@@ -0,0 +1,33 @@
+# New ports collection makefile for: gtk-vnc
+# Date created: 16 December 2007
+# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
+#
+# $FreeBSD: ports/net/gtk-vnc/Makefile,v 1.19 2010/05/31 02:00:18 ade Exp $
+#
+
+PORTNAME= gtk-vnc
+PORTVERSION= 0.3.10
+PORTREVISION= 3
+CATEGORIES= net gnome
+MASTER_SITES= GNOME
+
+MAINTAINER= gnome@FreeBSD.org
+COMMENT= VNC viewer widget for GTK+
+
+LIB_DEPENDS= gnutls:${PORTSDIR}/security/gnutls \
+ sasl2.2:${PORTSDIR}/security/cyrus-sasl2 \
+ gtkglext-x11-1.0.0:${PORTSDIR}/x11-toolkits/gtkglext
+
+CONFLICTS= gtk-vnc-0.4.[0-9]*
+
+USE_GNOME= pygtk2 gnomehack
+USE_GMAKE= yes
+USE_GETTEXT= yes
+USE_LDCONFIG= yes
+USE_PYTHON= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib"
+CONFIGURE_ARGS= --with-gtkglext=yes
+
+.include <bsd.port.mk>
diff --git a/net/gtk-vnc/distinfo b/net/gtk-vnc/distinfo
new file mode 100644
index 000000000..ef8bf092a
--- /dev/null
+++ b/net/gtk-vnc/distinfo
@@ -0,0 +1,2 @@
+SHA256 (gtk-vnc-0.3.10.tar.gz) = 61fdc1824e5621ba77a116fae7e512ced377a914ad34b2a694188277ca679384
+SIZE (gtk-vnc-0.3.10.tar.gz) = 604228
diff --git a/net/gtk-vnc/files/patch-src_continuation.h b/net/gtk-vnc/files/patch-src_continuation.h
new file mode 100644
index 000000000..549af869b
--- /dev/null
+++ b/net/gtk-vnc/files/patch-src_continuation.h
@@ -0,0 +1,10 @@
+--- src/continuation.h.orig 2007-12-16 13:58:18.000000000 -0500
++++ src/continuation.h 2007-12-16 13:58:39.000000000 -0500
+@@ -11,6 +11,7 @@
+ #ifndef _CONTINUATION_H_
+ #define _CONTINUATION_H_
+
++#include <sys/types.h>
+ #include <ucontext.h>
+
+ struct continuation
diff --git a/net/gtk-vnc/files/patch-src_coroutine_ucontext.c b/net/gtk-vnc/files/patch-src_coroutine_ucontext.c
new file mode 100644
index 000000000..7a52f6e10
--- /dev/null
+++ b/net/gtk-vnc/files/patch-src_coroutine_ucontext.c
@@ -0,0 +1,11 @@
+--- src/coroutine_ucontext.c.orig 2007-12-16 13:59:13.000000000 -0500
++++ src/coroutine_ucontext.c 2007-12-16 13:59:21.000000000 -0500
+@@ -48,7 +48,7 @@ int coroutine_init(struct coroutine *co)
+ co->cc.stack_size = co->stack_size;
+ co->cc.stack = mmap(0, co->stack_size,
+ PROT_READ | PROT_WRITE,
+- MAP_PRIVATE | MAP_ANONYMOUS,
++ MAP_PRIVATE | MAP_ANON,
+ -1, 0);
+ if (co->cc.stack == MAP_FAILED)
+ return -1;
diff --git a/net/gtk-vnc/files/patch-src_gvnc.h b/net/gtk-vnc/files/patch-src_gvnc.h
new file mode 100644
index 000000000..150b05330
--- /dev/null
+++ b/net/gtk-vnc/files/patch-src_gvnc.h
@@ -0,0 +1,22 @@
+--- src/gvnc.h.orig 2008-03-24 11:39:20.000000000 -0400
++++ src/gvnc.h 2008-03-24 11:40:22.000000000 -0400
+@@ -3,6 +3,19 @@
+
+ #include <glib.h>
+ #include <stdint.h>
++#ifdef __FreeBSD__
++#include <sys/endian.h>
++
++#define __BYTE_ORDER _BYTE_ORDER
++#define __LITTLE_ENDIAN _LITTLE_ENDIAN
++#define __BIG_ENDIAN _BIG_ENDIAN
++
++#define bswap_16 bswap16
++#define bswap_32 bswap32
++#define bswap_64 bswap64
++#else
++#include <endian.h>
++#endif
+
+ struct gvnc;
+
diff --git a/net/gtk-vnc/pkg-descr b/net/gtk-vnc/pkg-descr
new file mode 100644
index 000000000..08b3cf791
--- /dev/null
+++ b/net/gtk-vnc/pkg-descr
@@ -0,0 +1,10 @@
+GTK-VNC is a VNC viewer widget for GTK+. It is built using coroutines,
+allowing it to be completely asynchronous while remaining single threaded.
+It supports RFB protocols 3.3 through 3.8 and the VeNCrypt authentication
+extension providing SSL/TLS encryption with x509 certificate authentication.
+The core library is written in C and a binding for Python using PyGTK is
+available. The networking layer supports connections over both IPv4 and IPv6.
+Example code illustrates how to build a vncviewer replacement using either C
+or Python.
+
+WWW: http://live.gnome.org/gtk-vnc
diff --git a/net/gtk-vnc/pkg-plist b/net/gtk-vnc/pkg-plist
new file mode 100644
index 000000000..e57277615
--- /dev/null
+++ b/net/gtk-vnc/pkg-plist
@@ -0,0 +1,23 @@
+include/gtk-vnc-1.0/vncdisplay.h
+lib/libgtk-vnc-1.0.a
+lib/libgtk-vnc-1.0.la
+lib/libgtk-vnc-1.0.so
+lib/libgtk-vnc-1.0.so.0
+%%PYTHON_SITELIBDIR%%/gtkvnc.a
+%%PYTHON_SITELIBDIR%%/gtkvnc.la
+%%PYTHON_SITELIBDIR%%/gtkvnc.so
+libdata/pkgconfig/gtk-vnc-1.0.pc
+share/locale/de/LC_MESSAGES/gtk-vnc.mo
+share/locale/el/LC_MESSAGES/gtk-vnc.mo
+share/locale/en_GB/LC_MESSAGES/gtk-vnc.mo
+share/locale/es/LC_MESSAGES/gtk-vnc.mo
+share/locale/eu/LC_MESSAGES/gtk-vnc.mo
+share/locale/fr/LC_MESSAGES/gtk-vnc.mo
+share/locale/gl/LC_MESSAGES/gtk-vnc.mo
+share/locale/hu/LC_MESSAGES/gtk-vnc.mo
+share/locale/it/LC_MESSAGES/gtk-vnc.mo
+share/locale/pl/LC_MESSAGES/gtk-vnc.mo
+share/locale/pt/LC_MESSAGES/gtk-vnc.mo
+share/locale/pt_BR/LC_MESSAGES/gtk-vnc.mo
+share/locale/sv/LC_MESSAGES/gtk-vnc.mo
+@dirrm include/gtk-vnc-1.0
diff --git a/net/gtk-vnc3/Makefile b/net/gtk-vnc3/Makefile
index 509731911..11c4a2df1 100644
--- a/net/gtk-vnc3/Makefile
+++ b/net/gtk-vnc3/Makefile
@@ -16,6 +16,8 @@ COMMENT= VNC viewer widget for GTK+
LIB_DEPENDS= gnutls:${PORTSDIR}/security/gnutls \
sasl2.2:${PORTSDIR}/security/cyrus-sasl2
+CONFLICTS= gtk-vnc-0.3.[0-9]*
+
LICENSE= LGPL21
LICENSE_FILE= ${WRKSRC}/COPYING.LIB
#USE_GNOME= pygtk2 gnomehack