From ebc4408b562cca6fa8c2f6a27158a67571f00e4c Mon Sep 17 00:00:00 2001 From: Dennis Veatch Date: Sun, 15 Jul 2012 16:41:54 -0400 Subject: [PATCH] google-gadgets-for-linux: Readding to moonbase and a few adjustments so it will compile with the current moonbase version of glib2. --- web/google-gadgets-for-linux/BUILD | 12 +++++++++++ web/google-gadgets-for-linux/DEPENDS | 7 +++++++ web/google-gadgets-for-linux/DETAILS | 31 ++++++++++++++++++++++++++++ 3 files changed, 50 insertions(+) create mode 100644 web/google-gadgets-for-linux/BUILD create mode 100644 web/google-gadgets-for-linux/DEPENDS create mode 100644 web/google-gadgets-for-linux/DETAILS diff --git a/web/google-gadgets-for-linux/BUILD b/web/google-gadgets-for-linux/BUILD new file mode 100644 index 00000000000..76a1c3a3a09 --- /dev/null +++ b/web/google-gadgets-for-linux/BUILD @@ -0,0 +1,12 @@ +( + +# So it will compile with our version of glib2. + sedit "s:glib/ghash.h:glib.h:" ggadget/gtk/main_loop.cc && + sedit "s:glib/gthread.h:glib.h:" ggadget/gtk/main_loop.cc && + sedit "s:glib/gthread.h:glib.h:" hosts/gtk/main.cc && + + OPTS+=" --disable-werror --disable-static" && + + default_build + +) > $C_FIFO 2>&1 diff --git a/web/google-gadgets-for-linux/DEPENDS b/web/google-gadgets-for-linux/DEPENDS new file mode 100644 index 00000000000..37d0a32f486 --- /dev/null +++ b/web/google-gadgets-for-linux/DEPENDS @@ -0,0 +1,7 @@ +depends desktop-file-utils +depends shared-mime-info +depends gstreamer-10 +depends %GECKO_RENDERER + +optional_depends qt4 "" "" "for Qt4 support" +optional_depends gtk+-2 "" "" "for gtk support" diff --git a/web/google-gadgets-for-linux/DETAILS b/web/google-gadgets-for-linux/DETAILS new file mode 100644 index 00000000000..d9e2be9226e --- /dev/null +++ b/web/google-gadgets-for-linux/DETAILS @@ -0,0 +1,31 @@ + MODULE=google-gadgets-for-linux + VERSION=0.11.2 + SOURCE=$MODULE-$VERSION.tar.bz2 + SOURCE_URL=http://google-gadgets-for-linux.googlecode.com/files/ + SOURCE_VFY=sha1:22716f5ae640c7f201012d9d75868137c23ebc79 + WEB_SITE=http://code.google.com/p/google-gadgets-for-linux/ + ENTERED=20090125 + UPDATED=20100221 + SHORT="google desktop gadgets" + +PSAFE=no +cat << EOF +Google Gadgets for Linux provides a platform for running desktop gadgets under +Linux, catering to the unique needs of Linux users. It's compatible with the +gadgets written for Google Desktop for Windows as well as the Universal Gadgets +on iGoogle. Following Linux norms, this project is open-sourced under the +Apache License. + +An important area where Google Desktop for Linux is different from its siblings +on other operating systems is support for gadgets. Now, the Linux version of +Google Gadgets will extend the gadgets platform to Linux users. By enabling +cross-platform gadgets, a large library of existing gadgets are immediately +available to Linux users. In addition, gadget developers will benefit from a +much larger potential user base without having to learn a new API. + +There's two main components to the application: one is a common gadget library +responsible for running and presenting a gadget, and the other is a host program +that allows the user to choose gadgets and run them on the desktop. Currently we +have hosts written for GTK+ and QT, with the GTK+ host offering a sidebar +similar to that of Google Desktop for Windows. +EOF