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>
This commit is contained in:
Martin Wilke 2008-06-03 08:16:14 +00:00
parent 11c1aaa77f
commit 4e486db9b3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=214214
17 changed files with 275 additions and 0 deletions

View file

@ -411,6 +411,7 @@
SUBDIR += omnitty
SUBDIR += onenetd
SUBDIR += onion-fec
SUBDIR += online-desktop
SUBDIR += opal
SUBDIR += openam
SUBDIR += openbgpd

View file

@ -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>

View file

@ -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

View file

@ -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) \

View file

@ -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"

View file

@ -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

View file

@ -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):

View file

@ -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]

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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):

View file

@ -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

View file

@ -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
+

View file

@ -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

View file

@ -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

View file

@ -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