ports/146609: Update Port: net/online-desktop to 0.3.2
Ashish SHUKLA
wahjava at gmail.com
Sat May 15 05:00:18 UTC 2010
>Number: 146609
>Category: ports
>Synopsis: Update Port: net/online-desktop to 0.3.2
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Sat May 15 05:00:17 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Ashish SHUKLA
>Release: FreeBSD 8.0-RELEASE-p2 amd64
>Organization:
N/A
>Environment:
System: FreeBSD chateau.d.if 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #3: Tue Mar 2 01:06:00 IST 2010 root at chateau.d.if:/usr/obj/usr/src/sys/CHATEAU amd64
>Description:
Updated port to 0.3.2 and also fixed a pkg-plist issue reported by
Norikatsu Shigemura.
>How-To-Repeat:
>Fix:
diff -urN /usr/ports/net/online-desktop/Makefile online-desktop/Makefile
--- /usr/ports/net/online-desktop/Makefile 2010-03-28 12:11:24.000000000 +0530
+++ online-desktop/Makefile 2010-05-15 08:56:56.000000000 +0530
@@ -6,8 +6,7 @@
#
PORTNAME= online-desktop
-PORTVERSION= 0.2.29
-PORTREVISION= 5
+PORTVERSION= 0.3.2
CATEGORIES= net gnome
MASTER_SITES= GNOME
@@ -31,7 +30,7 @@
${LOCALBASE}/bin/pidgin:${PORTSDIR}/net-im/pidgin
USE_BZIP2= yes
-USE_GNOME= glib20 gconf2
+USE_GNOME= glib20 gconf2 pygnomedesktop
USE_GMAKE= yes
USE_GETTEXT= yes
GNU_CONFIGURE= yes
@@ -41,6 +40,7 @@
USE_LDCONFIG= yes
post-patch:
+ @${FIND} ${WRKSRC} -type f -exec fgrep -l '%%PREFIX%%' {} \; |${XARGS} ${REINPLACE_CMD} -e 's,%%PREFIX%%,${PREFIX},g' -i .bak
@${FIND} ${WRKSRC} -type f -exec fgrep -l '%%LOCALBASE%%' {} \; |${XARGS} ${REINPLACE_CMD} -e 's,%%LOCALBASE%%,${LOCALBASE},g' -i .bak
.include <bsd.port.mk>
diff -urN /usr/ports/net/online-desktop/distinfo online-desktop/distinfo
--- /usr/ports/net/online-desktop/distinfo 2008-07-10 07:07:45.000000000 +0530
+++ online-desktop/distinfo 2009-04-08 10:43:45.000000000 +0530
@@ -1,3 +1,3 @@
-MD5 (online-desktop-0.2.29.tar.bz2) = 98edefd68baae417a5a2d215099398f7
-SHA256 (online-desktop-0.2.29.tar.bz2) = 8499f02d0dc814c5f3519bf5e24c166df65c52633718c6c023158ddfafe49b95
-SIZE (online-desktop-0.2.29.tar.bz2) = 391365
+MD5 (online-desktop-0.3.2.tar.bz2) = 90f27f4229c0a62c79e167de956b2eae
+SHA256 (online-desktop-0.3.2.tar.bz2) = 99a68d2f00c53ee30f2be19bc1e96b6ba18bb3dbbbb0c12717a4f3ab77c04218
+SIZE (online-desktop-0.3.2.tar.bz2) = 411543
diff -urN /usr/ports/net/online-desktop/files/patch-gconf.path online-desktop/files/patch-gconf.path
--- /usr/ports/net/online-desktop/files/patch-gconf.path 2008-06-03 13:46:14.000000000 +0530
+++ online-desktop/files/patch-gconf.path 2009-04-08 10:43:45.000000000 +0530
@@ -2,4 +2,4 @@
+++ 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
++xml:readonly:%%PREFIX%%/share/online-desktop/gconf.xml.online-desktop
diff -urN /usr/ports/net/online-desktop/files/patch-od-autostart online-desktop/files/patch-od-autostart
--- /usr/ports/net/online-desktop/files/patch-od-autostart 2008-06-03 13:46:14.000000000 +0530
+++ online-desktop/files/patch-od-autostart 2009-04-08 10:43:45.000000000 +0530
@@ -5,7 +5,7 @@
datadirs = datadir_env.split(':')
else:
- datadirs = ['/usr/share/']
-+ datadirs = ['%%LOCALBASE%%/share/']
++ datadirs = ['%%PREFIX%%/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 -urN /usr/ports/net/online-desktop/files/patch-od-session online-desktop/files/patch-od-session
--- /usr/ports/net/online-desktop/files/patch-od-session 2008-06-03 13:46:14.000000000 +0530
+++ online-desktop/files/patch-od-session 2009-04-08 10:43:45.000000000 +0530
@@ -5,7 +5,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'
++os.environ['ONLINE_DESKTOP_GCONF'] = '%%PREFIX%%/share/online-desktop/gconf.path'
reset_autostart_data = '''
[Desktop Entry]
diff -urN /usr/ports/net/online-desktop/files/patch-po_Makefile.in.in online-desktop/files/patch-po_Makefile.in.in
--- /usr/ports/net/online-desktop/files/patch-po_Makefile.in.in 1970-01-01 05:30:00.000000000 +0530
+++ online-desktop/files/patch-po_Makefile.in.in 2010-05-15 10:15:57.000000000 +0530
@@ -0,0 +1,14 @@
+
+$FreeBSD$
+
+--- po/Makefile.in.in.orig
++++ po/Makefile.in.in
+@@ -33,7 +33,7 @@
+ datadir = @datadir@
+ datarootdir = @datarootdir@
+ libdir = @libdir@
+-DATADIRNAME = @DATADIRNAME@
++DATADIRNAME = share
+ itlocaledir = $(prefix)/$(DATADIRNAME)/locale
+ subdir = po
+ install_sh = @install_sh@
diff -urN /usr/ports/net/online-desktop/files/patch-pyonlinedesktop-fsutil.py online-desktop/files/patch-pyonlinedesktop-fsutil.py
--- /usr/ports/net/online-desktop/files/patch-pyonlinedesktop-fsutil.py 2008-06-03 13:46:14.000000000 +0530
+++ online-desktop/files/patch-pyonlinedesktop-fsutil.py 2009-04-08 10:43:45.000000000 +0530
@@ -5,7 +5,7 @@
datadirs = datadir_env.split(':')
else:
- datadirs = ['/usr/share/']
-+ datadirs = ['%%LOCALBASE%%/share/']
++ datadirs = ['%%PREFIX%%/share/']
for dirname in datadirs:
dirpath = os.path.join(dirname, name)
if os.access(dirpath, os.R_OK):
diff -urN /usr/ports/net/online-desktop/pkg-plist online-desktop/pkg-plist
--- /usr/ports/net/online-desktop/pkg-plist 2008-07-11 05:26:28.000000000 +0530
+++ online-desktop/pkg-plist 2010-05-15 10:19:50.000000000 +0530
@@ -55,11 +55,27 @@
%%PYTHON_SITELIBDIR%%/pyonlinedesktop/widget.py
%%PYTHON_SITELIBDIR%%/pyonlinedesktop/widget.pyc
%%PYTHON_SITELIBDIR%%/pyonlinedesktop/widget.pyo
+%%PYTHON_SITELIBDIR%%/weblogindriver/__init__.py
+%%PYTHON_SITELIBDIR%%/weblogindriver/__init__.pyc
+%%PYTHON_SITELIBDIR%%/weblogindriver/__init__.pyo
+%%PYTHON_SITELIBDIR%%/weblogindriver/accounts_dialog.py
+%%PYTHON_SITELIBDIR%%/weblogindriver/accounts_dialog.pyc
+%%PYTHON_SITELIBDIR%%/weblogindriver/accounts_dialog.pyo
+%%PYTHON_SITELIBDIR%%/weblogindriver/ddm_util.py
+%%PYTHON_SITELIBDIR%%/weblogindriver/ddm_util.pyc
+%%PYTHON_SITELIBDIR%%/weblogindriver/ddm_util.pyo
+%%PYTHON_SITELIBDIR%%/weblogindriver/gutil.py
+%%PYTHON_SITELIBDIR%%/weblogindriver/gutil.pyc
+%%PYTHON_SITELIBDIR%%/weblogindriver/gutil.pyo
+%%PYTHON_SITELIBDIR%%/weblogindriver/keyring.py
+%%PYTHON_SITELIBDIR%%/weblogindriver/keyring.pyc
+%%PYTHON_SITELIBDIR%%/weblogindriver/keyring.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.OnlineAccounts.service
share/dbus-1/services/org.gnome.WebLoginDriver.service
share/gnome/autostart/online-desktop-autostart.desktop
share/gnome/autostart/online-prefs-sync.desktop
@@ -91,13 +107,13 @@
%%DATADIR%%/presession/panel-config.py
share/online-prefs-sync/online-prefs-sync.synclist
share/xsessions/online-desktop.desktop
- at dirrm share/xsessions
+ at dirrmtry share/xsessions
@dirrm share/online-prefs-sync
- at dirrm lib/locale
@dirrm %%DATADIR%%/presession
@dirrm %%DATADIR%%/gconf.xml.online-desktop
@dirrm %%DATADIR%%/autostart
@dirrm %%DATADIR%%
+ at dirrm %%PYTHON_SITELIBDIR%%/weblogindriver
@dirrm %%PYTHON_SITELIBDIR%%/pyonlinedesktop
@dirrm %%PYTHON_SITELIBDIR%%/ddm
@dirrmtry %%PYTHON_SITELIBDIR%%
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list