diff options
author | miwi <miwi@FreeBSD.org> | 2008-06-03 16:16:14 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2008-06-03 16:16:14 +0800 |
commit | 2ca07142597960bf3a08083f043364cbc5394301 (patch) | |
tree | fb086e39da367aa3dd5520f1bf4dd7fe39255629 /net | |
parent | 5c65d814751d7def18c609a25401a9074b893144 (diff) | |
download | freebsd-ports-gnome-2ca07142597960bf3a08083f043364cbc5394301.tar.gz freebsd-ports-gnome-2ca07142597960bf3a08083f043364cbc5394301.tar.zst freebsd-ports-gnome-2ca07142597960bf3a08083f043364cbc5394301.zip |
The goal of the GNOME Online Desktop is to adapt the desktop to become
the perfect window for online applications like GMail, Photobucket,
Facebook, EBay, Wikipedia, and countless others that user and
developer momentum is shifting towards.
WWW: http://live.gnome.org/OnlineDesktop
PR: ports/124198
Submitted by: Ashish Shukla <wahjava at gmail.com>
Diffstat (limited to 'net')
-rw-r--r-- | net/Makefile | 1 | ||||
-rw-r--r-- | net/online-desktop/Makefile | 41 | ||||
-rw-r--r-- | net/online-desktop/distinfo | 3 | ||||
-rw-r--r-- | net/online-desktop/files/patch-Makefile.in | 11 | ||||
-rw-r--r-- | net/online-desktop/files/patch-check-have-all-files.sh | 19 | ||||
-rw-r--r-- | net/online-desktop/files/patch-gconf.path | 5 | ||||
-rw-r--r-- | net/online-desktop/files/patch-od-autostart | 11 | ||||
-rw-r--r-- | net/online-desktop/files/patch-od-session | 11 | ||||
-rw-r--r-- | net/online-desktop/files/patch-pyddm-ddm-viewer | 8 | ||||
-rw-r--r-- | net/online-desktop/files/patch-pyddm-test-session.py | 8 | ||||
-rw-r--r-- | net/online-desktop/files/patch-pyddm-test.py | 8 | ||||
-rw-r--r-- | net/online-desktop/files/patch-pyonlinedesktop-fsutil.py | 11 | ||||
-rw-r--r-- | net/online-desktop/files/patch-pyonlinedesktop-ggadget.py | 8 | ||||
-rw-r--r-- | net/online-desktop/files/patch-pyonlinedesktop-widget.py | 15 | ||||
-rw-r--r-- | net/online-desktop/files/patch-weblogindriver-web-login-driver | 8 | ||||
-rw-r--r-- | net/online-desktop/pkg-descr | 6 | ||||
-rw-r--r-- | net/online-desktop/pkg-plist | 101 |
17 files changed, 275 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile index 7fe0a0c33ddc..dbc7cc87ff02 100644 --- a/net/Makefile +++ b/net/Makefile @@ -411,6 +411,7 @@ SUBDIR += omnitty SUBDIR += onenetd SUBDIR += onion-fec + SUBDIR += online-desktop SUBDIR += opal SUBDIR += openam SUBDIR += openbgpd diff --git a/net/online-desktop/Makefile b/net/online-desktop/Makefile new file mode 100644 index 000000000000..282cb92b2d25 --- /dev/null +++ b/net/online-desktop/Makefile @@ -0,0 +1,41 @@ +# New ports collection makefile for: online-desktop +# Date created: 2008-05-28 +# Whom: Ashish Shukla <wahjava@gmail.com> +# +# $FreeBSD$ +# + +PORTNAME= online-desktop +PORTVERSION= 0.2.28 +CATEGORIES= net +MASTER_SITES= ${MASTER_SITE_GNOME} +MASTER_SITE_SUBDIR= sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/} + +MAINTAINER= wahjava@gmail.com +COMMENT= GNOME Online Desktop + +BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/dbus-1.pc:${PORTSDIR}/devel/dbus \ + ${LOCALBASE}/libdata/pkgconfig/dbus-glib-1.pc:${PORTSDIR}/devel/dbus-glib \ + ${LOCALBASE}/libdata/pkgconfig/nspr.pc:${PORTSDIR}/devel/nspr \ + ${LOCALBASE}/libdata/pkgconfig/nss.pc:${PORTSDIR}/security/nss \ + ${LOCALBASE}/libdata/pkgconfig/purple.pc:${PORTSDIR}/net-im/libpurple +LIB_DEPENDS= dbus-1.3:${PORTSDIR}/devel/dbus \ + dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib \ + nspr4.1:${PORTSDIR}/devel/nspr \ + nss3.1:${PORTSDIR}/security/nss \ + purple.4:${PORTSDIR}/net-im/libpurple +RUN_DEPENDS= ${LOCALBASE}/libexec/desktop-data-engine:${PORTSDIR}/net/desktop-data-model \ + ${LOCALBASE}/bin/bigboard:${PORTSDIR}/misc/bigboard + +USE_BZIP2= yes +USE_GNOME= glib20 gconf2 +USE_GMAKE= yes +USE_GETTEXT= yes +GNU_CONFIGURE= yes +USE_PYTHON= 2.5+ +GCONF_SCHEMAS= online-desktop.schemas + +post-patch: + @${FIND} ${WRKSRC} -type f -exec fgrep -l '%%LOCALBASE%%' {} \; |${XARGS} ${REINPLACE_CMD} -e 's,%%LOCALBASE%%,${LOCALBASE},g' -i .bak + +.include <bsd.port.mk> diff --git a/net/online-desktop/distinfo b/net/online-desktop/distinfo new file mode 100644 index 000000000000..6387c39c2a7a --- /dev/null +++ b/net/online-desktop/distinfo @@ -0,0 +1,3 @@ +MD5 (online-desktop-0.2.28.tar.bz2) = 79789b90f671008192b8e42ca5514447 +SHA256 (online-desktop-0.2.28.tar.bz2) = 13a22b0c4b3d14fd78f4300fe680c1a52752fd8ee81853846151a4de5fa7e126 +SIZE (online-desktop-0.2.28.tar.bz2) = 382368 diff --git a/net/online-desktop/files/patch-Makefile.in b/net/online-desktop/files/patch-Makefile.in new file mode 100644 index 000000000000..ae3d2787bbcc --- /dev/null +++ b/net/online-desktop/files/patch-Makefile.in @@ -0,0 +1,11 @@ +--- Makefile.in 2008-04-25 00:52:28.000000000 +0530 ++++ Makefile.in2 2008-05-28 11:32:38.000000000 +0530 +@@ -114,7 +114,7 @@ + binSCRIPT_INSTALL = $(INSTALL_SCRIPT) + presessionSCRIPT_INSTALL = $(INSTALL_SCRIPT) + SCRIPTS = $(bin_SCRIPTS) $(presession_SCRIPTS) +-DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/config ++DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/config -I%%LOCALBASE%%/include + depcomp = $(SHELL) $(top_srcdir)/depcomp + am__depfiles_maybe = depfiles + COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ diff --git a/net/online-desktop/files/patch-check-have-all-files.sh b/net/online-desktop/files/patch-check-have-all-files.sh new file mode 100644 index 000000000000..139d5350b3f2 --- /dev/null +++ b/net/online-desktop/files/patch-check-have-all-files.sh @@ -0,0 +1,19 @@ +--- check-have-all-files.sh.orig 2008-04-23 23:06:43.000000000 +0530 ++++ check-have-all-files.sh 2008-05-28 11:50:41.000000000 +0530 +@@ -1,4 +1,4 @@ +-#! /bin/bash ++#! /bin/sh + + set -e + +@@ -12,8 +12,8 @@ + + FILES_WE_SHOULD_HAVE=`(cd $SRCDIR && echo $GLOB_WE_SHOULD_HAVE)` + +-FILES_WE_SHOULD_HAVE=`echo $FILES_WE_SHOULD_HAVE | sed -e 's/ /\n/g' | sort | uniq` +-FILES_WE_HAVE=`echo $FILES_WE_HAVE | sed -e 's/ /\n/g' | sort | uniq` ++FILES_WE_SHOULD_HAVE=`echo $FILES_WE_SHOULD_HAVE | sed -e 'y/ /\n/' | sort | uniq` ++FILES_WE_HAVE=`echo $FILES_WE_HAVE | sed -e 'y/ /\n/' | sort | uniq` + + #echo "we have files: $FILES_WE_HAVE" + #echo "we should have files: $FILES_WE_SHOULD_HAVE" diff --git a/net/online-desktop/files/patch-gconf.path b/net/online-desktop/files/patch-gconf.path new file mode 100644 index 000000000000..2a0ab6a74cd8 --- /dev/null +++ b/net/online-desktop/files/patch-gconf.path @@ -0,0 +1,5 @@ +--- gconf.path~ 2008-04-23 23:06:43.000000000 +0530 ++++ gconf.path 2008-05-28 21:24:34.000000000 +0530 +@@ -1 +1 @@ +-xml:readonly:/usr/share/online-desktop/gconf.xml.online-desktop ++xml:readonly:%%LOCALBASE%%/share/online-desktop/gconf.xml.online-desktop diff --git a/net/online-desktop/files/patch-od-autostart b/net/online-desktop/files/patch-od-autostart new file mode 100644 index 000000000000..f25e3430a410 --- /dev/null +++ b/net/online-desktop/files/patch-od-autostart @@ -0,0 +1,11 @@ +--- od-autostart~ 2008-04-23 23:06:43.000000000 +0530 ++++ od-autostart 2008-05-28 21:25:45.000000000 +0530 +@@ -10,7 +10,7 @@ + if datadir_env: + datadirs = datadir_env.split(':') + else: +- datadirs = ['/usr/share/'] ++ datadirs = ['%%LOCALBASE%%/share/'] + autostart_dirs = map(lambda x: os.path.join(x, 'online-desktop', 'autostart'), datadirs) + for dir in autostart_dirs: + if os.access(dir, os.R_OK): diff --git a/net/online-desktop/files/patch-od-session b/net/online-desktop/files/patch-od-session new file mode 100644 index 000000000000..b06a9299f028 --- /dev/null +++ b/net/online-desktop/files/patch-od-session @@ -0,0 +1,11 @@ +--- od-session~ 2008-04-23 23:06:43.000000000 +0530 ++++ od-session 2008-05-28 21:26:32.000000000 +0530 +@@ -8,7 +8,7 @@ + + # Configure GConf, in a very hackish way + subprocess.call(['gconftool-2', '--shutdown']) +-os.environ['ONLINE_DESKTOP_GCONF'] = '/usr/share/online-desktop/gconf.path' ++os.environ['ONLINE_DESKTOP_GCONF'] = '%%LOCALBASE%%/share/online-desktop/gconf.path' + + reset_autostart_data = ''' + [Desktop Entry] diff --git a/net/online-desktop/files/patch-pyddm-ddm-viewer b/net/online-desktop/files/patch-pyddm-ddm-viewer new file mode 100644 index 000000000000..1480a277eee8 --- /dev/null +++ b/net/online-desktop/files/patch-pyddm-ddm-viewer @@ -0,0 +1,8 @@ +--- pyddm/ddm-viewer~ 2008-04-23 23:06:43.000000000 +0530 ++++ pyddm/ddm-viewer 2008-05-28 21:31:33.000000000 +0530 +@@ -1,4 +1,4 @@ +-#!/usr/bin/python ++#!/usr/bin/env python + + from optparse import OptionParser + import os diff --git a/net/online-desktop/files/patch-pyddm-test-session.py b/net/online-desktop/files/patch-pyddm-test-session.py new file mode 100644 index 000000000000..ff81328b750a --- /dev/null +++ b/net/online-desktop/files/patch-pyddm-test-session.py @@ -0,0 +1,8 @@ +--- pyddm/test-session.py~ 2008-04-23 23:06:43.000000000 +0530 ++++ pyddm/test-session.py 2008-05-28 21:32:29.000000000 +0530 +@@ -1,4 +1,4 @@ +-#!/usr/bin/python ++#!/usr/bin/env python + + from optparse import OptionParser + import logging diff --git a/net/online-desktop/files/patch-pyddm-test.py b/net/online-desktop/files/patch-pyddm-test.py new file mode 100644 index 000000000000..56dfa87f8836 --- /dev/null +++ b/net/online-desktop/files/patch-pyddm-test.py @@ -0,0 +1,8 @@ +--- pyddm/test.py~ 2008-04-23 23:06:43.000000000 +0530 ++++ pyddm/test.py 2008-05-28 21:30:46.000000000 +0530 +@@ -1,4 +1,4 @@ +-#!/usr/bin/python ++#!/usr/bin/env python + + from optparse import OptionParser + import os diff --git a/net/online-desktop/files/patch-pyonlinedesktop-fsutil.py b/net/online-desktop/files/patch-pyonlinedesktop-fsutil.py new file mode 100644 index 000000000000..eca718b643bc --- /dev/null +++ b/net/online-desktop/files/patch-pyonlinedesktop-fsutil.py @@ -0,0 +1,11 @@ +--- pyonlinedesktop/fsutil.py~ 2008-04-23 23:06:43.000000000 +0530 ++++ pyonlinedesktop/fsutil.py 2008-05-28 21:27:46.000000000 +0530 +@@ -12,7 +12,7 @@ + if datadir_env: + datadirs = datadir_env.split(':') + else: +- datadirs = ['/usr/share/'] ++ datadirs = ['%%LOCALBASE%%/share/'] + for dirname in datadirs: + dirpath = os.path.join(dirname, name) + if os.access(dirpath, os.R_OK): diff --git a/net/online-desktop/files/patch-pyonlinedesktop-ggadget.py b/net/online-desktop/files/patch-pyonlinedesktop-ggadget.py new file mode 100644 index 000000000000..aa0acd13e3b5 --- /dev/null +++ b/net/online-desktop/files/patch-pyonlinedesktop-ggadget.py @@ -0,0 +1,8 @@ +--- pyonlinedesktop/ggadget.py~ 2008-04-23 23:06:43.000000000 +0530 ++++ pyonlinedesktop/ggadget.py 2008-05-28 21:28:47.000000000 +0530 +@@ -1,4 +1,4 @@ +-#!/usr/bin/python ++#!/usr/bin/env python + + import os,sys,re,urllib,urllib2,logging,webbrowser,tempfile,shutil + import cookielib diff --git a/net/online-desktop/files/patch-pyonlinedesktop-widget.py b/net/online-desktop/files/patch-pyonlinedesktop-widget.py new file mode 100644 index 000000000000..50d355ab09e4 --- /dev/null +++ b/net/online-desktop/files/patch-pyonlinedesktop-widget.py @@ -0,0 +1,15 @@ +--- pyonlinedesktop/widget.py~ 2008-04-23 23:06:43.000000000 +0530 ++++ pyonlinedesktop/widget.py 2008-05-28 21:29:41.000000000 +0530 +@@ -1,4 +1,4 @@ +-#!/usr/bin/python ++#!/usr/bin/env python + + import os,sys,re,urllib,urllib2,logging,webbrowser,tempfile,shutil + import cookielib,urlparse +@@ -188,4 +188,4 @@ + oldv = getattr(self, k) + newv = self.__substitute_locale_msgs(oldv, msgs) + setattr(self, k, newv) +- +\ No newline at end of file ++ diff --git a/net/online-desktop/files/patch-weblogindriver-web-login-driver b/net/online-desktop/files/patch-weblogindriver-web-login-driver new file mode 100644 index 000000000000..ec5034d568eb --- /dev/null +++ b/net/online-desktop/files/patch-weblogindriver-web-login-driver @@ -0,0 +1,8 @@ +--- weblogindriver/web-login-driver~ 2008-04-23 23:06:43.000000000 +0530 ++++ weblogindriver/web-login-driver 2008-06-02 04:55:00.000000000 +0530 +@@ -1,4 +1,4 @@ +-#!/usr/bin/python ++#!/usr/bin/env python + + import os,sys,re,logging,urlparse,base64 + diff --git a/net/online-desktop/pkg-descr b/net/online-desktop/pkg-descr new file mode 100644 index 000000000000..9d2947f6624c --- /dev/null +++ b/net/online-desktop/pkg-descr @@ -0,0 +1,6 @@ +The goal of the GNOME Online Desktop is to adapt the desktop to become +the perfect window for online applications like GMail, Photobucket, +Facebook, EBay, Wikipedia, and countless others that user and +developer momentum is shifting towards. + +WWW: http://live.gnome.org/OnlineDesktop diff --git a/net/online-desktop/pkg-plist b/net/online-desktop/pkg-plist new file mode 100644 index 000000000000..216e1541e686 --- /dev/null +++ b/net/online-desktop/pkg-plist @@ -0,0 +1,101 @@ +bin/ddm-viewer +bin/od-autostart +bin/od-mailto +bin/od-reset +bin/od-session +bin/od-start-im +bin/online-prefs-sync-daemon +bin/web-login-driver +lib/pidgin/libdbus-api-plugin.la +lib/pidgin/libdbus-api-plugin.so +%%PYTHON_SITELIBDIR%%/ddm/AbstractModel.py +%%PYTHON_SITELIBDIR%%/ddm/AbstractModel.pyc +%%PYTHON_SITELIBDIR%%/ddm/AbstractModel.pyo +%%PYTHON_SITELIBDIR%%/ddm/DataModel.py +%%PYTHON_SITELIBDIR%%/ddm/DataModel.pyc +%%PYTHON_SITELIBDIR%%/ddm/DataModel.pyo +%%PYTHON_SITELIBDIR%%/ddm/NotificationSet.py +%%PYTHON_SITELIBDIR%%/ddm/NotificationSet.pyc +%%PYTHON_SITELIBDIR%%/ddm/NotificationSet.pyo +%%PYTHON_SITELIBDIR%%/ddm/Query.py +%%PYTHON_SITELIBDIR%%/ddm/Query.pyc +%%PYTHON_SITELIBDIR%%/ddm/Query.pyo +%%PYTHON_SITELIBDIR%%/ddm/Resource.py +%%PYTHON_SITELIBDIR%%/ddm/Resource.pyc +%%PYTHON_SITELIBDIR%%/ddm/Resource.pyo +%%PYTHON_SITELIBDIR%%/ddm/TwistedModel.py +%%PYTHON_SITELIBDIR%%/ddm/TwistedModel.pyc +%%PYTHON_SITELIBDIR%%/ddm/TwistedModel.pyo +%%PYTHON_SITELIBDIR%%/ddm/__init__.py +%%PYTHON_SITELIBDIR%%/ddm/__init__.pyc +%%PYTHON_SITELIBDIR%%/ddm/__init__.pyo +%%PYTHON_SITELIBDIR%%/nssdecrypt.la +%%PYTHON_SITELIBDIR%%/nssdecrypt.so +%%PYTHON_SITELIBDIR%%/pyonlinedesktop/__init__.py +%%PYTHON_SITELIBDIR%%/pyonlinedesktop/__init__.pyc +%%PYTHON_SITELIBDIR%%/pyonlinedesktop/__init__.pyo +%%PYTHON_SITELIBDIR%%/pyonlinedesktop/firefox.py +%%PYTHON_SITELIBDIR%%/pyonlinedesktop/firefox.pyc +%%PYTHON_SITELIBDIR%%/pyonlinedesktop/firefox.pyo +%%PYTHON_SITELIBDIR%%/pyonlinedesktop/fsutil.py +%%PYTHON_SITELIBDIR%%/pyonlinedesktop/fsutil.pyc +%%PYTHON_SITELIBDIR%%/pyonlinedesktop/fsutil.pyo +%%PYTHON_SITELIBDIR%%/pyonlinedesktop/ggadget.py +%%PYTHON_SITELIBDIR%%/pyonlinedesktop/ggadget.pyc +%%PYTHON_SITELIBDIR%%/pyonlinedesktop/ggadget.pyo +%%PYTHON_SITELIBDIR%%/pyonlinedesktop/gnomepanel.py +%%PYTHON_SITELIBDIR%%/pyonlinedesktop/gnomepanel.pyc +%%PYTHON_SITELIBDIR%%/pyonlinedesktop/gnomepanel.pyo +%%PYTHON_SITELIBDIR%%/pyonlinedesktop/mozembed_wrap.py +%%PYTHON_SITELIBDIR%%/pyonlinedesktop/mozembed_wrap.pyc +%%PYTHON_SITELIBDIR%%/pyonlinedesktop/mozembed_wrap.pyo +%%PYTHON_SITELIBDIR%%/pyonlinedesktop/odpanel.py +%%PYTHON_SITELIBDIR%%/pyonlinedesktop/odpanel.pyc +%%PYTHON_SITELIBDIR%%/pyonlinedesktop/odpanel.pyo +%%PYTHON_SITELIBDIR%%/pyonlinedesktop/widget.py +%%PYTHON_SITELIBDIR%%/pyonlinedesktop/widget.pyc +%%PYTHON_SITELIBDIR%%/pyonlinedesktop/widget.pyo +share/applications/flickr.desktop +share/applications/gmail.desktop +share/applications/google-calendar.desktop +share/applications/google-docs.desktop +share/applications/google-reader.desktop +share/dbus-1/services/org.gnome.WebLoginDriver.service +share/gnome/autostart/online-desktop-autostart.desktop +share/gnome/autostart/online-prefs-sync.desktop +share/gnome/online-desktop.session +share/icons/hicolor/16x16/apps/flickr.png +share/icons/hicolor/16x16/apps/gmail.png +share/icons/hicolor/16x16/apps/google-calendar.png +share/icons/hicolor/16x16/apps/google-docs.png +share/icons/hicolor/16x16/apps/google-reader.png +share/icons/hicolor/16x16/apps/picasa.png +share/icons/hicolor/16x16/apps/yahoo-mail.png +share/icons/hicolor/22x22/apps/flickr.png +share/icons/hicolor/22x22/apps/gmail.png +share/icons/hicolor/22x22/apps/google-docs.png +share/icons/hicolor/22x22/apps/google-reader.png +share/icons/hicolor/22x22/apps/picasa.png +share/icons/hicolor/22x22/apps/yahoo-mail.png +share/icons/hicolor/48x48/apps/flickr.png +share/icons/hicolor/48x48/apps/gmail.png +share/icons/hicolor/48x48/apps/google-docs.png +share/icons/hicolor/48x48/apps/google-reader.png +share/icons/hicolor/48x48/apps/picasa.png +share/icons/hicolor/48x48/apps/yahoo-mail.png +share/online-desktop/autostart/bigboard.desktop +share/online-desktop/autostart/browser.desktop +share/online-desktop/autostart/im.desktop +share/online-desktop/presession/panel-config.py +share/online-prefs-sync/online-prefs-sync.synclist +share/xsessions/online-desktop.desktop +@dirrmtry lib/locale +@dirrmtry lib/pidgin +@dirrmtry share/xsessions +@dirrm share/online-prefs-sync +@dirrm share/online-desktop/presession +@dirrm share/online-desktop/gconf.xml.online-desktop +@dirrm share/online-desktop/autostart +@dirrm share/online-desktop +@dirrm %%PYTHON_SITELIBDIR%%/pyonlinedesktop +@dirrm %%PYTHON_SITELIBDIR%%/ddm |