summaryrefslogtreecommitdiffstats
path: root/deskutils/google-gadgets
diff options
context:
space:
mode:
authorkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2010-07-05 19:34:49 +0800
committerkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2010-07-05 19:34:49 +0800
commitbde500a3f7cf00b9c196f3393e21c440b318b03f (patch)
treeb107009a045c5f5fad5d442bbd34f58d031772cb /deskutils/google-gadgets
parent910ed5f4ecfca362ba908a3f74a888b6e78022ff (diff)
downloadmarcuscom-ports-bde500a3f7cf00b9c196f3393e21c440b318b03f.tar
marcuscom-ports-bde500a3f7cf00b9c196f3393e21c440b318b03f.tar.gz
marcuscom-ports-bde500a3f7cf00b9c196f3393e21c440b318b03f.tar.bz2
marcuscom-ports-bde500a3f7cf00b9c196f3393e21c440b318b03f.tar.lz
marcuscom-ports-bde500a3f7cf00b9c196f3393e21c440b318b03f.tar.xz
marcuscom-ports-bde500a3f7cf00b9c196f3393e21c440b318b03f.tar.zst
marcuscom-ports-bde500a3f7cf00b9c196f3393e21c440b318b03f.zip
webkit-gtk2 shlib changed its name. Chase all users. also update some
depend lines to include a version because there is now a webkitgtk-1.0 and webkitgtk-3.0. So webkitgtk matches both. While here reset epiphany back to the 2.30 version. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@14295 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'deskutils/google-gadgets')
-rw-r--r--deskutils/google-gadgets/Makefile149
-rw-r--r--deskutils/google-gadgets/distinfo3
-rw-r--r--deskutils/google-gadgets/files/patch-configure.ac36
-rw-r--r--deskutils/google-gadgets/files/patch-extensions_gst__audio__framework_gst__audio__framework.cc77
-rw-r--r--deskutils/google-gadgets/files/patch-extensions_gst__video__element_gadget__videosink.cc50
-rw-r--r--deskutils/google-gadgets/files/patch-extensions_gst__video__element_gst__video__element.cc123
-rw-r--r--deskutils/google-gadgets/files/patch-extensions_gtk__system__framework_gtk__system__framework.cc14
-rw-r--r--deskutils/google-gadgets/files/patch-extensions_gtkmoz__browser__element_Makefile.am15
-rw-r--r--deskutils/google-gadgets/files/patch-extensions_gtkmoz__browser__element_browser__element.cc14
-rw-r--r--deskutils/google-gadgets/files/patch-extensions_gtkwebkit__browser__element_browser__element.cc23
-rw-r--r--deskutils/google-gadgets/files/patch-extensions_linux__system__framework_file__system.cc27
-rw-r--r--deskutils/google-gadgets/files/patch-extensions_smjs__script__runtime_Makefile.am15
-rw-r--r--deskutils/google-gadgets/files/patch-extensions_smjs__script__runtime_tests_Makefile.am15
-rw-r--r--deskutils/google-gadgets/files/patch-extensions_soup__xml__http__request_soup__xml__http__request.cc32
-rw-r--r--deskutils/google-gadgets/files/patch-gadgets_designer_designer__script__utils.cc14
-rw-r--r--deskutils/google-gadgets/files/patch-ggadget_gtk_utilities.cc11
-rw-r--r--deskutils/google-gadgets/files/patch-ggadget_npapi_Makefile.am15
-rw-r--r--deskutils/google-gadgets/pkg-descr4
-rw-r--r--deskutils/google-gadgets/pkg-plist289
19 files changed, 926 insertions, 0 deletions
diff --git a/deskutils/google-gadgets/Makefile b/deskutils/google-gadgets/Makefile
new file mode 100644
index 000000000..df450cf8a
--- /dev/null
+++ b/deskutils/google-gadgets/Makefile
@@ -0,0 +1,149 @@
+# New ports collection makefile for: google-gadgets
+# Date created: 2008-06-08
+# Whom: Ashish Shukla <wahjava@gmail.com>
+#
+# $FreeBSD: ports/deskutils/google-gadgets/Makefile,v 1.19 2010/06/11 13:37:34 ashish Exp $
+#
+
+PORTNAME= google-gadgets
+PORTVERSION= 0.11.2
+PORTREVISION= 3
+CATEGORIES= deskutils
+MASTER_SITES= http://google-gadgets-for-linux.googlecode.com/files/
+DISTNAME= ${PORTNAME}-for-linux-${PORTVERSION}
+
+MAINTAINER= ashish@FreeBSD.org
+COMMENT= Google Desktop Gadgets
+
+BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/dbus-1.pc:${PORTSDIR}/devel/dbus \
+ ${LOCALBASE}/libdata/pkgconfig/libcurl.pc:${PORTSDIR}/ftp/curl \
+ ${LOCALBASE}/libdata/pkgconfig/libxml-2.0.pc:${PORTSDIR}/textproc/libxml2 \
+ ${LOCALBASE}/libdata/pkgconfig/cairo.pc:${PORTSDIR}/graphics/cairo \
+ ${LOCALBASE}/libdata/pkgconfig/librsvg-2.0.pc:${PORTSDIR}/graphics/librsvg2 \
+ ${LOCALBASE}/libdata/pkgconfig/libstartup-notification-1.0.pc:${PORTSDIR}/x11/startup-notification \
+ zip:${PORTSDIR}/archivers/zip
+LIB_DEPENDS= cairo.2:${PORTSDIR}/graphics/cairo \
+ xml2.5:${PORTSDIR}/textproc/libxml2 \
+ dbus-1.3:${PORTSDIR}/devel/dbus \
+ curl.6:${PORTSDIR}/ftp/curl \
+ rsvg-2.2:${PORTSDIR}/graphics/librsvg2 \
+ startup-notification-1.0:${PORTSDIR}/x11/startup-notification
+RUN_DEPENDS= ${LOCALBASE}/bin/update-mime-database:${PORTSDIR}/misc/shared-mime-info
+
+USE_BZIP2= yes
+USE_LDCONFIG= yes
+USE_GMAKE= yes
+USE_GCC= 4.2+
+USE_GSTREAMER= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ENV= CFLAGS="${CFLAGS} -I${LOCALBASE}/include -Wno-deprecated-declarations" LDFLAGS="-L${LOCALBASE}/lib"
+CONFIGURE_ARGS= --enable-ltdl-install=no --with-browser-plugins-dir=${LOCALBASE}/lib/browser_plugins
+USE_AUTOTOOLS= libtool:22:env autoconf:262:env automake:110:env aclocal:110:env libltdl:22
+WANT_GNOME= yes
+USE_GNOME= gnomehack
+INSTALLS_ICONS= yes
+
+OPTIONS= DEBUGGING "Enable debug output on runtime" on\
+ GTK "Build GTK Host" on\
+ QT "Build Qt Host" on\
+ GTKWEBKIT "Build with GTK Webkit support" on\
+ MOZILLA "Build with Mozilla support" on
+
+.include <bsd.port.options.mk>
+
+.if defined(WITH_QT)
+USE_QT_VER= 4
+QT_COMPONENTS= webkit opengl gui corelib script network moc_build
+.endif
+
+.if defined(WITH_GTKWEBKIT)
+BUILD_DEPENDS+= ${LOCALBASE}/libdata/pkgconfig/webkit-1.0.pc:${PORTSDIR}/www/webkit-gtk2
+LIB_DEPENDS+= webkitgtk-1.0.13:${PORTSDIR}/www/webkit-gtk2
+.endif
+
+.if defined(WITH_MOZILLA)
+USE_GECKO= libxul firefox mozilla seamonkey xulrunner
+.endif
+
+.if defined(WITHOUT_GTKWEBKIT) && defined(WITHOUT_MOZILLA) && defined(WITH_GTK)
+IGNORE= gtk host requires GTK Webkit or/and Mozilla support to be enabled. Please, rerun 'make config'
+.elif defined(WITH_GTKWEBKIT) && defined(WITHOUT_GTK)
+.undef WITHOUT_GTK
+WITH_GTK=yes
+
+pre-everything::
+ @${ECHO_MSG} "==> GTK Webkit or/and Mozilla support is enabled."
+ @${ECHO_MSG} "==> Enabling GTK support. If this is not desired,"
+ @${ECHO_MSG} "==> please rerun 'make config'."
+.endif
+
+.include <bsd.port.pre.mk>
+
+CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include -Wno-deprecated-declarations"
+
+.if ${OSVERSION} < 700000
+IGNORE= needs 7.X or higher
+.endif
+
+.if defined(WITH_DEBUGGING)
+CONFIGURE_ARGS+= --enable-debug
+.endif
+
+.if defined(WITHOUT_GTK)
+PLIST_SUB+= GTK="@comment "
+CONFIGURE_ARGS+= --disable-gtk-host \
+ --disable-libggadget-gtk \
+ --disable-gtkmoz-browser-element \
+ --disable-gtk-system-framework \
+ --disable-webkit-script-runtime \
+ --disable-gtkwebkit-browser-element \
+ --disable-soup-xml-http-request
+.elif defined(WITH_GTK)
+USE_GNOME= gtk20
+PLIST_SUB+= GTK=""
+CONFIGURE_ARGS+= --enable-gtk-host
+BUILD_DEPENDS+= ${LOCALBASE}/libdata/pkgconfig/libsoup-2.4.pc:${PORTSDIR}/devel/libsoup
+LIB_DEPENDS+= soup-2.4.1:${PORTSDIR}/devel/libsoup
+RUN_DEPENDS+= ${LOCALBASE}/share/certs/ca-root-nss.crt:${PORTSDIR}/security/ca_root_nss
+CONFIGURE_ARGS+= --with-ssl-ca-file=${LOCALBASE}/share/certs/ca-root-nss.crt
+
+.endif
+
+.if defined(WITHOUT_GTKWEBKIT)
+PLIST_SUB+= GTKWEBKIT="@comment "
+CONFIGURE_ARGS+= --disable-webkit-script-runtime --disable-gtkwebkit-browser-element
+.elif defined(WITH_GTKWEBKIT)
+PLIST_SUB+= GTKWEBKIT=""
+.endif
+
+.if defined(WITHOUT_MOZILLA)
+PLIST_SUB+= MOZILLA="@comment "
+CONFIGURE_ARGS+= --disable-smjs-script-runtime --disable-gtkmoz-browser-element
+.elif defined(WITH_MOZILLA)
+PLIST_SUB+= MOZILLA=""
+.endif
+
+.if defined(WITHOUT_QT)
+PLIST_SUB+= QT="@comment "
+CONFIGURE_ARGS+= --disable-qt-host --disable-libggadget-qt --disable-qt-system-framework\
+ --disable-qtwebkit-browser-element --disable-qt-script-runtime --disable-qt-xml-http-request
+.else
+PLIST_SUB+= QT=""
+CONFIGURE_ARGS+= --enable-qt-host
+.endif
+
+.if defined(WITHOUT_QT) && defined(WITHOUT_GTK)
+IGNORE= requires GTK or/and Qt host to be enabled. Please, rerun 'make config'
+.endif
+
+post-patch:
+ @${FIND} ${WRKSRC} -type f -name Makefile.am -exec ${GREP} -l pkgconfig {} \; | ${XARGS} ${REINPLACE_CMD} -e 's|^\(pkgconfigdir[[:space:]]*=\).*|\1 $$(prefix)/libdata/pkgconfig|'
+
+pre-configure:
+ @cd ${WRKSRC} && ${SH} autotools/bootstrap.sh && ${CP} ${AUTOMAKE_DIR}/mkinstalldirs libltdl/
+ @cd ${WRKSRC} && ${CHMOD} +x autotools/install-sh
+
+post-install:
+ @-update-desktop-database
+
+.include <bsd.port.post.mk>
diff --git a/deskutils/google-gadgets/distinfo b/deskutils/google-gadgets/distinfo
new file mode 100644
index 000000000..fde6c8d04
--- /dev/null
+++ b/deskutils/google-gadgets/distinfo
@@ -0,0 +1,3 @@
+MD5 (google-gadgets-for-linux-0.11.2.tar.bz2) = 279305553bcbf74f3e3615f6abc36a5e
+SHA256 (google-gadgets-for-linux-0.11.2.tar.bz2) = 2f129ae6c294876b3bc29bdf66c0f02e2c1000f97aadb3540d296560a14f343f
+SIZE (google-gadgets-for-linux-0.11.2.tar.bz2) = 2539750
diff --git a/deskutils/google-gadgets/files/patch-configure.ac b/deskutils/google-gadgets/files/patch-configure.ac
new file mode 100644
index 000000000..3398f0c32
--- /dev/null
+++ b/deskutils/google-gadgets/files/patch-configure.ac
@@ -0,0 +1,36 @@
+
+$FreeBSD: ports/deskutils/google-gadgets/files/patch-configure.ac,v 1.5 2009/12/29 11:09:51 miwi Exp $
+
+--- configure.ac.orig
++++ configure.ac
+@@ -501,6 +501,13 @@
+ GGL_PLATFORM="\"linux\""
+ build_linux_system_framework=yes
+ ;;
++ *freebsd* )
++ ggl_host_type=freebsd
++ PREDEFINED_MACROS="$PREDEFINED_MACROS -DGGL_HOST_LINUX=1"
++ build_linux_system_framework=yes
++ GGL_PLATFORM_SHORT=\"freebsd\"
++ GGL_PLATFORM=\"freebsd\"
++ ;;
+ *solaris* )
+ ggl_host_type=solaris
+ PREDEFINED_MACROS="$PREDEFINED_MACROS -DGGL_HOST_SOLARIS=1"
+@@ -526,6 +533,7 @@
+ AM_CONDITIONAL([GGL_HOST_MACOSX], [test x$ggl_host_type = xmacosx])
+ AM_CONDITIONAL([GGL_HOST_LINUX], [test x$ggl_host_type = xlinux])
+ AM_CONDITIONAL([GGL_HOST_SOLARIS], [test x$ggl_host_type = xsolaris])
++AM_CONDITIONAL([GGL_HOST_FREEBSD], [test x$ggl_host_type = xfreebsd])
+
+ AC_SUBST(PREDEFINED_MACROS)
+ AC_SUBST(DEFAULT_COMPILE_FLAGS)
+@@ -651,7 +659,7 @@
+ has_qtwebkit=no
+ has_qtscript=no
+ if test x$build_libggadget_qt = xyes; then
+- if test x$ggl_host_type = xlinux; then
++ if test x$ggl_host_type = xlinux -o x$ggl_host_type = xfreebsd; then
+ PKG_CHECK_MODULES(QT4, [QtGui >= 4.3 QtCore >= 4.3 QtNetwork >= 4.3],
+ [has_qt4=yes
+ MOC=`$PKG_CONFIG --variable=moc_location QtCore`],
diff --git a/deskutils/google-gadgets/files/patch-extensions_gst__audio__framework_gst__audio__framework.cc b/deskutils/google-gadgets/files/patch-extensions_gst__audio__framework_gst__audio__framework.cc
new file mode 100644
index 000000000..5c804f74e
--- /dev/null
+++ b/deskutils/google-gadgets/files/patch-extensions_gst__audio__framework_gst__audio__framework.cc
@@ -0,0 +1,77 @@
+
+$FreeBSD: ports/deskutils/google-gadgets/files/patch-extensions_gst__audio__framework_gst__audio__framework.cc,v 1.1 2008/06/09 00:52:55 ahze Exp $
+
+--- extensions/gst_audio_framework/gst_audio_framework.cc.orig
++++ extensions/gst_audio_framework/gst_audio_framework.cc
+@@ -91,7 +91,7 @@
+ }
+
+ // Use fakesink as video-sink to discard the video output.
+- g_object_set(G_OBJECT(playbin_), "video-sink", videosink, NULL);
++ g_object_set(G_OBJECT(playbin_), "video-sink", videosink, (gchar*)0);
+
+ // Create new audio sink with panorama support if possible.
+ GstElement *audiosink = NULL;
+@@ -114,7 +114,7 @@
+ // panorama support.
+ if (panorama_) {
+ GstElement *audiobin = gst_bin_new("audiobin");
+- gst_bin_add_many(GST_BIN(audiobin), panorama_, audiosink, NULL);
++ gst_bin_add_many(GST_BIN(audiobin), panorama_, audiosink, (GstElement*)0);
+ gst_element_link(panorama_, audiosink);
+ GstPad *sinkpad = gst_element_get_pad(panorama_, "sink");
+ gst_element_add_pad(audiobin, gst_ghost_pad_new("sink", sinkpad));
+@@ -123,7 +123,7 @@
+ }
+
+ // Set audio-sink to our new audiosink.
+- g_object_set(G_OBJECT(playbin_), "audio-sink", audiosink, NULL);
++ g_object_set(G_OBJECT(playbin_), "audio-sink", audiosink, (gchar*)0);
+
+ // Watch the message bus.
+ // The host using this class must use a g_main_loop to capture the
+@@ -153,7 +153,7 @@
+ virtual int GetBalance() const {
+ if (playbin_ && panorama_) {
+ gfloat balance;
+- g_object_get(G_OBJECT(panorama_), "panorama", &balance, NULL);
++ g_object_get(G_OBJECT(panorama_), "panorama", &balance, (gchar*)0);
+ int gg_balance = static_cast<int>(((balance + 1) / 2) *
+ (kMaxBalance - kMinBalance) +
+ kMinBalance);
+@@ -177,7 +177,7 @@
+ }
+ gfloat gst_balance =
+ (gfloat(balance - kMinBalance) / (kMaxBalance - kMinBalance)) * 2 - 1;
+- g_object_set(G_OBJECT(panorama_), "panorama", gst_balance, NULL);
++ g_object_set(G_OBJECT(panorama_), "panorama", gst_balance, (gchar*)0);
+ } else {
+ if (!playbin_)
+ DLOG("Playbin was not initialized correctly.");
+@@ -237,7 +237,7 @@
+ // FIXME:
+ // Playbin won't produce ERROR whether it's a bad uri or the file's
+ // format is not supported. We must check here.
+- g_object_set(G_OBJECT(playbin_), "uri", src, NULL);
++ g_object_set(G_OBJECT(playbin_), "uri", src, (gchar*)0);
+ } else {
+ if (!playbin_)
+ DLOG("Playbin was not initialized correctly.");
+@@ -253,7 +253,7 @@
+ virtual int GetVolume() const {
+ if (playbin_) {
+ double volume;
+- g_object_get(G_OBJECT(playbin_), "volume", &volume, NULL);
++ g_object_get(G_OBJECT(playbin_), "volume", &volume, (gchar*)0);
+ int gg_volume = static_cast<int>((volume / kMaxGstVolume) *
+ (kMaxVolume - kMinVolume) +
+ kMinVolume);
+@@ -275,7 +275,7 @@
+ (gdouble(volume - kMinVolume) / (kMaxVolume - kMinVolume)) *
+ kMaxGstVolume;
+
+- g_object_set(G_OBJECT(playbin_), "volume", gst_volume, NULL);
++ g_object_set(G_OBJECT(playbin_), "volume", gst_volume, (gchar*)0);
+ } else {
+ DLOG("Playbin was not initialized correctly.");
+ }
diff --git a/deskutils/google-gadgets/files/patch-extensions_gst__video__element_gadget__videosink.cc b/deskutils/google-gadgets/files/patch-extensions_gst__video__element_gadget__videosink.cc
new file mode 100644
index 000000000..9af2a7ccd
--- /dev/null
+++ b/deskutils/google-gadgets/files/patch-extensions_gst__video__element_gadget__videosink.cc
@@ -0,0 +1,50 @@
+
+$FreeBSD: ports/deskutils/google-gadgets/files/patch-extensions_gst__video__element_gadget__videosink.cc,v 1.1 2008/10/19 14:59:03 miwi Exp $
+
+--- extensions/gst_video_element/gadget_videosink.cc.orig
++++ extensions/gst_video_element/gadget_videosink.cc
+@@ -459,10 +459,10 @@
+ nom = gst_value_get_fraction_numerator(videosink->par_);
+ den = gst_value_get_fraction_denominator(videosink->par_);
+ gst_structure_set(structure, "pixel-aspect-ratio",
+- GST_TYPE_FRACTION, nom, den, NULL);
++ GST_TYPE_FRACTION, nom, den, (gchar*)0);
+ } else {
+ gst_structure_set(structure, "pixel-aspect-ratio",
+- GST_TYPE_FRACTION, 1, 1, NULL);
++ GST_TYPE_FRACTION, 1, 1, (gchar*)0);
+ }
+ }
+
+@@ -672,18 +672,18 @@
+ desired_caps = gst_caps_copy(caps);
+ desired_struct = gst_caps_get_structure(desired_caps, 0);
+
+- gst_structure_set (desired_struct, "width", G_TYPE_INT, result.w, NULL);
+- gst_structure_set (desired_struct, "height", G_TYPE_INT, result.h, NULL);
++ gst_structure_set (desired_struct, "width", G_TYPE_INT, result.w, (gchar*)0);
++ gst_structure_set (desired_struct, "height", G_TYPE_INT, result.h, (gchar*)0);
+
+ // PAR property overrides the default one.
+ if (videosink->par_) {
+ nom = gst_value_get_fraction_numerator(videosink->par_);
+ den = gst_value_get_fraction_denominator(videosink->par_);
+ gst_structure_set(desired_struct, "pixel-aspect-ratio",
+- GST_TYPE_FRACTION, nom, den, NULL);
++ GST_TYPE_FRACTION, nom, den, (gchar*)0);
+ } else {
+ gst_structure_set(desired_struct, "pixel-aspect-ratio",
+- GST_TYPE_FRACTION, 1, 1, NULL);
++ GST_TYPE_FRACTION, 1, 1, (gchar*)0);
+ }
+
+ // see if peer accepts our new suggestion, if there is no peer, this
+@@ -895,7 +895,7 @@
+ nom = gst_value_get_fraction_numerator(par_);
+ den = gst_value_get_fraction_denominator(par_);
+ gst_caps_set_simple(caps_, const_cast<gchar*>("pixel-aspect-ratio"),
+- GST_TYPE_FRACTION, 1, 1, NULL);
++ GST_TYPE_FRACTION, 1, 1, (gchar*)0);
+ }
+
+ // This function converts the image format if necessary, puts the image into
diff --git a/deskutils/google-gadgets/files/patch-extensions_gst__video__element_gst__video__element.cc b/deskutils/google-gadgets/files/patch-extensions_gst__video__element_gst__video__element.cc
new file mode 100644
index 000000000..96dfaf456
--- /dev/null
+++ b/deskutils/google-gadgets/files/patch-extensions_gst__video__element_gst__video__element.cc
@@ -0,0 +1,123 @@
+
+$FreeBSD: ports/deskutils/google-gadgets/files/patch-extensions_gst__video__element_gst__video__element.cc,v 1.2 2008/11/23 22:51:45 miwi Exp $
+
+--- extensions/gst_video_element/gst_video_element.cc.orig
++++ extensions/gst_video_element/gst_video_element.cc
+@@ -125,7 +125,7 @@
+ return;
+ } else {
+ g_object_get(G_OBJECT(videosink_),
+- "receive-image-handler", &receive_image_handler_, NULL);
++ "receive-image-handler", &receive_image_handler_, (gchar*)0);
+ if (!receive_image_handler_) {
+ gst_object_unref(GST_OBJECT(playbin_));
+ gst_object_unref(GST_OBJECT(videosink_));
+@@ -135,7 +135,7 @@
+ }
+
+ // Set videosink to receive video output.
+- g_object_set(G_OBJECT(playbin_), "video-sink", videosink_, NULL);
++ g_object_set(G_OBJECT(playbin_), "video-sink", videosink_, (gchar*)0);
+
+ // Create new audio sink with panorama support if possible.
+ GstElement *audiosink = NULL;
+@@ -161,15 +161,15 @@
+ GstElement *audiobin = gst_bin_new("audiobin");
+ GstPad *sinkpad;
+ if (volume_ && panorama_) {
+- gst_bin_add_many(GST_BIN(audiobin), volume_, panorama_, audiosink, NULL);
+- gst_element_link_many(volume_, panorama_, audiosink, NULL);
++ gst_bin_add_many(GST_BIN(audiobin), volume_, panorama_, audiosink, (gchar*)0);
++ gst_element_link_many(volume_, panorama_, audiosink, (gchar*)0);
+ sinkpad = gst_element_get_pad(volume_, "sink");
+ } else if (volume_) {
+- gst_bin_add_many(GST_BIN(audiobin), volume_, audiosink, NULL);
++ gst_bin_add_many(GST_BIN(audiobin), volume_, audiosink, (gchar*)0);
+ gst_element_link(volume_, audiosink);
+ sinkpad = gst_element_get_pad(volume_, "sink");
+ } else {
+- gst_bin_add_many(GST_BIN(audiobin), panorama_, audiosink, NULL);
++ gst_bin_add_many(GST_BIN(audiobin), panorama_, audiosink, (gchar*)0);
+ gst_element_link(panorama_, audiosink);
+ sinkpad = gst_element_get_pad(panorama_, "sink");
+ }
+@@ -179,7 +179,7 @@
+ }
+
+ // Set audio-sink to our new audiosink.
+- g_object_set(G_OBJECT(playbin_), "audio-sink", audiosink, NULL);
++ g_object_set(G_OBJECT(playbin_), "audio-sink", audiosink, (gchar*)0);
+
+ // Watch the message bus.
+ // The host using this class must use a g_main_loop to capture the
+@@ -357,14 +357,14 @@
+
+ src_ = src;
+ media_changed_ = true;
+- g_object_set(G_OBJECT(playbin_), "uri", src_.c_str(), NULL);
++ g_object_set(G_OBJECT(playbin_), "uri", src_.c_str(), (gchar*)0);
+ }
+ }
+
+ int GstVideoElement::GetVolume() const {
+ if (playbin_) {
+ double volume;
+- g_object_get(G_OBJECT(playbin_), "volume", &volume, NULL);
++ g_object_get(G_OBJECT(playbin_), "volume", &volume, (gchar*)0);
+ int gg_volume = static_cast<int>((volume / kMaxGstVolume) *
+ (kMaxVolume - kMinVolume) + kMinVolume);
+ return Clamp(gg_volume, kMinVolume, kMaxVolume);
+@@ -381,7 +381,7 @@
+ }
+ gdouble gg_volume = ((gdouble(volume - kMinVolume) /
+ (kMaxVolume - kMinVolume)) * kMaxGstVolume);
+- g_object_set(G_OBJECT(playbin_), "volume", gg_volume, NULL);
++ g_object_set(G_OBJECT(playbin_), "volume", gg_volume, (gchar*)0);
+ } else {
+ DLOG("Playbin was not initialized correctly.");
+ }
+@@ -403,7 +403,7 @@
+ int GstVideoElement::GetBalance() const {
+ if (playbin_ && panorama_) {
+ gfloat balance;
+- g_object_get(G_OBJECT(panorama_), "panorama", &balance, NULL);
++ g_object_get(G_OBJECT(panorama_), "panorama", &balance, (gchar*)0);
+ int gg_balance = static_cast<int>(((balance + 1) / 2) *
+ (kMaxBalance - kMinBalance) +
+ kMinBalance);
+@@ -426,7 +426,7 @@
+ }
+ gfloat gg_balance = (gfloat(balance - kMinBalance) /
+ (kMaxBalance - kMinBalance)) * 2 - 1;
+- g_object_set(G_OBJECT(panorama_), "panorama", gg_balance, NULL);
++ g_object_set(G_OBJECT(panorama_), "panorama", gg_balance, (gchar*)0);
+ } else {
+ if (!playbin_)
+ DLOG("Playbin was not initialized correctly.");
+@@ -438,7 +438,7 @@
+ bool GstVideoElement::IsMute() const {
+ if (playbin_ && volume_) {
+ gboolean mute;
+- g_object_get(G_OBJECT(volume_), "mute", &mute, NULL);
++ g_object_get(G_OBJECT(volume_), "mute", &mute, (gchar*)0);
+ return static_cast<bool>(mute);
+ } else {
+ if (!playbin_)
+@@ -451,7 +451,7 @@
+
+ void GstVideoElement::SetMute(bool mute) {
+ if (playbin_ && volume_) {
+- g_object_set(G_OBJECT(volume_), "mute", static_cast<gboolean>(mute), NULL);
++ g_object_set(G_OBJECT(volume_), "mute", static_cast<gboolean>(mute), (gchar*)0);
+ } else {
+ if (!playbin_)
+ DLOG("Playbin was not initialized correctly.");
+@@ -464,7 +464,7 @@
+ if (playbin_ && videosink_) {
+ g_object_set(G_OBJECT(videosink_),
+ "geometry-width", static_cast<int>(width),
+- "geometry-height", static_cast<int>(height), NULL);
++ "geometry-height", static_cast<int>(height), (gchar*)0);
+ } else {
+ if (!playbin_)
+ DLOG("Playbin was not initialized correctly.");
diff --git a/deskutils/google-gadgets/files/patch-extensions_gtk__system__framework_gtk__system__framework.cc b/deskutils/google-gadgets/files/patch-extensions_gtk__system__framework_gtk__system__framework.cc
new file mode 100644
index 000000000..a47712b00
--- /dev/null
+++ b/deskutils/google-gadgets/files/patch-extensions_gtk__system__framework_gtk__system__framework.cc
@@ -0,0 +1,14 @@
+
+$FreeBSD: ports/deskutils/google-gadgets/files/patch-extensions_gtk__system__framework_gtk__system__framework.cc,v 1.2 2009/01/15 12:11:25 miwi Exp $
+
+--- extensions/gtk_system_framework/gtk_system_framework.cc.orig
++++ extensions/gtk_system_framework/gtk_system_framework.cc
+@@ -137,7 +137,7 @@
+ whole_title.c_str(), NULL, action,
+ GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
+ GTK_STOCK_OK, GTK_RESPONSE_OK,
+- NULL);
++ (gint*)0);
+ gtk_window_set_position(GTK_WINDOW(dialog), GTK_WIN_POS_CENTER);
+
+ if (action == GTK_FILE_CHOOSER_ACTION_SAVE) {
diff --git a/deskutils/google-gadgets/files/patch-extensions_gtkmoz__browser__element_Makefile.am b/deskutils/google-gadgets/files/patch-extensions_gtkmoz__browser__element_Makefile.am
new file mode 100644
index 000000000..701f34ec7
--- /dev/null
+++ b/deskutils/google-gadgets/files/patch-extensions_gtkmoz__browser__element_Makefile.am
@@ -0,0 +1,15 @@
+
+$FreeBSD: ports/deskutils/google-gadgets/files/patch-extensions_gtkmoz__browser__element_Makefile.am,v 1.2 2009/01/15 12:11:25 miwi Exp $
+
+--- extensions/gtkmoz_browser_element/Makefile.am.orig
++++ extensions/gtkmoz_browser_element/Makefile.am
+@@ -63,8 +63,7 @@
+
+ gtkmoz_browser_child_LDADD = $(GTK2_LIBS) \
+ $(GTKMOZEMBED_LIBS) \
+- $(top_builddir)/ggadget/libggadget@GGL_EPOCH@.la \
+- -ldl
++ $(top_builddir)/ggadget/libggadget@GGL_EPOCH@.la
+
+ gtkmoz_browser_child_LDFLAGS = $(GTKMOZEMBED_LDFLAGS)
+
diff --git a/deskutils/google-gadgets/files/patch-extensions_gtkmoz__browser__element_browser__element.cc b/deskutils/google-gadgets/files/patch-extensions_gtkmoz__browser__element_browser__element.cc
new file mode 100644
index 000000000..747438cdb
--- /dev/null
+++ b/deskutils/google-gadgets/files/patch-extensions_gtkmoz__browser__element_browser__element.cc
@@ -0,0 +1,14 @@
+
+$FreeBSD: ports/deskutils/google-gadgets/files/patch-extensions_gtkmoz__browser__element_browser__element.cc,v 1.3 2009/03/08 12:53:52 beat Exp $
+
+--- extensions/gtkmoz_browser_element/browser_element.cc.orig
++++ extensions/gtkmoz_browser_element/browser_element.cc
+@@ -164,7 +164,7 @@
+ std::string up_fd_str = StringPrintf("%d", up_fds[1]);
+ for (size_t i = 0; kBrowserChildNames[i]; ++i) {
+ execl(kBrowserChildNames[i], kBrowserChildNames[i],
+- down_fd_str.c_str(), up_fd_str.c_str(), NULL);
++ down_fd_str.c_str(), up_fd_str.c_str(), (char*)0);
+ }
+ LOG("Failed to execute browser child");
+ _exit(-1);
diff --git a/deskutils/google-gadgets/files/patch-extensions_gtkwebkit__browser__element_browser__element.cc b/deskutils/google-gadgets/files/patch-extensions_gtkwebkit__browser__element_browser__element.cc
new file mode 100644
index 000000000..b12321525
--- /dev/null
+++ b/deskutils/google-gadgets/files/patch-extensions_gtkwebkit__browser__element_browser__element.cc
@@ -0,0 +1,23 @@
+
+$FreeBSD: ports/deskutils/google-gadgets/files/patch-extensions_gtkwebkit__browser__element_browser__element.cc,v 1.1 2010/01/09 19:30:45 pav Exp $
+
+--- extensions/gtkwebkit_browser_element/browser_element.cc.orig
++++ extensions/gtkwebkit_browser_element/browser_element.cc
+@@ -540,7 +540,7 @@
+ Impl *impl) {
+ if (!impl->owner_) return;
+ gint width = 0;
+- g_object_get(features, "width", &width, NULL);
++ g_object_get(features, "width", &width, (const gchar*)0);
+ ScopedLogContext log_context(impl->owner_->GetView()->GetGadget());
+ DLOG("WebViewWindowWidthNotify(Impl=%p, width=%d)", impl, width);
+ }
+@@ -550,7 +550,7 @@
+ Impl *impl) {
+ if (!impl->owner_) return;
+ gint height = 0;
+- g_object_get(features, "height", &height, NULL);
++ g_object_get(features, "height", &height, (const gchar*)0);
+ ScopedLogContext log_context(impl->owner_->GetView()->GetGadget());
+ DLOG("WebViewWindowHeightNotify(Impl=%p, width=%d)", impl, height);
+ }
diff --git a/deskutils/google-gadgets/files/patch-extensions_linux__system__framework_file__system.cc b/deskutils/google-gadgets/files/patch-extensions_linux__system__framework_file__system.cc
new file mode 100644
index 000000000..cfb78e594
--- /dev/null
+++ b/deskutils/google-gadgets/files/patch-extensions_linux__system__framework_file__system.cc
@@ -0,0 +1,27 @@
+
+$FreeBSD: ports/deskutils/google-gadgets/files/patch-extensions_linux__system__framework_file__system.cc,v 1.2 2008/10/19 14:59:03 miwi Exp $
+
+--- extensions/linux_system_framework/file_system.cc.orig
++++ extensions/linux_system_framework/file_system.cc
+@@ -463,8 +463,8 @@
+ if (stat(path, &stat_value))
+ return Date(0);
+
+- return Date(stat_value.st_mtim.tv_sec * 1000
+- + stat_value.st_mtim.tv_nsec / 1000000);
++ return Date(statbuf.st_mtimespec.tv_sec * 1000
++ + statbuf.st_mtimespec.tv_nsec / 1000000);
+ }
+
+ static Date GetDateLastAccessed(const char *path) {
+@@ -476,8 +476,8 @@
+ if (stat(path, &stat_value))
+ return Date(0);
+
+- return Date(stat_value.st_atim.tv_sec * 1000
+- + stat_value.st_atim.tv_nsec / 1000000);
++ return Date(statbuf.st_atimespec.tv_sec * 1000
++ + statbuf.st_atimespec.tv_nsec / 1000000);
+ }
+
+ class Drive : public DriveInterface {
diff --git a/deskutils/google-gadgets/files/patch-extensions_smjs__script__runtime_Makefile.am b/deskutils/google-gadgets/files/patch-extensions_smjs__script__runtime_Makefile.am
new file mode 100644
index 000000000..df06e8234
--- /dev/null
+++ b/deskutils/google-gadgets/files/patch-extensions_smjs__script__runtime_Makefile.am
@@ -0,0 +1,15 @@
+
+$FreeBSD: ports/deskutils/google-gadgets/files/patch-extensions_smjs__script__runtime_Makefile.am,v 1.1 2008/11/23 22:51:45 miwi Exp $
+
+--- extensions/smjs_script_runtime/Makefile.am.orig
++++ extensions/smjs_script_runtime/Makefile.am
+@@ -72,8 +72,7 @@
+ smjs_script_runtime_la_LIBADD = \
+ $(top_builddir)/ggadget/libggadget@GGL_EPOCH@.la \
+ libggadget-smjs.la \
+- $(LIBMOZJS_LIBS) \
+- -ldl
++ $(LIBMOZJS_LIBS)
+
+ smjs_script_runtime_la_LDFLAGS = \
+ -avoid-version \
diff --git a/deskutils/google-gadgets/files/patch-extensions_smjs__script__runtime_tests_Makefile.am b/deskutils/google-gadgets/files/patch-extensions_smjs__script__runtime_tests_Makefile.am
new file mode 100644
index 000000000..4ce89a660
--- /dev/null
+++ b/deskutils/google-gadgets/files/patch-extensions_smjs__script__runtime_tests_Makefile.am
@@ -0,0 +1,15 @@
+
+$FreeBSD: ports/deskutils/google-gadgets/files/patch-extensions_smjs__script__runtime_tests_Makefile.am,v 1.1 2008/11/23 22:51:45 miwi Exp $
+
+--- extensions/smjs_script_runtime/tests/Makefile.am.orig
++++ extensions/smjs_script_runtime/tests/Makefile.am
+@@ -30,8 +30,7 @@
+ $(top_builddir)/ggadget/libggadget@GGL_EPOCH@.la \
+ $(top_builddir)/ggadget/js/libggadget-js@GGL_EPOCH@.la \
+ $(top_builddir)/third_party/editline/libeditline.la \
+- $(LIBMOZJS_LIBS) \
+- -ldl
++ $(LIBMOZJS_LIBS)
+
+ check_PROGRAMS = cross_context_test \
+ dom_test_shell \
diff --git a/deskutils/google-gadgets/files/patch-extensions_soup__xml__http__request_soup__xml__http__request.cc b/deskutils/google-gadgets/files/patch-extensions_soup__xml__http__request_soup__xml__http__request.cc
new file mode 100644
index 000000000..9051e3f02
--- /dev/null
+++ b/deskutils/google-gadgets/files/patch-extensions_soup__xml__http__request_soup__xml__http__request.cc
@@ -0,0 +1,32 @@
+
+$FreeBSD: ports/deskutils/google-gadgets/files/patch-extensions_soup__xml__http__request_soup__xml__http__request.cc,v 1.1 2010/01/09 19:30:45 pav Exp $
+
+--- extensions/soup_xml_http_request/soup_xml_http_request.cc.orig
++++ extensions/soup_xml_http_request/soup_xml_http_request.cc
+@@ -1004,7 +1004,7 @@
+ it != sessions_.end(); ++it) {
+ g_object_set(G_OBJECT(it->second),
+ SOUP_SESSION_USER_AGENT, default_user_agent_.c_str(),
+- NULL);
++ (const gchar*)0);
+ }
+ }
+ }
+@@ -1016,7 +1016,7 @@
+ #ifdef HAVE_LIBSOUP_GNOME
+ SOUP_SESSION_ADD_FEATURE_BY_TYPE, SOUP_TYPE_PROXY_RESOLVER_GNOME,
+ #endif
+- NULL);
++ (const char*)0);
+
+ if (session) {
+ #ifdef SOUP_XHR_VERBOSE
+@@ -1031,7 +1031,7 @@
+ #ifdef GGL_DEFAULT_SSL_CA_FILE
+ SOUP_SESSION_SSL_CA_FILE, GGL_DEFAULT_SSL_CA_FILE,
+ #endif
+- NULL);
++ (const gchar*)0);
+
+ g_signal_connect(G_OBJECT(session), "authenticate",
+ G_CALLBACK(AuthenticateCallback), this);
diff --git a/deskutils/google-gadgets/files/patch-gadgets_designer_designer__script__utils.cc b/deskutils/google-gadgets/files/patch-gadgets_designer_designer__script__utils.cc
new file mode 100644
index 000000000..1f72a3afc
--- /dev/null
+++ b/deskutils/google-gadgets/files/patch-gadgets_designer_designer__script__utils.cc
@@ -0,0 +1,14 @@
+
+$FreeBSD: ports/deskutils/google-gadgets/files/patch-gadgets_designer_designer__script__utils.cc,v 1.1 2008/10/19 14:59:03 miwi Exp $
+
+--- gadgets/designer/designer_script_utils.cc.orig
++++ gadgets/designer/designer_script_utils.cc
+@@ -231,7 +231,7 @@
+ if ((pid = fork()) == 0) {
+ if (fork() != 0)
+ _exit(0);
+- execlp(command, command, file, NULL);
++ execlp(command, command, file, (char*)0);
+ DLOG("Failed to exec command: %s", command);
+ _exit(-1);
+ }
diff --git a/deskutils/google-gadgets/files/patch-ggadget_gtk_utilities.cc b/deskutils/google-gadgets/files/patch-ggadget_gtk_utilities.cc
new file mode 100644
index 000000000..22b385665
--- /dev/null
+++ b/deskutils/google-gadgets/files/patch-ggadget_gtk_utilities.cc
@@ -0,0 +1,11 @@
+--- ggadget/gtk/utilities.cc.orig 2008-12-03 18:01:36.000000000 +1000
++++ ggadget/gtk/utilities.cc 2009-01-07 00:52:52.000000000 +1000
+@@ -83,7 +83,7 @@
+ "%s", message);
+ gtk_dialog_add_buttons(GTK_DIALOG(dialog), GTK_STOCK_NO, GTK_RESPONSE_NO,
+ GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
+- GTK_STOCK_YES, GTK_RESPONSE_YES, NULL);
++ GTK_STOCK_YES, GTK_RESPONSE_YES, (const gchar*)0);
+ gtk_dialog_set_default_response(GTK_DIALOG(dialog), GTK_RESPONSE_YES);
+ } else {
+ dialog = gtk_message_dialog_new(NULL, GTK_DIALOG_MODAL,
diff --git a/deskutils/google-gadgets/files/patch-ggadget_npapi_Makefile.am b/deskutils/google-gadgets/files/patch-ggadget_npapi_Makefile.am
new file mode 100644
index 000000000..a802e097e
--- /dev/null
+++ b/deskutils/google-gadgets/files/patch-ggadget_npapi_Makefile.am
@@ -0,0 +1,15 @@
+
+$FreeBSD: ports/deskutils/google-gadgets/files/patch-ggadget_npapi_Makefile.am,v 1.1 2008/11/23 22:51:45 miwi Exp $
+
+--- ggadget/npapi/Makefile.am.orig
++++ ggadget/npapi/Makefile.am
+@@ -44,8 +44,7 @@
+
+ libggadget_npapi@GGL_EPOCH@_la_LIBADD = \
+ $(top_builddir)/ggadget/libggadget@GGL_EPOCH@.la \
+- $(X_LIBS) \
+- -ldl
++ $(X_LIBS)
+
+ libggadget_npapi@GGL_EPOCH@_la_LDFLAGS = \
+ -version-info $(LIBGGADGET_VERSION) \
diff --git a/deskutils/google-gadgets/pkg-descr b/deskutils/google-gadgets/pkg-descr
new file mode 100644
index 000000000..414555d6f
--- /dev/null
+++ b/deskutils/google-gadgets/pkg-descr
@@ -0,0 +1,4 @@
+Google Gadgets for Linux provides a platform for running desktop
+gadgets under Linux, catering to the unique needs of Linux users.
+
+WWW: http://code.google.com/p/google-gadgets-for-linux/
diff --git a/deskutils/google-gadgets/pkg-plist b/deskutils/google-gadgets/pkg-plist
new file mode 100644
index 000000000..e220c9d4b
--- /dev/null
+++ b/deskutils/google-gadgets/pkg-plist
@@ -0,0 +1,289 @@
+%%GTK%%bin/ggl-gtk
+%%QT%%bin/ggl-qt
+include/google-gadgets/ggadget/anchor_element.h
+include/google-gadgets/ggadget/audioclip_interface.h
+include/google-gadgets/ggadget/backoff.h
+include/google-gadgets/ggadget/basic_element.h
+include/google-gadgets/ggadget/button_element.h
+include/google-gadgets/ggadget/canvas_interface.h
+include/google-gadgets/ggadget/canvas_utils.h
+include/google-gadgets/ggadget/checkbox_element.h
+include/google-gadgets/ggadget/clip_region.h
+include/google-gadgets/ggadget/color.h
+include/google-gadgets/ggadget/combobox_element.h
+include/google-gadgets/ggadget/common.h
+include/google-gadgets/ggadget/content_item.h
+include/google-gadgets/ggadget/contentarea_element.h
+include/google-gadgets/ggadget/copy_element.h
+include/google-gadgets/ggadget/dbus/dbus_proxy.h
+include/google-gadgets/ggadget/dbus/dbus_result_receiver.h
+include/google-gadgets/ggadget/decorated_view_host.h
+include/google-gadgets/ggadget/details_view_data.h
+include/google-gadgets/ggadget/details_view_decorator.h
+include/google-gadgets/ggadget/digest_utils.h
+include/google-gadgets/ggadget/dir_file_manager.h
+include/google-gadgets/ggadget/display_window.h
+include/google-gadgets/ggadget/div_element.h
+include/google-gadgets/ggadget/docked_main_view_decorator.h
+include/google-gadgets/ggadget/edit_element_base.h
+include/google-gadgets/ggadget/element_factory.h
+include/google-gadgets/ggadget/elements.h
+include/google-gadgets/ggadget/encryptor_interface.h
+include/google-gadgets/ggadget/event.h
+include/google-gadgets/ggadget/extension_manager.h
+include/google-gadgets/ggadget/file_manager_factory.h
+include/google-gadgets/ggadget/file_manager_interface.h
+include/google-gadgets/ggadget/file_manager_wrapper.h
+include/google-gadgets/ggadget/file_system_interface.h
+include/google-gadgets/ggadget/floating_main_view_decorator.h
+include/google-gadgets/ggadget/font_interface.h
+include/google-gadgets/ggadget/framed_view_decorator_base.h
+include/google-gadgets/ggadget/framework_interface.h
+include/google-gadgets/ggadget/gadget.h
+include/google-gadgets/ggadget/gadget_consts.h
+include/google-gadgets/ggadget/gadget_manager_interface.h
+include/google-gadgets/ggadget/graphics_interface.h
+%%GTK%%include/google-gadgets/ggadget/gtk/cairo_graphics.h
+%%GTK%%include/google-gadgets/ggadget/gtk/hotkey.h
+%%GTK%%include/google-gadgets/ggadget/gtk/key_convert.h
+%%GTK%%include/google-gadgets/ggadget/gtk/main_loop.h
+%%GTK%%include/google-gadgets/ggadget/gtk/menu_builder.h
+%%GTK%%include/google-gadgets/ggadget/gtk/npapi_plugin_element.h
+%%GTK%%include/google-gadgets/ggadget/gtk/single_view_host.h
+%%GTK%%include/google-gadgets/ggadget/gtk/tooltip.h
+%%GTK%%include/google-gadgets/ggadget/gtk/utilities.h
+%%GTK%%include/google-gadgets/ggadget/gtk/view_widget_binder.h
+include/google-gadgets/ggadget/host_interface.h
+include/google-gadgets/ggadget/host_utils.h
+include/google-gadgets/ggadget/image_cache.h
+include/google-gadgets/ggadget/image_interface.h
+include/google-gadgets/ggadget/img_element.h
+include/google-gadgets/ggadget/item_element.h
+include/google-gadgets/ggadget/js/js_utils.h
+include/google-gadgets/ggadget/js/jscript_massager.h
+include/google-gadgets/ggadget/label_element.h
+include/google-gadgets/ggadget/light_map.h
+include/google-gadgets/ggadget/listbox_element.h
+include/google-gadgets/ggadget/locales.h
+include/google-gadgets/ggadget/localized_file_manager.h
+include/google-gadgets/ggadget/logger.h
+include/google-gadgets/ggadget/main_loop_interface.h
+include/google-gadgets/ggadget/main_view_decorator_base.h
+include/google-gadgets/ggadget/math_utils.h
+include/google-gadgets/ggadget/memory_options.h
+include/google-gadgets/ggadget/menu_interface.h
+include/google-gadgets/ggadget/messages.h
+include/google-gadgets/ggadget/module.h
+include/google-gadgets/ggadget/npapi/npapi_plugin.h
+include/google-gadgets/ggadget/object_element.h
+include/google-gadgets/ggadget/object_videoplayer.h
+include/google-gadgets/ggadget/options_interface.h
+include/google-gadgets/ggadget/permissions.h
+include/google-gadgets/ggadget/popout_main_view_decorator.h
+include/google-gadgets/ggadget/progressbar_element.h
+%%QT%%include/google-gadgets/ggadget/qt/qt_graphics.h
+%%QT%%include/google-gadgets/ggadget/qt/qt_main_loop.h
+%%QT%%include/google-gadgets/ggadget/qt/qt_menu.h
+%%QT%%include/google-gadgets/ggadget/qt/qt_view_host.h
+%%QT%%include/google-gadgets/ggadget/qt/qt_view_widget.h
+%%QT%%include/google-gadgets/ggadget/qt/utilities.h
+include/google-gadgets/ggadget/registerable_interface.h
+include/google-gadgets/ggadget/run_once.h
+include/google-gadgets/ggadget/scoped_ptr.h
+include/google-gadgets/ggadget/script_context_interface.h
+include/google-gadgets/ggadget/script_runtime_interface.h
+include/google-gadgets/ggadget/script_runtime_manager.h
+include/google-gadgets/ggadget/scriptable_array.h
+include/google-gadgets/ggadget/scriptable_binary_data.h
+include/google-gadgets/ggadget/scriptable_enumerator.h
+include/google-gadgets/ggadget/scriptable_event.h
+include/google-gadgets/ggadget/scriptable_file_system.h
+include/google-gadgets/ggadget/scriptable_framework.h
+include/google-gadgets/ggadget/scriptable_function.h
+include/google-gadgets/ggadget/scriptable_helper.h
+include/google-gadgets/ggadget/scriptable_holder.h
+include/google-gadgets/ggadget/scriptable_image.h
+include/google-gadgets/ggadget/scriptable_interface.h
+include/google-gadgets/ggadget/scriptable_map.h
+include/google-gadgets/ggadget/scriptable_menu.h
+include/google-gadgets/ggadget/scriptable_options.h
+include/google-gadgets/ggadget/scriptable_view.h
+include/google-gadgets/ggadget/scrollbar_element.h
+include/google-gadgets/ggadget/scrolling_element.h
+include/google-gadgets/ggadget/sidebar.h
+include/google-gadgets/ggadget/signals.h
+include/google-gadgets/ggadget/slot.h
+include/google-gadgets/ggadget/small_object.h
+include/google-gadgets/ggadget/string_utils.h
+include/google-gadgets/ggadget/system_utils.h
+include/google-gadgets/ggadget/text_frame.h
+include/google-gadgets/ggadget/texture.h
+include/google-gadgets/ggadget/unicode_utils.h
+include/google-gadgets/ggadget/usage_collector_interface.h
+include/google-gadgets/ggadget/uuid.h
+include/google-gadgets/ggadget/variant.h
+include/google-gadgets/ggadget/video_element_base.h
+include/google-gadgets/ggadget/view.h
+include/google-gadgets/ggadget/view_decorator_base.h
+include/google-gadgets/ggadget/view_element.h
+include/google-gadgets/ggadget/view_host_interface.h
+include/google-gadgets/ggadget/view_interface.h
+include/google-gadgets/ggadget/xdg/desktop_entry.h
+include/google-gadgets/ggadget/xdg/utilities.h
+include/google-gadgets/ggadget/xml_dom.h
+include/google-gadgets/ggadget/xml_dom_interface.h
+include/google-gadgets/ggadget/xml_http_request_interface.h
+include/google-gadgets/ggadget/xml_http_request_utils.h
+include/google-gadgets/ggadget/xml_parser_interface.h
+include/google-gadgets/ggadget/xml_utils.h
+include/google-gadgets/ggadget/zip_file_manager.h
+%%GTK%%%%MOZILLA%%lib/google-gadgets/gtkmoz-browser-child
+lib/google-gadgets/include/ggadget/sysdeps.h
+lib/google-gadgets/modules/analytics-usage-collector.a
+lib/google-gadgets/modules/analytics-usage-collector.la
+lib/google-gadgets/modules/analytics-usage-collector.so
+lib/google-gadgets/modules/curl-xml-http-request.a
+lib/google-gadgets/modules/curl-xml-http-request.la
+lib/google-gadgets/modules/curl-xml-http-request.so
+lib/google-gadgets/modules/dbus-script-class.a
+lib/google-gadgets/modules/dbus-script-class.la
+lib/google-gadgets/modules/dbus-script-class.so
+lib/google-gadgets/modules/default-framework.a
+lib/google-gadgets/modules/default-framework.la
+lib/google-gadgets/modules/default-framework.so
+lib/google-gadgets/modules/default-options.a
+lib/google-gadgets/modules/default-options.la
+lib/google-gadgets/modules/default-options.so
+lib/google-gadgets/modules/google-gadget-manager.a
+lib/google-gadgets/modules/google-gadget-manager.la
+lib/google-gadgets/modules/google-gadget-manager.so
+lib/google-gadgets/modules/gst-audio-framework.a
+lib/google-gadgets/modules/gst-audio-framework.la
+lib/google-gadgets/modules/gst-audio-framework.so
+lib/google-gadgets/modules/gst-video-element.a
+lib/google-gadgets/modules/gst-video-element.la
+lib/google-gadgets/modules/gst-video-element.so
+%%GTK%%lib/google-gadgets/modules/gtk-edit-element.a
+%%GTK%%lib/google-gadgets/modules/gtk-edit-element.la
+%%GTK%%lib/google-gadgets/modules/gtk-edit-element.so
+%%GTK%%lib/google-gadgets/modules/gtk-flash-element.a
+%%GTK%%lib/google-gadgets/modules/gtk-flash-element.la
+%%GTK%%lib/google-gadgets/modules/gtk-flash-element.so
+%%GTK%%lib/google-gadgets/modules/gtk-system-framework.a
+%%GTK%%lib/google-gadgets/modules/gtk-system-framework.la
+%%GTK%%lib/google-gadgets/modules/gtk-system-framework.so
+%%GTK%%%%MOZILLA%%lib/google-gadgets/modules/gtkmoz-browser-element.a
+%%GTK%%%%MOZILLA%%lib/google-gadgets/modules/gtkmoz-browser-element.la
+%%GTK%%%%MOZILLA%%lib/google-gadgets/modules/gtkmoz-browser-element.so
+%%GTKWEBKIT%%lib/google-gadgets/modules/gtkwebkit-browser-element.a
+%%GTKWEBKIT%%lib/google-gadgets/modules/gtkwebkit-browser-element.la
+%%GTKWEBKIT%%lib/google-gadgets/modules/gtkwebkit-browser-element.so
+lib/google-gadgets/modules/html-flash-element.a
+lib/google-gadgets/modules/html-flash-element.la
+lib/google-gadgets/modules/html-flash-element.so
+lib/google-gadgets/modules/libxml2-xml-parser.a
+lib/google-gadgets/modules/libxml2-xml-parser.la
+lib/google-gadgets/modules/libxml2-xml-parser.so
+%%QT%%lib/google-gadgets/modules/qt-edit-element.a
+%%QT%%lib/google-gadgets/modules/qt-edit-element.la
+%%QT%%lib/google-gadgets/modules/qt-edit-element.so
+%%QT%%lib/google-gadgets/modules/qt-script-runtime.a
+%%QT%%lib/google-gadgets/modules/qt-script-runtime.la
+%%QT%%lib/google-gadgets/modules/qt-script-runtime.so
+%%QT%%lib/google-gadgets/modules/qt-system-framework.a
+%%QT%%lib/google-gadgets/modules/qt-system-framework.la
+%%QT%%lib/google-gadgets/modules/qt-system-framework.so
+%%QT%%lib/google-gadgets/modules/qt-xml-http-request.a
+%%QT%%lib/google-gadgets/modules/qt-xml-http-request.la
+%%QT%%lib/google-gadgets/modules/qt-xml-http-request.so
+%%QT%%lib/google-gadgets/modules/qtwebkit-browser-element.a
+%%QT%%lib/google-gadgets/modules/qtwebkit-browser-element.la
+%%QT%%lib/google-gadgets/modules/qtwebkit-browser-element.so
+%%MOZILLA%%lib/google-gadgets/modules/smjs-script-runtime.a
+%%MOZILLA%%lib/google-gadgets/modules/smjs-script-runtime.la
+%%MOZILLA%%lib/google-gadgets/modules/smjs-script-runtime.so
+%%GTK%%lib/google-gadgets/modules/soup-xml-http-request.a
+%%GTK%%lib/google-gadgets/modules/soup-xml-http-request.la
+%%GTK%%lib/google-gadgets/modules/soup-xml-http-request.so
+%%GTKWEBKIT%%lib/google-gadgets/modules/webkit-script-runtime.a
+%%GTKWEBKIT%%lib/google-gadgets/modules/webkit-script-runtime.la
+%%GTKWEBKIT%%lib/google-gadgets/modules/webkit-script-runtime.so
+lib/libggadget-1.0.a
+lib/libggadget-1.0.la
+lib/libggadget-1.0.so
+lib/libggadget-1.0.so.0
+lib/libggadget-dbus-1.0.a
+lib/libggadget-dbus-1.0.la
+lib/libggadget-dbus-1.0.so
+lib/libggadget-dbus-1.0.so.0
+%%GTK%%lib/libggadget-gtk-1.0.a
+%%GTK%%lib/libggadget-gtk-1.0.la
+%%GTK%%lib/libggadget-gtk-1.0.so
+%%GTK%%lib/libggadget-gtk-1.0.so.0
+lib/libggadget-js-1.0.a
+lib/libggadget-js-1.0.la
+lib/libggadget-js-1.0.so
+lib/libggadget-js-1.0.so.0
+lib/libggadget-npapi-1.0.a
+lib/libggadget-npapi-1.0.la
+lib/libggadget-npapi-1.0.so
+lib/libggadget-npapi-1.0.so.0
+%%QT%%lib/libggadget-qt-1.0.a
+%%QT%%lib/libggadget-qt-1.0.la
+%%QT%%lib/libggadget-qt-1.0.so
+%%QT%%lib/libggadget-qt-1.0.so.0
+%%GTKWEBKIT%%lib/libggadget-webkitjs-1.0.a
+%%GTKWEBKIT%%lib/libggadget-webkitjs-1.0.la
+%%GTKWEBKIT%%lib/libggadget-webkitjs-1.0.so
+%%GTKWEBKIT%%lib/libggadget-webkitjs-1.0.so.0
+lib/libggadget-xdg-1.0.a
+lib/libggadget-xdg-1.0.la
+lib/libggadget-xdg-1.0.so
+lib/libggadget-xdg-1.0.so.0
+libdata/pkgconfig/libggadget-1.0.pc
+libdata/pkgconfig/libggadget-dbus-1.0.pc
+%%GTK%%libdata/pkgconfig/libggadget-gtk-1.0.pc
+libdata/pkgconfig/libggadget-js-1.0.pc
+libdata/pkgconfig/libggadget-npapi-1.0.pc
+%%QT%%libdata/pkgconfig/libggadget-qt-1.0.pc
+libdata/pkgconfig/libggadget-xdg-1.0.pc
+%%GTK%%share/applications/ggl-designer.desktop
+%%GTK%%share/applications/ggl-gtk.desktop
+%%QT%%share/applications/ggl-qt.desktop
+%%DATADIR%%/analog-clock.gg
+%%DATADIR%%/designer.gg
+%%DATADIR%%/digital-alarm-clock.gg
+%%DATADIR%%/google-gadget-browser.gg
+%%DATADIR%%/igoogle.gg
+%%DATADIR%%/photos.gg
+%%DATADIR%%/resources.gg
+%%DATADIR%%/rss.gg
+share/icons/hicolor/128x128/apps/google-gadgets.png
+share/icons/hicolor/128x128/mimetypes/application-x-google-gadget.png
+share/icons/hicolor/192x192/apps/google-gadgets.png
+share/icons/hicolor/192x192/mimetypes/application-x-google-gadget.png
+share/icons/hicolor/32x32/apps/google-gadgets.png
+share/icons/hicolor/32x32/mimetypes/application-x-google-gadget.png
+share/icons/hicolor/48x48/apps/google-gadgets.png
+share/icons/hicolor/48x48/mimetypes/application-x-google-gadget.png
+share/icons/hicolor/64x64/apps/google-gadgets.png
+share/icons/hicolor/64x64/mimetypes/application-x-google-gadget.png
+share/mime/packages/00-google-gadgets.xml
+share/pixmaps/google-gadgets.png
+@dirrm %%DATADIR%%
+@dirrm lib/google-gadgets/modules
+@dirrm lib/google-gadgets/include/ggadget
+@dirrm lib/google-gadgets/include
+@dirrm lib/google-gadgets
+@dirrm include/google-gadgets/ggadget/xdg
+%%QT%%@dirrm include/google-gadgets/ggadget/qt
+@dirrm include/google-gadgets/ggadget/npapi
+@dirrm include/google-gadgets/ggadget/js
+%%GTK%%@dirrm include/google-gadgets/ggadget/gtk
+@dirrm include/google-gadgets/ggadget/dbus
+@dirrm include/google-gadgets/ggadget
+@dirrm include/google-gadgets
+@exec %%LOCALBASE%%/bin/update-mime-database %D/share/mime
+@unexec %%LOCALBASE%%/bin/update-mime-database %D/share/mime
+@exec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true
+@unexec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true